@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,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service86,
|
|
9
|
+
node90
|
|
10
|
+
} from "./model-resolver-w671cn4t.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node60
|
|
18
|
+
} from "./model-resolver-yemq3d8b.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID6,
|
|
31
|
+
Info: () => Info14,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service56,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured8,
|
|
36
|
+
node: () => node59
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID6 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info14 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID6,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,25 +52,25 @@ class Info29 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID6,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service56 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured8 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service56,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node90, node60]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service84, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info14({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service84, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service56.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID6.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service84, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node59 = configured8();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID6, Info14, NotFound2, CreateConflict2, Service56, configured8, node59, exports_workspace };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./model-resolver-c5ggqzvz.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service84;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./model-resolver-7veq4nhk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./model-resolver-50v2ya5q.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service65,
|
|
14
|
+
node68
|
|
15
|
+
} from "./model-resolver-1ce86eqw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node13
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service85;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service65;
|
|
41
|
+
const location = yield* Service82;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service11.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node89, FSUtil.node, node86, node68]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node13, exports_instructions };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID10 = Session.ID;
|
|
5
|
+
var Info19 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID10, Info19, SessionSchema2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info17,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info17 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info17, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./model-resolver-w671cn4t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./model-resolver-93ygb5af.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-n1n192bv.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-jthg0ham.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-gnxydz9t.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service24
|
|
21
|
+
} from "./model-resolver-hx13apgc.js";
|
|
22
22
|
import {
|
|
23
23
|
retry2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-fcy631f0.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/generate.ts
|
|
30
30
|
var exports_generate = {};
|
|
@@ -35,12 +35,12 @@ __export(exports_generate, {
|
|
|
35
35
|
import { LLMClient, Message } from "@opencode/ai";
|
|
36
36
|
import { Effect } from "effect";
|
|
37
37
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
38
|
-
const instances = yield*
|
|
39
|
-
const database = yield*
|
|
38
|
+
const instances = yield* Service60;
|
|
39
|
+
const database = yield* Service86;
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
41
|
return yield* Effect.gen(function* () {
|
|
42
42
|
yield* awaitActivation2;
|
|
43
|
-
const context = yield*
|
|
43
|
+
const context = yield* Service24;
|
|
44
44
|
const selection = yield* context.select(input.session.id);
|
|
45
45
|
const model = yield* context.resolveModel(selection.session);
|
|
46
46
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service85,
|
|
4
|
+
node89
|
|
5
|
+
} from "./model-resolver-7veq4nhk.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service9,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer8,
|
|
17
|
+
node: () => node11
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service9 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer8 = Layer.effect(Service9, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service85;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service9.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node11 = makeGlobalNode({ service: Service9, layer: layer8, deps: [node89] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service9, layer8, node11, exports_sdk };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service78
|
|
4
|
+
} from "./model-resolver-r50qz80j.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./model-resolver-an964k1c.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service78;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service43);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service72,
|
|
6
|
+
node75
|
|
7
|
+
} from "./model-resolver-fan8d53n.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-fcy631f0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
16
|
var exports_generate2 = {};
|
|
17
17
|
__export(exports_generate2, {
|
|
18
18
|
Generate: () => exports_generate2,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service55,
|
|
21
|
+
UnavailableError: () => UnavailableError2,
|
|
22
|
+
layer: () => layer21,
|
|
23
|
+
node: () => node58
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service55 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer21 = Layer.effect(Service55, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service72;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError2({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service55.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node58 = makeLocationNode({
|
|
77
|
+
service: Service55,
|
|
78
|
+
layer: layer21,
|
|
79
|
+
deps: [node75, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError2, Service55, layer21, node58, exports_generate2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service47,
|
|
8
8
|
node50
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-vhgkww9x.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-8hwws32s.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
333
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
334
334
|
const environment = yield* Service47;
|
|
335
|
-
return
|
|
335
|
+
return Service12.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node50] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|