@opencode/core 0.0.0-dev-20355 → 0.0.0-dev-20357
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 +73 -73
- package/dist/chunks/{config-q3t37ft6.js → mime-08rawchj.js} +3 -3
- package/dist/chunks/{config-ve3nfm4c.js → mime-0d46t3ec.js} +23 -23
- package/dist/chunks/{config-7k8511dc.js → mime-0g48p6vr.js} +17 -17
- package/dist/chunks/{config-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-ey1pyqkw.js → mime-0qtc3cks.js} +11 -11
- package/dist/chunks/{config-162srmwc.js → mime-0vrkqtc8.js} +18 -18
- package/dist/chunks/{config-k7ygaa38.js → mime-12hgr1bm.js} +3 -3
- package/dist/chunks/{config-hbkf5vp5.js → mime-1cnmjpf3.js} +81 -81
- package/dist/chunks/{config-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-2b3v10ng.js → mime-1dszprzg.js} +14 -14
- package/dist/chunks/{config-2avywn8b.js → mime-1jt2n6st.js} +19 -19
- package/dist/chunks/{config-dce9mh7m.js → mime-1mtadfea.js} +41 -41
- package/dist/chunks/{config-zh2v5ckm.js → mime-1v7wv6cb.js} +19 -19
- package/dist/chunks/{config-1ygqh575.js → mime-1ygqh575.js} +2 -2
- package/dist/chunks/{config-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{config-acmtdz4s.js → mime-24bqy9wh.js} +8 -8
- package/dist/chunks/{config-7mrdz8js.js → mime-275560dt.js} +32 -32
- package/dist/chunks/{config-z63w68vq.js → mime-29x78va6.js} +6 -6
- package/dist/chunks/{config-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-0gaj4617.js → mime-2d57kztd.js} +6 -6
- package/dist/chunks/{config-jqz3tc2a.js → mime-2gfh4smv.js} +12 -12
- package/dist/chunks/{config-x1cxck2x.js → mime-2h9zfskj.js} +25 -25
- package/dist/chunks/{config-fnw7qhq3.js → mime-2hev1hmr.js} +43 -43
- package/dist/chunks/{config-w0p1bkhd.js → mime-2m02hkrg.js} +4 -4
- package/dist/chunks/{config-r6y07db7.js → mime-30m2bfsy.js} +31 -31
- package/dist/chunks/{config-c0ddf2f2.js → mime-31sg0ebh.js} +5 -5
- package/dist/chunks/{config-hekxc47r.js → mime-3556dn8t.js} +1 -1
- package/dist/chunks/{config-gc85nk87.js → mime-35w82194.js} +11 -11
- package/dist/chunks/{config-x2rw7g36.js → mime-3801kdgp.js} +5 -5
- package/dist/chunks/{config-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-vk05pa3r.js → mime-3ftsqe3x.js} +11 -11
- package/dist/chunks/{config-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-2wcrr15b.js → mime-3kzxhzwk.js} +20 -20
- package/dist/chunks/{config-g1r7w4ks.js → mime-3nw8wjd1.js} +4 -4
- package/dist/chunks/{config-nbs4d3ze.js → mime-3pwk07sq.js} +30 -30
- package/dist/chunks/{config-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-dmds1qg6.js → mime-42e3yd9q.js} +18 -18
- package/dist/chunks/{config-dd5x4v6f.js → mime-436p0ree.js} +1 -1
- package/dist/chunks/{config-d9sgy5v4.js → mime-44pdqs77.js} +4 -4
- package/dist/chunks/{config-88y9tsxz.js → mime-451p6gb0.js} +17 -17
- package/dist/chunks/{config-qdjv5azd.js → mime-4az0ap15.js} +5 -5
- package/dist/chunks/{config-y8s41nnw.js → mime-4rm2k9v5.js} +25 -25
- package/dist/chunks/{config-h74m16ec.js → mime-4tg3npcq.js} +23 -23
- package/dist/chunks/mime-4v7qdvcn.js +18 -0
- package/dist/chunks/{config-p6wxjpka.js → mime-4z58m4b4.js} +4 -4
- package/dist/chunks/{config-ycmgt2y6.js → mime-4z5b7cq3.js} +12 -12
- package/dist/chunks/{config-54ma36ye.js → mime-54ma36ye.js} +1 -1
- package/dist/chunks/{config-54tcyq79.js → mime-54tcyq79.js} +2 -2
- package/dist/chunks/{config-wkpys4ba.js → mime-55g0mqff.js} +324 -324
- package/dist/chunks/{config-xsgk3b13.js → mime-56bnbftg.js} +9 -9
- package/dist/chunks/{config-d9s573fh.js → mime-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-2tzr0bja.js → mime-585rwsxc.js} +13 -13
- package/dist/chunks/{config-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{config-5p2qc7sm.js → mime-5eb3a1ca.js} +12 -12
- package/dist/chunks/{config-rbpcvdrh.js → mime-5q7w5dw4.js} +22 -22
- package/dist/chunks/{config-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-9wkrrryx.js → mime-5ypay5ec.js} +41 -41
- package/dist/chunks/{config-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{config-xwr95ks0.js → mime-6bfgxdxy.js} +3 -3
- package/dist/chunks/{config-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-twm3e32h.js → mime-70ghbar0.js} +14 -14
- package/dist/chunks/{config-73tb2d7t.js → mime-73tb2d7t.js} +1 -1
- package/dist/chunks/{config-wpwj4s2y.js → mime-784hb5j4.js} +4 -4
- package/dist/chunks/{config-r0ydeprc.js → mime-78w2c962.js} +6 -6
- package/dist/chunks/{config-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-9vthwn7z.js → mime-7d4sap7d.js} +32 -32
- package/dist/chunks/{config-7dqw4kz8.js → mime-7dqw4kz8.js} +1 -1
- package/dist/chunks/{config-3gwkw8np.js → mime-7kjdg552.js} +21 -21
- package/dist/chunks/{config-4xz89tjk.js → mime-809q4hne.js} +5 -5
- package/dist/chunks/{config-bbnkg0gp.js → mime-81hwre94.js} +6 -6
- package/dist/chunks/{config-84txncab.js → mime-84txncab.js} +1 -1
- package/dist/chunks/{config-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-943aygxv.js → mime-8egjf8hv.js} +25 -25
- package/dist/chunks/{config-ww0d9pr3.js → mime-8jk8106t.js} +1 -1
- package/dist/chunks/{config-rc05v628.js → mime-8m4waq6v.js} +33 -33
- package/dist/chunks/{config-9yxvdnkq.js → mime-8xtwbd7n.js} +20 -20
- package/dist/chunks/{config-2jbk0za2.js → mime-9182tnph.js} +13 -13
- package/dist/chunks/{config-tdpndm1c.js → mime-94s48bjb.js} +5 -5
- package/dist/chunks/{config-emcmr64k.js → mime-94wan21z.js} +17 -17
- package/dist/chunks/{config-ma59zj1p.js → mime-963afhp9.js} +32 -32
- package/dist/chunks/{config-kparprvv.js → mime-9m1c9bc6.js} +19 -19
- package/dist/chunks/{config-3edhtdw1.js → mime-9tm41fxb.js} +19 -19
- package/dist/chunks/{config-ctsjrx6d.js → mime-9vy5z0j9.js} +9 -9
- package/dist/chunks/{config-k8cz140w.js → mime-9yj7necg.js} +7 -7
- package/dist/chunks/{config-qrgezcgk.js → mime-a1gftt2j.js} +4 -4
- package/dist/chunks/{config-tx9w5tca.js → mime-a2qe2ev9.js} +8 -8
- package/dist/chunks/{config-j6665ac3.js → mime-a2snrrhh.js} +60 -60
- package/dist/chunks/{config-ratrq7cm.js → mime-a46v4e4v.js} +4 -4
- package/dist/chunks/{config-rd3m0h4h.js → mime-a9b0w8ke.js} +44 -44
- package/dist/chunks/{config-v4m0f3qj.js → mime-a9jk16wk.js} +24 -24
- package/dist/chunks/{config-9e53y001.js → mime-a9m5xffm.js} +48 -48
- package/dist/chunks/{config-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{config-kw76cvvq.js → mime-abtzwxnt.js} +44 -44
- package/dist/chunks/{config-5b5ps9v8.js → mime-adxscsa6.js} +26 -26
- package/dist/chunks/{config-n45k7n27.js → mime-are8fj85.js} +11 -11
- package/dist/chunks/{config-esws4yc1.js → mime-asnx69vs.js} +41 -41
- package/dist/chunks/{config-2cn5yk36.js → mime-ayp5f77b.js} +20 -20
- package/dist/chunks/{config-7vr7a34q.js → mime-azt1av7k.js} +13 -13
- package/dist/chunks/{config-gqfjb3jf.js → mime-azz8ttf1.js} +14 -14
- package/dist/chunks/{config-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-jac1nddy.js → mime-bbq3sp3s.js} +5 -5
- package/dist/chunks/{config-fh3xdd54.js → mime-bdkgyfqw.js} +6 -6
- package/dist/chunks/{config-zg51sg0n.js → mime-bf61bssj.js} +27 -27
- package/dist/chunks/{config-5tcj83g5.js → mime-bhwmvv2r.js} +2 -2
- package/dist/chunks/{config-bjtzbw4r.js → mime-bjtzbw4r.js} +3 -3
- package/dist/chunks/{config-bd6kjdv5.js → mime-bkc1xbmh.js} +8 -8
- package/dist/chunks/{config-7gvbvycy.js → mime-bwz9kms9.js} +11 -11
- package/dist/chunks/{config-dvxev2r4.js → mime-c0nc78gk.js} +87 -87
- package/dist/chunks/{config-319ksv5t.js → mime-cewa3bgj.js} +29 -29
- package/dist/chunks/{config-n341z0m1.js → mime-cp33fe45.js} +14 -14
- package/dist/chunks/{config-vzm910sv.js → mime-cqhqv80y.js} +26 -26
- package/dist/chunks/{config-8k7613hp.js → mime-cqnjyvea.js} +13 -13
- package/dist/chunks/{config-t09twmyv.js → mime-csvhrtyy.js} +42 -42
- package/dist/chunks/{config-7d2xgerr.js → mime-cz2qe7qr.js} +10 -10
- package/dist/chunks/{config-972w6esq.js → mime-d22yz40m.js} +35 -35
- package/dist/chunks/{config-z7j0b7x5.js → mime-d4ht8xn7.js} +7 -7
- package/dist/chunks/{config-gz4c6301.js → mime-dj2whpbc.js} +13 -13
- package/dist/chunks/{config-y6bex35g.js → mime-dnxkq42g.js} +4 -4
- package/dist/chunks/{config-y71avatq.js → mime-dpkg50ah.js} +4 -4
- package/dist/chunks/{config-7bmx80wk.js → mime-dqmwfghx.js} +5 -5
- package/dist/chunks/{config-9hn6k4tm.js → mime-dv1qgsyq.js} +4 -4
- package/dist/chunks/{config-3dbk1ny7.js → mime-e1hq19dm.js} +26 -26
- package/dist/chunks/{config-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
- package/dist/chunks/{config-bn0s77k4.js → mime-e4g6rnfs.js} +15 -15
- package/dist/chunks/{config-ecfe7b91.js → mime-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-yvn3f1cv.js → mime-ejndsc2m.js} +34 -34
- package/dist/chunks/{config-axthvv5m.js → mime-emq6k8s5.js} +30 -30
- package/dist/chunks/mime-ep6xxngp.js +252 -0
- package/dist/chunks/{config-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-mhz751dn.js → mime-ewgg2vfd.js} +40 -40
- package/dist/chunks/{config-eyz64kwr.js → mime-eyhtqccb.js} +9 -9
- package/dist/chunks/{config-gvge6fyn.js → mime-f1ztasbk.js} +22 -22
- package/dist/chunks/{config-jca4demv.js → mime-f38wsw69.js} +2 -2
- package/dist/chunks/{config-2vtmp13x.js → mime-f673fv72.js} +6 -6
- package/dist/chunks/{config-kxt3why0.js → mime-f9pj28cm.js} +2 -2
- package/dist/chunks/{config-83g341n7.js → mime-fnf5adsy.js} +12 -12
- package/dist/chunks/{config-9ttkv238.js → mime-fxwg9x87.js} +39 -39
- package/dist/chunks/{config-vs2s4k4a.js → mime-fyqp1ang.js} +7 -7
- package/dist/chunks/{config-sejwdkef.js → mime-fysazz09.js} +11 -11
- package/dist/chunks/{config-ta9yw25j.js → mime-fzj3093f.js} +8 -8
- package/dist/chunks/{config-fszqq5v7.js → mime-fzn8jgnf.js} +20 -20
- package/dist/chunks/{config-zmx684ze.js → mime-g3rtn128.js} +22 -22
- package/dist/chunks/{config-nfkqadef.js → mime-g7cpb448.js} +37 -37
- package/dist/chunks/{config-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-7tqntkc3.js → mime-ge40smna.js} +8 -8
- package/dist/chunks/mime-gez9rmx3.js +26 -0
- package/dist/chunks/{config-mcqx6cxj.js → mime-gf1x9zt8.js} +76 -76
- package/dist/chunks/{config-gfvb90ym.js → mime-gfvb90ym.js} +2 -2
- package/dist/chunks/{config-88q60gsj.js → mime-gmn4g1vm.js} +10 -10
- package/dist/chunks/{config-yyb7tjpc.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-bakv4saz.js → mime-h03px39b.js} +32 -32
- package/dist/chunks/{config-wwkjqs8e.js → mime-h6nxw0pd.js} +8 -8
- package/dist/chunks/{config-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-0br3sbwn.js → mime-h9pnpq88.js} +4 -4
- package/dist/chunks/{config-k8t93mz4.js → mime-haceje86.js} +13 -13
- package/dist/chunks/{config-75my1bc5.js → mime-hafkgw1r.js} +6 -6
- package/dist/chunks/{config-g0jbxjrg.js → mime-hcb6asbt.js} +17 -17
- package/dist/chunks/{config-s5ep9pgt.js → mime-hdax66s1.js} +12 -12
- package/dist/chunks/{config-1p8j1n52.js → mime-hn1syae9.js} +15 -15
- package/dist/chunks/{config-3yn68g8e.js → mime-hv63nw24.js} +24 -24
- package/dist/chunks/{config-mjfyzmpn.js → mime-j301k1rd.js} +34 -34
- package/dist/chunks/{config-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{config-dcsrwca8.js → mime-j5behb2c.js} +15 -15
- package/dist/chunks/{config-7kjz6mzj.js → mime-jc90xm0c.js} +16 -16
- package/dist/chunks/{config-tsr8fc0r.js → mime-jgjn4qh1.js} +11 -11
- package/dist/chunks/{config-v5hpcsb0.js → mime-jv01nqvq.js} +5 -5
- package/dist/chunks/{config-t7n9q6bq.js → mime-jvf3yq6v.js} +4 -4
- package/dist/chunks/{config-rwm97vnv.js → mime-jyhrke1x.js} +3 -3
- package/dist/chunks/{config-yf10kn3d.js → mime-k1qrnqst.js} +8 -8
- package/dist/chunks/{config-vappnkcy.js → mime-k5a199nr.js} +12 -12
- package/dist/chunks/{config-x0azedwb.js → mime-kt6f47v4.js} +33 -33
- package/dist/chunks/{config-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-zhmq0md4.js → mime-mebn6vhz.js} +8 -8
- package/dist/chunks/{config-keg5m478.js → mime-mp7ts3gd.js} +8 -8
- package/dist/chunks/{config-pf8rdz4g.js → mime-mtkvqbm7.js} +20 -20
- package/dist/chunks/{config-tcay1cqt.js → mime-mx9vqzsb.js} +6 -6
- package/dist/chunks/{config-sj42vzd6.js → mime-mzq5qkcw.js} +33 -33
- package/dist/chunks/{config-6hjx5zpb.js → mime-n37c4crj.js} +5 -5
- package/dist/chunks/{config-10ta830h.js → mime-n46yc5jk.js} +15 -15
- package/dist/chunks/{config-ta36bvhe.js → mime-n4yppvr1.js} +10 -10
- package/dist/chunks/{config-8em9bzzy.js → mime-n5a03fey.js} +5 -5
- package/dist/chunks/{config-j5208yae.js → mime-n8c291r7.js} +6 -6
- package/dist/chunks/{config-h6btmnmt.js → mime-n8ycavnk.js} +32 -32
- package/dist/chunks/{config-ecssg2x3.js → mime-na461qmw.js} +9 -9
- package/dist/chunks/{config-scetc9yh.js → mime-nazh9js1.js} +3 -3
- package/dist/chunks/{config-jc520kcq.js → mime-nq7qbqzc.js} +9 -9
- package/dist/chunks/{config-nzks3jc8.js → mime-nzks3jc8.js} +3 -3
- package/dist/chunks/{config-spcmba9v.js → mime-p4terpsa.js} +4 -4
- package/dist/chunks/{config-h9p0vmeg.js → mime-p5sd9dfh.js} +9 -9
- package/dist/chunks/{config-xxxym934.js → mime-pct1c8gm.js} +4 -4
- package/dist/chunks/{config-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{config-p9kt6re1.js → mime-pp173efe.js} +9 -9
- package/dist/chunks/{config-psazpmmj.js → mime-psazpmmj.js} +2 -2
- package/dist/chunks/{config-gwydwvmj.js → mime-pw9v3g6d.js} +8 -8
- package/dist/chunks/{config-7fkffz83.js → mime-py3kkmfq.js} +4 -4
- package/dist/chunks/{config-p3k34w4t.js → mime-qb34ym9h.js} +5 -5
- package/dist/chunks/{config-0nrzv7mn.js → mime-qjm70hfx.js} +7 -7
- package/dist/chunks/{config-cwa6csj7.js → mime-qmqgtz8f.js} +9 -9
- package/dist/chunks/{config-dfe8djrf.js → mime-qq11w61w.js} +4 -4
- package/dist/chunks/{config-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{config-c5c2gpas.js → mime-qtf88vwk.js} +26 -26
- package/dist/chunks/{config-d94e4xtm.js → mime-r6b72tt5.js} +4 -4
- package/dist/chunks/{config-5700x16n.js → mime-r8p3c49k.js} +3 -3
- package/dist/chunks/{config-zejb8zb5.js → mime-r8rm2ttn.js} +9 -9
- package/dist/chunks/{config-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-gvhsxvct.js → mime-rhxgy7qf.js} +8 -8
- package/dist/chunks/{config-es2rve70.js → mime-rnakma6c.js} +28 -28
- package/dist/chunks/{config-yrznvahk.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{config-jh23s5s4.js → mime-s9ebk3qw.js} +33 -33
- package/dist/chunks/{config-fc4rny0x.js → mime-sfb7zdnf.js} +11 -11
- package/dist/chunks/{config-wh5k880y.js → mime-std33n5a.js} +5 -5
- package/dist/chunks/{config-p1g1bd5b.js → mime-sv1q03nr.js} +11 -11
- package/dist/chunks/{config-t6g6kcnx.js → mime-sva1dgt9.js} +4 -4
- package/dist/chunks/{config-0txs8bjp.js → mime-swmdjj48.js} +30 -30
- package/dist/chunks/{config-7yw5590a.js → mime-sx8nx28h.js} +19 -19
- package/dist/chunks/{config-py78efw1.js → mime-t3mrdfz4.js} +14 -14
- package/dist/chunks/{config-eaj1djv9.js → mime-t550f9t1.js} +8 -8
- package/dist/chunks/{config-sh7eas6r.js → mime-t9sqp817.js} +46 -46
- package/dist/chunks/{config-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{config-shdcsder.js → mime-tfswnq6h.js} +32 -32
- package/dist/chunks/{config-rff1fyms.js → mime-tfwm1ee2.js} +27 -27
- package/dist/chunks/{config-nff2xnmx.js → mime-tn1saqyh.js} +11 -11
- package/dist/chunks/{config-5srq2jph.js → mime-tpztfyyv.js} +11 -11
- package/dist/chunks/{config-njdgr89h.js → mime-tq0k68j4.js} +21 -21
- package/dist/chunks/{config-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{config-e6s5dmrj.js → mime-tz95vf9q.js} +15 -15
- package/dist/chunks/{config-b2wbrq12.js → mime-v4t1yx44.js} +7 -7
- package/dist/chunks/{config-sfqkah5g.js → mime-v5ga0sqk.js} +23 -23
- package/dist/chunks/{config-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{config-d1cshys9.js → mime-vt9gyxc5.js} +11 -11
- package/dist/chunks/{config-2pr397y0.js → mime-vtw4ex8e.js} +5 -5
- package/dist/chunks/{config-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-jywpbkd4.js → mime-vzp4eea0.js} +16 -16
- package/dist/chunks/{config-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-e2myrb2c.js → mime-w07y5snj.js} +24 -24
- package/dist/chunks/{config-qcgjm0wy.js → mime-w1cfvdbk.js} +6 -6
- package/dist/chunks/{config-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-8yap2z1s.js → mime-wc73zry6.js} +11 -11
- package/dist/chunks/{config-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{config-bm8pzper.js → mime-wdk9k2gs.js} +25 -25
- package/dist/chunks/{config-g9baqw06.js → mime-wmz6q48y.js} +11 -11
- package/dist/chunks/{config-6csmb8tf.js → mime-wzq3pt1n.js} +22 -22
- package/dist/chunks/{config-a487dyjh.js → mime-x0g5kz9f.js} +174 -174
- package/dist/chunks/{config-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-hw2pg0yt.js → mime-x43z2jw0.js} +13 -13
- package/dist/chunks/{config-fz6pp08f.js → mime-x617j8as.js} +32 -32
- package/dist/chunks/{config-q6aktynx.js → mime-xbjbtxzz.js} +24 -24
- package/dist/chunks/{config-qj8eh1ht.js → mime-xdk9p2qn.js} +21 -21
- package/dist/chunks/{config-qqeeq2t9.js → mime-xfkkasph.js} +7 -7
- package/dist/chunks/{config-kbyvr83t.js → mime-xh3nrjh6.js} +22 -22
- package/dist/chunks/{config-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
- package/dist/chunks/{config-7k5facj4.js → mime-xn3bd7m9.js} +5 -5
- package/dist/chunks/{config-jxv8j2py.js → mime-xt1tzkvd.js} +23 -23
- package/dist/chunks/{config-xvp1j2dc.js → mime-xvp1j2dc.js} +2 -2
- package/dist/chunks/{config-4ry3n659.js → mime-xyhkgzn6.js} +15 -15
- package/dist/chunks/{config-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-ahd542yp.js → mime-y72zmemf.js} +8 -8
- package/dist/chunks/{config-s2ynmxvy.js → mime-y93b664k.js} +12 -12
- package/dist/chunks/{config-e9z3mbyr.js → mime-ybyj6r0c.js} +30 -30
- package/dist/chunks/{config-vqexsrzk.js → mime-yf7jzfb8.js} +11 -11
- package/dist/chunks/{config-9g1ap5hr.js → mime-ygsx1bjn.js} +16 -16
- package/dist/chunks/{config-7xr0zv6b.js → mime-yke98s4n.js} +11 -11
- package/dist/chunks/{config-bc7ekn7c.js → mime-ynp8b50y.js} +11 -11
- package/dist/chunks/{config-f2n192rq.js → mime-yp2x3t23.js} +4 -4
- package/dist/chunks/{config-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-0g10vfc5.js → mime-ytqnsxqy.js} +17 -17
- package/dist/chunks/{config-bep6646j.js → mime-yyyrkqse.js} +13 -13
- package/dist/chunks/{config-616rnhbn.js → mime-yzs15tep.js} +12 -12
- package/dist/chunks/{config-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-d8dhtf3t.js → mime-z88nfd5r.js} +6 -6
- package/dist/chunks/{config-cb7fn0dy.js → mime-zdpjdk6q.js} +51 -51
- package/dist/chunks/{config-hsjjhsgv.js → mime-ze42ap7x.js} +18 -18
- package/dist/chunks/{config-rq775frq.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-pcxypjb1.js → mime-zsm3phbg.js} +11 -11
- package/dist/chunks/{config-fkvwhn5v.js → mime-zv3btv0d.js} +13 -13
- package/dist/chunks/{config-9fw5nwrv.js → mime-zw8a836n.js} +25 -25
- package/dist/chunks/{config-4k6z9pjw.js → mime-zwctxk35.js} +55 -55
- package/dist/chunks/{config-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-hwnecj10.js → mime-zzrjpn9x.js} +21 -21
- 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 +81 -81
- package/dist/config/discovery.js +82 -82
- 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 +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +125 -125
- 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 +126 -126
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +79 -79
- 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 +3 -3
- 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 +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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 +87 -87
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- 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 +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +91 -91
- 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 +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +335 -335
- 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 +2 -2
- 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/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +93 -93
- 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 +79 -79
- 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 +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- 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 +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- 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 +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- 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 +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- 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 +75 -75
- 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 +118 -118
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +2 -2
- 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 +172 -172
- 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 +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- 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 +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 +106 -106
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- 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 +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 +3 -3
- 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 +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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/config-dxj72tfx.js +0 -18
- package/dist/chunks/config-fg2j47vv.js +0 -252
- package/dist/chunks/config-mfmx3rdh.js +0 -26
- /package/dist/chunks/{config-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service78,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node82
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service78 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service78.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service78, node82, exports_image2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./mime-3ftsqe3x.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service71,
|
|
17
|
+
node: () => node75
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service71 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service83).db;
|
|
26
|
+
return Service71.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service71, node75, exports_kv };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service69,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node72
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service69 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service69.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node72 = makeLocationNode({
|
|
137
|
+
service: Service69,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service69, node72, exports_tool_output2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-jgjn4qh1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./mime-vzp4eea0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./mime-d22yz40m.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-dnxkq42g.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-8m4waq6v.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./mime-963afhp9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Info26
|
|
26
|
+
} from "./mime-3pwk07sq.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID13.gitlab;
|
|
39
|
+
var integrationID = ID14.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service73;
|
|
61
|
+
const bus = yield* Service82;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info26.default(providerID, ID12.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./mime-bf61bssj.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./mime-3pwk07sq.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./mime-2hev1hmr.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-08rawchj.js";
|
|
16
16
|
import {
|
|
17
17
|
Service49
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-haceje86.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./mime-a2snrrhh.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service25
|
|
25
|
+
} from "./mime-c0nc78gk.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./mime-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make9
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./mime-z88nfd5r.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./mime-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input12,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin31,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name12
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name12 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input12 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output8 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin31 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
92
|
+
const sessions = yield* Service25;
|
|
93
93
|
const jobs = yield* Service49;
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
94
|
+
const agents = yield* Service57;
|
|
95
|
+
const config = yield* Service64;
|
|
96
|
+
const permission = yield* Service54;
|
|
97
|
+
const models = yield* Service72;
|
|
98
98
|
const subagents = yield* make9;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin46 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin46 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name12,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin46 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name12 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name12];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name12, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name12, Input12, Output8, description5, Plugin31, exports_subagent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./mime-3pwk07sq.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./mime-3ftsqe3x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./mime-mx9vqzsb.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-4z58m4b4.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-sfb7zdnf.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-30m2bfsy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service27
|
|
21
|
+
} from "./mime-1cnmjpf3.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./mime-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service45;
|
|
36
|
+
const database = yield* Service83;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service27;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-t550f9t1.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-bjtzbw4r.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-963afhp9.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-3pwk07sq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -509,4 +509,4 @@ var PROTOCOLS = {
|
|
|
509
509
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
510
510
|
};
|
|
511
511
|
|
|
512
|
-
export {
|
|
512
|
+
export { resolve4, exports_variant };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|