@opencode/core 0.0.0-dev-19696 → 0.0.0-dev-19697
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{event-logger-ybksaspp.js → kv-0h2tq7q5.js} +26 -26
- package/dist/chunks/{event-logger-z4vrje5h.js → kv-0jyxj443.js} +18 -18
- package/dist/chunks/{event-logger-fhc8rz2n.js → kv-0n70x72d.js} +4 -4
- package/dist/chunks/{event-logger-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-0q0f95c6.js → kv-0q0f95c6.js} +1 -1
- package/dist/chunks/{event-logger-3fzmg2hw.js → kv-0qyqys9g.js} +11 -11
- package/dist/chunks/{event-logger-ftg4rydt.js → kv-0s8ewvqd.js} +18 -18
- package/dist/chunks/{event-logger-nkxhmy90.js → kv-0ykak19g.js} +9 -9
- package/dist/chunks/{event-logger-c27esgm9.js → kv-166kng33.js} +8 -8
- package/dist/chunks/{event-logger-179189h4.js → kv-18e56dsp.js} +4 -4
- package/dist/chunks/{event-logger-yp2x3t23.js → kv-1acjjqhc.js} +4 -4
- package/dist/chunks/{event-logger-1dazxqgg.js → kv-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-93677cdp.js → kv-1rgqz1x1.js} +19 -19
- package/dist/chunks/{event-logger-f9qen07q.js → kv-1sf53nq6.js} +9 -9
- package/dist/chunks/{event-logger-a89e0tac.js → kv-1y283654.js} +4 -4
- package/dist/chunks/{event-logger-21r38tys.js → kv-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-6h73sxmp.js → kv-2402vzrj.js} +5 -5
- package/dist/chunks/{event-logger-a9ank4cb.js → kv-26kj7k6y.js} +17 -17
- package/dist/chunks/{event-logger-29x78va6.js → kv-29x78va6.js} +2 -2
- package/dist/chunks/{event-logger-2a5m3afh.js → kv-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-6sn0sakd.js → kv-2cwg7scc.js} +6 -6
- package/dist/chunks/{event-logger-dsqw74eh.js → kv-2dh1j8m9.js} +29 -29
- package/dist/chunks/{event-logger-a5zcwyze.js → kv-2gkymst3.js} +15 -15
- package/dist/chunks/{event-logger-faq1wr3f.js → kv-2gy5cyya.js} +5 -5
- package/dist/chunks/{event-logger-ss0awb04.js → kv-2jmaghvr.js} +6 -6
- package/dist/chunks/{event-logger-ahy3czyv.js → kv-2pzp17qz.js} +21 -21
- package/dist/chunks/{event-logger-t31hm6b2.js → kv-2s8vd8mm.js} +19 -19
- package/dist/chunks/{event-logger-t2az9yje.js → kv-2vs2nh1n.js} +4 -4
- package/dist/chunks/{event-logger-3bnndehn.js → kv-30s515de.js} +17 -17
- package/dist/chunks/{event-logger-c78bbtc9.js → kv-3cfzdc8e.js} +5 -5
- package/dist/chunks/{event-logger-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-v2wypf96.js → kv-3mmyb3r4.js} +25 -25
- package/dist/chunks/{event-logger-c7qc25s7.js → kv-3rvrx8bj.js} +42 -42
- package/dist/chunks/{event-logger-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-vqr5d69s.js → kv-40z4n3em.js} +27 -27
- package/dist/chunks/{event-logger-zt6fd653.js → kv-43k56ejq.js} +6 -6
- package/dist/chunks/{event-logger-knb7evpn.js → kv-44ke2mar.js} +2 -2
- package/dist/chunks/{event-logger-mj1kzh8e.js → kv-486pw2q1.js} +8 -8
- package/dist/chunks/{event-logger-8wy1nzpa.js → kv-4f02dvhn.js} +11 -11
- package/dist/chunks/{event-logger-6pw3x1qa.js → kv-4hjcsytf.js} +7 -7
- package/dist/chunks/{event-logger-nhwybaja.js → kv-4mk9rtfy.js} +8 -8
- package/dist/chunks/{event-logger-tsv8nndt.js → kv-4mma3ac2.js} +17 -17
- package/dist/chunks/{event-logger-8gb5n45w.js → kv-4t2nfrnb.js} +19 -19
- package/dist/chunks/{event-logger-w47g9jnr.js → kv-4y72ap3v.js} +12 -12
- package/dist/chunks/{event-logger-ntqvmrke.js → kv-56fngz5a.js} +27 -27
- package/dist/chunks/{event-logger-33w4ejhs.js → kv-56gdpj1q.js} +6 -6
- package/dist/chunks/{event-logger-k8dasee7.js → kv-57e9z27j.js} +5 -5
- package/dist/chunks/{event-logger-57ez7d0k.js → kv-57ez7d0k.js} +2 -2
- package/dist/chunks/{event-logger-bntmz9b0.js → kv-58zjjv26.js} +9 -9
- package/dist/chunks/{event-logger-s0gbcvwp.js → kv-5ajycw7n.js} +11 -11
- package/dist/chunks/{event-logger-5daktx2q.js → kv-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-b5g7n234.js → kv-5ejb7v9g.js} +4 -4
- package/dist/chunks/{event-logger-9rzn19qa.js → kv-5f1ek92y.js} +20 -20
- package/dist/chunks/{event-logger-cbfw9r1s.js → kv-5hv2sp62.js} +39 -39
- package/dist/chunks/{event-logger-een8h1ye.js → kv-5jpmw9vp.js} +20 -20
- package/dist/chunks/{event-logger-3hj4sy0w.js → kv-5kvssbrq.js} +20 -20
- package/dist/chunks/{event-logger-5t3nmthw.js → kv-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-j138d028.js → kv-5z7bk7sq.js} +14 -14
- package/dist/chunks/{event-logger-hm2zm27q.js → kv-5z7f6sft.js} +24 -24
- package/dist/chunks/{event-logger-669tq793.js → kv-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-kymbt4nv.js → kv-6arw946r.js} +5 -5
- package/dist/chunks/{event-logger-9waqcrmt.js → kv-6bdkg2ca.js} +37 -37
- package/dist/chunks/kv-6kdq0pjd.js +4 -0
- package/dist/chunks/{event-logger-6msgmcgs.js → kv-6msgmcgs.js} +1 -1
- package/dist/chunks/{event-logger-8p8djd9s.js → kv-6qcg8y9p.js} +36 -36
- package/dist/chunks/{event-logger-yh95ww3s.js → kv-733tzfxr.js} +56 -56
- package/dist/chunks/{event-logger-t16mb6cm.js → kv-76hw6daw.js} +93 -93
- package/dist/chunks/{event-logger-6t2b8ngt.js → kv-78kvvdfm.js} +13 -13
- package/dist/chunks/{event-logger-7x9ewdc2.js → kv-79zxcn51.js} +41 -41
- package/dist/chunks/{event-logger-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-zcqt3ngz.js → kv-7qya56nh.js} +46 -46
- package/dist/chunks/{event-logger-jf0100jp.js → kv-7vymbkvf.js} +15 -15
- package/dist/chunks/{event-logger-mhkvc446.js → kv-7yh4e7ss.js} +3 -3
- package/dist/chunks/{event-logger-err3782n.js → kv-7zedzqqc.js} +5 -5
- package/dist/chunks/{event-logger-72f1ase6.js → kv-86jxetkv.js} +6 -6
- package/dist/chunks/{event-logger-tcezcvh9.js → kv-89znhe33.js} +4 -4
- package/dist/chunks/{event-logger-8d7r5vzw.js → kv-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-f1q81vwr.js → kv-8nkkbt6n.js} +30 -30
- package/dist/chunks/{event-logger-dj2t23y0.js → kv-8p4f9s12.js} +2 -2
- package/dist/chunks/{event-logger-yjd544d2.js → kv-8qcv48pk.js} +11 -11
- package/dist/chunks/{event-logger-r6a6hdhd.js → kv-8s725grq.js} +5 -5
- package/dist/chunks/{event-logger-h6nxw0pd.js → kv-8sjzh31h.js} +8 -8
- package/dist/chunks/{event-logger-tpfb5g91.js → kv-8t0f4xs6.js} +47 -47
- package/dist/chunks/{event-logger-5qgsxy42.js → kv-8ttk3n17.js} +8 -8
- package/dist/chunks/{event-logger-4ax32ygz.js → kv-8w4wnn0h.js} +15 -15
- package/dist/chunks/{event-logger-c43stmsp.js → kv-94yqh2e8.js} +28 -28
- package/dist/chunks/{event-logger-fn3mjbaf.js → kv-9jpkdkrd.js} +13 -13
- package/dist/chunks/{event-logger-tqxxw7kd.js → kv-9nt1zxy2.js} +3 -3
- package/dist/chunks/{event-logger-fn208hd8.js → kv-9p4fwp8b.js} +13 -13
- package/dist/chunks/{event-logger-0z8vjex2.js → kv-9wjnegnz.js} +9 -9
- package/dist/chunks/{event-logger-5c4hm403.js → kv-a1bz86dw.js} +3 -3
- package/dist/chunks/{event-logger-y56ehv6b.js → kv-a3ftg8j6.js} +9 -9
- package/dist/chunks/{event-logger-aaet6srn.js → kv-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-9qfe2ja1.js → kv-aj131gze.js} +31 -31
- package/dist/chunks/{event-logger-y35sf2j4.js → kv-ajed71fh.js} +4 -4
- package/dist/chunks/{event-logger-c8ch9ja0.js → kv-an64vcjs.js} +30 -30
- package/dist/chunks/{event-logger-xdk9p2qn.js → kv-axmvebxj.js} +4 -4
- package/dist/chunks/{event-logger-b6gygkdw.js → kv-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-r8xnyvet.js → kv-b8hzf7nw.js} +8 -8
- package/dist/chunks/{event-logger-qpmg2b3j.js → kv-b9ddpge3.js} +28 -28
- package/dist/chunks/{event-logger-jmphe03k.js → kv-bajakh74.js} +4 -4
- package/dist/chunks/{event-logger-v1vcwkx7.js → kv-bb4x6fty.js} +1 -1
- package/dist/chunks/{event-logger-r1a0vwxw.js → kv-bhna9v2j.js} +89 -89
- package/dist/chunks/{event-logger-aacmedp5.js → kv-brk9z31q.js} +23 -23
- package/dist/chunks/{event-logger-ety6crw6.js → kv-bvf2mwpm.js} +17 -17
- package/dist/chunks/{event-logger-hps3qd0z.js → kv-bzykmrpe.js} +32 -32
- package/dist/chunks/{event-logger-17f1vy2k.js → kv-c5twpqer.js} +16 -16
- package/dist/chunks/{event-logger-djszqvmq.js → kv-c765mh8b.js} +9 -9
- package/dist/chunks/{event-logger-1tmhegch.js → kv-cfhv7k6a.js} +43 -43
- package/dist/chunks/{event-logger-m0jqrx5p.js → kv-cfpkc3c9.js} +2 -2
- package/dist/chunks/{event-logger-b0qp2rc8.js → kv-cmce1137.js} +49 -49
- package/dist/chunks/{event-logger-4gchpvx5.js → kv-cmmaewg5.js} +23 -23
- package/dist/chunks/{event-logger-bccb6npm.js → kv-csf2jhsg.js} +4 -4
- package/dist/chunks/{event-logger-f6r8b46e.js → kv-d0bvbghy.js} +24 -24
- package/dist/chunks/{event-logger-fc2s70hv.js → kv-d9w86zsm.js} +4 -4
- package/dist/chunks/{event-logger-cpcmeqtm.js → kv-dda4ng2z.js} +22 -22
- package/dist/chunks/{event-logger-4db5ydnd.js → kv-dg0zj9rc.js} +12 -12
- package/dist/chunks/{event-logger-ca99xzkn.js → kv-dj9933qw.js} +6 -6
- package/dist/chunks/{event-logger-krz0x7qr.js → kv-dkp5evny.js} +21 -21
- package/dist/chunks/{event-logger-m0wrnjqy.js → kv-ds5ra16e.js} +25 -25
- package/dist/chunks/{event-logger-rj058vke.js → kv-dsde1tat.js} +13 -13
- package/dist/chunks/kv-e6q1f0vn.js +247 -0
- package/dist/chunks/{event-logger-tj47gbtw.js → kv-eassb7n1.js} +166 -166
- package/dist/chunks/{event-logger-0vfpb1xb.js → kv-eednvaqf.js} +13 -13
- package/dist/chunks/{event-logger-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-ctd8n39e.js → kv-ejmwa3hq.js} +26 -26
- package/dist/chunks/{event-logger-p1yzh2vf.js → kv-emn2gdya.js} +34 -34
- package/dist/chunks/{event-logger-jkjeh5ca.js → kv-erhqaezs.js} +9 -9
- package/dist/chunks/{event-logger-jvkzm5xa.js → kv-es0gqzds.js} +11 -11
- package/dist/chunks/{event-logger-etq0c3wd.js → kv-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-4xvgz3xk.js → kv-ew1a72pc.js} +3 -3
- package/dist/chunks/{event-logger-z0cjqv7c.js → kv-ex7b8h7r.js} +13 -13
- package/dist/chunks/{event-logger-phj7xkps.js → kv-f0b0r112.js} +5 -5
- package/dist/chunks/{event-logger-3saaabmq.js → kv-f2exj34c.js} +29 -29
- package/dist/chunks/{event-logger-ymetdb9t.js → kv-f3dgvsw8.js} +11 -11
- package/dist/chunks/{event-logger-qzq644bb.js → kv-f7s8hbxh.js} +9 -9
- package/dist/chunks/{event-logger-hdnk95c8.js → kv-f828m53h.js} +2 -2
- package/dist/chunks/{event-logger-0wy3snq7.js → kv-ffydvhdg.js} +23 -23
- package/dist/chunks/{event-logger-mrkxfjrm.js → kv-fkz998zf.js} +7 -7
- package/dist/chunks/{event-logger-ea07kf8j.js → kv-fqsqydq6.js} +30 -30
- package/dist/chunks/{event-logger-fxbjtjnd.js → kv-fxbjtjnd.js} +1 -1
- package/dist/chunks/{event-logger-c8xqcx36.js → kv-g9vrwn0g.js} +6 -6
- package/dist/chunks/{event-logger-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-q4aa1wsx.js → kv-gm2mrtn0.js} +9 -9
- package/dist/chunks/{event-logger-p5std9sz.js → kv-gpnb4v3s.js} +2 -2
- package/dist/chunks/{event-logger-gv6a8nnw.js → kv-gv6a8nnw.js} +2 -2
- package/dist/chunks/{event-logger-r0tg5n0q.js → kv-gv7651na.js} +11 -11
- package/dist/chunks/{event-logger-fchh1bgk.js → kv-gwyqmf4m.js} +6 -6
- package/dist/chunks/{event-logger-h03wrkyp.js → kv-h03wrkyp.js} +2 -2
- package/dist/chunks/{event-logger-yrwsfcys.js → kv-h0xcb7xj.js} +32 -32
- package/dist/chunks/{event-logger-avkqcmq8.js → kv-h0z4he29.js} +13 -13
- package/dist/chunks/{event-logger-wvjjmvtg.js → kv-h2d3vczp.js} +14 -14
- package/dist/chunks/{event-logger-h6r3nrb9.js → kv-h6r3nrb9.js} +1 -1
- package/dist/chunks/{event-logger-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-13wq6x1c.js → kv-hb42574n.js} +4 -4
- package/dist/chunks/{event-logger-zaq546np.js → kv-hkr4fqfj.js} +35 -35
- package/dist/chunks/{event-logger-t36q68m4.js → kv-hmmy7jr3.js} +11 -11
- package/dist/chunks/{event-logger-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-jppvw2tx.js → kv-jppvw2tx.js} +2 -2
- package/dist/chunks/kv-jqh9b0xq.js +18 -0
- package/dist/chunks/{event-logger-7648d4x5.js → kv-jsqsfp37.js} +2 -2
- package/dist/chunks/{event-logger-hnr5yq9h.js → kv-jv01nqvq.js} +5 -5
- package/dist/chunks/{event-logger-n9ab4v8a.js → kv-jw4s1zfv.js} +8 -8
- package/dist/chunks/{event-logger-v377geyv.js → kv-k1vhadgv.js} +36 -36
- package/dist/chunks/{event-logger-knt2d5dz.js → kv-k2rxmz7t.js} +37 -37
- package/dist/chunks/{event-logger-y4x2wnhh.js → kv-k3qckhrx.js} +8 -8
- package/dist/chunks/{event-logger-6d2pv072.js → kv-k91wvfsp.js} +8 -8
- package/dist/chunks/{event-logger-bt4aqhzs.js → kv-kayrkw4c.js} +47 -47
- package/dist/chunks/{event-logger-7dw7qv3b.js → kv-kj59q98p.js} +4 -4
- package/dist/chunks/{event-logger-4qm6cy38.js → kv-kp15nsp5.js} +11 -11
- package/dist/chunks/{event-logger-sk4vs9as.js → kv-krc64kd0.js} +18 -18
- package/dist/chunks/{event-logger-e1dnmayq.js → kv-kssyrpt2.js} +43 -43
- package/dist/chunks/{event-logger-1krkmatr.js → kv-kw20pb70.js} +21 -21
- package/dist/chunks/{event-logger-hm3w4rrh.js → kv-kxwrs7pr.js} +9 -9
- package/dist/chunks/{event-logger-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-ggwvfage.js → kv-m5v2682m.js} +8 -8
- package/dist/chunks/{event-logger-kwhenx4x.js → kv-m7jzmcb1.js} +18 -18
- package/dist/chunks/{event-logger-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-d1h4tmpp.js → kv-mers118w.js} +14 -14
- package/dist/chunks/{event-logger-4d1mbfn8.js → kv-mzstg76z.js} +5 -5
- package/dist/chunks/{event-logger-tfsr834s.js → kv-n8rnw80z.js} +11 -11
- package/dist/chunks/{event-logger-q2ba8v2v.js → kv-naacnpm8.js} +24 -24
- package/dist/chunks/{event-logger-vf6sj15q.js → kv-nkx67cjw.js} +30 -30
- package/dist/chunks/{event-logger-188xsh1a.js → kv-nmtt5z3v.js} +16 -16
- package/dist/chunks/{event-logger-3vw29xv7.js → kv-nsgsffy1.js} +9 -9
- package/dist/chunks/{event-logger-8h4n85cr.js → kv-ntm8zpk5.js} +24 -24
- package/dist/chunks/{event-logger-nzks3jc8.js → kv-nzks3jc8.js} +3 -3
- package/dist/chunks/{event-logger-5hga1171.js → kv-p8sbnyjj.js} +8 -8
- package/dist/chunks/{event-logger-y8fxbhx4.js → kv-pgxxehqc.js} +8 -8
- package/dist/chunks/{event-logger-5xtgfte3.js → kv-phstrbs2.js} +8 -8
- package/dist/chunks/{event-logger-d3sv793z.js → kv-pj3w115z.js} +11 -11
- package/dist/chunks/{event-logger-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-3x4h1ana.js → kv-pm9n5w5j.js} +30 -30
- package/dist/chunks/{event-logger-nq7qbqzc.js → kv-pnv527nz.js} +9 -9
- package/dist/chunks/{event-logger-rnxe7nh0.js → kv-pvbcmb1z.js} +14 -14
- package/dist/chunks/{event-logger-mf9m2v67.js → kv-pxt4kznk.js} +2 -2
- package/dist/chunks/{event-logger-pwbngr23.js → kv-q0tbq2v7.js} +6 -6
- package/dist/chunks/{event-logger-cqka59kj.js → kv-q4sd4tae.js} +24 -24
- package/dist/chunks/{event-logger-2k8khapm.js → kv-qgn6gcr1.js} +5 -5
- package/dist/chunks/{event-logger-a6rtf9r8.js → kv-qr6yw9fr.js} +4 -4
- package/dist/chunks/{event-logger-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-kemwpm5w.js → kv-qz6vgd90.js} +13 -13
- package/dist/chunks/kv-r43zyezs.js +26 -0
- package/dist/chunks/{event-logger-k8962brh.js → kv-ratrq7cm.js} +7 -7
- package/dist/chunks/{event-logger-gbt5rka5.js → kv-raxyzsfz.js} +22 -22
- package/dist/chunks/{event-logger-bmsexbt7.js → kv-rdmz8hsf.js} +7 -7
- package/dist/chunks/{event-logger-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-9kmbd9mt.js → kv-rfkfgx1j.js} +2 -2
- package/dist/chunks/{event-logger-61x4fbmb.js → kv-rh6t3e8x.js} +5 -5
- package/dist/chunks/{event-logger-nm7k9b47.js → kv-rvzwhx54.js} +13 -13
- package/dist/chunks/{event-logger-4bj34vg3.js → kv-rxqqjfzp.js} +13 -13
- package/dist/chunks/{event-logger-sx9mw961.js → kv-s3bhbpvq.js} +20 -20
- package/dist/chunks/{event-logger-s4enseaf.js → kv-s4enseaf.js} +2 -2
- package/dist/chunks/{event-logger-c68hde1t.js → kv-s65c0x9p.js} +25 -25
- package/dist/chunks/{event-logger-1sz0q25f.js → kv-s6j8v3s8.js} +1 -1
- package/dist/chunks/{event-logger-j3kw8hdv.js → kv-sawgakpg.js} +26 -26
- package/dist/chunks/{event-logger-01b47qtp.js → kv-sfqz58mj.js} +11 -11
- package/dist/chunks/{event-logger-rdrmz1by.js → kv-smjnka0s.js} +22 -22
- package/dist/chunks/{event-logger-9ejxjpc6.js → kv-st792bcc.js} +6 -6
- package/dist/chunks/{event-logger-9ae44cfy.js → kv-sxzvkvgj.js} +6 -6
- package/dist/chunks/{event-logger-t550f9t1.js → kv-t550f9t1.js} +1 -1
- package/dist/chunks/{event-logger-w3jg838k.js → kv-tat11k01.js} +9 -9
- package/dist/chunks/{event-logger-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-6dtn2yeh.js → kv-tcss7r4m.js} +16 -16
- package/dist/chunks/{event-logger-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-05v53jqr.js → kv-te74vz4q.js} +10 -10
- package/dist/chunks/{event-logger-64m00t7s.js → kv-tpjzmvfb.js} +27 -27
- package/dist/chunks/{event-logger-ryt7pzqc.js → kv-ts2x07a1.js} +1 -1
- package/dist/chunks/{event-logger-tvtrv512.js → kv-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-dps9xtkj.js → kv-v91y0v9g.js} +18 -18
- package/dist/chunks/{event-logger-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-4e3p0ks6.js → kv-vmk9mvqb.js} +15 -15
- package/dist/chunks/{event-logger-dfe8djrf.js → kv-vncycja5.js} +4 -4
- package/dist/chunks/{event-logger-ssyjj9wr.js → kv-vnjtnw93.js} +29 -29
- package/dist/chunks/{event-logger-vykevjvn.js → kv-vnwmzs4a.js} +5 -5
- package/dist/chunks/{event-logger-nxj8q3z1.js → kv-vr9kmahe.js} +15 -15
- package/dist/chunks/{event-logger-4smwsnvt.js → kv-vrs00ymw.js} +16 -16
- package/dist/chunks/{event-logger-9sknkp5y.js → kv-vw0mje16.js} +16 -16
- package/dist/chunks/{event-logger-ryh3zg0t.js → kv-vw6s94gm.js} +23 -23
- package/dist/chunks/{event-logger-89bb6baa.js → kv-vwpcpzep.js} +8 -8
- package/dist/chunks/{event-logger-vzcthcp8.js → kv-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-hxyn71fx.js → kv-w3p0s651.js} +23 -23
- package/dist/chunks/{event-logger-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-sak3c8dk.js → kv-w9m92w4h.js} +26 -26
- package/dist/chunks/{event-logger-9jxgm3qa.js → kv-wa80ned2.js} +20 -20
- package/dist/chunks/{event-logger-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-19fstv4x.js → kv-wg2h0j76.js} +31 -31
- package/dist/chunks/{event-logger-aw3mvnxt.js → kv-wtqhjh8n.js} +11 -11
- package/dist/chunks/{event-logger-x1ezjp6w.js → kv-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-nqa5x1jj.js → kv-x6mv5yfh.js} +11 -11
- package/dist/chunks/{event-logger-bqcajhr5.js → kv-x9r10vm9.js} +3 -3
- package/dist/chunks/{event-logger-z1qfhdd8.js → kv-xbbzma59.js} +9 -9
- package/dist/chunks/{event-logger-drwq78ky.js → kv-xfkkasph.js} +4 -4
- package/dist/chunks/{event-logger-a7f6pmj6.js → kv-xjqh7bfx.js} +8 -8
- package/dist/chunks/{event-logger-04tfxcdr.js → kv-xmpfc1gs.js} +12 -12
- package/dist/chunks/{event-logger-pe36w2ba.js → kv-xy5avtrt.js} +8 -8
- package/dist/chunks/{event-logger-g4djwcd0.js → kv-xywpwyc5.js} +11 -11
- package/dist/chunks/{event-logger-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-t5f4yr10.js → kv-y4wgp3m0.js} +16 -16
- package/dist/chunks/{event-logger-dpkg50ah.js → kv-y71avatq.js} +4 -4
- package/dist/chunks/{event-logger-6kdtsqv3.js → kv-y7rwcvzy.js} +20 -20
- package/dist/chunks/kv-y90d6qtx.js +478 -0
- package/dist/chunks/{event-logger-vh2tx9xz.js → kv-y98x5tmy.js} +25 -25
- package/dist/chunks/{event-logger-yrhqyw5v.js → kv-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-nxhqveyz.js → kv-yt0fqk68.js} +5 -5
- package/dist/chunks/{event-logger-pe1p1yy9.js → kv-yvm5nvj7.js} +11 -11
- package/dist/chunks/{event-logger-nyhn54eh.js → kv-yxb2cccm.js} +5 -5
- package/dist/chunks/{event-logger-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-vmaybtjz.js → kv-zb69vxd0.js} +70 -70
- package/dist/chunks/{event-logger-b7ve3twh.js → kv-zeb3xvh4.js} +11 -11
- package/dist/chunks/{event-logger-zeh9ct20.js → kv-zeh9ct20.js} +2 -2
- package/dist/chunks/{event-logger-rhyygntq.js → kv-zm6zsx8f.js} +18 -18
- package/dist/chunks/{event-logger-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-4k2yzf3a.js → kv-zr3jfe2b.js} +19 -19
- package/dist/chunks/{event-logger-20pty4bt.js → kv-zrj8cget.js} +1 -1
- package/dist/chunks/{event-logger-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/chunks/{event-logger-afqg5w8y.js → kv-zz95z75b.js} +5 -5
- 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 +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +75 -75
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +98 -98
- 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 +356 -356
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +94 -94
- 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 +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +113 -113
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +101 -101
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +91 -91
- 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/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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/event-logger-1x11rq2a.js +0 -18
- package/dist/chunks/event-logger-8h7h57vj.js +0 -247
- package/dist/chunks/event-logger-ce6sxck2.js +0 -26
- package/dist/chunks/event-logger-sj5xhsdt.js +0 -478
- package/dist/chunks/event-logger-xrsqh21y.js +0 -4
- /package/dist/chunks/{event-logger-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → kv-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-922hggd3.js → kv-922hggd3.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e3qxr5gk.js → kv-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → kv-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → kv-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → kv-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-twg0f83k.js → kv-twg0f83k.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → kv-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./kv-4f02dvhn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./kv-c5twpqer.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./kv-sxzvkvgj.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError7,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./kv-43k56ejq.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./kv-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service48
|
|
29
|
+
} from "./kv-26kj7k6y.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service41
|
|
34
|
+
} from "./kv-w9m92w4h.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service39
|
|
37
|
+
} from "./kv-3rvrx8bj.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./kv-tcss7r4m.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./kv-3mmyb3r4.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./kv-erhqaezs.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./kv-58zjjv26.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./kv-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make13
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
65
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service81;
|
|
67
|
+
const database = yield* Service82;
|
|
68
|
+
const store = yield* Service48;
|
|
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 NotFoundError7({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service42, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service42, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service42, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service82, database), Effect.provideService(Service81, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service81, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -322,4 +322,4 @@ ${error.message}`,
|
|
|
322
322
|
return { forSession };
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { make13, exports_session2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-raxyzsfz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./kv-5hv2sp62.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-86jxetkv.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service52;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -151,7 +151,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make8();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make8, OllamaPlugin2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./kv-c5twpqer.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service22,
|
|
6
|
+
Event6
|
|
7
|
+
} from "./kv-k1vhadgv.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service22;
|
|
33
|
+
const bus = yield* Service81;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -59,7 +59,7 @@ var ModelsDevPlugin2 = define({
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
yield* bus.subscribe(
|
|
62
|
+
yield* bus.subscribe(Event6.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
63
63
|
})
|
|
64
64
|
});
|
|
65
65
|
function environmentNames(provider) {
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./kv-c5twpqer.js";
|
|
8
8
|
import {
|
|
9
9
|
Event20,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./kv-kw20pb70.js";
|
|
13
13
|
import {
|
|
14
14
|
Service78,
|
|
15
15
|
node82
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-gpnb4v3s.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service63,
|
|
19
|
+
node66
|
|
20
|
+
} from "./kv-dkp5evny.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service72,
|
|
24
|
+
node76
|
|
25
|
+
} from "./kv-1rgqz1x1.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./kv-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service71,
|
|
34
|
+
node75
|
|
35
|
+
} from "./kv-vw6s94gm.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./kv-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service35,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
57
|
layer: () => layer14,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node39
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -92,21 +92,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
92
92
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
93
93
|
var cloneConfig = (config) => structuredClone(config);
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Options4 = Schema.Struct({
|
|
98
98
|
clientInfo: Schema.optional(Schema.Struct({
|
|
99
99
|
name: Schema.String,
|
|
100
100
|
version: Schema.String
|
|
101
101
|
}))
|
|
102
102
|
});
|
|
103
|
-
var layer14 = (options) => Layer.effect(
|
|
103
|
+
var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
104
104
|
const location = yield* Service78;
|
|
105
|
-
const environment = yield*
|
|
106
|
-
const bus = yield*
|
|
107
|
-
const forms = yield*
|
|
108
|
-
const integration = yield*
|
|
109
|
-
const credentials = yield*
|
|
105
|
+
const environment = yield* Service63;
|
|
106
|
+
const bus = yield* Service81;
|
|
107
|
+
const forms = yield* Service72;
|
|
108
|
+
const integration = yield* Service71;
|
|
109
|
+
const credentials = yield* Service73;
|
|
110
110
|
const root = yield* Effect.scope;
|
|
111
111
|
const fork = yield* FiberSet.makeRuntime();
|
|
112
112
|
const entries = new Map;
|
|
@@ -118,7 +118,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
const remote = entry.config;
|
|
120
120
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
121
|
-
const integrationID =
|
|
121
|
+
const integrationID = ID13.make(suffix);
|
|
122
122
|
entry.integrationID = integrationID;
|
|
123
123
|
owned.add(integrationID);
|
|
124
124
|
const methodID = MethodID2.make(suffix);
|
|
@@ -134,7 +134,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
134
134
|
method: { id: methodID, type: "oauth", label: name },
|
|
135
135
|
authorize: () => Effect.gen(function* () {
|
|
136
136
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
137
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
137
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
|
|
138
138
|
})
|
|
139
139
|
});
|
|
140
140
|
}).pipe(Scope.provide(scope));
|
|
@@ -143,19 +143,19 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
143
143
|
const name = ServerName2.make(server);
|
|
144
144
|
const entry = entries.get(name);
|
|
145
145
|
if (!entry)
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new NotFoundError4({ server: name });
|
|
147
147
|
return { name, entry };
|
|
148
148
|
});
|
|
149
149
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
150
150
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
151
151
|
return;
|
|
152
152
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
153
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
153
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
|
|
154
154
|
});
|
|
155
155
|
const elicitation = {
|
|
156
156
|
create: (input) => Effect.gen(function* () {
|
|
157
157
|
if (input.params.mode === "url") {
|
|
158
|
-
const formID =
|
|
158
|
+
const formID = ID14.create();
|
|
159
159
|
const elicitationID = input.params.elicitationId;
|
|
160
160
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
161
161
|
if (key)
|
|
@@ -239,7 +239,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
239
239
|
entry.scope = scope;
|
|
240
240
|
const authProvider = yield* connectProvider(entry);
|
|
241
241
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
242
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
242
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope), Effect.exit);
|
|
243
243
|
if (Exit.isSuccess(result)) {
|
|
244
244
|
entry.client = result.value.connection;
|
|
245
245
|
entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
|
|
@@ -389,7 +389,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
389
389
|
}),
|
|
390
390
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
391
391
|
});
|
|
392
|
-
return
|
|
392
|
+
return Service35.of({
|
|
393
393
|
transform: state.transform,
|
|
394
394
|
reload: state.reload,
|
|
395
395
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -508,14 +508,14 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
508
508
|
})
|
|
509
509
|
});
|
|
510
510
|
}));
|
|
511
|
-
function
|
|
511
|
+
function configured4(options) {
|
|
512
512
|
return makeLocationNode({
|
|
513
|
-
service:
|
|
513
|
+
service: Service35,
|
|
514
514
|
layer: layer14(options),
|
|
515
|
-
deps: [node82,
|
|
515
|
+
deps: [node82, node66, node85, node76, node75, node77]
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
|
-
var
|
|
518
|
+
var node39 = configured4();
|
|
519
519
|
function toElicitationField(key, property, required) {
|
|
520
520
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
521
521
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
|
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
|
|
569
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
569
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options4, layer14, configured4, node39, exports_mcp4 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-vnwmzs4a.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info22
|
|
6
|
+
} from "./kv-axmvebxj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info20
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info22)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info20 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info20, exports_agent3 };
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
empty3,
|
|
5
5
|
make19,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-t550f9t1.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-cmce1137.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service35,
|
|
13
|
+
node39
|
|
14
|
+
} from "./kv-kayrkw4c.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
17
|
name13
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-ejmwa3hq.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
24
|
+
var exports_instructions5 = {};
|
|
25
|
+
__export(exports_instructions5, {
|
|
26
|
+
McpInstructions: () => exports_instructions5,
|
|
27
|
+
Service: () => Service31,
|
|
28
28
|
layer: () => layer10,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,11 +62,11 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service31 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var layer10 = Layer.effect(
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer10 = Layer.effect(Service31, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service35;
|
|
69
|
+
return Service31.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node35 = makeLocationNode({ service: Service31, layer: layer10, deps: [node39] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service31, layer10, node35, exports_instructions5 };
|