@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./snapshot-dbgrqn4f.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./snapshot-b5nt20nh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service18
|
|
10
|
+
} from "./snapshot-jn7267xk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make9
|
|
13
|
+
} from "./snapshot-mhkvc446.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin33
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode-ai/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode-ai/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin33 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service67;
|
|
37
|
+
const formatter = yield* Service18;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service75;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin27 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make9({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin27 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin33, exports_formatter };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-cz8dd9bg.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service79,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-x0dsmf4a.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-0e0xafbb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-mntxs535.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-jybhs5dx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
Service51,
|
|
21
21
|
node55
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-b575w93p.js";
|
|
23
23
|
import {
|
|
24
24
|
Service26,
|
|
25
25
|
node30
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-2k8fb2v0.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-tjykrgmx.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service11,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node14
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode-ai/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service11 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
64
|
const context = yield* Service26;
|
|
65
|
-
const store = yield*
|
|
65
|
+
const store = yield* Service51;
|
|
66
66
|
const db = (yield* Service80).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service11.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
150
|
+
var node14 = makeLocationNode({
|
|
151
|
+
service: Service11,
|
|
152
|
+
layer: layer7,
|
|
153
153
|
deps: [node84, llmClient2, node30, node55, node85]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service11, isUntitled2, layer7, node14, exports_title };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service75,
|
|
6
|
+
node80
|
|
7
|
+
} from "./snapshot-dbgrqn4f.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service19,
|
|
10
|
+
node22
|
|
11
|
+
} from "./snapshot-xf8qs1vs.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
24
|
Options: () => Options2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service15,
|
|
26
26
|
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
28
|
layer: () => layer8,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node18,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ var Options2 = Schema.Struct({
|
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const ripgrep = yield* Service19;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service15.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service75;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service15.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service15.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -175,7 +175,7 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
177
|
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
-
const location = yield*
|
|
178
|
+
const location = yield* Service75;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,8 +183,8 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured2(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node80, node22] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node18 = configured2();
|
|
189
189
|
|
|
190
|
-
export { Options2,
|
|
190
|
+
export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node18, exports_search };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-x0dsmf4a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service7,
|
|
7
|
+
node9
|
|
8
|
+
} from "./snapshot-pj28qm80.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service35
|
|
11
|
+
} from "./snapshot-619r8v3y.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
node24,
|
|
14
14
|
ID3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-w3716ws0.js";
|
|
16
16
|
import {
|
|
17
17
|
Service5,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
node7
|
|
19
|
+
} from "./snapshot-759pz1a2.js";
|
|
20
20
|
import {
|
|
21
21
|
requirements2,
|
|
22
22
|
list2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-qcdzc0mg.js";
|
|
24
24
|
import {
|
|
25
25
|
LoadError2,
|
|
26
26
|
load2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./snapshot-2jqmte8w.js";
|
|
28
28
|
import {
|
|
29
29
|
Updated2,
|
|
30
|
-
Service8,
|
|
31
|
-
node11
|
|
32
|
-
} from "./workspace-2kp05069.js";
|
|
33
|
-
import {
|
|
34
30
|
Service4,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
31
|
+
node6
|
|
32
|
+
} from "./snapshot-6vk2ew6f.js";
|
|
33
|
+
import {
|
|
34
|
+
Service3,
|
|
35
|
+
node5
|
|
36
|
+
} from "./snapshot-2dxzc6st.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/plugin/supervisor.ts
|
|
42
42
|
var exports_supervisor = {};
|
|
43
43
|
__export(exports_supervisor, {
|
|
44
44
|
PluginSupervisor: () => exports_supervisor,
|
|
45
|
-
layer: () =>
|
|
46
|
-
node: () =>
|
|
45
|
+
layer: () => layer3,
|
|
46
|
+
node: () => node4
|
|
47
47
|
});
|
|
48
48
|
import { Event } from "@opencode-ai/schema/config";
|
|
49
49
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -121,13 +121,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (pre, post, operat
|
|
|
121
121
|
pending: [...pending]
|
|
122
122
|
};
|
|
123
123
|
});
|
|
124
|
-
var
|
|
125
|
-
const registry = yield*
|
|
126
|
-
const sdk = yield*
|
|
124
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
125
|
+
const registry = yield* Service35;
|
|
126
|
+
const sdk = yield* Service4;
|
|
127
127
|
const instance = yield* Service5;
|
|
128
|
-
const sources = yield*
|
|
128
|
+
const sources = yield* Service7;
|
|
129
129
|
const bus = yield* Service79;
|
|
130
|
-
const updates = yield*
|
|
130
|
+
const updates = yield* Service3;
|
|
131
131
|
const internal = yield* list2();
|
|
132
132
|
let release = yield* registry.hold();
|
|
133
133
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -201,11 +201,11 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
201
201
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
202
202
|
}));
|
|
203
203
|
var nodeDeps = [
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
node8,
|
|
207
|
-
node12,
|
|
204
|
+
node24,
|
|
205
|
+
node6,
|
|
208
206
|
node7,
|
|
207
|
+
node9,
|
|
208
|
+
node5,
|
|
209
209
|
node84,
|
|
210
210
|
Npm.node,
|
|
211
211
|
requirements2
|
|
@@ -215,6 +215,6 @@ function pluginSource(target) {
|
|
|
215
215
|
return { type: "local", path: target };
|
|
216
216
|
return { type: "package", target };
|
|
217
217
|
}
|
|
218
|
-
var
|
|
218
|
+
var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
219
219
|
|
|
220
|
-
export {
|
|
220
|
+
export { layer3, node4, exports_supervisor };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-x0dsmf4a.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./snapshot-8hmtjkv1.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-tbez7bkj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
|
+
ID: () => ID10,
|
|
35
|
+
Info: () => Info13,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
41
|
+
Ref: () => Ref2,
|
|
42
42
|
Service: () => Service62,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node66
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event15 } from "@opencode-ai/schema/integration";
|
|
65
|
+
var ID10 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info13 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,7 +85,7 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
90
|
class Service62 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
@@ -93,7 +93,7 @@ var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
95
|
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
96
|
-
const credentials = yield*
|
|
96
|
+
const credentials = yield* Service78;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info13.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
568
|
+
var node66 = makeLocationNode({
|
|
569
569
|
service: Service62,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node83, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info13, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service62, node66, exports_integration, Event15 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-0y2g5je5.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./snapshot-dbgrqn4f.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./snapshot-x1r7j348.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service19
|
|
15
|
+
} from "./snapshot-xf8qs1vs.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-kzh9hg3j.js";
|
|
22
22
|
import {
|
|
23
23
|
externalDirectoryPermission2,
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service13
|
|
25
|
+
} from "./snapshot-h49q70se.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Service49
|
|
28
|
+
} from "./snapshot-ga58qvp2.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/tool/plugin/glob.ts
|
|
34
34
|
var exports_glob = {};
|
|
35
35
|
__export(exports_glob, {
|
|
36
36
|
GlobTool: () => exports_glob,
|
|
37
|
-
Input: () =>
|
|
38
|
-
Output: () =>
|
|
39
|
-
Plugin: () =>
|
|
40
|
-
name: () =>
|
|
41
|
-
toModelContent: () =>
|
|
37
|
+
Input: () => Input2,
|
|
38
|
+
Output: () => Output2,
|
|
39
|
+
Plugin: () => Plugin15,
|
|
40
|
+
name: () => name2,
|
|
41
|
+
toModelContent: () => toModelContent2
|
|
42
42
|
});
|
|
43
43
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
44
44
|
import { Effect, Schema } from "effect";
|
|
45
45
|
import path from "path";
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var name2 = "glob";
|
|
47
|
+
var Input2 = Schema.Struct({
|
|
48
48
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
49
49
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
50
50
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -56,28 +56,28 @@ var Input7 = Schema.Struct({
|
|
|
56
56
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
|
-
var
|
|
60
|
-
var
|
|
59
|
+
var Output2 = Schema.Array(Entry2);
|
|
60
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
61
61
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
62
62
|
if (truncated)
|
|
63
63
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
64
64
|
return lines.join(`
|
|
65
65
|
`);
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Plugin15 = {
|
|
68
68
|
id: "opencode.tool.glob",
|
|
69
69
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
70
|
-
const environment = yield*
|
|
71
|
-
const ripgrep = yield*
|
|
72
|
-
const location = yield*
|
|
73
|
-
const mutation = yield*
|
|
74
|
-
const permission = yield*
|
|
70
|
+
const environment = yield* Service69;
|
|
71
|
+
const ripgrep = yield* Service19;
|
|
72
|
+
const location = yield* Service75;
|
|
73
|
+
const mutation = yield* Service13;
|
|
74
|
+
const permission = yield* Service49;
|
|
75
75
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
76
|
-
name:
|
|
76
|
+
name: name2,
|
|
77
77
|
options: { codemode: false },
|
|
78
78
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
79
|
-
input:
|
|
80
|
-
output:
|
|
79
|
+
input: Input2,
|
|
80
|
+
output: Output2,
|
|
81
81
|
execute: (input, context) => Effect.gen(function* () {
|
|
82
82
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
83
83
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
@@ -91,7 +91,7 @@ var Plugin8 = {
|
|
|
91
91
|
source
|
|
92
92
|
});
|
|
93
93
|
yield* permission.assert({
|
|
94
|
-
action:
|
|
94
|
+
action: name2,
|
|
95
95
|
resources: [input.pattern],
|
|
96
96
|
save: ["*"],
|
|
97
97
|
metadata: {
|
|
@@ -126,11 +126,11 @@ var Plugin8 = {
|
|
|
126
126
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
127
127
|
}).pipe(Effect.map((result) => ({
|
|
128
128
|
output: result.entries,
|
|
129
|
-
content:
|
|
129
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
130
130
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
131
131
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
132
132
|
})).pipe(Effect.orDie);
|
|
133
133
|
})
|
|
134
134
|
};
|
|
135
135
|
|
|
136
|
-
export {
|
|
136
|
+
export { name2, Input2, Output2, toModelContent2, Plugin15, exports_glob };
|