@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service38
|
|
3
|
+
} from "./model-resolver-faj2svbs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./model-resolver-93ygb5af.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-4v7qdvcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service66
|
|
15
|
+
} from "./model-resolver-qby9dwvd.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-4tr9sj3s.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service37
|
|
23
|
+
} from "./model-resolver-nmnr5pf0.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service60;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service66;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service37;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service38;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
|
-
function
|
|
8
|
+
function make6(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make6 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service85,
|
|
4
|
+
node89
|
|
5
|
+
} from "./model-resolver-7veq4nhk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service71,
|
|
8
|
+
node74
|
|
9
|
+
} from "./model-resolver-bk729ph4.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service46,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node49,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service46 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -79,10 +79,10 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
85
|
-
const bus = yield*
|
|
84
|
+
const kv = yield* Service71;
|
|
85
|
+
const bus = yield* Service85;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
88
88
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event10.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service46.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event10.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event10.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node49 = makeGlobalNode({ service: Service46, layer, deps: [httpClient, node74, node89] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service46, Event10, inspect2, resolve2, node49, exports_wellknown };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./model-resolver-r50qz80j.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-n30s8s5w.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./model-resolver-an964k1c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service7
|
|
6
|
+
} from "./model-resolver-c765mh8b.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin17
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin17 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service43;
|
|
26
|
+
const policy = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin32 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin17, exports_location_watcher2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service8 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service8.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node10 = makeGlobalNode({ service: Service8, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service8, node10, exports_update };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./model-resolver-an964k1c.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
12
|
Service47
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-vhgkww9x.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./model-resolver-78mqpzmn.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service63
|
|
19
|
+
} from "./model-resolver-av8er3sd.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service52,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-hcctc9zp.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service74,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-kty3j8db.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service41
|
|
37
|
+
} from "./model-resolver-ksp8yezw.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service22
|
|
40
|
+
} from "./model-resolver-rwc19vm6.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
scan3
|
|
43
|
+
} from "./model-resolver-gcbmgp51.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin42,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name6 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input6 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin42 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service22;
|
|
124
|
+
const jobs = yield* Service70;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
126
|
const environment = yield* Service47;
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
127
|
+
const access = yield* Service52;
|
|
128
|
+
const shell = yield* Service41;
|
|
129
|
+
const shellSelect = yield* Service74;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service63;
|
|
132
|
+
const config = yield* Service43;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -140,7 +140,7 @@ var Plugin18 = {
|
|
|
140
140
|
invocation.cwd = target.absolute;
|
|
141
141
|
const timeout = invocation.timeout;
|
|
142
142
|
const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
|
|
143
|
-
const parsed = yield*
|
|
143
|
+
const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
|
|
144
144
|
const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
|
|
145
145
|
path: resolvePath2(target.absolute, directory),
|
|
146
146
|
kind: "directory"
|
|
@@ -148,7 +148,7 @@ var Plugin18 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name6,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin18 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name6,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input6,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin18 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name6,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name6];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin42, exports_shell2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service15,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node17
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service15 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service15.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node17 = makeGlobalNode({ service: Service15, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service15, node17, exports_discovery };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-r50qz80j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info21,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-f13hrfnx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info21.make({
|
|
98
|
+
...Info21.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|