@opencode/core 0.0.0-dev-20170 → 0.0.0-dev-20175
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{pty-kehatjqj.js → mime-038cbjbn.js} +11 -11
- package/dist/chunks/{pty-fjwmcm9g.js → mime-0anb59kh.js} +14 -14
- package/dist/chunks/{pty-7xxh74w6.js → mime-0hn7mjnx.js} +11 -11
- package/dist/chunks/{pty-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0r7yqxbf.js → mime-0r7yqxbf.js} +2 -2
- package/dist/chunks/{pty-cx803r68.js → mime-0sadyvpa.js} +4 -4
- package/dist/chunks/{pty-00832hy7.js → mime-0tzy42a9.js} +8 -8
- package/dist/chunks/{pty-nefa8w28.js → mime-153c4z9z.js} +17 -17
- package/dist/chunks/{pty-yttzf3nj.js → mime-170hdxs4.js} +4 -4
- package/dist/chunks/{pty-1acjjqhc.js → mime-1acjjqhc.js} +1 -1
- package/dist/chunks/{pty-cbamtmth.js → mime-1bmj1kf2.js} +10 -10
- package/dist/chunks/{pty-c72g4n35.js → mime-1d35eqgr.js} +5 -5
- package/dist/chunks/{pty-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-0ft9cg2j.js → mime-1nzs1dt7.js} +6 -6
- package/dist/chunks/{pty-1w51kcab.js → mime-1q1h4scy.js} +29 -29
- package/dist/chunks/{pty-eh24cpx8.js → mime-1q9kvn7y.js} +8 -8
- package/dist/chunks/{pty-1ygqh575.js → mime-1ygqh575.js} +2 -2
- package/dist/chunks/{pty-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{pty-5dmpnzwe.js → mime-22s5ds6t.js} +12 -12
- package/dist/chunks/{pty-40y54r5c.js → mime-234qydz7.js} +3 -3
- package/dist/chunks/{pty-2402vzrj.js → mime-2402vzrj.js} +1 -1
- package/dist/chunks/{pty-y8vthjxv.js → mime-27em9pm7.js} +12 -12
- package/dist/chunks/{pty-z63w68vq.js → mime-29x78va6.js} +6 -6
- package/dist/chunks/{pty-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-1813d5zh.js → mime-2bekqz3a.js} +14 -14
- package/dist/chunks/{pty-vp2t77bj.js → mime-2cfadnaz.js} +5 -5
- package/dist/chunks/{pty-x4z8t7mn.js → mime-2dy1p8ya.js} +13 -13
- package/dist/chunks/{pty-x6k9b9cw.js → mime-2gw68b84.js} +15 -15
- package/dist/chunks/{pty-2k8khapm.js → mime-2k8khapm.js} +1 -1
- package/dist/chunks/{pty-twrb86q2.js → mime-2kdwgsh2.js} +2 -2
- package/dist/chunks/{pty-67d35v68.js → mime-2nah3rm6.js} +11 -11
- package/dist/chunks/{pty-ew0v584s.js → mime-2py3gdf7.js} +20 -20
- package/dist/chunks/{pty-33yknepq.js → mime-2vm2mn6r.js} +31 -31
- package/dist/chunks/{pty-f73rjn58.js → mime-2vs2nh1n.js} +4 -4
- package/dist/chunks/{pty-3gnkk110.js → mime-30vqxvem.js} +6 -6
- package/dist/chunks/{pty-2dejz1mq.js → mime-3153j44s.js} +27 -27
- package/dist/chunks/{pty-8njz7rt2.js → mime-3559wj1e.js} +22 -22
- package/dist/chunks/{pty-7fnyxttq.js → mime-35kmpahp.js} +4 -4
- package/dist/chunks/{pty-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-60vycrkp.js → mime-3js9yjpf.js} +30 -30
- package/dist/chunks/{pty-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-t0fxg8b9.js → mime-3w0fmcng.js} +5 -5
- package/dist/chunks/{pty-07yh2w3s.js → mime-3wrtxrr4.js} +6 -6
- package/dist/chunks/{pty-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-t9ag37r3.js → mime-41km3kz5.js} +21 -21
- package/dist/chunks/{pty-xbps7699.js → mime-42wz0x18.js} +12 -12
- package/dist/chunks/{pty-dv4smdre.js → mime-44d35g97.js} +25 -25
- package/dist/chunks/{pty-3pb9a38v.js → mime-44vkmz6z.js} +23 -23
- package/dist/chunks/{pty-979hjcpa.js → mime-45v820cx.js} +31 -31
- package/dist/chunks/{pty-qmjzgd7a.js → mime-49zwtcb8.js} +50 -50
- package/dist/chunks/{pty-5ar2sckv.js → mime-4crc4jdm.js} +5 -5
- package/dist/chunks/{pty-hxf9ag7d.js → mime-4fvze959.js} +41 -41
- package/dist/chunks/{pty-99taak7k.js → mime-4j2jd05g.js} +30 -30
- package/dist/chunks/{pty-fne9b88m.js → mime-508mdezp.js} +4 -4
- package/dist/chunks/{pty-jzsws37g.js → mime-54g84kz9.js} +9 -9
- package/dist/chunks/{pty-xfkkasph.js → mime-57b9ws8p.js} +7 -7
- package/dist/chunks/{pty-57ez7d0k.js → mime-57ez7d0k.js} +2 -2
- package/dist/chunks/{pty-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-ph20cxtq.js → mime-5fb55ywp.js} +9 -9
- package/dist/chunks/{pty-rgr7zy8c.js → mime-5pyf4h0a.js} +22 -22
- package/dist/chunks/{pty-5b0bje4b.js → mime-5s4prcyn.js} +27 -27
- package/dist/chunks/{pty-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-pa8pe2x7.js → mime-5yzzbxa7.js} +8 -8
- package/dist/chunks/{pty-3rkt7740.js → mime-605gm5cj.js} +26 -26
- package/dist/chunks/{pty-bh8ht1d2.js → mime-6540dvt1.js} +7 -7
- package/dist/chunks/{pty-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{pty-se2405xg.js → mime-6aq6s8eb.js} +5 -5
- package/dist/chunks/{pty-99kmt16y.js → mime-6cjeyrsw.js} +13 -13
- package/dist/chunks/{pty-0996nyz8.js → mime-6hjx5zpb.js} +5 -5
- package/dist/chunks/{pty-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-6d77vjf5.js → mime-6r5c0w9g.js} +26 -26
- package/dist/chunks/{pty-qsra982x.js → mime-6rfetefd.js} +3 -3
- package/dist/chunks/{pty-rw780tjq.js → mime-743spchq.js} +1 -1
- package/dist/chunks/{pty-221x7bq0.js → mime-75xs070m.js} +16 -16
- package/dist/chunks/{pty-3bbgm4hs.js → mime-77a7k1x9.js} +27 -27
- package/dist/chunks/{pty-27ra7qpk.js → mime-79bvek48.js} +18 -18
- package/dist/chunks/{pty-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-x45rtsks.js → mime-7cgya2dp.js} +17 -17
- package/dist/chunks/{pty-yhwy8nw2.js → mime-7psk4stz.js} +33 -33
- package/dist/chunks/{pty-xt0qjtha.js → mime-7r6qf5r7.js} +16 -16
- package/dist/chunks/{pty-dfncrten.js → mime-7tbrah22.js} +5 -5
- package/dist/chunks/{pty-n158bs7w.js → mime-7tycp833.js} +9 -9
- package/dist/chunks/{pty-3yakcpj9.js → mime-7wny7pda.js} +24 -24
- package/dist/chunks/{pty-rt925ear.js → mime-7xsf7rnq.js} +11 -11
- package/dist/chunks/{pty-nndwhze1.js → mime-82e83hjb.js} +17 -17
- package/dist/chunks/{pty-wvtedn3t.js → mime-83m6sd17.js} +4 -4
- package/dist/chunks/{pty-ebzz9p7s.js → mime-86aj54kq.js} +24 -24
- package/dist/chunks/{pty-r0kh7xsn.js → mime-87d9dw5n.js} +9 -9
- package/dist/chunks/{pty-tcezcvh9.js → mime-89znhe33.js} +4 -4
- package/dist/chunks/{pty-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-3vqxbr3s.js → mime-8fyve6nd.js} +7 -7
- package/dist/chunks/{pty-gfvb90ym.js → mime-94ek1h2f.js} +2 -2
- package/dist/chunks/{pty-5rt6txf8.js → mime-97sgz6yw.js} +22 -22
- package/dist/chunks/{pty-ckqn5b0t.js → mime-9g6t6zrh.js} +17 -17
- package/dist/chunks/{pty-w6xjr483.js → mime-9hhm9pvq.js} +13 -13
- package/dist/chunks/{pty-j1dhetpm.js → mime-9k86q3aq.js} +11 -11
- package/dist/chunks/{pty-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-6dxfrfn6.js → mime-aamn49ap.js} +38 -38
- package/dist/chunks/{pty-dg2cj1yd.js → mime-ae0nwvy8.js} +4 -4
- package/dist/chunks/{pty-dq0v80fr.js → mime-afed7ext.js} +5 -5
- package/dist/chunks/{pty-ss96nb5e.js → mime-ajt4fata.js} +8 -8
- package/dist/chunks/{pty-mja4j6rb.js → mime-amgtyp96.js} +15 -15
- package/dist/chunks/{pty-2v6ca730.js → mime-anq3081s.js} +10 -10
- package/dist/chunks/{pty-mrz2mfwp.js → mime-aqd372pc.js} +25 -25
- package/dist/chunks/{pty-0f7yvzkx.js → mime-b4yeq8gw.js} +16 -16
- package/dist/chunks/{pty-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-mv4t038k.js → mime-b95dy7zp.js} +4 -4
- package/dist/chunks/{pty-cj3sqp0r.js → mime-bb26mjzh.js} +11 -11
- package/dist/chunks/{pty-7end9xac.js → mime-bbjzvta2.js} +29 -29
- package/dist/chunks/{pty-6kspbkqh.js → mime-bc3t5yes.js} +24 -24
- package/dist/chunks/{pty-jrm07jrz.js → mime-beezqa8w.js} +15 -15
- package/dist/chunks/{pty-t1kj1ks6.js → mime-bg87x2pg.js} +13 -13
- package/dist/chunks/{pty-z9ftkqee.js → mime-bjzh7m45.js} +11 -11
- package/dist/chunks/{pty-97fmyryk.js → mime-bpcm8v83.js} +9 -9
- package/dist/chunks/{pty-x6vvseye.js → mime-c1ckp43n.js} +9 -9
- package/dist/chunks/{pty-r0841nan.js → mime-c4bh15tq.js} +17 -17
- package/dist/chunks/{pty-5nqyfg55.js → mime-c77x7g6d.js} +22 -22
- package/dist/chunks/{pty-6d6xcght.js → mime-cjwramev.js} +6 -6
- package/dist/chunks/{pty-54tcyq79.js → mime-ckecvw8r.js} +2 -2
- package/dist/chunks/{pty-6rm04a4d.js → mime-cz43zx57.js} +6 -6
- package/dist/chunks/{pty-nb301scj.js → mime-cz6jyf1n.js} +6 -6
- package/dist/chunks/{pty-nxhqveyz.js → mime-d2aac7k2.js} +5 -5
- package/dist/chunks/{pty-bc0ha7f3.js → mime-d7aqhzds.js} +86 -86
- package/dist/chunks/{pty-tjedn1bk.js → mime-d858xzj7.js} +4 -4
- package/dist/chunks/{pty-9gh63tf7.js → mime-d866bxqg.js} +11 -11
- package/dist/chunks/{pty-eg2tb1rm.js → mime-de35ch4m.js} +11 -11
- package/dist/chunks/{pty-t9zs3egg.js → mime-dfe8djrf.js} +4 -4
- package/dist/chunks/{pty-tx7gh1kr.js → mime-dhc0xkxm.js} +36 -36
- package/dist/chunks/{pty-a2ywx13m.js → mime-ds0wtj4e.js} +1 -1
- package/dist/chunks/{pty-jy93wyqx.js → mime-dtt66365.js} +20 -20
- package/dist/chunks/{pty-27xgxgv2.js → mime-dy59ndr5.js} +49 -49
- package/dist/chunks/{pty-vzqmaqpm.js → mime-dzqga1rh.js} +22 -22
- package/dist/chunks/{pty-0hbp2t3w.js → mime-e0ps24dg.js} +20 -20
- package/dist/chunks/{pty-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
- package/dist/chunks/{pty-ecfe7b91.js → mime-ecfe7b91.js} +2 -2
- package/dist/chunks/{pty-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-ycxstv38.js → mime-ekv8efyj.js} +11 -11
- package/dist/chunks/{pty-1sxsykr6.js → mime-enh3xt40.js} +8 -8
- package/dist/chunks/{pty-xazd4z7p.js → mime-enmnh83w.js} +20 -20
- package/dist/chunks/{pty-73tb2d7t.js → mime-eq1pz5kg.js} +3 -3
- package/dist/chunks/{pty-9wbp47sd.js → mime-et8918tz.js} +3 -3
- package/dist/chunks/{pty-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-fwpk2wm7.js → mime-ey8kmd5x.js} +18 -18
- package/dist/chunks/{pty-k53npxr2.js → mime-ezyw3hyt.js} +1 -1
- package/dist/chunks/{pty-f3eh0ser.js → mime-f1yg1ebf.js} +32 -32
- package/dist/chunks/{pty-45y21gs0.js → mime-f2dxdeh3.js} +20 -20
- package/dist/chunks/{pty-7y7dz3xh.js → mime-fdjzn7y9.js} +24 -24
- package/dist/chunks/{pty-45tygp0h.js → mime-fee1sgdn.js} +30 -30
- package/dist/chunks/{pty-ezqh9axr.js → mime-fp67s591.js} +13 -13
- package/dist/chunks/{pty-mf9m2v67.js → mime-fpnx24t4.js} +3 -3
- package/dist/chunks/{pty-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-41tapkvj.js → mime-gqy8xtzk.js} +38 -38
- package/dist/chunks/{pty-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-ag3twsq1.js → mime-gwydwvmj.js} +8 -8
- package/dist/chunks/{pty-571ezfbc.js → mime-gxvazm9p.js} +11 -11
- package/dist/chunks/{pty-qy4pzfzt.js → mime-h4dg678n.js} +5 -5
- package/dist/chunks/{pty-4z2qm7e6.js → mime-h69067hd.js} +10 -10
- package/dist/chunks/{pty-5mtzsd3b.js → mime-h6r3nrb9.js} +4 -4
- package/dist/chunks/{pty-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-dwvzh0g2.js → mime-hdzt82x2.js} +6 -6
- package/dist/chunks/{pty-60t26s16.js → mime-hqrt1rb2.js} +15 -15
- package/dist/chunks/mime-hr9dp009.js +4 -0
- package/dist/chunks/{pty-ch9yp1pz.js → mime-ht3seza6.js} +25 -25
- package/dist/chunks/{pty-a3c7ahw6.js → mime-j34bs4nz.js} +4 -4
- package/dist/chunks/{pty-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-cgtg3r0q.js → mime-j5fqsg2e.js} +327 -327
- package/dist/chunks/{pty-9x77fmbz.js → mime-j8afcsyc.js} +4 -4
- package/dist/chunks/{pty-pwf03s6r.js → mime-ja923fd7.js} +6 -6
- package/dist/chunks/{pty-1p7f10vm.js → mime-k1qrnqst.js} +8 -8
- package/dist/chunks/{pty-5n2dsd6w.js → mime-k28tmd1k.js} +10 -10
- package/dist/chunks/{pty-k3c624dm.js → mime-k3c624dm.js} +3 -3
- package/dist/chunks/{pty-c9fqa78w.js → mime-k7z0z15n.js} +8 -8
- package/dist/chunks/{pty-b27vhd2z.js → mime-k8962brh.js} +7 -7
- package/dist/chunks/{pty-3fqt7tyn.js → mime-k8fbnnjg.js} +29 -29
- package/dist/chunks/{pty-exr53306.js → mime-kea5jqe6.js} +33 -33
- package/dist/chunks/{pty-37bbksa5.js → mime-ket7y27p.js} +69 -69
- package/dist/chunks/{pty-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-v2fqb831.js → mime-m7x0jkmn.js} +5 -5
- package/dist/chunks/{pty-f76fhdgf.js → mime-m9rvph0x.js} +8 -8
- package/dist/chunks/{pty-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-q4qsq2r1.js → mime-mbjbnbxx.js} +4 -4
- package/dist/chunks/{pty-8d0p2m37.js → mime-mgmaefw5.js} +3 -3
- package/dist/chunks/{pty-zn493atz.js → mime-mh42mebz.js} +7 -7
- package/dist/chunks/{pty-kahn2df4.js → mime-mhmbnrp5.js} +13 -13
- package/dist/chunks/{pty-mg0z7gqm.js → mime-mpmqpgh5.js} +5 -5
- package/dist/chunks/{pty-1ed2t66p.js → mime-n1ka8r9d.js} +4 -4
- package/dist/chunks/{pty-eqdtwbsd.js → mime-ndz9h71m.js} +3 -3
- package/dist/chunks/{pty-b4xp5b4g.js → mime-nes9re6y.js} +6 -6
- package/dist/chunks/{pty-c4n9gx9q.js → mime-ny1bawyf.js} +17 -17
- package/dist/chunks/{pty-36agyrng.js → mime-p3vh2ta0.js} +24 -24
- package/dist/chunks/{pty-7e8n9cs3.js → mime-p42cb6gq.js} +37 -37
- package/dist/chunks/{pty-75wwy8y2.js → mime-pebjh6nn.js} +10 -10
- package/dist/chunks/{pty-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{pty-9by0nc1z.js → mime-ppv6hta6.js} +25 -25
- package/dist/chunks/{pty-rx2zrev4.js → mime-ppvvtx0s.js} +20 -20
- package/dist/chunks/{pty-v64esaz8.js → mime-q2kneea3.js} +11 -11
- package/dist/chunks/{pty-9kmbd9mt.js → mime-q970vn6j.js} +2 -2
- package/dist/chunks/{pty-nq7qbqzc.js → mime-qg0jgkcp.js} +9 -9
- package/dist/chunks/{pty-2h9st16x.js → mime-qh8qw1yz.js} +11 -11
- package/dist/chunks/{pty-2sejkfem.js → mime-qmqgtz8f.js} +9 -9
- package/dist/chunks/{pty-bv318s69.js → mime-qms6mpje.js} +20 -20
- package/dist/chunks/{pty-gnk6yzfx.js → mime-qp9qrtp0.js} +45 -45
- package/dist/chunks/{pty-3pbjq009.js → mime-qs001aqx.js} +11 -11
- package/dist/chunks/{pty-1hpkc3d9.js → mime-qs50n71f.js} +17 -17
- package/dist/chunks/{pty-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-2bc87pvv.js → mime-r398a7yx.js} +7 -7
- package/dist/chunks/{pty-dnh4eggc.js → mime-r9302q9a.js} +30 -30
- package/dist/chunks/{pty-zz3dkezh.js → mime-rbe8s94e.js} +23 -23
- package/dist/chunks/{pty-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-372k5868.js → mime-re33y59c.js} +22 -22
- package/dist/chunks/{pty-vxp3kcg3.js → mime-rf80fxgj.js} +5 -5
- package/dist/chunks/{pty-8wqe6q5q.js → mime-rk5e9k3p.js} +86 -86
- package/dist/chunks/{pty-z1swwevk.js → mime-rp5c3k0s.js} +39 -39
- package/dist/chunks/{pty-jd6az1p0.js → mime-s17k9x7e.js} +11 -11
- package/dist/chunks/{pty-47erbzba.js → mime-s25qb6rd.js} +14 -14
- package/dist/chunks/{pty-yrznvahk.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{pty-3p6y7fhg.js → mime-s8r0mwsn.js} +46 -46
- package/dist/chunks/{pty-prc9mp0v.js → mime-sdg1gcr0.js} +29 -29
- package/dist/chunks/{pty-3vnaarfk.js → mime-sk4fpzkz.js} +16 -16
- package/dist/chunks/{pty-9gea571p.js → mime-sxzvkvgj.js} +6 -6
- package/dist/chunks/{pty-nfzmfrje.js → mime-t4ay05z1.js} +9 -9
- package/dist/chunks/{pty-eaj1djv9.js → mime-t550f9t1.js} +8 -8
- package/dist/chunks/{pty-dwwvf93g.js → mime-t550g8gs.js} +11 -11
- package/dist/chunks/{pty-mqvas0bz.js → mime-t5ra0cz4.js} +11 -11
- package/dist/chunks/{pty-8vrhx02r.js → mime-t6f3wjjb.js} +35 -35
- package/dist/chunks/{pty-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{pty-4xgaqrq2.js → mime-tggd67fe.js} +16 -16
- package/dist/chunks/{pty-kjhqpjf5.js → mime-tgwh4g45.js} +3 -3
- package/dist/chunks/{pty-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-17y8z6sp.js → mime-tz679c1q.js} +3 -3
- package/dist/chunks/mime-v1faaxn9.js +18 -0
- package/dist/chunks/{pty-hx5dphvg.js → mime-v553wp33.js} +48 -48
- package/dist/chunks/{pty-9zdcvzy0.js → mime-v6v677s0.js} +26 -26
- package/dist/chunks/{pty-w6yz6n38.js → mime-vc794bvv.js} +170 -170
- package/dist/chunks/{pty-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-7febzfrp.js → mime-vfwfag5t.js} +27 -27
- package/dist/chunks/{pty-54xnztgb.js → mime-vj9r822s.js} +44 -44
- package/dist/chunks/{pty-gje89n48.js → mime-vq9mnbss.js} +28 -28
- package/dist/chunks/{pty-8kjs0e52.js → mime-vw5a0rfv.js} +2 -2
- package/dist/chunks/{pty-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-2gds47hr.js → mime-w41yqvvp.js} +17 -17
- package/dist/chunks/{pty-t70hw2aa.js → mime-w5py834v.js} +27 -27
- package/dist/chunks/{pty-py3kkmfq.js → mime-w92k2e0p.js} +8 -8
- package/dist/chunks/{pty-psazpmmj.js → mime-wd3x2cqz.js} +2 -2
- package/dist/chunks/{pty-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{pty-vfcs7mkg.js → mime-whvrryqk.js} +23 -23
- package/dist/chunks/{pty-8yen0vmk.js → mime-ws8rf1n9.js} +19 -19
- package/dist/chunks/{pty-v6aqgby1.js → mime-wskervgn.js} +14 -14
- package/dist/chunks/{pty-qgyvxnrz.js → mime-wvjy0rkm.js} +3 -3
- package/dist/chunks/{pty-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-4n607a2z.js → mime-x2rw7g36.js} +5 -5
- package/dist/chunks/{pty-te7gyzaz.js → mime-x9d81cjr.js} +7 -7
- package/dist/chunks/{pty-e2n265pm.js → mime-xaqyyngn.js} +8 -8
- package/dist/chunks/{pty-f3ngv102.js → mime-xdk9p2qn.js} +21 -21
- package/dist/chunks/{pty-jmr301rc.js → mime-xjtpc5ew.js} +21 -21
- package/dist/chunks/{pty-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
- package/dist/chunks/{pty-p7656wpr.js → mime-xmj1c5tj.js} +26 -26
- package/dist/chunks/{pty-avjan795.js → mime-xsjv728j.js} +9 -9
- package/dist/chunks/{pty-7w357n7h.js → mime-xxc26qrd.js} +15 -15
- package/dist/chunks/{pty-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-bbdm7xgf.js → mime-y5xqhydv.js} +29 -29
- package/dist/chunks/{pty-y71avatq.js → mime-y71avatq.js} +1 -1
- package/dist/chunks/{pty-nekn4kj4.js → mime-y8yd5a40.js} +11 -11
- package/dist/chunks/{pty-ke9c0zby.js → mime-yew08yk0.js} +48 -48
- package/dist/chunks/{pty-gfmqcfkq.js → mime-yg64st6f.js} +13 -13
- package/dist/chunks/{pty-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-8anx25cs.js → mime-ysk4s0pp.js} +22 -22
- package/dist/chunks/mime-yvzdpfbp.js +252 -0
- package/dist/chunks/{pty-nzfzj4ee.js → mime-ywqv77jt.js} +29 -29
- package/dist/chunks/{pty-bjtzbw4r.js → mime-z07pqspn.js} +3 -3
- package/dist/chunks/{pty-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-jyb2y6gr.js → mime-z5km0pse.js} +15 -15
- package/dist/chunks/{pty-bc1mwsm1.js → mime-z90jk03v.js} +22 -22
- package/dist/chunks/{pty-9kzv5r3t.js → mime-zdcc64ja.js} +5 -5
- package/dist/chunks/{pty-r369ybd3.js → mime-zefpc43y.js} +14 -14
- package/dist/chunks/{pty-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-kba9tdab.js → mime-zkkg3hmv.js} +12 -12
- package/dist/chunks/{pty-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-zrq8kphx.js → mime-zrq8kphx.js} +1 -1
- package/dist/chunks/{pty-afp6dc07.js → mime-zvj905se.js} +10 -10
- package/dist/chunks/{pty-zxq2ej10.js → mime-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 +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +99 -99
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- 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/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/pty-6kdq0pjd.js +0 -4
- package/dist/chunks/pty-7fj5dwt0.js +0 -18
- package/dist/chunks/pty-pjz83rka.js +0 -252
- /package/dist/chunks/{pty-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-2kdwgsh2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service69
|
|
11
|
+
} from "./mime-xjtpc5ew.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service37
|
|
14
|
+
} from "./mime-038cbjbn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service38,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-bg87x2pg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./mime-dy59ndr5.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service53,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-xxc26qrd.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./mime-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
39
|
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin47,
|
|
42
|
+
name: () => name11,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name11 = "patch";
|
|
89
|
+
var Input11 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -100,25 +100,25 @@ var Output8 = Schema.Struct({
|
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin47 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service69;
|
|
112
|
+
const access = yield* Service53;
|
|
113
|
+
const fileMutation = yield* Service38;
|
|
114
|
+
const formatter = yield* Service37;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service54;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name11,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input11,
|
|
122
122
|
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -266,7 +266,7 @@ var Plugin32 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name11, Input11, Applied2, Output8, toModelContent5, Plugin47, exports_patch };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-wvjy0rkm.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-b95dy7zp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service42,
|
|
11
|
+
node44
|
|
12
|
+
} from "./mime-sxzvkvgj.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service81,
|
|
19
19
|
node85
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-1q9kvn7y.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-2kdwgsh2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service52,
|
|
26
|
+
node54
|
|
27
|
+
} from "./mime-7tycp833.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError6
|
|
33
|
+
} from "./mime-bpcm8v83.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./mime-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service40
|
|
39
|
+
} from "./mime-2vs2nh1n.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service55,
|
|
42
|
+
node57
|
|
43
|
+
} from "./mime-sk4fpzkz.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service41,
|
|
48
|
+
node43,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./mime-e0ps24dg.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service39,
|
|
53
|
+
node42
|
|
54
|
+
} from "./mime-dhc0xkxm.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node23
|
|
57
|
+
} from "./mime-75xs070m.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./mime-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service19,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node22
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service19 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
91
|
const projects = yield* Service81;
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
92
|
+
const locations = yield* Service52;
|
|
93
|
+
const store = yield* Service55;
|
|
94
|
+
const execution = yield* Service39;
|
|
95
|
+
const instances = yield* Service42;
|
|
96
|
+
const admission = yield* Service41;
|
|
97
97
|
const database = yield* Service84;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError6({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service40.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service19.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node22 = makeGlobalNode({
|
|
167
|
+
service: Service19,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node85,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
173
|
+
node54,
|
|
174
|
+
node57,
|
|
175
|
+
node42,
|
|
176
|
+
node44,
|
|
177
|
+
node43,
|
|
178
178
|
node88,
|
|
179
179
|
node87,
|
|
180
|
-
|
|
180
|
+
node23
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node22, exports_move };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service76
|
|
4
|
+
} from "./mime-bbjzvta2.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service76;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info21
|
|
7
|
+
} from "./mime-xdk9p2qn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info20
|
|
10
|
+
} from "./mime-qs001aqx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info15
|
|
13
|
+
} from "./mime-3w0fmcng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info19
|
|
16
|
+
} from "./mime-k8962brh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info22
|
|
19
|
+
} from "./mime-hdzt82x2.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./mime-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info16
|
|
25
|
+
} from "./mime-1nzs1dt7.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info18
|
|
28
|
+
} from "./mime-d2aac7k2.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./mime-2k8khapm.js";
|
|
32
32
|
import {
|
|
33
33
|
Info14
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./mime-0r7yqxbf.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./mime-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info17
|
|
40
|
+
} from "./mime-dfe8djrf.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./mime-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info13,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info13 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info9 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info19)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info17).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info9 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info20), plan: Schema.optional(Info20) }), [Schema.Record(Schema.String, Info20)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info20),
|
|
119
|
+
build: Schema.optional(Info20),
|
|
120
|
+
general: Schema.optional(Info20),
|
|
121
|
+
explore: Schema.optional(Info20),
|
|
122
|
+
title: Schema.optional(Info20),
|
|
123
|
+
summary: Schema.optional(Info20),
|
|
124
|
+
compaction: Schema.optional(Info20)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info20)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
126
|
provider: Schema.optional(Schema.Record(Schema.String, Info14)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info18, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info22).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info16).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info21),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info15).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info9 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info13, exports_config2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-wvjy0rkm.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-b95dy7zp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./mime-sxzvkvgj.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError6,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./mime-bpcm8v83.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service55
|
|
29
|
+
} from "./mime-sk4fpzkz.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service41
|
|
34
|
+
} from "./mime-e0ps24dg.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service39
|
|
37
|
+
} from "./mime-dhc0xkxm.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./mime-wskervgn.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./mime-qms6mpje.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./mime-87d9dw5n.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./mime-c1ckp43n.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./mime-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service55;
|
|
69
|
+
const instances = yield* Service42;
|
|
70
|
+
const execution = yield* Service39;
|
|
71
|
+
const admission = yield* Service41;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError6({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service42, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service42, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service42, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-w5py834v.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-3153j44s.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|