@opencode/core 0.0.0-dev-21215 → 0.0.0-dev-21217
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +77 -77
- package/dist/chunks/{credential-tet0x2x5.js → model-resolver-016wd0ym.js} +34 -34
- package/dist/chunks/{credential-mhe0g0p5.js → model-resolver-07avtkf2.js} +3 -3
- package/dist/chunks/{credential-0b5g1ynf.js → model-resolver-0b5g1ynf.js} +4 -4
- package/dist/chunks/{credential-knbwcmz6.js → model-resolver-0etcqt1e.js} +27 -27
- package/dist/chunks/{credential-7dqw4kz8.js → model-resolver-0jwsre1p.js} +5 -5
- package/dist/chunks/{credential-9c4mg81w.js → model-resolver-0qsfxhp3.js} +14 -14
- package/dist/chunks/{credential-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{credential-fjznstmf.js → model-resolver-0vc9cqt0.js} +4 -4
- package/dist/chunks/{credential-ttjwvx26.js → model-resolver-176cfv5a.js} +16 -16
- package/dist/chunks/{credential-q4rarndx.js → model-resolver-19pwa69y.js} +11 -11
- package/dist/chunks/{credential-yp2x3t23.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{credential-x01h19mw.js → model-resolver-1akz5k8x.js} +15 -15
- package/dist/chunks/{credential-y49t6yxk.js → model-resolver-1ce86eqw.js} +17 -17
- package/dist/chunks/{credential-trq7bz11.js → model-resolver-1he6k45e.js} +22 -22
- package/dist/chunks/{credential-jkpwzps6.js → model-resolver-1qz0hcwh.js} +39 -39
- package/dist/chunks/{credential-fxaymqdw.js → model-resolver-1w2wqhfv.js} +4 -4
- package/dist/chunks/{credential-y5p4ve91.js → model-resolver-1x7hg83d.js} +16 -16
- package/dist/chunks/{credential-csey17fn.js → model-resolver-1xxjgqwb.js} +8 -8
- package/dist/chunks/{credential-67jerfv6.js → model-resolver-2018zjzj.js} +78 -78
- package/dist/chunks/{credential-cq23epbd.js → model-resolver-20d11vtm.js} +14 -14
- package/dist/chunks/{credential-vp0bfksy.js → model-resolver-251hxpd6.js} +2 -2
- package/dist/chunks/{credential-ckajj5ea.js → model-resolver-264b5yb9.js} +20 -20
- package/dist/chunks/{credential-v322raa9.js → model-resolver-266qzg04.js} +11 -11
- package/dist/chunks/{credential-4t7bjcx1.js → model-resolver-2as59qfs.js} +30 -30
- package/dist/chunks/{credential-4r8w9sj8.js → model-resolver-2g2537yg.js} +28 -28
- package/dist/chunks/{credential-c1k0pwhg.js → model-resolver-2ma89jv6.js} +10 -10
- package/dist/chunks/{credential-gmpf7xjb.js → model-resolver-2mz127rg.js} +28 -28
- package/dist/chunks/{credential-g7srfa3y.js → model-resolver-2ptzzrc3.js} +11 -11
- package/dist/chunks/{credential-0p78r4x4.js → model-resolver-3b80bnbc.js} +10 -10
- package/dist/chunks/{credential-kfj755v5.js → model-resolver-3cf2r952.js} +50 -50
- package/dist/chunks/{credential-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{credential-pnzf6mjf.js → model-resolver-3g8j9he4.js} +1 -1
- package/dist/chunks/{credential-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-3hwn7j4h.js → model-resolver-3hwn7j4h.js} +2 -2
- package/dist/chunks/{credential-nb43gqgm.js → model-resolver-3k2jyg7g.js} +5 -5
- package/dist/chunks/{credential-90dfvdtc.js → model-resolver-3qggjg35.js} +14 -14
- package/dist/chunks/{credential-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{credential-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{credential-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{credential-jh7hm8j6.js → model-resolver-40nepbx5.js} +19 -19
- package/dist/chunks/{credential-fenvdmpd.js → model-resolver-4es9x8nx.js} +19 -19
- package/dist/chunks/{credential-krdey6nc.js → model-resolver-4tr9sj3s.js} +6 -6
- package/dist/chunks/model-resolver-4v7qdvcn.js +18 -0
- package/dist/chunks/{credential-kebpaez3.js → model-resolver-4vbcsnyx.js} +2 -2
- package/dist/chunks/{credential-ps2zx4jn.js → model-resolver-4vvac9vn.js} +4 -4
- package/dist/chunks/{credential-6j60vss0.js → model-resolver-50v2ya5q.js} +16 -16
- package/dist/chunks/{credential-9t102qjt.js → model-resolver-51048t4e.js} +18 -18
- package/dist/chunks/{credential-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{credential-xfkkasph.js → model-resolver-57b9ws8p.js} +7 -7
- package/dist/chunks/{credential-weban0cd.js → model-resolver-59fhsr37.js} +12 -12
- package/dist/chunks/{credential-0f85jzr4.js → model-resolver-5a31cw09.js} +3 -3
- package/dist/chunks/{credential-j842fqs5.js → model-resolver-5fkwwa5n.js} +16 -16
- package/dist/chunks/{credential-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{credential-e80seqcp.js → model-resolver-5rzwp8tz.js} +3 -3
- package/dist/chunks/{credential-jrfj64d4.js → model-resolver-5wxeg2rt.js} +23 -23
- package/dist/chunks/{credential-6827pfxn.js → model-resolver-6827pfxn.js} +1 -1
- package/dist/chunks/{credential-89vt8edy.js → model-resolver-6dwc2p0m.js} +4 -4
- package/dist/chunks/{credential-ht59szz0.js → model-resolver-6dy3z8jq.js} +11 -11
- package/dist/chunks/{credential-r9w3djhf.js → model-resolver-6fatt4mk.js} +9 -9
- package/dist/chunks/{credential-memnpynf.js → model-resolver-6fjj7as2.js} +46 -46
- package/dist/chunks/{credential-y7nndgyc.js → model-resolver-6hprzzq9.js} +9 -9
- package/dist/chunks/{credential-x74xmnxk.js → model-resolver-6sbrks22.js} +12 -12
- package/dist/chunks/{credential-v7z2bvyd.js → model-resolver-6t4hr8r6.js} +4 -4
- package/dist/chunks/{credential-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{credential-775gj3j1.js → model-resolver-775gj3j1.js} +2 -2
- package/dist/chunks/{credential-ztkx55p6.js → model-resolver-78mqpzmn.js} +16 -16
- package/dist/chunks/{credential-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-avxm8t77.js → model-resolver-7ej1793t.js} +27 -27
- package/dist/chunks/{credential-h532h9cs.js → model-resolver-7essg1m7.js} +23 -23
- package/dist/chunks/{credential-ernspkd5.js → model-resolver-7gyj6esr.js} +5 -5
- package/dist/chunks/{credential-gzatps39.js → model-resolver-7jt6fz4t.js} +185 -185
- package/dist/chunks/{credential-g69bhtys.js → model-resolver-7mw2kz3n.js} +14 -14
- package/dist/chunks/{credential-en15c0wn.js → model-resolver-7phrhjk9.js} +75 -64
- package/dist/chunks/{credential-66w41kd0.js → model-resolver-7veq4nhk.js} +18 -18
- package/dist/chunks/{credential-92k2zvrm.js → model-resolver-7zvp5rcn.js} +10 -10
- package/dist/chunks/{credential-xjwyxz4n.js → model-resolver-81hfyfhp.js} +15 -15
- package/dist/chunks/{credential-84txncab.js → model-resolver-84txncab.js} +1 -1
- package/dist/chunks/{credential-1sbg73nq.js → model-resolver-8h4996qy.js} +40 -40
- package/dist/chunks/{credential-dywbpq8p.js → model-resolver-8hwws32s.js} +19 -19
- package/dist/chunks/{credential-8m6m0r52.js → model-resolver-8m6m0r52.js} +1 -1
- package/dist/chunks/{credential-6r64h49w.js → model-resolver-8n4awwjy.js} +25 -25
- package/dist/chunks/{credential-z5crsmww.js → model-resolver-8pddcv4v.js} +10 -10
- package/dist/chunks/{credential-vywkzp4v.js → model-resolver-8vwbc7ar.js} +11 -11
- package/dist/chunks/{credential-j09zfasm.js → model-resolver-91qna3x0.js} +3 -3
- package/dist/chunks/{credential-h896pcm5.js → model-resolver-93ygb5af.js} +6 -6
- package/dist/chunks/{credential-w3x9v1nk.js → model-resolver-9c3np669.js} +8 -8
- package/dist/chunks/model-resolver-9jg07m6z.js +257 -0
- package/dist/chunks/{credential-yzdsqd8r.js → model-resolver-9m8rc5s1.js} +24 -24
- package/dist/chunks/{credential-rnd2wdxm.js → model-resolver-9qcwqr22.js} +9 -9
- package/dist/chunks/{credential-fb9h1zpd.js → model-resolver-a0dtpn4h.js} +22 -22
- package/dist/chunks/{credential-p6agkp8v.js → model-resolver-a2pvkqk7.js} +33 -33
- package/dist/chunks/{credential-4heb770w.js → model-resolver-a50ajv9x.js} +13 -13
- package/dist/chunks/{credential-x661k3y3.js → model-resolver-addxnjmp.js} +4 -4
- package/dist/chunks/{credential-8gxqpgph.js → model-resolver-afdssyjb.js} +4 -4
- package/dist/chunks/{credential-pmwpe40e.js → model-resolver-afrtgck4.js} +4 -4
- package/dist/chunks/{credential-tpwfj9q7.js → model-resolver-akkpvtys.js} +22 -22
- package/dist/chunks/{credential-srqharbm.js → model-resolver-an964k1c.js} +50 -50
- package/dist/chunks/{credential-vnr1arqv.js → model-resolver-av8er3sd.js} +45 -45
- package/dist/chunks/{credential-z6c3x22d.js → model-resolver-b674v2dg.js} +5 -5
- package/dist/chunks/{credential-xveeyqv2.js → model-resolver-b8nsy2hb.js} +24 -24
- package/dist/chunks/{credential-npw39rc8.js → model-resolver-bfegkxfd.js} +8 -8
- package/dist/chunks/{credential-d9etbekp.js → model-resolver-bg0vhc43.js} +40 -40
- package/dist/chunks/{credential-06nq0k6z.js → model-resolver-bk729ph4.js} +13 -13
- package/dist/chunks/{credential-sz15zhhw.js → model-resolver-bmr56wjg.js} +4 -4
- package/dist/chunks/{credential-8w7r8evj.js → model-resolver-bqjm0jxv.js} +20 -20
- package/dist/chunks/{credential-1ep4rre3.js → model-resolver-bzeyqsqd.js} +4 -4
- package/dist/chunks/{credential-c1fqxshp.js → model-resolver-c1fqxshp.js} +3 -3
- package/dist/chunks/{credential-c0x4bacm.js → model-resolver-c3jd06h3.js} +14 -14
- package/dist/chunks/{credential-yb3yv1n8.js → model-resolver-c5ggqzvz.js} +12 -12
- package/dist/chunks/{credential-qmqgtz8f.js → model-resolver-c765mh8b.js} +9 -9
- package/dist/chunks/{credential-8a3m53ms.js → model-resolver-c7ensvqx.js} +28 -28
- package/dist/chunks/{credential-pcz0vat3.js → model-resolver-cke7p0w4.js} +5 -5
- package/dist/chunks/{credential-g0445xdp.js → model-resolver-cmwkp3r5.js} +4 -4
- package/dist/chunks/{credential-e92nyhhr.js → model-resolver-cszqzecc.js} +60 -60
- package/dist/chunks/{credential-d1a28jh7.js → model-resolver-d1a28jh7.js} +2 -2
- package/dist/chunks/{credential-jrpbdnyg.js → model-resolver-d4wbqfbm.js} +11 -11
- package/dist/chunks/{credential-zet2wr62.js → model-resolver-d52hg7ms.js} +34 -34
- package/dist/chunks/{credential-1gy2kdvj.js → model-resolver-d60f224d.js} +28 -28
- package/dist/chunks/{credential-2v16nk6n.js → model-resolver-dcvezt5m.js} +11 -11
- package/dist/chunks/{credential-380xsyfr.js → model-resolver-des6jdj8.js} +21 -21
- package/dist/chunks/{credential-512sb6hd.js → model-resolver-dpy6a8rw.js} +4 -4
- package/dist/chunks/{credential-hbb7npd7.js → model-resolver-dq407baf.js} +6 -6
- package/dist/chunks/{credential-jvzc6p6r.js → model-resolver-dr0x4ah1.js} +12 -12
- package/dist/chunks/{credential-m0azfdyz.js → model-resolver-dt57sfsj.js} +9 -9
- package/dist/chunks/{credential-61m3evwq.js → model-resolver-dtpwe7mt.js} +24 -24
- package/dist/chunks/{credential-aj285h1q.js → model-resolver-e6ma5qw6.js} +5 -5
- package/dist/chunks/{credential-eej6y6fw.js → model-resolver-eej6y6fw.js} +2 -2
- package/dist/chunks/{credential-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{credential-a10rd6rt.js → model-resolver-f13hrfnx.js} +26 -26
- package/dist/chunks/{credential-s6bezc7p.js → model-resolver-f3st1kdw.js} +45 -45
- package/dist/chunks/{credential-ndn5nttk.js → model-resolver-faj2svbs.js} +9 -9
- package/dist/chunks/{credential-z32c81yc.js → model-resolver-fan8d53n.js} +43 -43
- package/dist/chunks/{credential-hc0tyw59.js → model-resolver-fc3ht4av.js} +9 -9
- package/dist/chunks/{credential-yqncb7ba.js → model-resolver-fc5y07mq.js} +22 -22
- package/dist/chunks/{credential-fcy631f0.js → model-resolver-fcy631f0.js} +1 -1
- package/dist/chunks/model-resolver-fh8qb6ca.js +513 -0
- package/dist/chunks/{credential-hbd093e1.js → model-resolver-g77tvx5r.js} +23 -23
- package/dist/chunks/{credential-w5na9dqb.js → model-resolver-gbjwtbd9.js} +11 -11
- package/dist/chunks/{credential-rryqzpf7.js → model-resolver-gcbmgp51.js} +7 -7
- package/dist/chunks/{credential-r6762b1f.js → model-resolver-gd18f05q.js} +4 -4
- package/dist/chunks/{credential-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{credential-evqws8cg.js → model-resolver-gn63hw7e.js} +20 -20
- package/dist/chunks/{credential-vpc0mzyy.js → model-resolver-gneezttj.js} +21 -21
- package/dist/chunks/{credential-xc7ywzxk.js → model-resolver-gnxydz9t.js} +33 -33
- package/dist/chunks/{credential-513fjzst.js → model-resolver-gpaj4387.js} +5 -5
- package/dist/chunks/{credential-0pvv1c5q.js → model-resolver-gq1dj4gx.js} +11 -11
- package/dist/chunks/{credential-4wnpk8s1.js → model-resolver-gqprr8j8.js} +50 -50
- package/dist/chunks/{credential-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{credential-5b35b6x0.js → model-resolver-h78bwqxj.js} +43 -43
- package/dist/chunks/{credential-725pgwpr.js → model-resolver-hacrw09v.js} +18 -18
- package/dist/chunks/{credential-7wzbnvvj.js → model-resolver-hb55tnnt.js} +26 -26
- package/dist/chunks/{credential-ysvnem4g.js → model-resolver-hcctc9zp.js} +18 -18
- package/dist/chunks/{credential-c5zn6ab1.js → model-resolver-hffd0g87.js} +32 -32
- package/dist/chunks/{credential-hgz4x7wa.js → model-resolver-hgz4x7wa.js} +1 -1
- package/dist/chunks/{credential-jh272vkw.js → model-resolver-hrfe9a92.js} +4 -4
- package/dist/chunks/{credential-y2ygvm3z.js → model-resolver-htj709tb.js} +19 -19
- package/dist/chunks/{credential-nk85k8h4.js → model-resolver-hwvembvf.js} +8 -8
- package/dist/chunks/{credential-frvhg24z.js → model-resolver-hx13apgc.js} +86 -86
- package/dist/chunks/{credential-psmgkcev.js → model-resolver-hz5mwsbb.js} +15 -15
- package/dist/chunks/{credential-ctzxj63w.js → model-resolver-hzf2gm4r.js} +6 -6
- package/dist/chunks/{credential-ccgbtwgc.js → model-resolver-j1qs7m2z.js} +11 -11
- package/dist/chunks/{credential-s1vs6g8m.js → model-resolver-j9vrzzxk.js} +33 -33
- package/dist/chunks/{credential-wjgm3cta.js → model-resolver-jbe9km07.js} +32 -32
- package/dist/chunks/{credential-ewrq8mh2.js → model-resolver-jhzmbhsj.js} +1 -1
- package/dist/chunks/{credential-9hnj8m91.js → model-resolver-jjn1p3a4.js} +9 -9
- package/dist/chunks/{credential-ze2cff16.js → model-resolver-jkge9r8a.js} +5 -5
- package/dist/chunks/{credential-qxe1je4p.js → model-resolver-jnng54s4.js} +23 -23
- package/dist/chunks/{credential-bbfmeh70.js → model-resolver-jp77zf0e.js} +29 -29
- package/dist/chunks/{credential-a79hjy9g.js → model-resolver-jthg0ham.js} +8 -8
- package/dist/chunks/{credential-9wahvfne.js → model-resolver-jvt1m3jn.js} +9 -9
- package/dist/chunks/{credential-tdsb1xpv.js → model-resolver-k0wngftd.js} +16 -16
- package/dist/chunks/{credential-5qndpx2w.js → model-resolver-k20dm792.js} +27 -27
- package/dist/chunks/{credential-93s0933k.js → model-resolver-k712naka.js} +13 -13
- package/dist/chunks/{credential-w1v47t14.js → model-resolver-k71zbqeh.js} +1 -1
- package/dist/chunks/{credential-wwmtcwyt.js → model-resolver-k9pcp02a.js} +14 -14
- package/dist/chunks/{credential-w5ht28hd.js → model-resolver-ksp8yezw.js} +46 -46
- package/dist/chunks/{credential-bay5n71e.js → model-resolver-kty3j8db.js} +15 -15
- package/dist/chunks/{credential-r2qj04q3.js → model-resolver-kvfw0apr.js} +17 -17
- package/dist/chunks/{credential-1yamg18a.js → model-resolver-kvtrcex4.js} +6 -6
- package/dist/chunks/{credential-kwb1v3vj.js → model-resolver-kwb1v3vj.js} +1 -1
- package/dist/chunks/{credential-5ej6fcjw.js → model-resolver-m15ha2ry.js} +6 -6
- package/dist/chunks/{credential-staw5rj3.js → model-resolver-m33tnjc0.js} +13 -13
- package/dist/chunks/{credential-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
- package/dist/chunks/{credential-q5vzdzv7.js → model-resolver-mb42fxee.js} +34 -34
- package/dist/chunks/{credential-tph0s9dr.js → model-resolver-me1ss5hn.js} +25 -25
- package/dist/chunks/{credential-x9cw3gm2.js → model-resolver-me1tk061.js} +24 -24
- package/dist/chunks/{credential-zqma82cw.js → model-resolver-mek16e5d.js} +11 -11
- package/dist/chunks/{credential-20jjewhm.js → model-resolver-mm294psk.js} +31 -31
- package/dist/chunks/{credential-43vcnrrz.js → model-resolver-mmfyj663.js} +5 -5
- package/dist/chunks/{credential-6geq063x.js → model-resolver-my3n3bk5.js} +22 -22
- package/dist/chunks/{credential-hzrfc1p4.js → model-resolver-my4zabxr.js} +3 -3
- package/dist/chunks/{credential-yrcj3v3g.js → model-resolver-n1n192bv.js} +4 -4
- package/dist/chunks/{credential-s2jpechx.js → model-resolver-n2w1xppv.js} +15 -15
- package/dist/chunks/{credential-4hkcjtf4.js → model-resolver-n2wkdexc.js} +13 -13
- package/dist/chunks/{credential-hy9hen9y.js → model-resolver-n30s8s5w.js} +6 -6
- package/dist/chunks/{credential-cbq5fey3.js → model-resolver-n8pfqjpz.js} +23 -23
- package/dist/chunks/{credential-0dyyysyc.js → model-resolver-ne1mykpf.js} +12 -12
- package/dist/chunks/{credential-79yp3gha.js → model-resolver-nmnr5pf0.js} +18 -18
- package/dist/chunks/{credential-8e5g1rqf.js → model-resolver-nn79enrz.js} +25 -25
- package/dist/chunks/{credential-6mdt5s3y.js → model-resolver-nyfqhcsj.js} +32 -32
- package/dist/chunks/{credential-dqbfcr17.js → model-resolver-nzqw3k3j.js} +14 -14
- package/dist/chunks/{credential-6jwzgjy8.js → model-resolver-pgftdjyf.js} +12 -12
- package/dist/chunks/{credential-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{credential-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{credential-h7hsvas8.js → model-resolver-pntd7sjn.js} +46 -46
- package/dist/chunks/{credential-cvfz62vn.js → model-resolver-pwke049s.js} +11 -11
- package/dist/chunks/{credential-9y47tcxd.js → model-resolver-q8j19n66.js} +13 -13
- package/dist/chunks/{credential-gqxmd7mw.js → model-resolver-qby9dwvd.js} +8 -8
- package/dist/chunks/{credential-qa3qhgw8.js → model-resolver-qm0v3jhh.js} +7 -7
- package/dist/chunks/{credential-d7y2a5kd.js → model-resolver-qm9hx7rf.js} +32 -32
- package/dist/chunks/{credential-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{credential-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{credential-axc9g66b.js → model-resolver-qtfkj4b2.js} +18 -18
- package/dist/chunks/{credential-ef4r2ry2.js → model-resolver-qx1aksxd.js} +16 -16
- package/dist/chunks/{credential-y3btf78e.js → model-resolver-qx29y3xy.js} +23 -23
- package/dist/chunks/{credential-bbz974h8.js → model-resolver-r50qz80j.js} +29 -29
- package/dist/chunks/{credential-3rt8v641.js → model-resolver-r670ztc7.js} +6 -6
- package/dist/chunks/{credential-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{credential-rert0e01.js → model-resolver-rert0e01.js} +2 -2
- package/dist/chunks/{credential-rj3eygr5.js → model-resolver-rj3eygr5.js} +2 -2
- package/dist/chunks/{credential-461nxmbv.js → model-resolver-rpgkwa3n.js} +5 -5
- package/dist/chunks/{credential-gsb9xmde.js → model-resolver-rwc19vm6.js} +95 -95
- package/dist/chunks/{credential-e8qrt4b5.js → model-resolver-rya4vhfs.js} +3 -3
- package/dist/chunks/{credential-dw66w2fq.js → model-resolver-ryy6axj8.js} +22 -22
- package/dist/chunks/{credential-54e3wb9v.js → model-resolver-s3r8kk34.js} +11 -11
- package/dist/chunks/{credential-rg17d408.js → model-resolver-s8pbrmg6.js} +42 -42
- package/dist/chunks/{credential-sa8ekw3f.js → model-resolver-sa8ekw3f.js} +2 -2
- package/dist/chunks/{credential-7w6pf623.js → model-resolver-sfx39rch.js} +17 -17
- package/dist/chunks/{credential-sfvx59jg.js → model-resolver-shnfcgs5.js} +13 -13
- package/dist/chunks/{credential-3w6712nq.js → model-resolver-sqzn8pe6.js} +5 -5
- package/dist/chunks/{credential-6h8f2rna.js → model-resolver-swz9epvm.js} +9 -9
- package/dist/chunks/{credential-syv4x271.js → model-resolver-syv4x271.js} +1 -1
- package/dist/chunks/{credential-3chf03wh.js → model-resolver-szyc73at.js} +10 -10
- package/dist/chunks/{credential-t550f9t1.js → model-resolver-t550f9t1.js} +1 -1
- package/dist/chunks/{credential-m8cyb89a.js → model-resolver-t5x8hzxm.js} +5 -5
- package/dist/chunks/{credential-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{credential-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{credential-1zyqs4bv.js → model-resolver-tcqy5gwz.js} +13 -13
- package/dist/chunks/{credential-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{credential-tm0kqsz3.js → model-resolver-tm0kqsz3.js} +1 -1
- package/dist/chunks/{credential-yamxdr06.js → model-resolver-tph52s30.js} +3 -3
- package/dist/chunks/{credential-6nfcpfgj.js → model-resolver-tseh174d.js} +5 -5
- package/dist/chunks/{credential-tyytaxap.js → model-resolver-tyytaxap.js} +1 -1
- package/dist/chunks/{credential-0cmwrtj6.js → model-resolver-v1hnz2td.js} +41 -41
- package/dist/chunks/{credential-x8ga927e.js → model-resolver-v210v162.js} +7 -7
- package/dist/chunks/{credential-mjbp1h77.js → model-resolver-v6vmr8kx.js} +29 -29
- package/dist/chunks/{credential-v7p4zvkq.js → model-resolver-v7p4zvkq.js} +2 -2
- package/dist/chunks/{credential-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{credential-f79d26hd.js → model-resolver-vhgkww9x.js} +14 -14
- package/dist/chunks/{credential-2cmv458r.js → model-resolver-vykevjvn.js} +5 -5
- package/dist/chunks/{credential-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{credential-g6yfr6ja.js → model-resolver-w39jehkq.js} +5 -5
- package/dist/chunks/{credential-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-6ywvrrbf.js → model-resolver-w671cn4t.js} +11 -11
- package/dist/chunks/{credential-30vr69rm.js → model-resolver-w6sh5zqk.js} +7 -7
- package/dist/chunks/{credential-xayeaa42.js → model-resolver-w6yk5t5r.js} +11 -11
- package/dist/chunks/{credential-8sze2n9a.js → model-resolver-w92k2e0p.js} +4 -4
- package/dist/chunks/{credential-5mrcxfar.js → model-resolver-wan54tjz.js} +8 -8
- package/dist/chunks/{credential-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{credential-bjx1sjef.js → model-resolver-wjr9rjd7.js} +6 -6
- package/dist/chunks/{credential-9x5ey5cj.js → model-resolver-wns8hazf.js} +6 -6
- package/dist/chunks/model-resolver-wry06ba9.js +26 -0
- package/dist/chunks/{credential-sg07zk51.js → model-resolver-wx7r1qye.js} +20 -20
- package/dist/chunks/{credential-xy8xnxtw.js → model-resolver-x1gmdrfj.js} +29 -29
- package/dist/chunks/{credential-r0969brx.js → model-resolver-x5wvqd0p.js} +2 -2
- package/dist/chunks/{credential-5njsp6db.js → model-resolver-x7b09pq1.js} +7 -7
- package/dist/chunks/{credential-rgnxk938.js → model-resolver-xq0m18df.js} +24 -24
- package/dist/chunks/{credential-s0q3ftad.js → model-resolver-xv5tzb38.js} +26 -26
- package/dist/chunks/{credential-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{credential-dpkg50ah.js → model-resolver-y71avatq.js} +4 -4
- package/dist/chunks/{credential-wgahhr0x.js → model-resolver-yemq3d8b.js} +6 -6
- package/dist/chunks/{credential-6s6qny9t.js → model-resolver-yx43cpvh.js} +15 -15
- package/dist/chunks/{credential-xeb3evp0.js → model-resolver-yxh0a6hh.js} +12 -12
- package/dist/chunks/{credential-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{credential-2jygy2ed.js → model-resolver-z4j3nyda.js} +17 -17
- package/dist/chunks/{credential-6b1s8aqa.js → model-resolver-z4qam7dt.js} +4 -4
- package/dist/chunks/{credential-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{credential-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +72 -72
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +92 -92
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- 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 +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- 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-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- 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 +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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +1 -1
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- 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 +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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- 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 +103 -103
- 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 +86 -86
- 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 +138 -138
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +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 +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- 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 +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +211 -211
- 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 +14 -14
- package/dist/types/session/compaction.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- 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 +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/credential-4dnkb904.js +0 -257
- package/dist/chunks/credential-9sh4wc5j.js +0 -18
- package/dist/chunks/credential-ks3bqvez.js +0 -513
- package/dist/chunks/credential-zwenznck.js +0 -26
- /package/dist/chunks/{credential-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{credential-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{credential-pyv0edze.js → model-resolver-pyv0edze.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{credential-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./model-resolver-50v2ya5q.js";
|
|
4
4
|
import {
|
|
5
5
|
Service47
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-vhgkww9x.js";
|
|
7
7
|
import {
|
|
8
8
|
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-07avtkf2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service76
|
|
14
|
+
} from "./model-resolver-yx43cpvh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service63
|
|
17
|
+
} from "./model-resolver-av8er3sd.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service52,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-hcctc9zp.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input2,
|
|
34
|
+
Output: () => Output2,
|
|
35
|
+
Plugin: () => Plugin37,
|
|
36
|
+
name: () => name2
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name2 = "edit";
|
|
43
|
+
var Input2 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input12 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output2 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin37 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
196
|
+
const access = yield* Service52;
|
|
197
197
|
const fileMutation = yield* Service17;
|
|
198
198
|
const environment = yield* Service47;
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
199
|
+
const formatter = yield* Service76;
|
|
200
|
+
const location = yield* Service82;
|
|
201
|
+
const permission = yield* Service63;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name2,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input2,
|
|
207
|
+
output: Output2,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin31 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name2, Input2, Output2, Plugin37, exports_edit };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-me1ss5hn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-k20dm792.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
@@ -8,14 +8,14 @@ __export(exports_instance2, {
|
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
9
|
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
16
|
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
19
|
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
@@ -29,4 +29,4 @@ function bound2(plugins) {
|
|
|
29
29
|
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export { Service5,
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./model-resolver-w671cn4t.js";
|
|
1
5
|
import {
|
|
2
6
|
Service85,
|
|
3
7
|
node89
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service83,
|
|
7
|
-
node86
|
|
8
|
-
} from "./credential-66w41kd0.js";
|
|
8
|
+
} from "./model-resolver-7veq4nhk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node63
|
|
12
|
+
} from "./model-resolver-93ygb5af.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service83,
|
|
19
|
+
node87
|
|
20
|
+
} from "./model-resolver-h78bwqxj.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-50v2ya5q.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service62,
|
|
26
|
+
node65
|
|
27
|
+
} from "./model-resolver-9qcwqr22.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError8
|
|
33
|
+
} from "./model-resolver-4tr9sj3s.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service58
|
|
39
|
+
} from "./model-resolver-afdssyjb.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service65,
|
|
42
|
+
node68
|
|
43
|
+
} from "./model-resolver-1ce86eqw.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service59,
|
|
48
|
+
node62,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./model-resolver-hb55tnnt.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service57,
|
|
53
|
+
node61
|
|
54
|
+
} from "./model-resolver-s8pbrmg6.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node27
|
|
57
|
+
} from "./model-resolver-1he6k45e.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service23,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node26
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service23 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service83;
|
|
92
|
+
const locations = yield* Service62;
|
|
93
|
+
const store = yield* Service65;
|
|
94
|
+
const execution = yield* Service57;
|
|
95
|
+
const instances = yield* Service60;
|
|
96
|
+
const admission = yield* Service59;
|
|
97
|
+
const database = yield* Service86;
|
|
98
|
+
const bus = yield* Service85;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError8({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service58.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service23.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node26 = makeGlobalNode({
|
|
167
|
+
service: Service23,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node87,
|
|
173
|
+
node65,
|
|
174
|
+
node68,
|
|
175
|
+
node61,
|
|
176
|
+
node63,
|
|
177
|
+
node62,
|
|
178
|
+
node90,
|
|
178
179
|
node89,
|
|
179
|
-
|
|
180
|
-
node33
|
|
180
|
+
node27
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service23, node26, exports_move };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service43
|
|
4
|
+
} from "./model-resolver-an964k1c.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin5 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service43;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin38 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin5, exports_websearch };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-addxnjmp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./model-resolver-7veq4nhk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./model-resolver-me1ss5hn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-k20dm792.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service78
|
|
20
|
+
} from "./model-resolver-r50qz80j.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./model-resolver-f13hrfnx.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-gq1dj4gx.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-szyc73at.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./model-resolver-9m8rc5s1.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service78;
|
|
167
|
+
const bus = yield* Service85;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID13.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID13.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID13.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID13.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|