@opencode-ai/core 0.0.0-dev-19196 → 0.0.0-dev-19200
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{shell-0ar19swb.js → config-0424b8g1.js} +4 -4
- package/dist/chunks/{shell-c88sz3qs.js → config-06g3gz3d.js} +24 -24
- package/dist/chunks/{shell-zhrc5y8g.js → config-06qbn9zd.js} +9 -9
- package/dist/chunks/{shell-4xew0z44.js → config-08tvc40j.js} +3 -3
- package/dist/chunks/{shell-0e0xafbb.js → config-0e0xafbb.js} +2 -2
- package/dist/chunks/{shell-aybqrser.js → config-0ed3m1jk.js} +20 -20
- package/dist/chunks/{shell-3wkxvcm2.js → config-0faacv9h.js} +5 -5
- package/dist/chunks/{shell-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-yd426xvt.js → config-0q383bzk.js} +9 -9
- package/dist/chunks/{shell-0s9ayhjt.js → config-0s9ayhjt.js} +1 -1
- package/dist/chunks/{shell-jsdxtgmy.js → config-0sv942tj.js} +8 -8
- package/dist/chunks/{shell-xhfw6gwk.js → config-113zg7kv.js} +15 -15
- package/dist/chunks/{shell-dvxcgtgp.js → config-11d5h6an.js} +37 -37
- package/dist/chunks/{shell-1ct4r87x.js → config-1ct4r87x.js} +1 -1
- package/dist/chunks/{shell-32wdy755.js → config-1g8zrhqs.js} +6 -6
- package/dist/chunks/{shell-1n116cmy.js → config-1n116cmy.js} +2 -2
- package/dist/chunks/{shell-zfnpc7fv.js → config-1rfmywcm.js} +1 -1
- package/dist/chunks/{shell-6abnk40k.js → config-1ygqh575.js} +11 -11
- package/dist/chunks/{shell-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{shell-p3e4re21.js → config-237jjh8r.js} +1 -1
- package/dist/chunks/{shell-2402vzrj.js → config-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-2ht70gj7.js → config-2ht70gj7.js} +1 -1
- package/dist/chunks/{shell-g47dvf5d.js → config-2jjpr40g.js} +9 -9
- package/dist/chunks/{shell-yykyxftz.js → config-2rgt7c3b.js} +9 -9
- package/dist/chunks/{shell-mmj01rc6.js → config-2sg0crgm.js} +6 -6
- package/dist/chunks/config-35chk74t.js +4 -0
- package/dist/chunks/{shell-7pb57fb0.js → config-3camn5j0.js} +36 -36
- package/dist/chunks/{shell-sraw6zer.js → config-3g8r9y4m.js} +22 -22
- package/dist/chunks/{shell-jdnwrjf1.js → config-3h117gp9.js} +3 -3
- package/dist/chunks/{shell-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3qzbfqsy.js → config-3qzbfqsy.js} +2 -2
- package/dist/chunks/{shell-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-kkqvv4hs.js → config-3wyqxhyv.js} +40 -40
- package/dist/chunks/{shell-454k5vzh.js → config-454k5vzh.js} +1 -1
- package/dist/chunks/{shell-ywcb5etp.js → config-4cn8226d.js} +51 -68
- package/dist/chunks/{shell-9sy3m4ps.js → config-4cshh5cf.js} +23 -23
- package/dist/chunks/{shell-21ahhajh.js → config-4f0jyt0w.js} +4 -4
- package/dist/chunks/{shell-98fez8vh.js → config-4gbf76z9.js} +20 -20
- package/dist/chunks/{shell-7yp0j7my.js → config-4mj950mr.js} +13 -13
- package/dist/chunks/{shell-7t18mxkv.js → config-4n3dgrrb.js} +3 -3
- package/dist/chunks/{shell-8gfg9fa9.js → config-4p03f1qq.js} +3 -3
- package/dist/chunks/{shell-4r2nyarf.js → config-4r2nyarf.js} +1 -1
- package/dist/chunks/{shell-sfrccsk6.js → config-4vxwgeaq.js} +33 -33
- package/dist/chunks/{shell-xyxtpgsf.js → config-4wdmqajx.js} +25 -25
- package/dist/chunks/{shell-hmeey3k9.js → config-4zxvp4s8.js} +11 -11
- package/dist/chunks/{shell-pjy2hnng.js → config-511mjebb.js} +4 -4
- package/dist/chunks/{shell-1sfe7ky6.js → config-55v2ymrw.js} +5 -5
- package/dist/chunks/{shell-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-5fmxt4p5.js → config-5fmxt4p5.js} +1 -1
- package/dist/chunks/{shell-43q760fm.js → config-5g0g6sxf.js} +5 -5
- package/dist/chunks/{shell-5jvc5tg2.js → config-5jvc5tg2.js} +1 -1
- package/dist/chunks/{shell-nv1z9knr.js → config-5p8rkq6x.js} +3 -3
- package/dist/chunks/{shell-0xzew176.js → config-5qanm62w.js} +44 -44
- package/dist/chunks/{shell-1xtfawcg.js → config-5rp8p5tq.js} +25 -25
- package/dist/chunks/{shell-7vcgspzg.js → config-5sw9j7cb.js} +32 -32
- package/dist/chunks/{shell-9cbk0p5b.js → config-5xcc0t2d.js} +35 -35
- package/dist/chunks/{shell-66zzpgw2.js → config-5z3wefky.js} +36 -36
- package/dist/chunks/{shell-fy2metxv.js → config-5z9qstwn.js} +75 -75
- package/dist/chunks/{shell-v63mh1hy.js → config-67cp0t3n.js} +8 -8
- package/dist/chunks/{shell-gw8yqzg5.js → config-6a55zhma.js} +9 -9
- package/dist/chunks/{shell-44x7fxmt.js → config-6adkm6cr.js} +10 -10
- package/dist/chunks/{shell-kv8syyjy.js → config-6cnprtbt.js} +17 -17
- package/dist/chunks/{shell-pxcwkz2f.js → config-6cp2jw9r.js} +18 -18
- package/dist/chunks/{shell-zqyb8yat.js → config-6mjnften.js} +18 -18
- package/dist/chunks/{shell-417y9pm1.js → config-6vwm7pwz.js} +4 -4
- package/dist/chunks/{shell-711hfp6y.js → config-711hfp6y.js} +2 -2
- package/dist/chunks/{shell-72nftnjy.js → config-72nftnjy.js} +2 -2
- package/dist/chunks/{shell-mvfsc1pv.js → config-73tb2d7t.js} +3 -3
- package/dist/chunks/{shell-wgz7hchk.js → config-75my1bc5.js} +6 -6
- package/dist/chunks/{shell-mtcjf44p.js → config-75yf2d83.js} +8 -8
- package/dist/chunks/{shell-4b5qqsbn.js → config-794t4179.js} +11 -11
- package/dist/chunks/{shell-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-qgn6gcr1.js → config-7dqw4kz8.js} +5 -5
- package/dist/chunks/{shell-hc4b3kyg.js → config-7gbsxqt2.js} +8 -8
- package/dist/chunks/{shell-0qkbcjwh.js → config-7hfxww9t.js} +9 -9
- package/dist/chunks/{shell-bmfd242v.js → config-7j5570x5.js} +18 -18
- package/dist/chunks/{shell-2xs51w6t.js → config-7t23sfae.js} +22 -22
- package/dist/chunks/{shell-2x7hewgh.js → config-7yygr4vw.js} +61 -61
- package/dist/chunks/{shell-14s8ve6g.js → config-84e5sn9r.js} +1 -1
- package/dist/chunks/{shell-jphw73by.js → config-89eb7pds.js} +18 -18
- package/dist/chunks/{shell-2r4smnpn.js → config-8dd5gh5g.js} +23 -23
- package/dist/chunks/{shell-ysjs28ey.js → config-8ktjr7xz.js} +15 -15
- package/dist/chunks/{shell-k2qp0rt7.js → config-8pn7nfj1.js} +1 -1
- package/dist/chunks/{shell-nsw1yxtn.js → config-8qxykv75.js} +20 -20
- package/dist/chunks/{shell-kryk1pph.js → config-8r0202fd.js} +9 -9
- package/dist/chunks/{shell-bhmtg2kj.js → config-8rk43p0s.js} +14 -14
- package/dist/chunks/{shell-k0zgeteb.js → config-8w44y47c.js} +24 -24
- package/dist/chunks/{shell-7r4ym1qc.js → config-909y75nz.js} +26 -26
- package/dist/chunks/{shell-ecqg7bmw.js → config-90crsdqb.js} +20 -20
- package/dist/chunks/{shell-fr5cx72t.js → config-95kzga43.js} +71 -71
- package/dist/chunks/{shell-fk8hrt4z.js → config-96s1cz01.js} +61 -61
- package/dist/chunks/{shell-xaf20by6.js → config-9ehtken5.js} +15 -15
- package/dist/chunks/{shell-zsf5n11x.js → config-9h90tm9n.js} +30 -30
- package/dist/chunks/{shell-9qm9egsn.js → config-9qm9egsn.js} +2 -2
- package/dist/chunks/{shell-ga1tzhpe.js → config-9tj0rnrh.js} +14 -14
- package/dist/chunks/{shell-vn3xvc40.js → config-9ybgd8dh.js} +39 -39
- package/dist/chunks/config-9zdhvgqs.js +18 -0
- package/dist/chunks/{shell-bb0kg1q4.js → config-a51qe2m1.js} +9 -9
- package/dist/chunks/{shell-ctd4qdmr.js → config-a5nkh94p.js} +4 -4
- package/dist/chunks/{shell-djytekme.js → config-a6y8nfjs.js} +30 -30
- package/dist/chunks/{shell-gc168ysg.js → config-a7ygzknp.js} +14 -14
- package/dist/chunks/{shell-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-ajtjthsy.js → config-ajtjthsy.js} +2 -2
- package/dist/chunks/{shell-fe9mb3y1.js → config-aw45zfev.js} +11 -11
- package/dist/chunks/{shell-a46v4e4v.js → config-b27vhd2z.js} +4 -4
- package/dist/chunks/{shell-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-b9wsbatv.js → config-b9wsbatv.js} +1 -1
- package/dist/chunks/{shell-bsvvsrn1.js → config-bcezcar3.js} +5 -5
- package/dist/chunks/{shell-vh4awg6g.js → config-bj6xkg51.js} +16 -16
- package/dist/chunks/{shell-ckv8rq3a.js → config-bpdzwx5y.js} +20 -20
- package/dist/chunks/{shell-enwn0tzc.js → config-bpnz08mb.js} +2 -2
- package/dist/chunks/{shell-zmjynawk.js → config-btc4hvws.js} +5 -5
- package/dist/chunks/{shell-g3m9axkp.js → config-bva7vcjq.js} +4 -4
- package/dist/chunks/{shell-4wt00r3g.js → config-bwd8tstc.js} +9 -9
- package/dist/chunks/{shell-xa232ce3.js → config-c570sca7.js} +18 -18
- package/dist/chunks/{shell-93wwsra1.js → config-c5x8pjfg.js} +5 -5
- package/dist/chunks/{shell-2sfwn1pw.js → config-c6tw1r0q.js} +9 -9
- package/dist/chunks/{shell-1s3v4p4d.js → config-c8jz2e4n.js} +18 -18
- package/dist/chunks/{shell-bvc9822d.js → config-cevanw02.js} +29 -29
- package/dist/chunks/{shell-36vsdr69.js → config-cfsc9srb.js} +8 -8
- package/dist/chunks/config-cjjzzp5t.js +247 -0
- package/dist/chunks/{shell-05mkz72h.js → config-cjnqn6s5.js} +25 -25
- package/dist/chunks/{shell-k37p1w3a.js → config-ck970z52.js} +10 -10
- package/dist/chunks/{shell-j1pm0kh5.js → config-cm990fgz.js} +9 -9
- package/dist/chunks/{shell-d72308c8.js → config-d72308c8.js} +2 -2
- package/dist/chunks/{shell-f086nceb.js → config-d9rpbp5n.js} +24 -24
- package/dist/chunks/{shell-mg8hyy97.js → config-dkk7a5wk.js} +2 -2
- package/dist/chunks/{shell-585qr39b.js → config-dn3mp5jr.js} +7 -7
- package/dist/chunks/{shell-brg38b3f.js → config-dt746yqr.js} +6 -6
- package/dist/chunks/{shell-fkpvx5pg.js → config-e6s6n12p.js} +41 -41
- package/dist/chunks/{shell-nhy5jxhy.js → config-e82z9tr0.js} +7 -7
- package/dist/chunks/{shell-ky97vkm0.js → config-eatef5sh.js} +12 -12
- package/dist/chunks/{shell-7sqp221s.js → config-eg4pr325.js} +10 -10
- package/dist/chunks/{shell-vqcnb6e5.js → config-ektxve03.js} +11 -11
- package/dist/chunks/{shell-f2n192rq.js → config-f2n192rq.js} +1 -1
- package/dist/chunks/{shell-dyrfwbsh.js → config-f6e7rem1.js} +21 -21
- package/dist/chunks/{shell-rca1y2wr.js → config-fbfx65yb.js} +11 -11
- package/dist/chunks/{shell-42t0dhr4.js → config-ffzahd1q.js} +5 -5
- package/dist/chunks/{shell-aszbaj7g.js → config-fhsnc0hn.js} +13 -13
- package/dist/chunks/{shell-gzbkpp9m.js → config-fjvydvzm.js} +4 -4
- package/dist/chunks/{shell-ew0tmsyp.js → config-fp0hvswx.js} +10 -10
- package/dist/chunks/{shell-0gaj4617.js → config-fvanntqq.js} +4 -4
- package/dist/chunks/{shell-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-fxypknc8.js → config-fxypknc8.js} +1 -1
- package/dist/chunks/{shell-xb5d6gcm.js → config-g0ae6at5.js} +30 -30
- package/dist/chunks/{shell-06337yqs.js → config-g3zj0x2b.js} +5 -5
- package/dist/chunks/config-g5hp5s0s.js +22 -0
- package/dist/chunks/{shell-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-3fc6dm20.js → config-gdvy8fx6.js} +4 -4
- package/dist/chunks/{shell-gp91837t.js → config-gfhv6fp9.js} +20 -20
- package/dist/chunks/config-gmyhzdye.js +193 -0
- package/dist/chunks/{shell-gqs2vad9.js → config-h0xakedw.js} +17 -17
- package/dist/chunks/{shell-x02ksyz9.js → config-h0zp9rha.js} +16 -16
- package/dist/chunks/{shell-4c5k13je.js → config-h397hkc6.js} +1 -1
- package/dist/chunks/{shell-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-qwjbpryz.js → config-hcnaa5mc.js} +19 -19
- package/dist/chunks/{shell-heyhwy2w.js → config-heyhwy2w.js} +1 -1
- package/dist/chunks/{shell-hrvm11jt.js → config-hrvm11jt.js} +3 -3
- package/dist/chunks/{shell-kvsjn1dr.js → config-hw4pv20g.js} +2 -2
- package/dist/chunks/{shell-r9fqtgme.js → config-j5cvhpj6.js} +10 -10
- package/dist/chunks/{shell-2xph78ty.js → config-j80e9skv.js} +9 -9
- package/dist/chunks/{shell-037vejbr.js → config-jbzcfc0w.js} +20 -20
- package/dist/chunks/{shell-v9mxw17g.js → config-jh787hsq.js} +24 -24
- package/dist/chunks/{shell-b4xf332k.js → config-jrfpqtb1.js} +27 -27
- package/dist/chunks/{shell-r48p3yav.js → config-jrkm11se.js} +1 -1
- package/dist/chunks/{shell-7gfpemw6.js → config-k0f82zt9.js} +6 -6
- package/dist/chunks/{shell-k4bwy1x5.js → config-k4bwy1x5.js} +1 -1
- package/dist/chunks/{shell-7qtxbs4b.js → config-kc8pqgtx.js} +6 -6
- package/dist/chunks/{shell-kg06axw8.js → config-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-sjn9e3ew.js → config-kgc8thfg.js} +11 -11
- package/dist/chunks/{shell-3f9n5hdq.js → config-khzg4rw9.js} +12 -12
- package/dist/chunks/{shell-9ap403n6.js → config-ktcvmpym.js} +39 -39
- package/dist/chunks/{shell-r99b7fbd.js → config-kxdbpzvg.js} +11 -11
- package/dist/chunks/{shell-35kceag9.js → config-kztq1z52.js} +35 -35
- package/dist/chunks/{shell-gfv1e1ds.js → config-m92yr7es.js} +46 -46
- package/dist/chunks/{shell-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-y68jbn75.js → config-mbpc0r5e.js} +16 -16
- package/dist/chunks/{shell-z8c5n9kb.js → config-mcqwb5cw.js} +21 -21
- package/dist/chunks/{shell-6rjzzdxy.js → config-mdgebrj3.js} +3 -3
- package/dist/chunks/{shell-5ewtbtr0.js → config-mecc0azh.js} +32 -32
- package/dist/chunks/{shell-8tzngw7b.js → config-mfm8exmb.js} +20 -20
- package/dist/chunks/{shell-kz8th6jy.js → config-mq9r6drf.js} +3 -3
- package/dist/chunks/{shell-q39pj94r.js → config-mqc5k020.js} +9 -9
- package/dist/chunks/{shell-kyd4za44.js → config-ms4p05rz.js} +4 -4
- package/dist/chunks/{shell-3w01mqch.js → config-n029d2mf.js} +25 -25
- package/dist/chunks/{shell-fcxhebz1.js → config-n4h9vw0g.js} +26 -26
- package/dist/chunks/{shell-2g7fb4sy.js → config-n6wnzfnt.js} +9 -9
- package/dist/chunks/{shell-m3fm0fm8.js → config-n95nq84g.js} +5 -5
- package/dist/chunks/{shell-ze4dnq9c.js → config-p2rgpb9z.js} +20 -20
- package/dist/chunks/{shell-j935v87r.js → config-paphc93g.js} +2 -2
- package/dist/chunks/{shell-g52wq5zw.js → config-pcfe4ghh.js} +4 -4
- package/dist/chunks/{shell-6ym5me7r.js → config-pdw22why.js} +5 -5
- package/dist/chunks/{shell-2ty14fk8.js → config-pe40p04d.js} +9 -9
- package/dist/chunks/{shell-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{shell-ejmkr9z7.js → config-pvze4eqr.js} +50 -50
- package/dist/chunks/{shell-y7w5kr51.js → config-pwc5sxx6.js} +25 -25
- package/dist/chunks/{shell-ya0kqzg7.js → config-pztjajpw.js} +7 -7
- package/dist/chunks/{shell-yc67yyny.js → config-q3x5sxn7.js} +9 -9
- package/dist/chunks/{shell-hjjb040h.js → config-q4zymtb1.js} +4 -4
- package/dist/chunks/{shell-mek50901.js → config-q99m3398.js} +6 -6
- package/dist/chunks/{shell-8nkz5pt3.js → config-qa6sfwtx.js} +8 -8
- package/dist/chunks/{shell-w2fyyd5g.js → config-qrf1196v.js} +32 -32
- package/dist/chunks/{shell-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-04pvrnvk.js → config-qt1tjvnb.js} +28 -28
- package/dist/chunks/{shell-8tbsk23y.js → config-r5w2ssxe.js} +9 -9
- package/dist/chunks/{shell-r8dhm0tv.js → config-r8dhm0tv.js} +1 -1
- package/dist/chunks/{shell-bct739vz.js → config-r98e92ep.js} +4 -4
- package/dist/chunks/{shell-nmgddbg4.js → config-rae26gbb.js} +8 -8
- package/dist/chunks/{shell-1a5eqtf0.js → config-rgsxhgxd.js} +24 -24
- package/dist/chunks/{shell-jzz3abdx.js → config-rrtr8q94.js} +18 -18
- package/dist/chunks/{shell-78vzyx6d.js → config-rvgz7n9z.js} +20 -20
- package/dist/chunks/{shell-d67bzqbb.js → config-rwqv0d5v.js} +9 -9
- package/dist/chunks/{shell-sba4qhjf.js → config-sba4qhjf.js} +1 -1
- package/dist/chunks/{shell-hzxz3qkz.js → config-sez2sxvq.js} +11 -11
- package/dist/chunks/{shell-00pcw284.js → config-sj7pfbwb.js} +16 -16
- package/dist/chunks/{shell-ts3fz7sh.js → config-sxq12nxh.js} +34 -34
- package/dist/chunks/{shell-fehrn2qm.js → config-sy7czwgb.js} +6 -6
- package/dist/chunks/{shell-cg0d0972.js → config-szgaehjq.js} +12 -12
- package/dist/chunks/{shell-1kmw8bw9.js → config-t00n1yfv.js} +8 -8
- package/dist/chunks/{shell-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-sykc9y4a.js → config-tdpndm1c.js} +5 -5
- package/dist/chunks/{shell-tjykrgmx.js → config-tjykrgmx.js} +1 -1
- package/dist/chunks/{shell-vwvvp157.js → config-tppvcy65.js} +9 -9
- package/dist/chunks/{shell-9yjbvttw.js → config-twmtcs0e.js} +24 -24
- package/dist/chunks/{shell-v4r0s993.js → config-v7mvzpxp.js} +13 -13
- package/dist/chunks/{shell-d6se384q.js → config-vhzdsqy0.js} +17 -17
- package/dist/chunks/{shell-gr7vg3y5.js → config-vpkbx0dt.js} +4 -4
- package/dist/chunks/{shell-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-myqn1vwn.js → config-w4sy5vr6.js} +8 -8
- package/dist/chunks/{shell-fzajb8v1.js → config-w6cg0ec3.js} +10 -10
- package/dist/chunks/{shell-qkar7ddm.js → config-w9pb3kva.js} +23 -23
- package/dist/chunks/{shell-9y1phk8d.js → config-wb545wbz.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{shell-bpyk2zgp.js → config-wdqf1a1r.js} +6 -6
- package/dist/chunks/{shell-08gqv4wh.js → config-wqk7r3qg.js} +25 -25
- package/dist/chunks/{shell-hay8k9wj.js → config-wszjhsey.js} +26 -26
- package/dist/chunks/{shell-a6y0jgay.js → config-wx6ek7p1.js} +9 -9
- package/dist/chunks/{shell-v97587cg.js → config-x05erqvs.js} +6 -6
- package/dist/chunks/{shell-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-n3xn0h0f.js → config-x8nx6njd.js} +10 -10
- package/dist/chunks/{shell-vcnd030r.js → config-xc5n2mhq.js} +13 -13
- package/dist/chunks/{shell-4192f9pk.js → config-xd3j2mtj.js} +169 -169
- package/dist/chunks/{shell-2yk8myve.js → config-xjjjdr4d.js} +36 -36
- package/dist/chunks/{shell-vtq1wfzg.js → config-xnjnn6ck.js} +4 -4
- package/dist/chunks/{shell-80bfyqqz.js → config-xpt98yma.js} +24 -24
- package/dist/chunks/{shell-xjy0arej.js → config-xya7n0dd.js} +48 -48
- package/dist/chunks/{shell-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-y2cqme3r.js → config-y2cqme3r.js} +2 -2
- package/dist/chunks/{shell-9gfdxbs4.js → config-y2gt4tn8.js} +2 -2
- package/dist/chunks/{shell-4t7hsdzk.js → config-y5nnwpyf.js} +17 -17
- package/dist/chunks/{shell-eye58hw2.js → config-y6x1631j.js} +21 -21
- package/dist/chunks/{shell-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{shell-kk3rr3qh.js → config-yfbd16n1.js} +5 -5
- package/dist/chunks/{shell-6erngkvb.js → config-yptt4r9g.js} +30 -30
- package/dist/chunks/{shell-1mrma768.js → config-yzd93mfj.js} +5 -5
- package/dist/chunks/{shell-sh0vnv2k.js → config-yzendvqq.js} +18 -18
- package/dist/chunks/{shell-n7p3q306.js → config-z1jkgvde.js} +19 -19
- package/dist/chunks/{shell-z1k01bn4.js → config-z1k01bn4.js} +2 -2
- package/dist/chunks/{shell-4kjzcy7g.js → config-z3avqe8v.js} +17 -17
- package/dist/chunks/{shell-29x78va6.js → config-z63w68vq.js} +6 -6
- package/dist/chunks/{shell-7nprwmah.js → config-z9dxnre0.js} +43 -43
- package/dist/chunks/{shell-70b0rhqw.js → config-zc4pefsx.js} +16 -16
- package/dist/chunks/{shell-7908ykgb.js → config-zfqme3r2.js} +8 -8
- package/dist/chunks/{shell-jjz9kdpw.js → config-zgxqspyk.js} +23 -23
- package/dist/chunks/{shell-84ws7vk9.js → config-zkhy5g3c.js} +29 -29
- package/dist/chunks/{shell-sxaj9jh7.js → config-zre25x07.js} +12 -12
- package/dist/chunks/{shell-k1w98zgr.js → config-ztvw86cy.js} +8 -8
- package/dist/chunks/{shell-haggcxkj.js → config-ztwscpt3.js} +7 -7
- package/dist/chunks/{shell-h5wpvtxr.js → config-zv54gy8z.js} +6 -6
- package/dist/chunks/{shell-m70sbz6t.js → config-zvt5dnpc.js} +4 -4
- package/dist/chunks/{shell-b7pyt6aj.js → config-zw7n3jsf.js} +289 -289
- package/dist/chunks/{shell-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/chunks/{shell-5mxx68d3.js → config-zyherzjf.js} +8 -8
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +115 -115
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +350 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +127 -127
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +144 -144
- 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 +212 -212
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +145 -145
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +108 -108
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +121 -121
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +206 -206
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +86 -86
- 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 +120 -120
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +110 -110
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/plugin/websearch/mcp.d.ts +1 -1
- package/dist/types/websearch.d.ts +5 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- 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 +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/shell-7zk4hah4.js +0 -4
- package/dist/chunks/shell-8y6r9mz6.js +0 -22
- package/dist/chunks/shell-bgee90x3.js +0 -138
- package/dist/chunks/shell-dxj72tfx.js +0 -18
- package/dist/chunks/shell-wpc0p36r.js +0 -247
- /package/dist/chunks/{shell-0fabt78z.js → config-0fabt78z.js} +0 -0
- /package/dist/chunks/{shell-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t738kvx.js → config-3t738kvx.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-41nvscxy.js → config-41nvscxy.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-982e01ww.js → config-982e01ww.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a1tpkmh4.js → config-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mntxs535.js → config-mntxs535.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p8qxwesx.js → config-p8qxwesx.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-se0s1eqw.js → config-se0s1eqw.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x1b8g1yb.js → config-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → config-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zbjnn3ac.js → config-zbjnn3ac.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-mdgebrj3.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-q4zymtb1.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info26,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service70,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node75
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode-ai/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID12 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID12,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service70 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service70.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID12.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service70, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID12, OAuth3, Key3, Value2, Event17, Info26, Service70, node75, exports_credential };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-q4zymtb1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./config-vhzdsqy0.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service32
|
|
10
|
+
} from "./config-pvze4eqr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin8
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin8 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service76;
|
|
200
|
+
const mcp = yield* Service32;
|
|
201
201
|
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin8, exports_command };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-7gbsxqt2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service67,
|
|
11
|
+
node72
|
|
12
|
+
} from "./config-kxdbpzvg.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-dkk7a5wk.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID8,
|
|
18
18
|
VariantID2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Ref2
|
|
20
|
+
} from "./config-zre25x07.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID10,
|
|
23
|
+
Service68,
|
|
24
|
+
node73
|
|
25
|
+
} from "./config-g0ae6at5.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service59,
|
|
28
|
+
node64
|
|
29
|
+
} from "./config-cjnqn6s5.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./config-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service49,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
41
41
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
42
42
|
fromCatalogModel: () => fromCatalogModel2,
|
|
43
43
|
hasPackage: () => hasPackage2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer21,
|
|
45
|
+
node: () => node52,
|
|
46
46
|
resolveModel: () => resolveModel2,
|
|
47
47
|
withVariant: () => withVariant2
|
|
48
48
|
});
|
|
@@ -52,8 +52,8 @@ import { Auth } from "@opencode-ai/ai/route";
|
|
|
52
52
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
53
53
|
import { Npm } from "@opencode-ai/util/npm";
|
|
54
54
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
55
|
-
providerID:
|
|
56
|
-
modelID:
|
|
55
|
+
providerID: ID9,
|
|
56
|
+
modelID: ID8,
|
|
57
57
|
variant: VariantID2
|
|
58
58
|
}) {
|
|
59
59
|
get message() {
|
|
@@ -62,8 +62,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
65
|
-
providerID:
|
|
66
|
-
modelID:
|
|
65
|
+
providerID: ID9,
|
|
66
|
+
modelID: ID8,
|
|
67
67
|
package: Schema.String
|
|
68
68
|
}) {
|
|
69
69
|
get message() {
|
|
@@ -72,8 +72,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
75
|
-
providerID:
|
|
76
|
-
modelID:
|
|
75
|
+
providerID: ID9,
|
|
76
|
+
modelID: ID8,
|
|
77
77
|
variables: Schema.Array(Schema.String)
|
|
78
78
|
}) {
|
|
79
79
|
get message() {
|
|
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service49 extends Context.Service()("@opencode/ModelResolver") {
|
|
85
85
|
}
|
|
86
86
|
var withVariant2 = (model, variantID) => {
|
|
87
87
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
203
203
|
});
|
|
204
204
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
205
205
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
206
|
-
var
|
|
207
|
-
const catalog = yield*
|
|
208
|
-
const integrations = yield*
|
|
206
|
+
var layer21 = Layer.effect(Service49, Effect.gen(function* () {
|
|
207
|
+
const catalog = yield* Service59;
|
|
208
|
+
const integrations = yield* Service68;
|
|
209
209
|
const npm = yield* Npm.Service;
|
|
210
|
-
const aisdk = yield*
|
|
210
|
+
const aisdk = yield* Service67;
|
|
211
211
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
212
212
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
213
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
213
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
214
214
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
215
215
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
216
216
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -220,7 +220,7 @@ var layer19 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
220
220
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
221
221
|
return {
|
|
222
222
|
model: runtime,
|
|
223
|
-
ref:
|
|
223
|
+
ref: Ref2.make({
|
|
224
224
|
id: selected.id,
|
|
225
225
|
providerID: selected.providerID,
|
|
226
226
|
...variant === undefined ? {} : { variant }
|
|
@@ -230,7 +230,7 @@ var layer19 = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
230
230
|
limit: selected.limit
|
|
231
231
|
};
|
|
232
232
|
});
|
|
233
|
-
return
|
|
233
|
+
return Service49.of({
|
|
234
234
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
235
235
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
236
236
|
if (!selected)
|
|
@@ -247,10 +247,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
247
247
|
const name = packageName2(packageName);
|
|
248
248
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
|
|
249
249
|
}
|
|
250
|
-
var
|
|
251
|
-
service:
|
|
252
|
-
layer:
|
|
253
|
-
deps: [
|
|
250
|
+
var node52 = makeLocationNode({
|
|
251
|
+
service: Service49,
|
|
252
|
+
layer: layer21,
|
|
253
|
+
deps: [node64, node73, Npm.node, node72]
|
|
254
254
|
});
|
|
255
255
|
|
|
256
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3,
|
|
256
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service49, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node52, exports_model_resolver };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service30,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service30 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service30.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service30, awaitActivation2, exports_service };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service28,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node33
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service28.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
336
|
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node33 = makeGlobalNode({ service: Service28, layer: layer13, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service28, makeLayer2, layer13, node33, exports_model_transport };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin9
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin9 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin41 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin9, exports_mcp_codemode_exclusion };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-7gbsxqt2.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID8
|
|
8
|
+
} from "./config-zre25x07.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-q4zymtb1.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event17
|
|
15
|
+
} from "./config-9h90tm9n.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID10,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-g0ae6at5.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service59
|
|
22
|
+
} from "./config-cjnqn6s5.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get3
|
|
25
|
+
} from "./config-6cnprtbt.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./config-4zxvp4s8.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID10.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service59;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID9.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID9.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID9.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID8.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID8.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID9.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID9.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|