@opencode/core 0.0.0-dev-20817 → 0.0.0-dev-20819
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 +79 -79
- 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/{session-p13jskcr.js → provider-05t0yy5n.js} +15 -15
- package/dist/chunks/{session-0jkw1j53.js → provider-0hf9g8pg.js} +4 -4
- package/dist/chunks/{session-0j77ygfz.js → provider-0j77ygfz.js} +2 -2
- package/dist/chunks/{session-h9mky73t.js → provider-0mm9aq32.js} +15 -15
- package/dist/chunks/{session-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{session-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/{session-fcambvja.js → provider-105dgqr7.js} +20 -20
- package/dist/chunks/{session-fm9bxxtp.js → provider-115ch50k.js} +14 -14
- package/dist/chunks/{session-jh1m8ye0.js → provider-16gjtgy3.js} +38 -38
- package/dist/chunks/{session-z6bsd555.js → provider-1a6g6y7p.js} +16 -16
- package/dist/chunks/{session-6w3adc23.js → provider-1h2g9tn4.js} +32 -32
- package/dist/chunks/{session-501hwyrc.js → provider-1jbxkwyv.js} +26 -26
- package/dist/chunks/{session-dzz34pkx.js → provider-1jd8q42d.js} +15 -15
- package/dist/chunks/{session-4dacjdce.js → provider-22ygkatt.js} +46 -46
- package/dist/chunks/{session-2ccvkpx1.js → provider-2ccvkpx1.js} +2 -2
- package/dist/chunks/{session-gwv3yg3n.js → provider-2d49scjs.js} +27 -27
- package/dist/chunks/{session-fcrkznn8.js → provider-2k8khapm.js} +5 -5
- package/dist/chunks/{session-mp3rbb49.js → provider-2r93mh4x.js} +12 -12
- package/dist/chunks/{session-3xncpeft.js → provider-2tf80889.js} +43 -43
- package/dist/chunks/{session-ettcw7r5.js → provider-2vcz1va9.js} +13 -13
- package/dist/chunks/{session-2vvh33eb.js → provider-2vvh33eb.js} +2 -2
- package/dist/chunks/{session-y0gw2tv7.js → provider-36x86bch.js} +5 -5
- package/dist/chunks/{session-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{session-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{session-3hwn7j4h.js → provider-3hwn7j4h.js} +2 -2
- package/dist/chunks/{session-pw8aeeb2.js → provider-3nh64zp6.js} +7 -7
- package/dist/chunks/{session-w0kfrs2s.js → provider-3prsa1va.js} +8 -8
- package/dist/chunks/{session-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{session-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{session-8k56d3j9.js → provider-3wpd7sdb.js} +33 -33
- package/dist/chunks/{session-qp4rsesw.js → provider-3ytwe5rt.js} +20 -20
- package/dist/chunks/{session-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{session-2hhh2075.js → provider-454n8t5y.js} +6 -6
- package/dist/chunks/{session-g6ejmd2w.js → provider-4acvxgcp.js} +21 -21
- package/dist/chunks/{session-04dedvxv.js → provider-4axe861p.js} +13 -13
- package/dist/chunks/{session-4eh7q83g.js → provider-4k52rekz.js} +18 -18
- package/dist/chunks/{session-7ccpjdtp.js → provider-4m8r9fg4.js} +9 -9
- package/dist/chunks/{session-pr79hn8s.js → provider-4maxka28.js} +80 -80
- package/dist/chunks/{session-6g2qv0kw.js → provider-4pss0hxy.js} +18 -18
- package/dist/chunks/{session-ps8mbryt.js → provider-4rb3tf6t.js} +5 -5
- package/dist/chunks/{session-fh4sfhk4.js → provider-4ymg4mgw.js} +45 -45
- package/dist/chunks/{session-h9wp8z5w.js → provider-4z58m4b4.js} +4 -4
- package/dist/chunks/{session-6m8n54p5.js → provider-4zn70v01.js} +5 -5
- package/dist/chunks/{session-3f15f206.js → provider-4zrz1dvp.js} +4 -4
- package/dist/chunks/{session-4xrtf71n.js → provider-52fe2n6x.js} +8 -8
- package/dist/chunks/{session-54ma36ye.js → provider-54ma36ye.js} +1 -1
- package/dist/chunks/{session-pq722msy.js → provider-5awagvpc.js} +4 -4
- package/dist/chunks/{session-b7qvpk91.js → provider-5daxzhhk.js} +35 -35
- package/dist/chunks/{session-1j6m29mr.js → provider-5fec3t3w.js} +4 -4
- package/dist/chunks/{session-ynrarg70.js → provider-5fvj6kea.js} +5 -5
- package/dist/chunks/{session-m2d9q4jn.js → provider-5j4s1sf1.js} +5 -5
- package/dist/chunks/{session-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{session-h2c9xbew.js → provider-5nv1cf15.js} +14 -14
- package/dist/chunks/{session-psfx1mdm.js → provider-5p8wk7br.js} +3 -3
- package/dist/chunks/{session-wmz8e7ts.js → provider-644xaxd1.js} +6 -6
- package/dist/chunks/{session-0ye1q9k8.js → provider-66za0ybh.js} +3 -3
- package/dist/chunks/provider-6h37vygj.js +18 -0
- package/dist/chunks/{session-gmf85fz6.js → provider-6rd7sphc.js} +35 -35
- package/dist/chunks/{session-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
- package/dist/chunks/{session-dp1pt8an.js → provider-72k9y6x3.js} +15 -15
- package/dist/chunks/{session-82v73sw7.js → provider-72sxpf59.js} +3 -3
- package/dist/chunks/{session-gagmvkxe.js → provider-76nnfvr9.js} +32 -32
- package/dist/chunks/{session-14ra52mf.js → provider-7b9xa5mv.js} +16 -16
- package/dist/chunks/{session-sx89kwj8.js → provider-7bdn8rzq.js} +20 -20
- package/dist/chunks/{session-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{session-eddayvfz.js → provider-7gqjj3mq.js} +36 -36
- package/dist/chunks/{session-9vt39rdh.js → provider-7j43bv8y.js} +42 -42
- package/dist/chunks/{session-j45z6ztr.js → provider-7m6hak9t.js} +22 -22
- package/dist/chunks/{session-qc7jeweq.js → provider-7m71rsm5.js} +32 -32
- package/dist/chunks/{session-mqtyc7nv.js → provider-7nzfcs77.js} +18 -18
- package/dist/chunks/{session-wh6pa4pr.js → provider-7rt165ap.js} +10 -10
- package/dist/chunks/{session-rpjgfq5s.js → provider-7v81x33d.js} +9 -9
- package/dist/chunks/{session-84txncab.js → provider-84txncab.js} +1 -1
- package/dist/chunks/{session-npsxd736.js → provider-85cwrbwd.js} +3 -3
- package/dist/chunks/{session-y711060r.js → provider-86gggjw6.js} +23 -23
- package/dist/chunks/{session-9phytnf0.js → provider-8844v94p.js} +12 -12
- package/dist/chunks/provider-8a4d0rff.js +26 -0
- package/dist/chunks/{session-3prdm45v.js → provider-8agmnry4.js} +23 -23
- package/dist/chunks/{session-ydq9tfb9.js → provider-8cy6mvnv.js} +14 -14
- package/dist/chunks/{session-1jdt266a.js → provider-8hxtpvs0.js} +9 -9
- package/dist/chunks/{session-8m6m0r52.js → provider-8m6m0r52.js} +1 -1
- package/dist/chunks/{session-fjgqaz54.js → provider-8p5dcft8.js} +11 -11
- package/dist/chunks/{session-vwpr87xr.js → provider-8tkppbx2.js} +9 -9
- package/dist/chunks/{session-mx52tqxj.js → provider-91b5zmzs.js} +331 -331
- package/dist/chunks/{session-sarp64ez.js → provider-95cj991r.js} +9 -9
- package/dist/chunks/{session-15e07xhs.js → provider-977g2q7r.js} +36 -36
- package/dist/chunks/{session-282jpck2.js → provider-9fbyxv7h.js} +27 -27
- package/dist/chunks/{session-5xtgfte3.js → provider-9hn6k4tm.js} +8 -8
- package/dist/chunks/{session-y24qyebb.js → provider-9mhtf283.js} +6 -6
- package/dist/chunks/{session-qhy66he1.js → provider-a4g7dr4s.js} +37 -37
- package/dist/chunks/{session-4swgdw5c.js → provider-a8nr4rbb.js} +32 -32
- package/dist/chunks/{session-j6wgwt0g.js → provider-a8t9w2yw.js} +16 -16
- package/dist/chunks/{session-r6tsex1v.js → provider-aayt0g8p.js} +16 -16
- package/dist/chunks/{session-zjtrsxny.js → provider-aj3rbcf1.js} +5 -5
- package/dist/chunks/{session-1s1rknwm.js → provider-ak0hh039.js} +9 -9
- package/dist/chunks/{session-3wdqyjd0.js → provider-am909pk9.js} +15 -15
- package/dist/chunks/{session-b3f8fkhc.js → provider-b3f8fkhc.js} +2 -2
- package/dist/chunks/{session-tav4crkk.js → provider-bcnceejz.js} +3 -3
- package/dist/chunks/{session-yq695pqn.js → provider-bfsn9k2g.js} +31 -31
- package/dist/chunks/{session-qvsq84aq.js → provider-bgbb68bf.js} +50 -50
- package/dist/chunks/{session-1re0zdsh.js → provider-bm107t7h.js} +11 -11
- package/dist/chunks/{session-pgp1nwjn.js → provider-btbmdjwj.js} +4 -4
- package/dist/chunks/{session-kc089abe.js → provider-bxr1m0k3.js} +12 -12
- package/dist/chunks/{session-9xv6vz5t.js → provider-bxz08qrx.js} +5 -5
- package/dist/chunks/{session-c1fqxshp.js → provider-c1fqxshp.js} +3 -3
- package/dist/chunks/{session-kg2cr3cg.js → provider-c9kjtmah.js} +12 -12
- package/dist/chunks/{session-be9ppty7.js → provider-cacd1jm9.js} +4 -4
- package/dist/chunks/{session-nzy09w31.js → provider-cne3g4td.js} +11 -11
- package/dist/chunks/{session-qmqgtz8f.js → provider-cpneeje0.js} +9 -9
- package/dist/chunks/{session-d9d7gec2.js → provider-cxy95pxm.js} +29 -29
- package/dist/chunks/{session-vt9xft4x.js → provider-d4aya8fc.js} +13 -13
- package/dist/chunks/{session-yepcbv8y.js → provider-dcdhzt8b.js} +24 -24
- package/dist/chunks/{session-barg59ws.js → provider-dfk6kfc9.js} +2 -2
- package/dist/chunks/{session-vzehzdwg.js → provider-dn5he4af.js} +27 -27
- package/dist/chunks/{session-tv4zccwr.js → provider-dpdm64ty.js} +32 -32
- package/dist/chunks/{session-5pyjqqve.js → provider-drnf6xwf.js} +2 -2
- package/dist/chunks/{session-46ddm72j.js → provider-dyzfbb2f.js} +4 -4
- package/dist/chunks/{session-eazypdn2.js → provider-e3b9mkye.js} +26 -26
- package/dist/chunks/{session-berf98bx.js → provider-e3n34vws.js} +11 -11
- package/dist/chunks/{session-z5ahmw75.js → provider-ec88y2q0.js} +175 -175
- package/dist/chunks/{session-eej6y6fw.js → provider-eej6y6fw.js} +2 -2
- package/dist/chunks/{session-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{session-3p3165qm.js → provider-emqyv9re.js} +16 -16
- package/dist/chunks/{session-kzc3h1h3.js → provider-ermxvwhp.js} +4 -4
- package/dist/chunks/{session-dmr144eh.js → provider-faj9nw43.js} +11 -11
- package/dist/chunks/{session-zp6z2hbj.js → provider-fas5dz2e.js} +20 -20
- package/dist/chunks/{session-wkb4efth.js → provider-fqnkqsp9.js} +26 -26
- package/dist/chunks/{session-f1xcgdg8.js → provider-fwa5knzh.js} +10 -10
- package/dist/chunks/{session-fxaymqdw.js → provider-fxaymqdw.js} +1 -1
- package/dist/chunks/{session-3hjrh2v7.js → provider-g1qtspwg.js} +13 -13
- package/dist/chunks/{session-3vc9xhfk.js → provider-g33gt04d.js} +64 -64
- package/dist/chunks/{session-tywsnt0j.js → provider-g485rnjb.js} +21 -21
- package/dist/chunks/{session-kxadca04.js → provider-gb0ha008.js} +8 -8
- package/dist/chunks/{session-011shqrb.js → provider-gcf6sfbq.js} +19 -19
- package/dist/chunks/{session-yqc6bamn.js → provider-gd0tnyjc.js} +1 -1
- package/dist/chunks/{session-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{session-0xvmmvew.js → provider-gdawb179.js} +6 -6
- package/dist/chunks/{session-h9rm1rrn.js → provider-gebtr55s.js} +5 -5
- package/dist/chunks/{session-bh4vaf56.js → provider-ghmaxe42.js} +5 -5
- package/dist/chunks/{session-gk8qb678.js → provider-gk8qb678.js} +1 -1
- package/dist/chunks/{session-mzhhdwyj.js → provider-gt5zqm6h.js} +16 -16
- package/dist/chunks/{session-6ecv57ye.js → provider-gvx2zve9.js} +42 -42
- package/dist/chunks/{session-j53pnqsd.js → provider-gw1cnde2.js} +16 -16
- package/dist/chunks/{session-jtgkn827.js → provider-h4w545sf.js} +35 -35
- package/dist/chunks/{session-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{session-h7s7r6s9.js → provider-h7s7r6s9.js} +2 -2
- package/dist/chunks/{session-4ns3h2re.js → provider-had4kgfk.js} +4 -4
- package/dist/chunks/{session-4dcqqcsc.js → provider-hcda30yb.js} +14 -14
- package/dist/chunks/{session-hgz4x7wa.js → provider-hgz4x7wa.js} +1 -1
- package/dist/chunks/{session-9jt23pb5.js → provider-hj636n86.js} +12 -12
- package/dist/chunks/{session-ne17tww6.js → provider-hvq8k270.js} +11 -11
- package/dist/chunks/{session-ykn1pkv9.js → provider-hwpthwr2.js} +24 -24
- package/dist/chunks/{session-eefmd9cc.js → provider-j2mcctvz.js} +11 -11
- package/dist/chunks/{session-3w8qf8vz.js → provider-j2sb7jez.js} +3 -3
- package/dist/chunks/{session-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{session-hvjqasxt.js → provider-jd9bvbdv.js} +45 -45
- package/dist/chunks/{session-bz60xs8n.js → provider-jqeyp2sv.js} +4 -4
- package/dist/chunks/{session-ggxn3t2d.js → provider-jsxf1k0c.js} +15 -15
- package/dist/chunks/{session-n82c255f.js → provider-jt34x9mc.js} +21 -21
- package/dist/chunks/{session-psc7v0kw.js → provider-jvn25kqv.js} +7 -7
- package/dist/chunks/{session-j5a4d9xs.js → provider-jwgz159j.js} +1 -1
- package/dist/chunks/{session-8sze2n9a.js → provider-jws6fkes.js} +4 -4
- package/dist/chunks/{session-p9ecpb36.js → provider-k0zgcj61.js} +11 -11
- package/dist/chunks/{session-k76fn4kw.js → provider-k76fn4kw.js} +1 -1
- package/dist/chunks/{session-kngnyn2j.js → provider-k9nsg3rd.js} +11 -11
- package/dist/chunks/{session-4vav3g7y.js → provider-kavm7sty.js} +27 -27
- package/dist/chunks/{session-8fmed6qk.js → provider-kcrgwk81.js} +11 -11
- package/dist/chunks/{session-py84zvj2.js → provider-kmtd2a05.js} +12 -12
- package/dist/chunks/{session-grb3zrdw.js → provider-kn4y5379.js} +17 -17
- package/dist/chunks/{session-0b5g1ynf.js → provider-kqx1b4hy.js} +4 -4
- package/dist/chunks/{session-r6n7a2ck.js → provider-kwx5dvww.js} +14 -14
- package/dist/chunks/{session-gkwpygh2.js → provider-kxw0d2hz.js} +19 -19
- package/dist/chunks/{session-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{session-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{session-hqwdk9gs.js → provider-mj1gw2vg.js} +4 -4
- package/dist/chunks/{session-2wm2qy0t.js → provider-mny5akbz.js} +10 -10
- package/dist/chunks/{session-g3j7e31t.js → provider-mxkh2d97.js} +49 -49
- package/dist/chunks/{session-vx3jgdek.js → provider-my4zabxr.js} +3 -3
- package/dist/chunks/{session-myy4y6cd.js → provider-n5gb9kjy.js} +14 -14
- package/dist/chunks/{session-x8rk6keb.js → provider-n61wzdch.js} +4 -4
- package/dist/chunks/{session-92m62fqz.js → provider-n81jbe8d.js} +5 -5
- package/dist/chunks/{session-r2z489rp.js → provider-nma959mg.js} +3 -3
- package/dist/chunks/{session-5es30mnb.js → provider-nmvty7z6.js} +18 -18
- package/dist/chunks/{session-g1fv8jzp.js → provider-pb9sdrcc.js} +15 -15
- package/dist/chunks/{session-7efggc29.js → provider-pd4dtwmv.js} +19 -19
- package/dist/chunks/{session-zbv4c5x4.js → provider-pgyscs0f.js} +10 -10
- package/dist/chunks/{session-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{session-nvd0at87.js → provider-pkf2rgn3.js} +14 -14
- package/dist/chunks/{session-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{session-k6x2a4xy.js → provider-pkwzrfh9.js} +3 -3
- package/dist/chunks/{session-agaqzsty.js → provider-pr23z569.js} +18 -18
- package/dist/chunks/{session-237zvnvf.js → provider-q1kg0ya1.js} +45 -45
- package/dist/chunks/{session-yz2p3vwa.js → provider-q43hxpb2.js} +22 -22
- package/dist/chunks/{session-dqx96566.js → provider-q96p9zxz.js} +27 -27
- package/dist/chunks/{session-qa3qhgw8.js → provider-qa3qhgw8.js} +1 -1
- package/dist/chunks/{session-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{session-xfkkasph.js → provider-qqeeq2t9.js} +7 -7
- package/dist/chunks/{session-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{session-r61qxybf.js → provider-r61qxybf.js} +1 -1
- package/dist/chunks/{session-cy7jqycw.js → provider-r8ttjkk4.js} +22 -22
- package/dist/chunks/{session-yp2x3t23.js → provider-r8xr0va3.js} +4 -4
- package/dist/chunks/{session-qgfkhyf4.js → provider-r93ryff9.js} +30 -30
- package/dist/chunks/{session-f5ztvxdg.js → provider-rcj3sprb.js} +25 -25
- package/dist/chunks/{session-9pjc7zfx.js → provider-rcvywq7f.js} +26 -26
- package/dist/chunks/{session-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{session-rert0e01.js → provider-rert0e01.js} +2 -2
- package/dist/chunks/{session-0chkfrse.js → provider-rg9sd9dt.js} +3 -3
- package/dist/chunks/{session-t550f9t1.js → provider-rhjbct0v.js} +4 -4
- package/dist/chunks/{session-2p3sps8f.js → provider-rj13t462.js} +9 -9
- package/dist/chunks/{session-rj3eygr5.js → provider-rj3eygr5.js} +2 -2
- package/dist/chunks/{session-y9k761rw.js → provider-rtkmq48h.js} +11 -11
- package/dist/chunks/{session-1z18ck0n.js → provider-ry082wg0.js} +6 -6
- package/dist/chunks/{session-y1qf9c4t.js → provider-s34st4hq.js} +38 -38
- package/dist/chunks/{session-sa8ekw3f.js → provider-sa8ekw3f.js} +2 -2
- package/dist/chunks/{session-nhkp1cs2.js → provider-sq432a0a.js} +24 -24
- package/dist/chunks/{session-mzyw748h.js → provider-sqatzsa5.js} +30 -30
- package/dist/chunks/{session-xm1z07h8.js → provider-ssyy5q0h.js} +11 -11
- package/dist/chunks/{session-me0k5ekt.js → provider-svvynxha.js} +15 -15
- package/dist/chunks/{session-c7rcc3yh.js → provider-t3g2kvn2.js} +15 -15
- package/dist/chunks/{session-03qzz895.js → provider-t4g8dwks.js} +9 -9
- package/dist/chunks/{session-jzbq5epj.js → provider-t6g828f5.js} +26 -26
- package/dist/chunks/{session-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{session-41tww2cq.js → provider-tc3pm9xh.js} +21 -21
- package/dist/chunks/{session-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{session-2eb1shd9.js → provider-td8nrxeh.js} +84 -84
- package/dist/chunks/{session-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{session-5wdjspt7.js → provider-tht59k2r.js} +5 -5
- package/dist/chunks/{session-cbpvtp7a.js → provider-tjwfy1sb.js} +21 -21
- package/dist/chunks/{session-ty8xby1n.js → provider-tmcj1942.js} +5 -5
- package/dist/chunks/{session-aeg67ceq.js → provider-ttjhmc92.js} +15 -15
- package/dist/chunks/{session-tyytaxap.js → provider-tyytaxap.js} +1 -1
- package/dist/chunks/{session-fpecnkgp.js → provider-v0es1rhs.js} +9 -9
- package/dist/chunks/{session-1t0vkw8j.js → provider-v31j89sj.js} +26 -26
- package/dist/chunks/{session-v7p4zvkq.js → provider-v7p4zvkq.js} +2 -2
- package/dist/chunks/{session-3xfe03jn.js → provider-vbppwtb7.js} +13 -13
- package/dist/chunks/{session-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{session-3re3wqbb.js → provider-vesnn5tc.js} +11 -11
- package/dist/chunks/{session-tyxzmh0h.js → provider-vm8gyabs.js} +20 -20
- package/dist/chunks/{session-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{session-6yz0wx8n.js → provider-w2h15q85.js} +5 -5
- package/dist/chunks/{session-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{session-yk8rkh3j.js → provider-w8c89xkg.js} +33 -33
- package/dist/chunks/{session-a3hvh6z4.js → provider-wa9d8ess.js} +15 -15
- package/dist/chunks/{session-5cccvzcx.js → provider-wbnqszjr.js} +8 -8
- package/dist/chunks/{session-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{session-1ffvrpkg.js → provider-wjr9rjd7.js} +9 -9
- package/dist/chunks/{session-cads3rpf.js → provider-wpvcbchg.js} +11 -11
- package/dist/chunks/{session-fxhypqhq.js → provider-wrv8n19w.js} +7 -7
- package/dist/chunks/{session-50fy1vnb.js → provider-wvhvqcvd.js} +20 -20
- package/dist/chunks/{session-depwzj9d.js → provider-x2aynqqh.js} +9 -9
- package/dist/chunks/{session-edtxpdrn.js → provider-x2xbfqys.js} +15 -15
- package/dist/chunks/{session-addxnjmp.js → provider-x661k3y3.js} +4 -4
- package/dist/chunks/{session-55tp1d5y.js → provider-x7qxpc0c.js} +26 -26
- package/dist/chunks/{session-y83nr2aj.js → provider-xc1zswmg.js} +13 -13
- package/dist/chunks/{session-cvnw30aw.js → provider-xghzwj9d.js} +17 -17
- package/dist/chunks/provider-xqes56mz.js +253 -0
- package/dist/chunks/{session-681aye2y.js → provider-xrw7w48k.js} +7 -7
- package/dist/chunks/{session-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{session-bm95cgrp.js → provider-y1z3pkss.js} +6 -6
- package/dist/chunks/{session-eqq3j6wn.js → provider-y45m9c12.js} +4 -4
- package/dist/chunks/{session-sr9n03w5.js → provider-y4wrpq2h.js} +18 -18
- package/dist/chunks/{session-b7n7nphe.js → provider-y5f5p3p2.js} +8 -8
- package/dist/chunks/{session-349jabef.js → provider-y6ht50x5.js} +13 -13
- package/dist/chunks/{session-y71avatq.js → provider-y71avatq.js} +1 -1
- package/dist/chunks/{session-f344fhdw.js → provider-yfvm05yf.js} +4 -4
- package/dist/chunks/{session-ymgkxg7n.js → provider-ynmknp8q.js} +5 -5
- package/dist/chunks/{session-at1kfnmk.js → provider-yw8t9dwe.js} +8 -8
- package/dist/chunks/{session-fhm11cww.js → provider-yxhtaggr.js} +3 -3
- package/dist/chunks/{session-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{session-fjbcq42h.js → provider-z2db9r7p.js} +15 -15
- package/dist/chunks/{session-z3507kbh.js → provider-z3gh34g3.js} +11 -11
- package/dist/chunks/{session-7ph0vnsv.js → provider-z6yetpqf.js} +8 -8
- package/dist/chunks/{session-v8zj4kq1.js → provider-zee90e5c.js} +11 -11
- package/dist/chunks/{session-e94eh8h6.js → provider-zhfnvrgq.js} +28 -28
- package/dist/chunks/{session-zmr78fwr.js → provider-zmr78fwr.js} +2 -2
- package/dist/chunks/{session-0gz2gxtt.js → provider-zmwycstj.js} +1 -1
- package/dist/chunks/{session-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{session-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- 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 +120 -120
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +1 -1
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- 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 +3 -3
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +85 -85
- 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 +131 -131
- 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 +131 -131
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- 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 +5 -5
- 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 +119 -119
- package/dist/plugin/optimize.js +2 -2
- 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 +95 -95
- 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 +76 -76
- 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 +350 -350
- 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 +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- 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 +99 -99
- 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 +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- 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 +122 -122
- package/dist/session/model-transport.js +9 -9
- 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 +1 -1
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +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 +166 -166
- 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 +215 -215
- 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 +128 -128
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- 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 +105 -105
- 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 +112 -112
- 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 +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +3 -3
- 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/session-7fj5dwt0.js +0 -18
- package/dist/chunks/session-h4vpd8qg.js +0 -253
- package/dist/chunks/session-yk7bhpfb.js +0 -26
- /package/dist/chunks/{session-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{session-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{session-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{session-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{session-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{session-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{session-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{session-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{session-2bv980vf.js → provider-2bv980vf.js} +0 -0
- /package/dist/chunks/{session-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{session-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{session-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{session-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{session-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{session-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{session-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{session-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{session-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{session-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{session-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{session-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{session-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{session-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{session-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{session-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{session-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{session-84wd9syh.js → provider-84wd9syh.js} +0 -0
- /package/dist/chunks/{session-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{session-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{session-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{session-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{session-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{session-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{session-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{session-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{session-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{session-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{session-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{session-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{session-bw78ga2c.js → provider-bw78ga2c.js} +0 -0
- /package/dist/chunks/{session-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{session-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{session-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{session-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{session-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{session-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{session-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{session-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{session-e3qxr5gk.js → provider-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{session-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{session-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{session-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{session-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{session-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{session-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{session-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{session-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{session-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{session-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{session-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{session-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{session-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{session-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{session-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{session-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{session-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{session-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{session-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{session-jze0r7bz.js → provider-jze0r7bz.js} +0 -0
- /package/dist/chunks/{session-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{session-m18g726c.js → provider-m18g726c.js} +0 -0
- /package/dist/chunks/{session-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{session-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{session-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{session-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{session-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{session-pkyv6v7h.js → provider-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{session-pyv0edze.js → provider-pyv0edze.js} +0 -0
- /package/dist/chunks/{session-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{session-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{session-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{session-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{session-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{session-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{session-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{session-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{session-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{session-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{session-ve7vex1e.js → provider-ve7vex1e.js} +0 -0
- /package/dist/chunks/{session-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{session-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{session-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{session-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{session-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{session-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{session-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{session-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{session-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{session-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{session-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{session-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load5
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
@@ -14,15 +14,15 @@ __export(exports_watcher, {
|
|
|
14
14
|
Event: () => Event14,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options9,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service68,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
22
|
layer: () => layer26,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node71,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -57,14 +57,14 @@ var Options9 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service68 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer26 = (options) => Layer.effect(
|
|
65
|
+
var layer26 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer26 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service68.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service68).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service68, layer: layer26(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node71 = configured9();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { Event14, hasNativeBinding2, Native3, Options9,
|
|
190
|
+
export { Event14, hasNativeBinding2, Native3, Options9, Service68, Test3, layer26, testLayer3, nativeLayer2, nativeNode2, configured9, node71, exports_watcher };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./provider-hwpthwr2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service49,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-d4aya8fc.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service34
|
|
11
|
+
} from "./provider-72k9y6x3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./provider-16gjtgy3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service33
|
|
17
|
+
} from "./provider-pr23z569.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input8,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin43,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name8,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name8 = "write";
|
|
39
|
+
var Input8 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin43 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service33;
|
|
56
|
+
const fileMutation = yield* Service49;
|
|
57
|
+
const environment = yield* Service79;
|
|
58
|
+
const formatter = yield* Service34;
|
|
59
|
+
const permission = yield* Service57;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name8,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input8,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name8, Input8, Output5, toModelContent5, Plugin43, exports_write };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service60
|
|
4
|
+
} from "./provider-g1qtspwg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./provider-gt5zqm6h.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service67
|
|
10
|
+
} from "./provider-a4g7dr4s.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service71,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-kxw0d2hz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service15
|
|
17
|
+
} from "./provider-4maxka28.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./provider-gcf6sfbq.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-8m6m0r52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./provider-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command = {};
|
|
30
|
+
__export(exports_command, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command,
|
|
32
|
+
Plugin: () => Plugin20
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin20 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service67;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin46 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service81;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service71;
|
|
60
|
+
const sessions = yield* Service15;
|
|
61
|
+
const agents = yield* Service60;
|
|
62
|
+
const subagents = yield* Service13;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin20, exports_command };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info7,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-v31j89sj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service67
|
|
11
|
+
} from "./provider-a4g7dr4s.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin27,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin27 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info7.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info7.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service67;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin27, exports_skill2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-pkwzrfh9.js";
|
|
8
8
|
import {
|
|
9
9
|
Service84,
|
|
10
10
|
node88
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-n61wzdch.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service83,
|
|
14
|
+
node87
|
|
15
|
+
} from "./provider-2r93mh4x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./provider-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
|
+
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service82,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node86,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID17 = ID18;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info28 = Info29;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
|
-
class
|
|
66
|
-
projectID:
|
|
65
|
+
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
+
projectID: ID17
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service82 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service83;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service84;
|
|
106
106
|
const db = (yield* Service85).db;
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID17.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event21.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID17.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID17.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID17.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID17.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service82.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node86 = makeGlobalNode({
|
|
310
|
+
service: Service82,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [node88, node89, FSUtil.node,
|
|
312
|
+
deps: [node88, node89, FSUtil.node, node87, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service82;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node86]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service82, node86, sweepNode2, exports_project };
|