@opencode-ai/core 0.0.0-dev-19200 → 0.0.0-dev-19203
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{config-n4h9vw0g.js → schema-07j42s1r.js} +29 -29
- package/dist/chunks/{config-pztjajpw.js → schema-093fyv1k.js} +7 -7
- package/dist/chunks/{config-a5nkh94p.js → schema-09ywgxwg.js} +4 -4
- package/dist/chunks/{config-0e0xafbb.js → schema-0e0xafbb.js} +2 -2
- package/dist/chunks/{config-fvanntqq.js → schema-0ft9cg2j.js} +6 -6
- package/dist/chunks/{config-06qbn9zd.js → schema-0k45et74.js} +9 -9
- package/dist/chunks/{config-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-0s9ayhjt.js → schema-0s9ayhjt.js} +1 -1
- package/dist/chunks/{config-r98e92ep.js → schema-0v53mg2y.js} +4 -4
- package/dist/chunks/{config-89eb7pds.js → schema-0zwrqksf.js} +27 -27
- package/dist/chunks/{config-3h117gp9.js → schema-14hmenm3.js} +3 -3
- package/dist/chunks/{config-cfsc9srb.js → schema-17hja9f4.js} +8 -8
- package/dist/chunks/{config-p2rgpb9z.js → schema-1cngsnb6.js} +4 -4
- package/dist/chunks/{config-1ct4r87x.js → schema-1ct4r87x.js} +1 -1
- package/dist/chunks/{config-9ehtken5.js → schema-1gwd18eh.js} +15 -15
- package/dist/chunks/{config-1n116cmy.js → schema-1n116cmy.js} +2 -2
- package/dist/chunks/{config-kc8pqgtx.js → schema-1r3qjt1e.js} +6 -6
- package/dist/chunks/{config-1ygqh575.js → schema-1ygqh575.js} +2 -2
- package/dist/chunks/{config-3wyqxhyv.js → schema-21cmn8kp.js} +44 -44
- package/dist/chunks/{config-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{config-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{config-ck970z52.js → schema-24m53bcx.js} +7 -7
- package/dist/chunks/{config-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-8w44y47c.js → schema-2c3xm3da.js} +24 -24
- package/dist/chunks/{config-2ht70gj7.js → schema-2ht70gj7.js} +1 -1
- package/dist/chunks/{config-5sw9j7cb.js → schema-2mx6efyd.js} +35 -35
- package/dist/chunks/{config-vpkbx0dt.js → schema-37a01m6a.js} +4 -4
- package/dist/chunks/{config-5p8rkq6x.js → schema-39ft7chd.js} +3 -3
- package/dist/chunks/{config-06g3gz3d.js → schema-3eb7wbw0.js} +28 -28
- package/dist/chunks/{config-gdvy8fx6.js → schema-3fc6dm20.js} +4 -4
- package/dist/chunks/{config-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-yzendvqq.js → schema-3pc61sa9.js} +22 -22
- package/dist/chunks/{config-3qzbfqsy.js → schema-3qzbfqsy.js} +2 -2
- package/dist/chunks/{config-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-794t4179.js → schema-3wgash5j.js} +8 -8
- package/dist/chunks/{config-6cp2jw9r.js → schema-3y49e5yw.js} +12 -12
- package/dist/chunks/{config-w9pb3kva.js → schema-40b1mf63.js} +25 -25
- package/dist/chunks/{config-ktcvmpym.js → schema-41wv91p8.js} +46 -46
- package/dist/chunks/{config-454k5vzh.js → schema-454k5vzh.js} +1 -1
- package/dist/chunks/{config-zv54gy8z.js → schema-45m0rtr9.js} +6 -6
- package/dist/chunks/{config-rwqv0d5v.js → schema-4gpjzd3s.js} +6 -6
- package/dist/chunks/{config-fjvydvzm.js → schema-4jv7e9dq.js} +8 -8
- package/dist/chunks/{config-c8jz2e4n.js → schema-4m2jed3x.js} +21 -21
- package/dist/chunks/{config-4r2nyarf.js → schema-4r2nyarf.js} +1 -1
- package/dist/chunks/schema-4v7qdvcn.js +18 -0
- package/dist/chunks/{config-7gbsxqt2.js → schema-4z6b0fg6.js} +8 -8
- package/dist/chunks/{config-96s1cz01.js → schema-556e61a8.js} +68 -68
- package/dist/chunks/{config-gfhv6fp9.js → schema-5a8v5aez.js} +23 -23
- package/dist/chunks/{config-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{config-5fmxt4p5.js → schema-5fmxt4p5.js} +1 -1
- package/dist/chunks/{config-5jvc5tg2.js → schema-5jvc5tg2.js} +1 -1
- package/dist/chunks/{config-wb545wbz.js → schema-5k3f87xj.js} +1 -1
- package/dist/chunks/{config-4f0jyt0w.js → schema-5mx1jh8x.js} +4 -4
- package/dist/chunks/{config-rvgz7n9z.js → schema-5zy72947.js} +18 -18
- package/dist/chunks/{config-xpt98yma.js → schema-64zzwykz.js} +24 -24
- package/dist/chunks/{config-ztvw86cy.js → schema-65ryvrbe.js} +8 -8
- package/dist/chunks/{config-90crsdqb.js → schema-6h0kvyt4.js} +20 -20
- package/dist/chunks/{config-8ktjr7xz.js → schema-6xwg1kq2.js} +18 -18
- package/dist/chunks/{config-g0ae6at5.js → schema-6zh5h8yb.js} +33 -33
- package/dist/chunks/{config-9h90tm9n.js → schema-6zrja0ad.js} +33 -33
- package/dist/chunks/{config-711hfp6y.js → schema-711hfp6y.js} +2 -2
- package/dist/chunks/{config-72nftnjy.js → schema-72nftnjy.js} +2 -2
- package/dist/chunks/{config-szgaehjq.js → schema-73cq2v9r.js} +17 -17
- package/dist/chunks/{config-m92yr7es.js → schema-7b8dx9px.js} +46 -46
- package/dist/chunks/{config-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-113zg7kv.js → schema-7d1ywxdq.js} +12 -12
- package/dist/chunks/{config-xjjjdr4d.js → schema-7rncntgt.js} +44 -44
- package/dist/chunks/{config-aw45zfev.js → schema-80h6nh5b.js} +10 -10
- package/dist/chunks/{config-h397hkc6.js → schema-86s3977f.js} +1 -1
- package/dist/chunks/{config-jrfpqtb1.js → schema-87rnt7vh.js} +23 -23
- package/dist/chunks/{config-pvze4eqr.js → schema-8zpfkjy1.js} +56 -56
- package/dist/chunks/{config-fbfx65yb.js → schema-90m4gm2m.js} +16 -16
- package/dist/chunks/{config-y2cqme3r.js → schema-93a8yfjt.js} +5 -5
- package/dist/chunks/{config-z1jkgvde.js → schema-93cf1794.js} +20 -20
- package/dist/chunks/schema-961yp6je.js +247 -0
- package/dist/chunks/{config-75yf2d83.js → schema-97f5v037.js} +8 -8
- package/dist/chunks/{config-f6e7rem1.js → schema-9d0vwzx2.js} +25 -25
- package/dist/chunks/{config-xc5n2mhq.js → schema-9d7a9gfd.js} +15 -15
- package/dist/chunks/{config-n029d2mf.js → schema-9djsb1x8.js} +28 -28
- package/dist/chunks/{config-511mjebb.js → schema-9efw28vt.js} +4 -4
- package/dist/chunks/{config-8rk43p0s.js → schema-9mqrsjz0.js} +11 -11
- package/dist/chunks/{config-9qm9egsn.js → schema-9qm9egsn.js} +2 -2
- package/dist/chunks/{config-q4zymtb1.js → schema-9tphn1nx.js} +12 -12
- package/dist/chunks/{config-8qxykv75.js → schema-9wjcq4df.js} +20 -20
- package/dist/chunks/{config-z9dxnre0.js → schema-a0szb7e4.js} +41 -41
- package/dist/chunks/{config-5qanm62w.js → schema-a844yy6x.js} +51 -51
- package/dist/chunks/{config-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{config-zvt5dnpc.js → schema-afdssyjb.js} +4 -4
- package/dist/chunks/{config-4gbf76z9.js → schema-agx3smr6.js} +17 -17
- package/dist/chunks/{config-bpnz08mb.js → schema-ahxzhcff.js} +2 -2
- package/dist/chunks/{config-ajtjthsy.js → schema-ajtjthsy.js} +2 -2
- package/dist/chunks/{config-cjnqn6s5.js → schema-am18byef.js} +28 -28
- package/dist/chunks/{config-zre25x07.js → schema-asb6ptdj.js} +12 -12
- package/dist/chunks/{config-08tvc40j.js → schema-aw66b4d6.js} +3 -3
- package/dist/chunks/schema-b5q5y4vk.js +4 -0
- package/dist/chunks/{config-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-b9wsbatv.js → schema-b9wsbatv.js} +1 -1
- package/dist/chunks/{config-wqk7r3qg.js → schema-bb44473r.js} +31 -31
- package/dist/chunks/{config-xnjnn6ck.js → schema-bcv0c355.js} +4 -4
- package/dist/chunks/{config-c5x8pjfg.js → schema-bdc940rx.js} +5 -5
- package/dist/chunks/{config-vhzdsqy0.js → schema-be2wa24j.js} +16 -16
- package/dist/chunks/{config-pwc5sxx6.js → schema-bewj0jz1.js} +28 -28
- package/dist/chunks/{config-sy7czwgb.js → schema-bj23jw33.js} +6 -6
- package/dist/chunks/{config-95kzga43.js → schema-bjah300a.js} +89 -89
- package/dist/chunks/{config-bcezcar3.js → schema-bsvvsrn1.js} +5 -5
- package/dist/chunks/{config-9ybgd8dh.js → schema-c2wempx8.js} +39 -39
- package/dist/chunks/{config-ffzahd1q.js → schema-c4tn7jrr.js} +7 -7
- package/dist/chunks/{config-a6y8nfjs.js → schema-ckw34yqz.js} +30 -30
- package/dist/chunks/{config-h0zp9rha.js → schema-cmw5d376.js} +14 -14
- package/dist/chunks/{config-d72308c8.js → schema-d72308c8.js} +2 -2
- package/dist/chunks/{config-3camn5j0.js → schema-d7xgky4f.js} +33 -33
- package/dist/chunks/{config-c6tw1r0q.js → schema-dajxm5h5.js} +11 -11
- package/dist/chunks/{config-6cnprtbt.js → schema-dezmnm3g.js} +11 -11
- package/dist/chunks/{config-yptt4r9g.js → schema-dgmxpyc7.js} +35 -35
- package/dist/chunks/{config-67cp0t3n.js → schema-dm7yrpwm.js} +11 -11
- package/dist/chunks/{config-jbzcfc0w.js → schema-dq7298b6.js} +18 -18
- package/dist/chunks/{config-84e5sn9r.js → schema-e5b0qn1c.js} +1 -1
- package/dist/chunks/{config-wx6ek7p1.js → schema-e676a0th.js} +11 -11
- package/dist/chunks/{config-zyherzjf.js → schema-e7bn8q6v.js} +10 -10
- package/dist/chunks/{config-fhsnc0hn.js → schema-e9099wq5.js} +15 -15
- package/dist/chunks/{config-j80e9skv.js → schema-egcppv5e.js} +11 -11
- package/dist/chunks/{config-pcfe4ghh.js → schema-ehpz93s6.js} +4 -4
- package/dist/chunks/{config-sez2sxvq.js → schema-em6aehv4.js} +13 -13
- package/dist/chunks/{config-6adkm6cr.js → schema-emhpd4sz.js} +12 -12
- package/dist/chunks/{config-qrf1196v.js → schema-ezapnas2.js} +35 -35
- package/dist/chunks/{config-n95nq84g.js → schema-f0v448q8.js} +5 -5
- package/dist/chunks/{config-sj7pfbwb.js → schema-f4v2r7ec.js} +18 -18
- package/dist/chunks/{config-2rgt7c3b.js → schema-f8nrn9y4.js} +11 -11
- package/dist/chunks/{config-rgsxhgxd.js → schema-fc4enxm7.js} +29 -29
- package/dist/chunks/{config-7dqw4kz8.js → schema-fcrkznn8.js} +5 -5
- package/dist/chunks/{config-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-fxypknc8.js → schema-fxypknc8.js} +1 -1
- package/dist/chunks/{config-dn3mp5jr.js → schema-fztp1wx9.js} +9 -9
- package/dist/chunks/{config-55v2ymrw.js → schema-g41n1fn3.js} +5 -5
- package/dist/chunks/{config-5z3wefky.js → schema-g7bszxvd.js} +40 -40
- package/dist/chunks/{config-11d5h6an.js → schema-gamrqs60.js} +41 -41
- package/dist/chunks/{config-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-dt746yqr.js → schema-gvsnbjhz.js} +8 -8
- package/dist/chunks/{config-0sv942tj.js → schema-h58xcwpy.js} +8 -8
- package/dist/chunks/{config-0424b8g1.js → schema-h6h1436v.js} +4 -4
- package/dist/chunks/{config-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-wszjhsey.js → schema-h9wz0788.js} +30 -30
- package/dist/chunks/{config-xd3j2mtj.js → schema-hd4qf47t.js} +174 -174
- package/dist/chunks/{config-0q383bzk.js → schema-hdt077bk.js} +9 -9
- package/dist/chunks/{config-heyhwy2w.js → schema-heyhwy2w.js} +1 -1
- package/dist/chunks/{config-2sg0crgm.js → schema-hgbw4ehz.js} +6 -6
- package/dist/chunks/{config-909y75nz.js → schema-hhnn4c8b.js} +26 -26
- package/dist/chunks/{config-yzd93mfj.js → schema-hjrjbgez.js} +5 -5
- package/dist/chunks/{config-e82z9tr0.js → schema-hjt4xg1x.js} +7 -7
- package/dist/chunks/{config-bva7vcjq.js → schema-hr77wr0b.js} +4 -4
- package/dist/chunks/{config-hrvm11jt.js → schema-hrvm11jt.js} +3 -3
- package/dist/chunks/{config-hw4pv20g.js → schema-hw4pv20g.js} +2 -2
- package/dist/chunks/{config-bwd8tstc.js → schema-j4c6y7xz.js} +9 -9
- package/dist/chunks/{config-bpdzwx5y.js → schema-j871vxfc.js} +20 -20
- package/dist/chunks/{config-eg4pr325.js → schema-jasnfvjs.js} +10 -10
- package/dist/chunks/{config-xya7n0dd.js → schema-jb2p1s8w.js} +58 -58
- package/dist/chunks/{config-z3avqe8v.js → schema-je3yzz2v.js} +17 -17
- package/dist/chunks/{config-4vxwgeaq.js → schema-jqjtaz5x.js} +36 -36
- package/dist/chunks/{config-wdqf1a1r.js → schema-js8gy4m8.js} +6 -6
- package/dist/chunks/{config-4cshh5cf.js → schema-jspp3pq5.js} +17 -17
- package/dist/chunks/{config-8dd5gh5g.js → schema-k19yg70y.js} +27 -27
- package/dist/chunks/{config-k4bwy1x5.js → schema-k4bwy1x5.js} +1 -1
- package/dist/chunks/{config-5z9qstwn.js → schema-k85a8qr7.js} +81 -81
- package/dist/chunks/{config-8r0202fd.js → schema-kapgq2fk.js} +11 -11
- package/dist/chunks/{config-kg06axw8.js → schema-kg06axw8.js} +1 -1
- package/dist/chunks/{config-g5hp5s0s.js → schema-kjmp7mkn.js} +9 -9
- package/dist/chunks/{config-yfbd16n1.js → schema-kk3rr3qh.js} +5 -5
- package/dist/chunks/{config-0ed3m1jk.js → schema-kqh0jhv7.js} +20 -20
- package/dist/chunks/{config-a51qe2m1.js → schema-m0ca63zf.js} +11 -11
- package/dist/chunks/{config-jh787hsq.js → schema-m0w27dsq.js} +30 -30
- package/dist/chunks/{config-mcqwb5cw.js → schema-m3w37zzb.js} +23 -23
- package/dist/chunks/{config-qa6sfwtx.js → schema-m4z6zt1h.js} +10 -10
- package/dist/chunks/{config-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-k0f82zt9.js → schema-mb3vb89x.js} +8 -8
- package/dist/chunks/{config-237jjh8r.js → schema-mcxg6pmm.js} +1 -1
- package/dist/chunks/{config-mqc5k020.js → schema-mdjcfwcf.js} +11 -11
- package/dist/chunks/{config-73tb2d7t.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{config-a7ygzknp.js → schema-mkq4xp6j.js} +14 -14
- package/dist/chunks/{config-9tj0rnrh.js → schema-mmk8z8vw.js} +13 -13
- package/dist/chunks/{config-c570sca7.js → schema-msqd9fka.js} +18 -18
- package/dist/chunks/{config-w4sy5vr6.js → schema-n6n197mn.js} +10 -10
- package/dist/chunks/{config-5g0g6sxf.js → schema-n6yd8jz8.js} +7 -7
- package/dist/chunks/{config-cevanw02.js → schema-n8fetsyk.js} +28 -28
- package/dist/chunks/{config-y2gt4tn8.js → schema-nd2v0w3y.js} +2 -2
- package/dist/chunks/{config-0faacv9h.js → schema-nrfbs8zx.js} +5 -5
- package/dist/chunks/{config-n6wnzfnt.js → schema-nrsmc0cn.js} +6 -6
- package/dist/chunks/{config-d9rpbp5n.js → schema-nzvt3fe2.js} +24 -24
- package/dist/chunks/{config-kxdbpzvg.js → schema-p0h7e0yr.js} +11 -11
- package/dist/chunks/{config-7yygr4vw.js → schema-p234zevy.js} +56 -56
- package/dist/chunks/{config-t00n1yfv.js → schema-p6j5rthq.js} +8 -8
- package/dist/chunks/{config-zkhy5g3c.js → schema-p6k3nzjq.js} +31 -31
- package/dist/chunks/{config-rae26gbb.js → schema-pae9v2p1.js} +8 -8
- package/dist/chunks/{config-h0xakedw.js → schema-pgwnkrgp.js} +17 -17
- package/dist/chunks/{config-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{config-ms4p05rz.js → schema-pv06p42z.js} +4 -4
- package/dist/chunks/{config-ztwscpt3.js → schema-q31jhj7h.js} +9 -9
- package/dist/chunks/{config-x8nx6njd.js → schema-qfnhs0ay.js} +15 -15
- package/dist/chunks/{config-g3zj0x2b.js → schema-qgpvk72g.js} +5 -5
- package/dist/chunks/{config-5rp8p5tq.js → schema-qrs68m7n.js} +32 -32
- package/dist/chunks/{config-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{config-4zxvp4s8.js → schema-qt162p81.js} +11 -11
- package/dist/chunks/{config-7hfxww9t.js → schema-qwb6v2g5.js} +13 -13
- package/dist/chunks/{config-6mjnften.js → schema-r5rd45ey.js} +22 -22
- package/dist/chunks/{config-mq9r6drf.js → schema-r6xmjf87.js} +3 -3
- package/dist/chunks/{config-r8dhm0tv.js → schema-r8dhm0tv.js} +1 -1
- package/dist/chunks/{config-f2n192rq.js → schema-r8xr0va3.js} +4 -4
- package/dist/chunks/{config-kztq1z52.js → schema-rd9hzhgp.js} +44 -44
- package/dist/chunks/{config-sxq12nxh.js → schema-re10kf0s.js} +34 -34
- package/dist/chunks/{config-tdpndm1c.js → schema-rmm45jmv.js} +5 -5
- package/dist/chunks/{config-6a55zhma.js → schema-rrfj1sgp.js} +9 -9
- package/dist/chunks/{config-5xcc0t2d.js → schema-rt5n18n0.js} +29 -29
- package/dist/chunks/{config-3g8r9y4m.js → schema-rtjpxz0x.js} +24 -24
- package/dist/chunks/{config-1g8zrhqs.js → schema-s28f0v1e.js} +6 -6
- package/dist/chunks/{config-6vwm7pwz.js → schema-s2x6mz9s.js} +4 -4
- package/dist/chunks/{config-1rfmywcm.js → schema-s3eqpch7.js} +1 -1
- package/dist/chunks/{config-sba4qhjf.js → schema-sba4qhjf.js} +1 -1
- package/dist/chunks/{config-mdgebrj3.js → schema-sj2kvqyv.js} +3 -3
- package/dist/chunks/{config-gmyhzdye.js → schema-skkjy97b.js} +27 -27
- package/dist/chunks/{config-mbpc0r5e.js → schema-sx5gpndv.js} +16 -16
- package/dist/chunks/{config-zc4pefsx.js → schema-sxmdy6vf.js} +15 -15
- package/dist/chunks/{config-4mj950mr.js → schema-t2a6e5ew.js} +13 -13
- package/dist/chunks/{config-fp0hvswx.js → schema-t663bhz3.js} +9 -9
- package/dist/chunks/{config-75my1bc5.js → schema-t6f921pt.js} +6 -6
- package/dist/chunks/{config-4wdmqajx.js → schema-t8v72xqj.js} +23 -23
- package/dist/chunks/{config-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-zw7n3jsf.js → schema-tdp3srjd.js} +288 -288
- package/dist/chunks/{config-q3x5sxn7.js → schema-tgfk7sdg.js} +9 -9
- package/dist/chunks/{config-tjykrgmx.js → schema-tjykrgmx.js} +1 -1
- package/dist/chunks/{config-jrkm11se.js → schema-tk66q7qw.js} +1 -1
- package/dist/chunks/{config-v7mvzpxp.js → schema-v0mbc4ay.js} +13 -13
- package/dist/chunks/{config-ektxve03.js → schema-v48vyps0.js} +13 -13
- package/dist/chunks/{config-b27vhd2z.js → schema-v5dkyp31.js} +4 -4
- package/dist/chunks/{config-tppvcy65.js → schema-v60ecprk.js} +7 -7
- package/dist/chunks/{config-7j5570x5.js → schema-v66dqm9c.js} +22 -22
- package/dist/chunks/{config-7t23sfae.js → schema-veeef9vx.js} +24 -24
- package/dist/chunks/{config-j5cvhpj6.js → schema-vg7tvm5c.js} +10 -10
- package/dist/chunks/{config-2jjpr40g.js → schema-vhtv5nbw.js} +5 -5
- package/dist/chunks/{config-twmtcs0e.js → schema-vy1vc40s.js} +25 -25
- package/dist/chunks/{config-qt1tjvnb.js → schema-w0tfa8j9.js} +29 -29
- package/dist/chunks/{config-eatef5sh.js → schema-w0w53vng.js} +22 -22
- package/dist/chunks/{config-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-hcnaa5mc.js → schema-w4t3ack1.js} +19 -19
- package/dist/chunks/{config-mfm8exmb.js → schema-w4trmh71.js} +23 -23
- package/dist/chunks/{config-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{config-mecc0azh.js → schema-wjngnjtk.js} +32 -32
- package/dist/chunks/{config-rrtr8q94.js → schema-wm2krekn.js} +17 -17
- package/dist/chunks/{config-khzg4rw9.js → schema-wv7fyv62.js} +12 -12
- package/dist/chunks/{config-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-x05erqvs.js → schema-x4m3pksr.js} +11 -11
- package/dist/chunks/{config-q99m3398.js → schema-xdrkt8m2.js} +9 -9
- package/dist/chunks/{config-4cn8226d.js → schema-xh9ptvna.js} +21 -21
- package/dist/chunks/{config-pe40p04d.js → schema-xqrwg3rf.js} +9 -9
- package/dist/chunks/{config-8pn7nfj1.js → schema-xqsy6kp0.js} +1 -1
- package/dist/chunks/{config-r5w2ssxe.js → schema-xr5vwsd4.js} +9 -9
- package/dist/chunks/{config-bj6xkg51.js → schema-xy04q38t.js} +16 -16
- package/dist/chunks/{config-4p03f1qq.js → schema-y18qbtn0.js} +3 -3
- package/dist/chunks/{config-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-btc4hvws.js → schema-y4nzzd5t.js} +5 -5
- package/dist/chunks/{config-dkk7a5wk.js → schema-y6nt3k22.js} +2 -2
- package/dist/chunks/{config-y71avatq.js → schema-y71avatq.js} +1 -1
- package/dist/chunks/{config-w6cg0ec3.js → schema-yjf09y7w.js} +10 -10
- package/dist/chunks/{config-4n3dgrrb.js → schema-yv168y4t.js} +3 -3
- package/dist/chunks/{config-e6s6n12p.js → schema-yvgzfjz2.js} +38 -37
- package/dist/chunks/{config-z1k01bn4.js → schema-z1k01bn4.js} +2 -2
- package/dist/chunks/{config-y6x1631j.js → schema-z26gprdf.js} +21 -21
- package/dist/chunks/{config-kgc8thfg.js → schema-z5bqgj44.js} +11 -11
- package/dist/chunks/{config-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/{config-zgxqspyk.js → schema-z7ghswzh.js} +32 -32
- package/dist/chunks/{config-zfqme3r2.js → schema-zfqme3r2.js} +2 -2
- package/dist/chunks/{config-cm990fgz.js → schema-zmjd9hv4.js} +14 -14
- package/dist/chunks/{config-pdw22why.js → schema-zn2pq4p8.js} +5 -5
- package/dist/chunks/{config-y5nnwpyf.js → schema-zs90bmkf.js} +17 -17
- package/dist/chunks/{config-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- 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 +115 -115
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- 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 +118 -118
- 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 +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +72 -72
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- 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 +3 -3
- 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 +132 -132
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +347 -347
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- 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 +3 -3
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- 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 +80 -80
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +126 -126
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +145 -145
- package/dist/session/history.js +12 -12
- 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 +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- 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 +3 -3
- 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 +168 -168
- 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 +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- 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 +118 -118
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +116 -116
- 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 +13 -13
- package/dist/types/project/schema.d.ts +1 -0
- package/dist/types/project.d.ts +1 -0
- 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 +5 -5
- 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 +2 -2
- 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 +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/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 +77 -77
- 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 +4 -4
- 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/config-35chk74t.js +0 -4
- package/dist/chunks/config-9zdhvgqs.js +0 -18
- package/dist/chunks/config-cjjzzp5t.js +0 -247
- /package/dist/chunks/{config-0fabt78z.js → schema-0fabt78z.js} +0 -0
- /package/dist/chunks/{config-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3t738kvx.js → schema-3t738kvx.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-41nvscxy.js → schema-41nvscxy.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-982e01ww.js → schema-982e01ww.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a1tpkmh4.js → schema-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mntxs535.js → schema-mntxs535.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-p8qxwesx.js → schema-p8qxwesx.js} +0 -0
- /package/dist/chunks/{config-paphc93g.js → schema-paphc93g.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-se0s1eqw.js → schema-se0s1eqw.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x1b8g1yb.js → schema-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → schema-z9919s4g.js} +0 -0
- /package/dist/chunks/{config-zbjnn3ac.js → schema-zbjnn3ac.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service79,
|
|
10
|
-
node84
|
|
11
|
-
} from "./config-q4zymtb1.js";
|
|
7
|
+
} from "./schema-sj2kvqyv.js";
|
|
12
8
|
import {
|
|
13
9
|
Service78,
|
|
14
10
|
node83
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./schema-9tphn1nx.js";
|
|
12
|
+
import {
|
|
13
|
+
Service77,
|
|
14
|
+
node82
|
|
15
|
+
} from "./schema-jasnfvjs.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info31,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-v60ecprk.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-9qm9egsn.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-ajtjthsy.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info30,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service76,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node81,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode-ai/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info30 = Info31;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service76 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,11 +94,11 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service77;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service78;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID16.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -159,6 +159,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
159
159
|
});
|
|
160
160
|
const update = Effect.fn("Project.update")(function* (input) {
|
|
161
161
|
const row = yield* db.update(ProjectTable2).set({
|
|
162
|
+
worktree: input.canonical,
|
|
162
163
|
name: input.name === undefined ? undefined : input.name || null,
|
|
163
164
|
icon_url_override: input.icon?.override === undefined ? undefined : input.icon.override || null,
|
|
164
165
|
icon_color: input.icon?.color === undefined ? undefined : input.icon.color || null,
|
|
@@ -172,7 +173,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
172
173
|
return project;
|
|
173
174
|
});
|
|
174
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
177
|
return;
|
|
177
178
|
}));
|
|
178
179
|
});
|
|
@@ -183,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
183
184
|
const normalized = url(origin);
|
|
184
185
|
if (!normalized)
|
|
185
186
|
return;
|
|
186
|
-
return
|
|
187
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
188
|
});
|
|
188
189
|
function url(input) {
|
|
189
190
|
const value = input.trim();
|
|
@@ -208,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
208
209
|
}
|
|
209
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
212
|
+
return root ? ID16.make(root) : undefined;
|
|
212
213
|
});
|
|
213
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
224
225
|
return;
|
|
225
226
|
const node = result.stdout.toString("utf8").split(`
|
|
226
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
228
|
+
return node ? ID16.make(node) : undefined;
|
|
228
229
|
});
|
|
229
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
233
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
235
|
return {
|
|
235
236
|
previous,
|
|
236
|
-
id: id ??
|
|
237
|
+
id: id ?? ID16.global,
|
|
237
238
|
directory: worktree,
|
|
238
239
|
vcs: { type: "hg", store }
|
|
239
240
|
};
|
|
@@ -250,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
250
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
252
|
return yield* persist({
|
|
252
253
|
previous,
|
|
253
|
-
id: id ??
|
|
254
|
+
id: id ?? ID16.global,
|
|
254
255
|
directory: repo.worktree,
|
|
255
256
|
canonical,
|
|
256
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
264
265
|
});
|
|
265
266
|
}
|
|
266
267
|
return yield* persist({
|
|
267
|
-
id:
|
|
268
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
268
269
|
directory,
|
|
269
270
|
canonical: directory,
|
|
270
271
|
vcs: undefined
|
|
271
272
|
});
|
|
272
273
|
});
|
|
273
|
-
return
|
|
274
|
+
return Service76.of({ list, update, resolve });
|
|
274
275
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
276
|
+
var node81 = makeGlobalNode({
|
|
277
|
+
service: Service76,
|
|
277
278
|
layer,
|
|
278
|
-
deps: [
|
|
279
|
+
deps: [node83, node85, FSUtil.node, node82, AppProcess.node]
|
|
279
280
|
});
|
|
280
281
|
|
|
281
|
-
export {
|
|
282
|
+
export { ID16, Vcs2, Current2, Info30, UpdateInput3, NotFoundError10, root2, Service76, node81, exports_project };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./schema-be2wa24j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service16,
|
|
11
|
+
node20
|
|
12
|
+
} from "./schema-m0w27dsq.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event3,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service15,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node19
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event3 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service15 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service75;
|
|
82
|
+
const search = yield* Service16;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service15.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node19 = makeLocationNode({
|
|
126
|
+
service: Service15,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node80, node20]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service15, node19, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-qt162p81.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service73
|
|
7
|
+
} from "./schema-6zrja0ad.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID12,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-6zh5h8yb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID18
|
|
14
|
+
} from "./schema-4z6b0fg6.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID18.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID12.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service73;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID12.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./schema-nzvt3fe2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service54,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-v0mbc4ay.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service52
|
|
11
|
+
} from "./schema-6xwg1kq2.js";
|
|
12
12
|
import {
|
|
13
13
|
externalDirectoryPermission2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service13
|
|
15
|
+
} from "./schema-xy04q38t.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service63
|
|
18
|
+
} from "./schema-p234zevy.js";
|
|
19
19
|
import {
|
|
20
20
|
fileDiff2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-6prwharc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/write.ts
|
|
27
27
|
var exports_write = {};
|
|
28
28
|
__export(exports_write, {
|
|
29
|
-
Input: () =>
|
|
30
|
-
Output: () =>
|
|
31
|
-
Plugin: () =>
|
|
29
|
+
Input: () => Input11,
|
|
30
|
+
Output: () => Output7,
|
|
31
|
+
Plugin: () => Plugin25,
|
|
32
32
|
WriteTool: () => exports_write,
|
|
33
|
-
name: () =>
|
|
34
|
-
toModelContent: () =>
|
|
33
|
+
name: () => name11,
|
|
34
|
+
toModelContent: () => toModelContent6
|
|
35
35
|
});
|
|
36
36
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
37
37
|
import { Effect, Schema } from "effect";
|
|
38
38
|
import { Bom } from "@opencode-ai/util/bom";
|
|
39
|
-
var
|
|
40
|
-
var
|
|
39
|
+
var name11 = "write";
|
|
40
|
+
var Input11 = Schema.Struct({
|
|
41
41
|
path: Schema.String.annotate({
|
|
42
42
|
description: "Path to the file to write to"
|
|
43
43
|
}),
|
|
44
44
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
45
45
|
});
|
|
46
|
-
var
|
|
46
|
+
var Output7 = Schema.Struct({
|
|
47
47
|
operation: Schema.Literal("write"),
|
|
48
48
|
target: Schema.String,
|
|
49
49
|
resource: Schema.String,
|
|
50
50
|
existed: Schema.Boolean
|
|
51
51
|
});
|
|
52
|
-
var
|
|
53
|
-
var
|
|
52
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
53
|
+
var Plugin25 = {
|
|
54
54
|
id: "opencode.tool.write",
|
|
55
55
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
56
|
-
const mutation = yield*
|
|
57
|
-
const fileMutation = yield*
|
|
58
|
-
const environment = yield*
|
|
59
|
-
const formatter = yield*
|
|
60
|
-
const permission = yield*
|
|
56
|
+
const mutation = yield* Service13;
|
|
57
|
+
const fileMutation = yield* Service54;
|
|
58
|
+
const environment = yield* Service55;
|
|
59
|
+
const formatter = yield* Service52;
|
|
60
|
+
const permission = yield* Service63;
|
|
61
61
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
62
|
-
name:
|
|
62
|
+
name: name11,
|
|
63
63
|
options: { codemode: false, permission: "edit" },
|
|
64
64
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
65
65
|
|
|
66
66
|
Missing parent directories are created automatically.
|
|
67
67
|
|
|
68
68
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
69
|
-
input:
|
|
70
|
-
output:
|
|
69
|
+
input: Input11,
|
|
70
|
+
output: Output7,
|
|
71
71
|
execute: (input, context) => Effect.gen(function* () {
|
|
72
72
|
const source = {
|
|
73
73
|
type: "tool",
|
|
@@ -101,9 +101,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
101
101
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
102
102
|
}
|
|
103
103
|
return result;
|
|
104
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
104
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
105
105
|
})).pipe(Effect.orDie);
|
|
106
106
|
})
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { name11, Input11, Output7, toModelContent6, Plugin25, exports_write };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./schema-7rncntgt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./schema-pgwnkrgp.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin33
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin33 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service46;
|
|
27
|
+
const shell = yield* Service41;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin18 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin33, exports_shell2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./schema-4z6b0fg6.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-x1b8g1yb.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID18.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID18.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-sj2kvqyv.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-d72308c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info22,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service64,
|
|
21
|
+
node: () => node69
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode-ai/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode-ai/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service64 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID9.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service64.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node69 = makeGlobalNode({ service: Service64, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID9, Info22, ListInput4, AddInput2, Service64, node69, exports_saved };
|