@opencode-ai/core 0.0.0-dev-19153 → 0.0.0-dev-19154
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 +67 -67
- package/dist/catalog.js +80 -80
- package/dist/chunks/{workspace-kj09bn6f.js → snapshot-03kbvhyf.js} +31 -31
- package/dist/chunks/{workspace-wsfy2223.js → snapshot-06x8he3q.js} +4 -4
- package/dist/chunks/{workspace-dhdg3mzn.js → snapshot-07zcvmjy.js} +15 -15
- package/dist/chunks/{workspace-wb3m83k0.js → snapshot-0994xtaf.js} +14 -14
- package/dist/chunks/{workspace-0e0xafbb.js → snapshot-0e0xafbb.js} +2 -2
- package/dist/chunks/{workspace-e1hrx4vk.js → snapshot-0ez61b8c.js} +2 -2
- package/dist/chunks/{workspace-8pg5w1c0.js → snapshot-0n2drzn1.js} +15 -15
- package/dist/chunks/{workspace-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0s9ayhjt.js → snapshot-0s9ayhjt.js} +1 -1
- package/dist/chunks/{workspace-w0k1he6w.js → snapshot-0xd2d7hb.js} +5 -5
- package/dist/chunks/{workspace-hrccczz7.js → snapshot-0y2g5je5.js} +46 -46
- package/dist/chunks/{workspace-1hy241bm.js → snapshot-14hmenm3.js} +3 -3
- package/dist/chunks/{workspace-1ct4r87x.js → snapshot-1ct4r87x.js} +1 -1
- package/dist/chunks/{workspace-y6vm5g8a.js → snapshot-1vae596e.js} +7 -7
- package/dist/chunks/{workspace-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-nkcwakxz.js → snapshot-23sxaqwc.js} +4 -4
- package/dist/chunks/{workspace-6h73sxmp.js → snapshot-2402vzrj.js} +5 -5
- package/dist/chunks/{workspace-z63w68vq.js → snapshot-29x78va6.js} +6 -6
- package/dist/chunks/{workspace-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-mjzw1bzx.js → snapshot-2dxzc6st.js} +9 -9
- package/dist/chunks/{workspace-tx0n6h40.js → snapshot-2h28fvw8.js} +24 -24
- package/dist/chunks/{workspace-2ht70gj7.js → snapshot-2ht70gj7.js} +1 -1
- package/dist/chunks/{workspace-2jqmte8w.js → snapshot-2jqmte8w.js} +2 -2
- package/dist/chunks/{workspace-nbrk7b4a.js → snapshot-2k8fb2v0.js} +70 -70
- package/dist/chunks/{workspace-wpjc2q9a.js → snapshot-2kr0hwj7.js} +43 -43
- package/dist/chunks/{workspace-2pgk7vty.js → snapshot-2pgk7vty.js} +2 -2
- package/dist/chunks/{workspace-3vf1aewa.js → snapshot-2ydjztjv.js} +9 -9
- package/dist/chunks/{workspace-gka3rngk.js → snapshot-30sp09qz.js} +9 -9
- package/dist/chunks/{workspace-0ccbb5fs.js → snapshot-30zbq4ht.js} +7 -7
- package/dist/chunks/{workspace-a79ethms.js → snapshot-32d4s7p3.js} +36 -36
- package/dist/chunks/{workspace-xnvap4wk.js → snapshot-354dzbz0.js} +3 -3
- package/dist/chunks/{workspace-760mpvsy.js → snapshot-3b1jww13.js} +11 -11
- package/dist/chunks/{workspace-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-g7xwt8rt.js → snapshot-3j7r9hmr.js} +18 -18
- package/dist/chunks/{workspace-3qzbfqsy.js → snapshot-3qzbfqsy.js} +2 -2
- package/dist/chunks/{workspace-qfr5gq21.js → snapshot-3rarb455.js} +20 -20
- package/dist/chunks/{workspace-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-k47rhfy9.js → snapshot-3wfq9j39.js} +12 -12
- package/dist/chunks/{workspace-acnp2grr.js → snapshot-436cs3z1.js} +13 -13
- package/dist/chunks/{workspace-qa85yw4y.js → snapshot-43vf45x5.js} +10 -10
- package/dist/chunks/{workspace-454k5vzh.js → snapshot-454k5vzh.js} +1 -1
- package/dist/chunks/{workspace-ct2bpxfa.js → snapshot-46zqkhyz.js} +43 -43
- package/dist/chunks/{workspace-jc29952v.js → snapshot-4e2z1ca3.js} +7 -7
- package/dist/chunks/{workspace-4r2nyarf.js → snapshot-4r2nyarf.js} +1 -1
- package/dist/chunks/{workspace-rvb2zp0m.js → snapshot-4z6b0fg6.js} +6 -6
- package/dist/chunks/{workspace-qc5kqrcq.js → snapshot-4zm6c0x5.js} +9 -9
- package/dist/chunks/{workspace-7nbk4t3q.js → snapshot-523re32b.js} +8 -8
- package/dist/chunks/{workspace-y171dd4m.js → snapshot-53fmc78n.js} +11 -11
- package/dist/chunks/{workspace-j67kztky.js → snapshot-544hay25.js} +26 -26
- package/dist/chunks/{workspace-0hs6qkpf.js → snapshot-576xsry2.js} +6 -6
- package/dist/chunks/{workspace-xtvwy747.js → snapshot-59gpws3w.js} +11 -11
- package/dist/chunks/{workspace-1f74nbrw.js → snapshot-5bae1t6h.js} +14 -14
- package/dist/chunks/snapshot-5ce0jj3b.js +22 -0
- package/dist/chunks/{workspace-47695va9.js → snapshot-5csadswb.js} +20 -20
- package/dist/chunks/{workspace-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-5fmxt4p5.js → snapshot-5fmxt4p5.js} +1 -1
- package/dist/chunks/{workspace-5jvc5tg2.js → snapshot-5jvc5tg2.js} +1 -1
- package/dist/chunks/{workspace-yj3e99fm.js → snapshot-5k3f87xj.js} +1 -1
- package/dist/chunks/{workspace-r9gfrje9.js → snapshot-5kv42hr5.js} +7 -7
- package/dist/chunks/{workspace-j935v87r.js → snapshot-5qd3pb7m.js} +2 -2
- package/dist/chunks/snapshot-619r8v3y.js +18 -0
- package/dist/chunks/{workspace-mnsp2bby.js → snapshot-62d0y7sg.js} +4 -4
- package/dist/chunks/{workspace-aa7cxt5r.js → snapshot-63a4ghrn.js} +32 -32
- package/dist/chunks/{workspace-h9xf66gq.js → snapshot-676p6pc7.js} +32 -32
- package/dist/chunks/{workspace-t4xwbtzq.js → snapshot-68ze8m1r.js} +6 -6
- package/dist/chunks/{workspace-hjf2e9et.js → snapshot-6926ty5t.js} +8 -8
- package/dist/chunks/{workspace-0ft9cg2j.js → snapshot-6anwy9fs.js} +4 -4
- package/dist/chunks/{workspace-5160spka.js → snapshot-6bfzq12e.js} +7 -7
- package/dist/chunks/{workspace-7nc35fpj.js → snapshot-6c91nz2w.js} +6 -6
- package/dist/chunks/{workspace-28pcbh69.js → snapshot-6e958v7x.js} +4 -4
- package/dist/chunks/{workspace-11tw25g0.js → snapshot-6k404gxp.js} +4 -4
- package/dist/chunks/{workspace-bk6sw042.js → snapshot-6meqe64c.js} +18 -18
- package/dist/chunks/{workspace-pj6fam98.js → snapshot-6vb0806q.js} +18 -18
- package/dist/chunks/{workspace-2kp05069.js → snapshot-6vk2ew6f.js} +10 -10
- package/dist/chunks/{workspace-na8hr0vp.js → snapshot-6xafav5w.js} +21 -21
- package/dist/chunks/{workspace-saak5ttd.js → snapshot-6z5bwd8g.js} +6 -6
- package/dist/chunks/{workspace-711hfp6y.js → snapshot-711hfp6y.js} +2 -2
- package/dist/chunks/{workspace-72nftnjy.js → snapshot-72nftnjy.js} +2 -2
- package/dist/chunks/{workspace-rae26gbb.js → snapshot-759pz1a2.js} +4 -4
- package/dist/chunks/{workspace-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-0jwsre1p.js → snapshot-7dqw4kz8.js} +5 -5
- package/dist/chunks/{workspace-89zqf0rn.js → snapshot-7q5r2wtw.js} +42 -42
- package/dist/chunks/{workspace-12ekwz9e.js → snapshot-7qsy2bp3.js} +8 -8
- package/dist/chunks/{workspace-ge3y94tk.js → snapshot-7wwbhxnq.js} +29 -29
- package/dist/chunks/{workspace-5gewddrw.js → snapshot-7y966c83.js} +26 -26
- package/dist/chunks/{workspace-qs4avvkb.js → snapshot-86s3977f.js} +1 -1
- package/dist/chunks/{workspace-w05tx3pg.js → snapshot-89vsr5q8.js} +10 -10
- package/dist/chunks/{workspace-qj045n01.js → snapshot-8dm88n30.js} +10 -10
- package/dist/chunks/{workspace-dmjtybt2.js → snapshot-8hmtjkv1.js} +27 -27
- package/dist/chunks/{workspace-v8xer3dx.js → snapshot-8rmsya7e.js} +20 -20
- package/dist/chunks/{workspace-djcgb51x.js → snapshot-8zrk5602.js} +18 -18
- package/dist/chunks/{workspace-93a8yfjt.js → snapshot-93a8yfjt.js} +2 -2
- package/dist/chunks/{workspace-8g5t4xyy.js → snapshot-94w8mwm7.js} +11 -11
- package/dist/chunks/{workspace-sgqkzh53.js → snapshot-99ghd14m.js} +5 -5
- package/dist/chunks/{workspace-fvwrqa71.js → snapshot-99ws4vy9.js} +20 -20
- package/dist/chunks/{workspace-yhxq7m29.js → snapshot-9jzzg24w.js} +11 -11
- package/dist/chunks/{workspace-9qm9egsn.js → snapshot-9qm9egsn.js} +2 -2
- package/dist/chunks/{workspace-scsyzxzw.js → snapshot-a93b88e5.js} +6 -6
- package/dist/chunks/{workspace-yjw1hky4.js → snapshot-a9c7wcwq.js} +12 -12
- package/dist/chunks/{workspace-0rwgbq6e.js → snapshot-aabapxsx.js} +10 -10
- package/dist/chunks/{workspace-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-ajtjthsy.js → snapshot-ajtjthsy.js} +2 -2
- package/dist/chunks/{workspace-j83byb14.js → snapshot-an7cqtb7.js} +4 -4
- package/dist/chunks/{workspace-v56vtys4.js → snapshot-ar9jcwmt.js} +33 -33
- package/dist/chunks/{workspace-g8d3gcyj.js → snapshot-at5d07az.js} +7 -7
- package/dist/chunks/{workspace-a7adp6am.js → snapshot-b1as8fts.js} +20 -20
- package/dist/chunks/{workspace-skjkpwv2.js → snapshot-b575w93p.js} +15 -15
- package/dist/chunks/{workspace-1cngsnb6.js → snapshot-b5gjhjfs.js} +20 -20
- package/dist/chunks/{workspace-zvkk2fwq.js → snapshot-b5nt20nh.js} +43 -43
- package/dist/chunks/{workspace-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-5fs88ahy.js → snapshot-b8mjze6g.js} +18 -18
- package/dist/chunks/{workspace-b9wsbatv.js → snapshot-b9wsbatv.js} +1 -1
- package/dist/chunks/{workspace-v7j1z2wq.js → snapshot-bdc940rx.js} +5 -5
- package/dist/chunks/{workspace-yxae0rkk.js → snapshot-besxjytt.js} +16 -16
- package/dist/chunks/{workspace-2168rw8s.js → snapshot-bpbjm8rz.js} +11 -11
- package/dist/chunks/{workspace-r82mbdvs.js → snapshot-bx7nsbq5.js} +17 -17
- package/dist/chunks/{workspace-cv7z4kpf.js → snapshot-c8sen9he.js} +21 -21
- package/dist/chunks/{workspace-pd32dv0s.js → snapshot-c9mzx7ks.js} +24 -24
- package/dist/chunks/{workspace-hp0zgb07.js → snapshot-cj5mt5fs.js} +32 -32
- package/dist/chunks/{workspace-57cygpdy.js → snapshot-cj76ygdh.js} +21 -21
- package/dist/chunks/{workspace-4d8bxmps.js → snapshot-cmmnpq6j.js} +3 -3
- package/dist/chunks/{workspace-wrk2wmqj.js → snapshot-cysbydbf.js} +35 -35
- package/dist/chunks/{workspace-k6n1fvnb.js → snapshot-cz8dd9bg.js} +3 -3
- package/dist/chunks/{workspace-z023xry8.js → snapshot-d71zg83r.js} +23 -23
- package/dist/chunks/{workspace-d72308c8.js → snapshot-d72308c8.js} +2 -2
- package/dist/chunks/{workspace-a6tbqd0f.js → snapshot-dbgrqn4f.js} +17 -17
- package/dist/chunks/{workspace-2v5q54hm.js → snapshot-dbh26k9g.js} +26 -26
- package/dist/chunks/{workspace-z3xgatyd.js → snapshot-djtdz80w.js} +4 -4
- package/dist/chunks/{workspace-768z0hjh.js → snapshot-e5b0qn1c.js} +1 -1
- package/dist/chunks/{workspace-9nvrza8s.js → snapshot-ebnqhqmh.js} +9 -9
- package/dist/chunks/{workspace-jtqgarc5.js → snapshot-ed9ckw2c.js} +37 -37
- package/dist/chunks/{workspace-cbh3af09.js → snapshot-efcf8wyf.js} +8 -8
- package/dist/chunks/{workspace-7ar5dmwr.js → snapshot-eg2ettma.js} +9 -9
- package/dist/chunks/{workspace-fehrn2qm.js → snapshot-enw72f67.js} +6 -6
- package/dist/chunks/{workspace-01ranzbk.js → snapshot-evgzxsxf.js} +15 -15
- package/dist/chunks/{workspace-35cnj8n6.js → snapshot-f1kgb3zy.js} +17 -17
- package/dist/chunks/{workspace-7bk6c1pn.js → snapshot-f5tthgnx.js} +7 -7
- package/dist/chunks/{workspace-sh7bh2kf.js → snapshot-famd3pv6.js} +5 -5
- package/dist/chunks/{workspace-fyy5qkk9.js → snapshot-fcmgdk6k.js} +11 -11
- package/dist/chunks/{workspace-rwkt33rf.js → snapshot-fpbxt20w.js} +35 -35
- package/dist/chunks/{workspace-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-fxypknc8.js → snapshot-fxypknc8.js} +1 -1
- package/dist/chunks/{workspace-q059vqcc.js → snapshot-g1e0p8wq.js} +4 -4
- package/dist/chunks/{workspace-d1a1bt21.js → snapshot-g41n1fn3.js} +5 -5
- package/dist/chunks/{workspace-nf9kpa2n.js → snapshot-g8vrsx48.js} +30 -30
- package/dist/chunks/{workspace-sbcqr78w.js → snapshot-ga58qvp2.js} +39 -39
- package/dist/chunks/{workspace-e2m76334.js → snapshot-ga73v65p.js} +15 -15
- package/dist/chunks/{workspace-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-bth01ppy.js → snapshot-ghjpce4k.js} +15 -15
- package/dist/chunks/{workspace-756g9d8p.js → snapshot-gkjxy8w2.js} +34 -34
- package/dist/chunks/{workspace-0ck40rgt.js → snapshot-gqcns3fn.js} +35 -35
- package/dist/chunks/{workspace-nvzmp878.js → snapshot-gwjvy795.js} +12 -12
- package/dist/chunks/{workspace-2xn2cc7f.js → snapshot-h2xdgm3p.js} +11 -11
- package/dist/chunks/{workspace-m7sqfb9n.js → snapshot-h49q70se.js} +16 -16
- package/dist/chunks/{workspace-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-4x0nmcjx.js → snapshot-h9k9cmfx.js} +9 -9
- package/dist/chunks/{workspace-0y9x3m2t.js → snapshot-ha1ebqnc.js} +9 -9
- package/dist/chunks/{workspace-sa0pctfm.js → snapshot-hds4mzf8.js} +4 -4
- package/dist/chunks/{workspace-heyhwy2w.js → snapshot-heyhwy2w.js} +1 -1
- package/dist/chunks/{workspace-hrvm11jt.js → snapshot-hrvm11jt.js} +3 -3
- package/dist/chunks/{workspace-90xq7qht.js → snapshot-hxp50ykv.js} +8 -8
- package/dist/chunks/{workspace-1fkv9cmy.js → snapshot-hzecryb5.js} +18 -18
- package/dist/chunks/{workspace-p8g5rzmy.js → snapshot-j0rzzy67.js} +26 -26
- package/dist/chunks/{workspace-0cgwketr.js → snapshot-jn7267xk.js} +15 -15
- package/dist/chunks/{workspace-k31rb934.js → snapshot-jvmbnav8.js} +11 -11
- package/dist/chunks/{workspace-jwcy2c2z.js → snapshot-jwcy2c2z.js} +1 -1
- package/dist/chunks/{workspace-f88nnjjf.js → snapshot-jybhs5dx.js} +10 -10
- package/dist/chunks/{workspace-qb47n0b0.js → snapshot-jzajgxa4.js} +11 -11
- package/dist/chunks/{workspace-yv78zg7h.js → snapshot-jzvt5bax.js} +4 -4
- package/dist/chunks/{workspace-z4gv7xzk.js → snapshot-k1kkhg37.js} +5 -5
- package/dist/chunks/{workspace-k4bwy1x5.js → snapshot-k4bwy1x5.js} +1 -1
- package/dist/chunks/{workspace-hkg4r61w.js → snapshot-k52aap51.js} +3 -3
- package/dist/chunks/{workspace-gbz1pcbh.js → snapshot-k82hdsgf.js} +36 -36
- package/dist/chunks/{workspace-kg06axw8.js → snapshot-kg06axw8.js} +1 -1
- package/dist/chunks/{workspace-1t1nbvn5.js → snapshot-khgjxg5j.js} +15 -15
- package/dist/chunks/{workspace-yfbd16n1.js → snapshot-kk3rr3qh.js} +5 -5
- package/dist/chunks/{workspace-14e0ksqr.js → snapshot-kkq19pwe.js} +15 -15
- package/dist/chunks/{workspace-mkyvm1mp.js → snapshot-krdrmp6k.js} +6 -6
- package/dist/chunks/{workspace-hw4pv20g.js → snapshot-kvsjn1dr.js} +2 -2
- package/dist/chunks/{workspace-ntkj80nk.js → snapshot-kyp69jz7.js} +23 -23
- package/dist/chunks/{workspace-sdn7expb.js → snapshot-kzh9hg3j.js} +21 -21
- package/dist/chunks/{workspace-5evqdwc0.js → snapshot-m26n0mt4.js} +1 -1
- package/dist/chunks/{workspace-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-2w6bfmvf.js → snapshot-mcxg6pmm.js} +1 -1
- package/dist/chunks/{workspace-1bbkgx8g.js → snapshot-mhkvc446.js} +3 -3
- package/dist/chunks/{workspace-55w7b5d5.js → snapshot-n34rbdfk.js} +11 -11
- package/dist/chunks/{workspace-9hpx3zsm.js → snapshot-nhrj945z.js} +13 -13
- package/dist/chunks/{workspace-40gnxt3q.js → snapshot-njdb3f92.js} +24 -24
- package/dist/chunks/{workspace-bt23vpje.js → snapshot-nm9jv85f.js} +15 -15
- package/dist/chunks/{workspace-ys8tv0st.js → snapshot-np5q7c6h.js} +14 -14
- package/dist/chunks/{workspace-t3yh62b0.js → snapshot-nsf4cs8z.js} +20 -20
- package/dist/chunks/{workspace-pqksgydy.js → snapshot-nsxjf8q8.js} +9 -9
- package/dist/chunks/{workspace-yyh0fd82.js → snapshot-p4gbtxfj.js} +20 -20
- package/dist/chunks/{workspace-6s3t77w5.js → snapshot-p6wpbye8.js} +4 -4
- package/dist/chunks/{workspace-xqrmy91b.js → snapshot-phjaars8.js} +6 -6
- package/dist/chunks/{workspace-14ykvsqn.js → snapshot-pj28qm80.js} +27 -27
- package/dist/chunks/{workspace-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-b4a6kftb.js → snapshot-pvnzwkqh.js} +22 -22
- package/dist/chunks/{workspace-350wk6dc.js → snapshot-q1syfj9h.js} +9 -9
- package/dist/chunks/{workspace-5f8zs254.js → snapshot-q2yg2hn2.js} +16 -16
- package/dist/chunks/{workspace-8dpj5jx0.js → snapshot-qc574zq9.js} +24 -24
- package/dist/chunks/{workspace-9qdpx948.js → snapshot-qcdzc0mg.js} +281 -281
- package/dist/chunks/{workspace-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-qjrm34bp.js → snapshot-r1b1a3g7.js} +2 -2
- package/dist/chunks/{workspace-3wgash5j.js → snapshot-r3j4zcsz.js} +11 -11
- package/dist/chunks/{workspace-p870xxwd.js → snapshot-r6a4t45w.js} +9 -9
- package/dist/chunks/{workspace-r8dhm0tv.js → snapshot-r8dhm0tv.js} +1 -1
- package/dist/chunks/{workspace-4dg124c5.js → snapshot-rf80fxgj.js} +5 -5
- package/dist/chunks/{workspace-pcxb50d4.js → snapshot-rfsvyd0s.js} +47 -47
- package/dist/chunks/{workspace-2ssfnbgs.js → snapshot-rk3vsmk1.js} +32 -32
- package/dist/chunks/{workspace-aj7d9r5a.js → snapshot-rmy3e5eg.js} +3 -3
- package/dist/chunks/{workspace-zv2v2r4h.js → snapshot-rnh6xgbj.js} +9 -9
- package/dist/chunks/{workspace-gsk84g46.js → snapshot-rpqxkfax.js} +16 -16
- package/dist/chunks/{workspace-b1wk0f2e.js → snapshot-rr2wt9g3.js} +4 -4
- package/dist/chunks/{workspace-m2kyj3pe.js → snapshot-rt5mg7ap.js} +18 -18
- package/dist/chunks/{workspace-9d4vrqc0.js → snapshot-rvn46zq7.js} +9 -9
- package/dist/chunks/{workspace-69wmbgv2.js → snapshot-rxez074z.js} +8 -8
- package/dist/chunks/{workspace-pt7wq7x0.js → snapshot-s3eqpch7.js} +1 -1
- package/dist/chunks/{workspace-efbfh6n7.js → snapshot-s6mezzk6.js} +26 -26
- package/dist/chunks/{workspace-9ttf5dzm.js → snapshot-s8tapej7.js} +15 -15
- package/dist/chunks/{workspace-w9fnv673.js → snapshot-s9h5m00v.js} +13 -13
- package/dist/chunks/{workspace-sba4qhjf.js → snapshot-sba4qhjf.js} +1 -1
- package/dist/chunks/{workspace-xc5sx9yh.js → snapshot-sq1qfdcx.js} +19 -19
- package/dist/chunks/{workspace-vhr5dwb3.js → snapshot-sye0sxh5.js} +54 -54
- package/dist/chunks/{workspace-qmd64t15.js → snapshot-t2x6412b.js} +35 -35
- package/dist/chunks/{workspace-e4n35891.js → snapshot-t7ntjgqm.js} +4 -4
- package/dist/chunks/{workspace-debn2ac6.js → snapshot-taprez3w.js} +24 -24
- package/dist/chunks/{workspace-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-atrh1qrd.js → snapshot-tbez7bkj.js} +21 -21
- package/dist/chunks/{workspace-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-dndp70pv.js → snapshot-tdtndvgk.js} +23 -23
- package/dist/chunks/{workspace-bphmvjfp.js → snapshot-thfv75je.js} +5 -5
- package/dist/chunks/{workspace-tjykrgmx.js → snapshot-tjykrgmx.js} +1 -1
- package/dist/chunks/{workspace-m1wfp3t7.js → snapshot-tx13maxa.js} +7 -7
- package/dist/chunks/{workspace-px14sdfk.js → snapshot-v8kr41bc.js} +163 -163
- package/dist/chunks/{workspace-j90k6w45.js → snapshot-vjnzdbs1.js} +24 -24
- package/dist/chunks/snapshot-vx3v7ac4.js +247 -0
- package/dist/chunks/{workspace-m0hhfb99.js → snapshot-vx4z4dg3.js} +8 -8
- package/dist/chunks/{workspace-jrrv38ty.js → snapshot-vxs7c9nc.js} +8 -8
- package/dist/chunks/{workspace-seets54z.js → snapshot-vzw25apb.js} +22 -22
- package/dist/chunks/{workspace-f38c1aq1.js → snapshot-w1rf54vf.js} +41 -41
- package/dist/chunks/{workspace-z1ge9h94.js → snapshot-w3716ws0.js} +18 -18
- package/dist/chunks/{workspace-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-7m9ka41z.js → snapshot-wgxn7ww3.js} +4 -4
- package/dist/chunks/{workspace-ecterdbk.js → snapshot-wkj9r7tb.js} +9 -9
- package/dist/chunks/{workspace-xxjj2aym.js → snapshot-wt7fpkaj.js} +4 -4
- package/dist/chunks/{workspace-a9zfrvqc.js → snapshot-ww8c32hp.js} +5 -5
- package/dist/chunks/{workspace-qgdqpbvz.js → snapshot-x0dsmf4a.js} +4 -4
- package/dist/chunks/{workspace-6xyzxqae.js → snapshot-x11vht6e.js} +21 -21
- package/dist/chunks/{workspace-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-f5frmbwp.js → snapshot-x1r7j348.js} +24 -24
- package/dist/chunks/{workspace-0f53zsz5.js → snapshot-x56sdpkd.js} +23 -23
- package/dist/chunks/{workspace-yrtbee6v.js → snapshot-xb42cs18.js} +19 -19
- package/dist/chunks/{workspace-4ertttby.js → snapshot-xf8qs1vs.js} +14 -14
- package/dist/chunks/{workspace-jnmmvqjs.js → snapshot-xqsy6kp0.js} +1 -1
- package/dist/chunks/{workspace-w3yb96n9.js → snapshot-xqvq1gp2.js} +6 -6
- package/dist/chunks/{workspace-1wpbnn2f.js → snapshot-xy8mrpas.js} +31 -31
- package/dist/chunks/{workspace-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-pm2kz5s1.js → snapshot-y3wvjc89.js} +25 -25
- package/dist/chunks/{workspace-d1eppzy1.js → snapshot-y5z2kr99.js} +8 -8
- package/dist/chunks/{workspace-bbfgj5dt.js → snapshot-y9j759kk.js} +4 -4
- package/dist/chunks/{workspace-aehxssp2.js → snapshot-ydcf169n.js} +50 -50
- package/dist/chunks/{workspace-e6e5s9wz.js → snapshot-ykcesz1b.js} +4 -4
- package/dist/chunks/{workspace-9sph3y7n.js → snapshot-yr8e0x07.js} +6 -6
- package/dist/chunks/{workspace-z1k01bn4.js → snapshot-z1k01bn4.js} +2 -2
- package/dist/chunks/{workspace-t8mm9h73.js → snapshot-z709tr9t.js} +9 -9
- package/dist/chunks/{workspace-42tkewwq.js → snapshot-zbb8jze7.js} +4 -4
- package/dist/chunks/{workspace-vn3245c3.js → snapshot-ze6tjmy9.js} +13 -13
- package/dist/chunks/{workspace-4h8k6c24.js → snapshot-zgtv7e6z.js} +75 -75
- package/dist/chunks/{workspace-zajwd6at.js → snapshot-zn2pq4p8.js} +5 -5
- package/dist/chunks/{workspace-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- 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 +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +151 -151
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +113 -113
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- 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 +355 -355
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +214 -214
- 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 +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- 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 +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +81 -81
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +79 -79
- package/dist/location-services.js +346 -346
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- 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 +85 -85
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- 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 +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- 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 +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +4 -4
- 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 +111 -111
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- 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 +123 -123
- package/dist/session/context.js +141 -141
- 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 +213 -213
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +124 -124
- 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 +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- 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 +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +203 -203
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- 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 +119 -119
- 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 +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 +118 -118
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +5 -5
- 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 +72 -72
- 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 +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/workspace-4v7qdvcn.js +0 -18
- package/dist/chunks/workspace-c249zhh8.js +0 -22
- package/dist/chunks/workspace-qjsjjfeh.js +0 -247
- /package/dist/chunks/{workspace-0fabt78z.js → snapshot-0fabt78z.js} +0 -0
- /package/dist/chunks/{workspace-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3t738kvx.js → snapshot-3t738kvx.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-41nvscxy.js → snapshot-41nvscxy.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-7zk4hah4.js → snapshot-7zk4hah4.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-982e01ww.js → snapshot-982e01ww.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a1tpkmh4.js → snapshot-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mntxs535.js → snapshot-mntxs535.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-p8qxwesx.js → snapshot-p8qxwesx.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qq0tkz6q.js → snapshot-qq0tkz6q.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-se0s1eqw.js → snapshot-se0s1eqw.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x1b8g1yb.js → snapshot-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
- /package/dist/chunks/{workspace-zbjnn3ac.js → snapshot-zbjnn3ac.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID17
|
|
3
|
+
} from "./snapshot-3wfq9j39.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./snapshot-b5nt20nh.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-6bfzq12e.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make3(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service67;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID17.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make3();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make3, VLLMPlugin2 };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-cz8dd9bg.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-x0dsmf4a.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/credential.ts
|
|
17
17
|
var exports_credential = {};
|
|
18
18
|
__export(exports_credential, {
|
|
19
19
|
Credential: () => exports_credential,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event20,
|
|
21
|
+
ID: () => ID16,
|
|
22
|
+
Info: () => Info30,
|
|
23
23
|
Key: () => Key4,
|
|
24
24
|
OAuth: () => OAuth3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service78,
|
|
26
26
|
Value: () => Value2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node83
|
|
28
28
|
});
|
|
29
29
|
import { asc, desc, eq } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { Credential } from "@opencode-ai/schema/credential";
|
|
32
32
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
34
|
-
var
|
|
34
|
+
var ID16 = Credential.ID;
|
|
35
35
|
var OAuth3 = Credential.OAuth;
|
|
36
36
|
var Key4 = Credential.Key;
|
|
37
37
|
var Value2 = Credential.Value;
|
|
38
|
-
var
|
|
38
|
+
var Event20 = Credential.Event;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info30 extends Schema.Class("Credential.Info")({
|
|
41
|
+
id: ID16,
|
|
42
42
|
integrationID: Integration.ID,
|
|
43
43
|
label: Schema.String,
|
|
44
44
|
value: Value2
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
51
51
|
const db = (yield* Service80).db;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
53
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
54
54
|
const stored = (row) => {
|
|
55
55
|
if (!row.integration_id)
|
|
56
56
|
return;
|
|
57
|
-
return new
|
|
57
|
+
return new Info30({
|
|
58
58
|
id: row.id,
|
|
59
59
|
integrationID: row.integration_id,
|
|
60
60
|
label: row.label,
|
|
@@ -65,7 +65,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
65
65
|
const credential = stored(row);
|
|
66
66
|
return credential ? [credential] : [];
|
|
67
67
|
});
|
|
68
|
-
return
|
|
68
|
+
return Service78.of({
|
|
69
69
|
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))),
|
|
70
70
|
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))),
|
|
71
71
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -73,8 +73,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
73
73
|
return row ? stored(row) : undefined;
|
|
74
74
|
}),
|
|
75
75
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
76
|
-
const credential = new
|
|
77
|
-
id:
|
|
76
|
+
const credential = new Info30({
|
|
77
|
+
id: ID16.create(),
|
|
78
78
|
integrationID: input.integrationID,
|
|
79
79
|
label: input.label ?? "default",
|
|
80
80
|
value: input.value
|
|
@@ -89,8 +89,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
89
89
|
active: true
|
|
90
90
|
}).run();
|
|
91
91
|
})).pipe(Effect.orDie);
|
|
92
|
-
yield* bus.publish(
|
|
93
|
-
yield* bus.publish(
|
|
92
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
93
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
94
94
|
return credential;
|
|
95
95
|
}),
|
|
96
96
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
106
106
|
return credential.integration_id;
|
|
107
107
|
})).pipe(Effect.orDie);
|
|
108
108
|
if (integrationID)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
110
110
|
}),
|
|
111
111
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
112
112
|
if (updates.label === undefined && updates.value === undefined)
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
yield* db.update(CredentialTable2).set({ label: updates.label, value: updates.value }).where(eq(CredentialTable2.id, id)).run().pipe(Effect.orDie);
|
|
120
120
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
121
|
-
yield* bus.publish(
|
|
121
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
122
122
|
}),
|
|
123
123
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
124
124
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -142,12 +142,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
142
142
|
})).pipe(Effect.orDie);
|
|
143
143
|
if (!removed)
|
|
144
144
|
return;
|
|
145
|
-
yield* bus.publish(
|
|
145
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
146
146
|
if (removed.switched)
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
}));
|
|
151
|
-
var
|
|
151
|
+
var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
|
|
152
152
|
|
|
153
|
-
export {
|
|
153
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info30, Service78, node83, exports_credential };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-cz8dd9bg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-x0dsmf4a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./snapshot-enw72f67.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-p8qxwesx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service61
|
|
16
|
+
} from "./snapshot-63a4ghrn.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-mntxs535.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-982e01ww.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-tx13maxa.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./snapshot-hrvm11jt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service42;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service61;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID9.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service42;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service61;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID9.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID9.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-x0dsmf4a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID18
|
|
6
|
+
} from "./snapshot-4z6b0fg6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID17
|
|
9
|
+
} from "./snapshot-3wfq9j39.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event20
|
|
12
|
+
} from "./snapshot-8hmtjkv1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID10
|
|
15
|
+
} from "./snapshot-cj76ygdh.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service54
|
|
18
|
+
} from "./snapshot-x11vht6e.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get3
|
|
21
|
+
} from "./snapshot-hzecryb5.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID18.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
30
|
+
const catalog = yield* Service54;
|
|
31
31
|
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
|
|
|
47
47
|
loaded.baseURL = baseURL;
|
|
48
48
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
|
|
49
49
|
loaded.models = yield* Effect.tryPromise({
|
|
50
|
-
try: () =>
|
|
50
|
+
try: () => get3(baseURL, apiKey, existing),
|
|
51
51
|
catch: (cause) => cause
|
|
52
52
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
53
53
|
});
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID17.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-x0dsmf4a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./snapshot-dbgrqn4f.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service31
|
|
10
|
+
} from "./snapshot-7q5r2wtw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin12
|
|
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 Plugin12 = 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* Service75;
|
|
200
|
+
const mcp = yield* Service31;
|
|
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 { Plugin12, exports_command };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-ga58qvp2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin7
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode-ai/ai";
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin7 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin7, exports_plan };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-x0dsmf4a.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-p8qxwesx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
Ref3,
|
|
11
|
+
Service75,
|
|
12
|
+
node80
|
|
13
|
+
} from "./snapshot-dbgrqn4f.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service22,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node26
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode-ai/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode-ai/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
29
29
|
import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service22 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
44
|
+
const location = yield* Service75;
|
|
45
|
+
const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const callContext = {
|
|
47
47
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
48
48
|
};
|
|
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
81
81
|
const event = registered.event;
|
|
82
82
|
const data = yield* encode(event.schema, args[1]);
|
|
83
83
|
return yield* bus.publish(registered.definition, data, {
|
|
84
|
-
location:
|
|
84
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
85
85
|
}).pipe(Effect.asVoid);
|
|
86
86
|
})
|
|
87
87
|
}
|
|
@@ -115,19 +115,19 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
115
115
|
const registered = events.get(name);
|
|
116
116
|
if (!registered)
|
|
117
117
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
118
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
118
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
};
|
|
123
|
-
return
|
|
123
|
+
return Service22.of({ register, call, client });
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
125
|
+
var node26 = makeLocationNode({ service: Service22, layer, deps: [node84, node80] });
|
|
126
126
|
var fields = {
|
|
127
127
|
id: Event.ID,
|
|
128
128
|
created: Schema.Finite,
|
|
129
129
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
130
|
-
location: optional2(
|
|
130
|
+
location: optional2(Ref3)
|
|
131
131
|
};
|
|
132
132
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
133
133
|
var jsonSchemas = new WeakMap;
|
|
@@ -203,8 +203,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
203
203
|
...payload,
|
|
204
204
|
type: eventType(definition, name),
|
|
205
205
|
data,
|
|
206
|
-
location:
|
|
206
|
+
location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
207
207
|
};
|
|
208
208
|
});
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { Service22, node26, exports_rpc, define2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-x0dsmf4a.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./snapshot-8hmtjkv1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-cj76ygdh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID18,
|
|
14
14
|
aisdk2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-4z6b0fg6.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/provider/opencode.ts
|
|
20
20
|
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
44
44
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
45
45
|
function oauth(http) {
|
|
46
46
|
return {
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID10.make("opencode"),
|
|
48
48
|
method: {
|
|
49
49
|
id: methodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
|
|
|
112
112
|
catalog.provider.update(providerID, (provider) => {
|
|
113
113
|
if (source && source.provider !== provider)
|
|
114
114
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
115
|
-
provider.integrationID =
|
|
115
|
+
provider.integrationID = ID10.make("opencode");
|
|
116
116
|
if (item.canonical !== undefined)
|
|
117
117
|
provider.canonical = item.canonical;
|
|
118
118
|
if (item.name !== undefined)
|
|
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
|
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
const item = catalog.provider.get(
|
|
178
|
+
const item = catalog.provider.get(ID18.opencode);
|
|
179
179
|
if (!item)
|
|
180
180
|
return;
|
|
181
181
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
|
|
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
|
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
202
|
function fetchProviders(http, value) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-r8dhm0tv.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|