@opencode-ai/core 0.0.0-dev-19153 → 0.0.0-dev-19156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{workspace-ecterdbk.js → project-01bkck51.js} +7 -7
- package/dist/chunks/{workspace-px14sdfk.js → project-02d861q2.js} +167 -167
- package/dist/chunks/{workspace-gka3rngk.js → project-034avdr0.js} +7 -7
- package/dist/chunks/{workspace-nbrk7b4a.js → project-0ah0hhf7.js} +83 -83
- package/dist/chunks/{workspace-0e0xafbb.js → project-0e0xafbb.js} +2 -2
- package/dist/chunks/{workspace-e1hrx4vk.js → project-0ez61b8c.js} +2 -2
- package/dist/chunks/{workspace-a79ethms.js → project-0m27f3z9.js} +28 -28
- package/dist/chunks/{workspace-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0s9ayhjt.js → project-0s9ayhjt.js} +1 -1
- package/dist/chunks/{workspace-2ssfnbgs.js → project-0v78h34c.js} +30 -30
- package/dist/chunks/{workspace-756g9d8p.js → project-0xzaw6ks.js} +32 -32
- package/dist/chunks/{workspace-1hy241bm.js → project-14hmenm3.js} +3 -3
- package/dist/chunks/{workspace-aa7cxt5r.js → project-15wzdw6v.js} +22 -22
- package/dist/chunks/{workspace-wrk2wmqj.js → project-18fxzypp.js} +32 -32
- package/dist/chunks/{workspace-1ct4r87x.js → project-1ct4r87x.js} +1 -1
- package/dist/chunks/{workspace-kj09bn6f.js → project-1mf5h48w.js} +26 -26
- package/dist/chunks/{workspace-z1ge9h94.js → project-1n1jj9nh.js} +16 -16
- package/dist/chunks/{workspace-28pcbh69.js → project-1z80kc63.js} +8 -8
- package/dist/chunks/{workspace-5gewddrw.js → project-1z9cj5ba.js} +24 -24
- package/dist/chunks/{workspace-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-6h73sxmp.js → project-2402vzrj.js} +5 -5
- package/dist/chunks/{workspace-z63w68vq.js → project-29x78va6.js} +6 -6
- package/dist/chunks/{workspace-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-2ht70gj7.js → project-2ht70gj7.js} +1 -1
- package/dist/chunks/{workspace-2jqmte8w.js → project-2jqmte8w.js} +2 -2
- package/dist/chunks/{workspace-5f8zs254.js → project-2mhfs5q3.js} +24 -24
- package/dist/chunks/{workspace-qfr5gq21.js → project-2nyjv4tn.js} +25 -25
- package/dist/chunks/{workspace-gsk84g46.js → project-386fwgkb.js} +14 -14
- package/dist/chunks/{workspace-m0hhfb99.js → project-3f1fahkb.js} +3 -3
- package/dist/chunks/{workspace-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-j67kztky.js → project-3gb8da74.js} +25 -25
- package/dist/chunks/{workspace-760mpvsy.js → project-3gvyd9sj.js} +11 -11
- package/dist/chunks/{workspace-2168rw8s.js → project-3gzwtf0m.js} +11 -11
- package/dist/chunks/{workspace-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-3vf1aewa.js → project-3qbm7gcq.js} +9 -9
- package/dist/chunks/{workspace-3qzbfqsy.js → project-3qzbfqsy.js} +2 -2
- package/dist/chunks/{workspace-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-qjrm34bp.js → project-3ts2s5hq.js} +2 -2
- package/dist/chunks/{workspace-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-k47rhfy9.js → project-3wfq9j39.js} +12 -12
- package/dist/chunks/{workspace-w9fnv673.js → project-3ya5ae2n.js} +13 -13
- package/dist/chunks/{workspace-42tkewwq.js → project-42tkewwq.js} +1 -1
- package/dist/chunks/{workspace-454k5vzh.js → project-454k5vzh.js} +1 -1
- package/dist/chunks/{workspace-m7sqfb9n.js → project-4ca09qym.js} +16 -16
- package/dist/chunks/{workspace-89zqf0rn.js → project-4etyd0fm.js} +50 -50
- package/dist/chunks/{workspace-z4gv7xzk.js → project-4fs3y63r.js} +5 -5
- package/dist/chunks/{workspace-4r2nyarf.js → project-4r2nyarf.js} +1 -1
- package/dist/chunks/{workspace-fyy5qkk9.js → project-4rp5nxr4.js} +11 -11
- package/dist/chunks/{workspace-4x0nmcjx.js → project-4x0nmcjx.js} +2 -2
- package/dist/chunks/{workspace-dndp70pv.js → project-4yyr5k4w.js} +21 -21
- package/dist/chunks/{workspace-rvb2zp0m.js → project-4z6b0fg6.js} +6 -6
- package/dist/chunks/{workspace-yjw1hky4.js → project-540sgnmq.js} +12 -12
- package/dist/chunks/{workspace-90xq7qht.js → project-588tde0n.js} +6 -6
- package/dist/chunks/{workspace-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-5fmxt4p5.js → project-5fmxt4p5.js} +1 -1
- package/dist/chunks/{workspace-5jvc5tg2.js → project-5jvc5tg2.js} +1 -1
- package/dist/chunks/{workspace-yj3e99fm.js → project-5k3f87xj.js} +1 -1
- package/dist/chunks/{workspace-1wpbnn2f.js → project-5q13jbpt.js} +27 -27
- package/dist/chunks/{workspace-j935v87r.js → project-5qd3pb7m.js} +2 -2
- package/dist/chunks/{workspace-cv7z4kpf.js → project-5r0281mc.js} +26 -26
- package/dist/chunks/{workspace-w3yb96n9.js → project-5r63jwgm.js} +6 -6
- package/dist/chunks/{workspace-t4xwbtzq.js → project-5tdb34ft.js} +12 -12
- package/dist/chunks/{workspace-a7adp6am.js → project-5vy9097q.js} +20 -20
- package/dist/chunks/{workspace-jrrv38ty.js → project-63kprq0x.js} +11 -11
- package/dist/chunks/{workspace-e4n35891.js → project-672ayryn.js} +6 -6
- package/dist/chunks/{workspace-vn3245c3.js → project-68zcrnwe.js} +13 -13
- package/dist/chunks/{workspace-40gnxt3q.js → project-6g2b1h2f.js} +22 -22
- package/dist/chunks/{workspace-wb3m83k0.js → project-6mhw42et.js} +17 -17
- package/dist/chunks/{workspace-5fs88ahy.js → project-6r57ejh6.js} +16 -16
- package/dist/chunks/{workspace-d1eppzy1.js → project-6z35e8ak.js} +11 -11
- package/dist/chunks/{workspace-saak5ttd.js → project-6z5bwd8g.js} +6 -6
- package/dist/chunks/{workspace-xnvap4wk.js → project-70weh3r3.js} +5 -5
- package/dist/chunks/{workspace-711hfp6y.js → project-711hfp6y.js} +2 -2
- package/dist/chunks/{workspace-72nftnjy.js → project-72nftnjy.js} +2 -2
- package/dist/chunks/{workspace-qa85yw4y.js → project-74vgj9a4.js} +10 -10
- package/dist/chunks/{workspace-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-0jwsre1p.js → project-7dqw4kz8.js} +5 -5
- package/dist/chunks/{workspace-scsyzxzw.js → project-7fz5dqkd.js} +11 -11
- package/dist/chunks/{workspace-sa0pctfm.js → project-7g9a55ck.js} +4 -4
- package/dist/chunks/{workspace-xxjj2aym.js → project-7hdf4603.js} +6 -6
- package/dist/chunks/{workspace-dhdg3mzn.js → project-7nv9qkpt.js} +19 -19
- package/dist/chunks/{workspace-v8xer3dx.js → project-7pxv369y.js} +17 -17
- package/dist/chunks/{workspace-0rwgbq6e.js → project-7sqp221s.js} +6 -6
- package/dist/chunks/{workspace-2kp05069.js → project-7vafhbq8.js} +10 -10
- package/dist/chunks/{workspace-1bbkgx8g.js → project-7yh4e7ss.js} +3 -3
- package/dist/chunks/{workspace-0ft9cg2j.js → project-7yqjxrmz.js} +6 -6
- package/dist/chunks/{workspace-55w7b5d5.js → project-84dq34ya.js} +11 -11
- package/dist/chunks/project-86ccwtvh.js +247 -0
- package/dist/chunks/{workspace-qs4avvkb.js → project-86s3977f.js} +1 -1
- package/dist/chunks/{workspace-xc5sx9yh.js → project-8yqgczy1.js} +27 -27
- package/dist/chunks/{workspace-93a8yfjt.js → project-93a8yfjt.js} +2 -2
- package/dist/chunks/{workspace-jtqgarc5.js → project-9a0e6p5v.js} +38 -38
- package/dist/chunks/{workspace-xtvwy747.js → project-9a6g5cj5.js} +11 -11
- package/dist/chunks/{workspace-rwkt33rf.js → project-9ahz4f84.js} +37 -37
- package/dist/chunks/{workspace-9nvrza8s.js → project-9bqp65ea.js} +6 -6
- package/dist/chunks/{workspace-qb47n0b0.js → project-9pnczdbs.js} +11 -11
- package/dist/chunks/{workspace-pj6fam98.js → project-9v3vne64.js} +19 -19
- package/dist/chunks/{workspace-01ranzbk.js → project-9v8853xv.js} +15 -15
- package/dist/chunks/{workspace-w05tx3pg.js → project-9xkpfq4j.js} +10 -10
- package/dist/chunks/{workspace-f88nnjjf.js → project-a0zxnn01.js} +10 -10
- package/dist/chunks/{workspace-350wk6dc.js → project-a6zy3vty.js} +9 -9
- package/dist/chunks/{workspace-sh7bh2kf.js → project-aa3g7qm9.js} +5 -5
- package/dist/chunks/{workspace-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-yxae0rkk.js → project-abgdk844.js} +14 -14
- package/dist/chunks/{workspace-sbcqr78w.js → project-af49zwzh.js} +56 -56
- package/dist/chunks/{workspace-mnsp2bby.js → project-ah9hrena.js} +4 -4
- package/dist/chunks/{workspace-q059vqcc.js → project-asv0evzq.js} +4 -4
- package/dist/chunks/{workspace-hrccczz7.js → project-b3xfjhmh.js} +46 -46
- package/dist/chunks/{workspace-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-b9wsbatv.js → project-b9wsbatv.js} +1 -1
- package/dist/chunks/{workspace-bphmvjfp.js → project-bcezcar3.js} +5 -5
- package/dist/chunks/{workspace-efbfh6n7.js → project-bcvvvbt6.js} +28 -28
- package/dist/chunks/{workspace-1f74nbrw.js → project-bk2yksb6.js} +17 -17
- package/dist/chunks/{workspace-f38c1aq1.js → project-bkk7fxgm.js} +39 -39
- package/dist/chunks/{workspace-f5frmbwp.js → project-bkwads9p.js} +24 -24
- package/dist/chunks/{workspace-h9xf66gq.js → project-brt6cdck.js} +24 -24
- package/dist/chunks/{workspace-y6vm5g8a.js → project-bvc24bk4.js} +7 -7
- package/dist/chunks/{workspace-4h8k6c24.js → project-bwrkx5bm.js} +79 -79
- package/dist/chunks/{workspace-qgdqpbvz.js → project-by69x398.js} +4 -4
- package/dist/chunks/{workspace-7bk6c1pn.js → project-c077wq0c.js} +7 -7
- package/dist/chunks/{workspace-e2m76334.js → project-c4rjvv57.js} +20 -20
- package/dist/chunks/{workspace-yyh0fd82.js → project-c9y6dtct.js} +18 -18
- package/dist/chunks/{workspace-nvzmp878.js → project-cb9z6f3t.js} +11 -11
- package/dist/chunks/{workspace-qj045n01.js → project-czt9rhrr.js} +10 -10
- package/dist/chunks/{workspace-bt23vpje.js → project-d1zd9k63.js} +21 -21
- package/dist/chunks/{workspace-14ykvsqn.js → project-d7zq47xp.js} +27 -27
- package/dist/chunks/{workspace-j83byb14.js → project-dfe8djrf.js} +4 -4
- package/dist/chunks/{workspace-z3xgatyd.js → project-djtdz80w.js} +4 -4
- package/dist/chunks/{workspace-seets54z.js → project-dsrxv7tm.js} +28 -28
- package/dist/chunks/{workspace-debn2ac6.js → project-dt2gfjmt.js} +26 -26
- package/dist/chunks/{workspace-768z0hjh.js → project-e5b0qn1c.js} +1 -1
- package/dist/chunks/{workspace-qc5kqrcq.js → project-e5ge20y1.js} +7 -7
- package/dist/chunks/{workspace-bbfgj5dt.js → project-e5pxfhgv.js} +4 -4
- package/dist/chunks/{workspace-5160spka.js → project-eevhq3pf.js} +7 -7
- package/dist/chunks/{workspace-acnp2grr.js → project-efztmp9c.js} +7 -7
- package/dist/chunks/{workspace-gbz1pcbh.js → project-env96yqd.js} +34 -34
- package/dist/chunks/{workspace-2pgk7vty.js → project-f0pb9asw.js} +2 -2
- package/dist/chunks/{workspace-35cnj8n6.js → project-f1kgb3zy.js} +17 -17
- package/dist/chunks/{workspace-aehxssp2.js → project-fdkqcxv1.js} +50 -50
- package/dist/chunks/{workspace-fehrn2qm.js → project-fehrn2qm.js} +1 -1
- package/dist/chunks/{workspace-pcxb50d4.js → project-fj1qy593.js} +46 -46
- package/dist/chunks/{workspace-6s3t77w5.js → project-fqyt1s21.js} +4 -4
- package/dist/chunks/{workspace-yv78zg7h.js → project-frzdq8vs.js} +4 -4
- package/dist/chunks/{workspace-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-fxypknc8.js → project-fxypknc8.js} +1 -1
- package/dist/chunks/{workspace-hrvm11jt.js → project-g2dy4bvs.js} +3 -3
- package/dist/chunks/{workspace-d72308c8.js → project-g2gt0w0k.js} +2 -2
- package/dist/chunks/{workspace-d1a1bt21.js → project-g41n1fn3.js} +5 -5
- package/dist/chunks/{workspace-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-r82mbdvs.js → project-gddt909m.js} +17 -17
- package/dist/chunks/{workspace-xqrmy91b.js → project-gx8hye9g.js} +6 -6
- package/dist/chunks/{workspace-nkcwakxz.js → project-gzbkpp9m.js} +6 -6
- package/dist/chunks/{workspace-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-t3yh62b0.js → project-hca5m9s4.js} +20 -20
- package/dist/chunks/{workspace-heyhwy2w.js → project-heyhwy2w.js} +1 -1
- package/dist/chunks/{workspace-2xn2cc7f.js → project-ht6bcwc7.js} +11 -11
- package/dist/chunks/{workspace-zvkk2fwq.js → project-hve9y82c.js} +43 -43
- package/dist/chunks/{workspace-1fkv9cmy.js → project-hzecryb5.js} +18 -18
- package/dist/chunks/{workspace-0ccbb5fs.js → project-j5snj9e0.js} +7 -7
- package/dist/chunks/{workspace-v7j1z2wq.js → project-jdqrtrpt.js} +5 -5
- package/dist/chunks/{workspace-g7xwt8rt.js → project-jedv6mv7.js} +20 -20
- package/dist/chunks/{workspace-z023xry8.js → project-jgp91ezp.js} +23 -23
- package/dist/chunks/{workspace-a6tbqd0f.js → project-jz2fmcyv.js} +16 -16
- package/dist/chunks/{workspace-k4bwy1x5.js → project-k4bwy1x5.js} +1 -1
- package/dist/chunks/{workspace-k31rb934.js → project-kftbtgp1.js} +15 -15
- package/dist/chunks/{workspace-kg06axw8.js → project-kg06axw8.js} +1 -1
- package/dist/chunks/{workspace-2v5q54hm.js → project-kjdeww6c.js} +28 -28
- package/dist/chunks/{workspace-m2kyj3pe.js → project-kmywj346.js} +24 -24
- package/dist/chunks/{workspace-v56vtys4.js → project-kn8jrryy.js} +33 -33
- package/dist/chunks/{workspace-5evqdwc0.js → project-kq0angdz.js} +1 -1
- package/dist/chunks/{workspace-7nbk4t3q.js → project-kv6t4phg.js} +8 -8
- package/dist/chunks/{workspace-hw4pv20g.js → project-kvsjn1dr.js} +2 -2
- package/dist/chunks/{workspace-m1wfp3t7.js → project-kykq0etn.js} +9 -9
- package/dist/chunks/{workspace-9sph3y7n.js → project-kzstxw0p.js} +6 -6
- package/dist/chunks/{workspace-1t1nbvn5.js → project-m4z37tme.js} +18 -18
- package/dist/chunks/{workspace-jc29952v.js → project-m5svyw2a.js} +10 -10
- package/dist/chunks/{workspace-cbh3af09.js → project-m5yx4v5n.js} +8 -8
- package/dist/chunks/{workspace-rae26gbb.js → project-m75mcjf9.js} +8 -8
- package/dist/chunks/{workspace-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-2w6bfmvf.js → project-mcxg6pmm.js} +1 -1
- package/dist/chunks/{workspace-mkyvm1mp.js → project-mkyvm1mp.js} +2 -2
- package/dist/chunks/project-mzwnbrn9.js +22 -0
- package/dist/chunks/{workspace-ys8tv0st.js → project-n4btqcr5.js} +13 -13
- package/dist/chunks/{workspace-47695va9.js → project-n8bjxsqq.js} +20 -20
- package/dist/chunks/{workspace-djcgb51x.js → project-n9b04kdb.js} +18 -18
- package/dist/chunks/{workspace-w0k1he6w.js → project-na3y75gh.js} +5 -5
- package/dist/chunks/{workspace-ge3y94tk.js → project-nhhtac2h.js} +25 -25
- package/dist/chunks/{workspace-0f53zsz5.js → project-nsen6smj.js} +21 -21
- package/dist/chunks/{workspace-p8g5rzmy.js → project-ntf62gyb.js} +28 -28
- package/dist/chunks/{workspace-atrh1qrd.js → project-ntjv9xv8.js} +24 -24
- package/dist/chunks/{workspace-hkg4r61w.js → project-nwrcb9rc.js} +6 -6
- package/dist/chunks/{workspace-mjzw1bzx.js → project-nxrz604p.js} +5 -5
- package/dist/chunks/{workspace-nf9kpa2n.js → project-ny641hxe.js} +30 -30
- package/dist/chunks/{workspace-11tw25g0.js → project-pah7pk43.js} +4 -4
- package/dist/chunks/{workspace-14e0ksqr.js → project-pax6646z.js} +18 -18
- package/dist/chunks/{workspace-57cygpdy.js → project-phhwd2sf.js} +28 -28
- package/dist/chunks/{workspace-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-sgqkzh53.js → project-pxaf7pxc.js} +5 -5
- package/dist/chunks/{workspace-b4a6kftb.js → project-q0wfms5k.js} +22 -22
- package/dist/chunks/{workspace-4dg124c5.js → project-q17z9dx8.js} +5 -5
- package/dist/chunks/{workspace-zv2v2r4h.js → project-qa4s1ddw.js} +8 -8
- package/dist/chunks/{workspace-7nc35fpj.js → project-qcc87r2a.js} +6 -6
- package/dist/chunks/{workspace-j90k6w45.js → project-qgm72etc.js} +22 -22
- package/dist/chunks/{workspace-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-yrtbee6v.js → project-qshm5y2w.js} +22 -22
- package/dist/chunks/{workspace-9qm9egsn.js → project-qvbcabdc.js} +2 -2
- package/dist/chunks/{workspace-0hs6qkpf.js → project-r4z26qkj.js} +6 -6
- package/dist/chunks/{workspace-na8hr0vp.js → project-r618fnyq.js} +25 -25
- package/dist/chunks/{workspace-r8dhm0tv.js → project-r8dhm0tv.js} +1 -1
- package/dist/chunks/{workspace-ct2bpxfa.js → project-r8rwj543.js} +41 -41
- package/dist/chunks/{workspace-8g5t4xyy.js → project-r92t647s.js} +11 -11
- package/dist/chunks/{workspace-69wmbgv2.js → project-r9gjvh9g.js} +8 -8
- package/dist/chunks/project-rap9a73h.js +18 -0
- package/dist/chunks/{workspace-g8d3gcyj.js → project-ratrq7cm.js} +5 -5
- package/dist/chunks/{workspace-9ttf5dzm.js → project-rbnfday0.js} +17 -17
- package/dist/chunks/{workspace-yhxq7m29.js → project-rem9w6bv.js} +11 -11
- package/dist/chunks/{workspace-sdn7expb.js → project-rewspqe1.js} +21 -21
- package/dist/chunks/{workspace-bth01ppy.js → project-rgfnnwr2.js} +15 -15
- package/dist/chunks/{workspace-aj7d9r5a.js → project-rmy3e5eg.js} +3 -3
- package/dist/chunks/{workspace-vhr5dwb3.js → project-s2skgyz3.js} +62 -62
- package/dist/chunks/{workspace-pt7wq7x0.js → project-s3eqpch7.js} +1 -1
- package/dist/chunks/{workspace-8dpj5jx0.js → project-s3kkbcm8.js} +24 -24
- package/dist/chunks/{workspace-1cngsnb6.js → project-sb910js5.js} +20 -20
- package/dist/chunks/{workspace-sba4qhjf.js → project-sba4qhjf.js} +1 -1
- package/dist/chunks/{workspace-7ar5dmwr.js → project-sbzv84es.js} +9 -9
- package/dist/chunks/{workspace-y171dd4m.js → project-sdpa219q.js} +11 -11
- package/dist/chunks/{workspace-wpjc2q9a.js → project-sfqgw3g7.js} +43 -43
- package/dist/chunks/{workspace-4d8bxmps.js → project-t0ezpshz.js} +3 -3
- package/dist/chunks/{workspace-3wgash5j.js → project-t33fapxs.js} +11 -11
- package/dist/chunks/{workspace-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-k6n1fvnb.js → project-tbqde96v.js} +3 -3
- package/dist/chunks/{workspace-tcezcvh9.js → project-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-dmjtybt2.js → project-th4eash0.js} +29 -29
- package/dist/chunks/{workspace-tjykrgmx.js → project-tjykrgmx.js} +1 -1
- package/dist/chunks/{workspace-hjf2e9et.js → project-tqqej2s1.js} +8 -8
- package/dist/chunks/{workspace-6xyzxqae.js → project-ttvrvkzk.js} +25 -25
- package/dist/chunks/{workspace-9d4vrqc0.js → project-tynz9yxk.js} +9 -9
- package/dist/chunks/{workspace-wsfy2223.js → project-tz4n1mmd.js} +4 -4
- package/dist/chunks/{workspace-pm2kz5s1.js → project-v2dnnkcf.js} +25 -25
- package/dist/chunks/{workspace-t8mm9h73.js → project-v50y3hsc.js} +9 -9
- package/dist/chunks/{workspace-tx0n6h40.js → project-vn8p5h4b.js} +24 -24
- package/dist/chunks/{workspace-0y9x3m2t.js → project-vth5djrq.js} +9 -9
- package/dist/chunks/{workspace-pqksgydy.js → project-vtjrq5wh.js} +9 -9
- package/dist/chunks/{workspace-qq0tkz6q.js → project-vxjsy3ee.js} +3 -3
- package/dist/chunks/{workspace-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-qmd64t15.js → project-w56anntc.js} +28 -28
- package/dist/chunks/{workspace-9hpx3zsm.js → project-wc3ptbv3.js} +10 -10
- package/dist/chunks/{workspace-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-7m9ka41z.js → project-wgxn7ww3.js} +4 -4
- package/dist/chunks/{workspace-0cgwketr.js → project-wk0d65g1.js} +15 -15
- package/dist/chunks/{workspace-hp0zgb07.js → project-x033c5q1.js} +33 -33
- package/dist/chunks/{workspace-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-ntkj80nk.js → project-x6fqe7r4.js} +23 -23
- package/dist/chunks/{workspace-p870xxwd.js → project-xceham4p.js} +9 -9
- package/dist/chunks/{workspace-9qdpx948.js → project-xfwa2p15.js} +290 -290
- package/dist/chunks/{workspace-12ekwz9e.js → project-xg823tta.js} +8 -8
- package/dist/chunks/{workspace-0ck40rgt.js → project-xg8afpkp.js} +35 -35
- package/dist/chunks/{workspace-jnmmvqjs.js → project-xqsy6kp0.js} +1 -1
- package/dist/chunks/{workspace-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-jwcy2c2z.js → project-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-4ertttby.js → project-yaqxaers.js} +14 -14
- package/dist/chunks/{workspace-r9gfrje9.js → project-ye07474k.js} +7 -7
- package/dist/chunks/{workspace-skjkpwv2.js → project-ye66jgnw.js} +16 -16
- package/dist/chunks/{workspace-yfbd16n1.js → project-yfbd16n1.js} +2 -2
- package/dist/chunks/{workspace-ajtjthsy.js → project-yg7sb877.js} +2 -2
- package/dist/chunks/{workspace-e6e5s9wz.js → project-ykcesz1b.js} +4 -4
- package/dist/chunks/{workspace-b1wk0f2e.js → project-ynp9kv4z.js} +4 -4
- package/dist/chunks/{workspace-8pg5w1c0.js → project-ypy57gca.js} +15 -15
- package/dist/chunks/{workspace-a9zfrvqc.js → project-yvfkj8fv.js} +5 -5
- package/dist/chunks/{workspace-fvwrqa71.js → project-yzh7n5zh.js} +15 -15
- package/dist/chunks/{workspace-z1k01bn4.js → project-z1k01bn4.js} +2 -2
- package/dist/chunks/{workspace-pd32dv0s.js → project-z3vp3y7s.js} +30 -30
- package/dist/chunks/{workspace-zajwd6at.js → project-zn2pq4p8.js} +5 -5
- package/dist/chunks/{workspace-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-bk6sw042.js → project-zz9mybgg.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +153 -153
- 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 +114 -114
- package/dist/config/plugin/shell.js +115 -115
- 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 +82 -82
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +352 -352
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +85 -85
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- 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 +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +92 -92
- package/dist/git.js +5 -5
- 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 +1 -1
- package/dist/instance.js +345 -345
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +102 -102
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +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 +5 -5
- 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 +116 -116
- 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 +77 -77
- 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 +2 -2
- package/dist/plugin/update.js +4 -4
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +216 -216
- 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 +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- 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 +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- 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 +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- 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 +5 -5
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +84 -84
- 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 +117 -117
- package/dist/tool/plugin/edit.js +110 -110
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +112 -112
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +210 -210
- 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 +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +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 +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +85 -85
- 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 → project-0fabt78z.js} +0 -0
- /package/dist/chunks/{workspace-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3t738kvx.js → project-3t738kvx.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-41nvscxy.js → project-41nvscxy.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-7zk4hah4.js → project-7zk4hah4.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-982e01ww.js → project-982e01ww.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a1tpkmh4.js → project-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mntxs535.js → project-mntxs535.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-p8qxwesx.js → project-p8qxwesx.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-se0s1eqw.js → project-se0s1eqw.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → project-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x1b8g1yb.js → project-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → project-z9919s4g.js} +0 -0
- /package/dist/chunks/{workspace-zbjnn3ac.js → project-zbjnn3ac.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-by69x398.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-7nv9qkpt.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service19,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured3,
|
|
25
|
+
layer: () => layer9,
|
|
26
|
+
node: () => node23
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode-ai/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode-ai/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service19 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service19.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service55, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer9 = makeLayer();
|
|
259
|
+
var configured3 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service19,
|
|
261
|
+
layer: options === undefined ? layer9 : makeLayer(options),
|
|
262
262
|
deps: [node84, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node23 = configured3();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options3, UnavailableError2, NotFoundError3, Service19, layer9, configured3, node23, exports_persistent_pty, Handoff2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service62
|
|
4
|
+
} from "./project-kmywj346.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service65
|
|
8
|
+
} from "./project-hve9y82c.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-vxjsy3ee.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service49
|
|
14
|
+
} from "./project-rbnfday0.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service59
|
|
18
|
+
} from "./project-af49zwzh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service27
|
|
21
|
+
} from "./project-bwrkx5bm.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./project-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make9
|
|
27
|
+
} from "./project-63kprq0x.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input4,
|
|
36
|
+
Output: () => Output2,
|
|
37
|
+
Plugin: () => Plugin18,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
39
|
description: () => description3,
|
|
40
|
-
name: () =>
|
|
40
|
+
name: () => name4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name4 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input4 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,7 +63,7 @@ var Input9 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output2 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
@@ -77,21 +77,21 @@ var description3 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin18 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service27;
|
|
84
|
+
const jobs = yield* Service49;
|
|
85
|
+
const agents = yield* Service62;
|
|
86
|
+
const config = yield* Service65;
|
|
87
|
+
const permission = yield* Service59;
|
|
88
|
+
const subagents = yield* make9;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name4,
|
|
91
91
|
options: { codemode: false },
|
|
92
92
|
description: description3,
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
93
|
+
input: Input4,
|
|
94
|
+
output: Output2,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin10 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name4,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin10 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID10.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name4];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name4, Input4, Output2, description3, Plugin18, exports_subagent };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./project-hve9y82c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./project-540sgnmq.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin34
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin34 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service65;
|
|
27
|
+
const output = yield* Service48;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin42 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin34, exports_tool_output };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-4z6b0fg6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service53,
|
|
11
|
+
node56
|
|
12
|
+
} from "./project-84dq34ya.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-0ez61b8c.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
VariantID2,
|
|
19
19
|
Ref4
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-3wfq9j39.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service75,
|
|
24
|
+
node80
|
|
25
|
+
} from "./project-phhwd2sf.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service74,
|
|
28
|
+
node79
|
|
29
|
+
} from "./project-ttvrvkzk.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./project-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service52,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
41
41
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
42
42
|
fromCatalogModel: () => fromCatalogModel2,
|
|
43
43
|
hasPackage: () => hasPackage2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer20,
|
|
45
|
+
node: () => node55,
|
|
46
46
|
resolveModel: () => resolveModel2,
|
|
47
47
|
withVariant: () => withVariant2
|
|
48
48
|
});
|
|
@@ -52,8 +52,8 @@ import { Auth } from "@opencode-ai/ai/route";
|
|
|
52
52
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
53
53
|
import { Npm } from "@opencode-ai/util/npm";
|
|
54
54
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
55
|
-
providerID:
|
|
56
|
-
modelID:
|
|
55
|
+
providerID: ID18,
|
|
56
|
+
modelID: ID17,
|
|
57
57
|
variant: VariantID2
|
|
58
58
|
}) {
|
|
59
59
|
get message() {
|
|
@@ -62,8 +62,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
65
|
-
providerID:
|
|
66
|
-
modelID:
|
|
65
|
+
providerID: ID18,
|
|
66
|
+
modelID: ID17,
|
|
67
67
|
package: Schema.String
|
|
68
68
|
}) {
|
|
69
69
|
get message() {
|
|
@@ -72,8 +72,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
75
|
-
providerID:
|
|
76
|
-
modelID:
|
|
75
|
+
providerID: ID18,
|
|
76
|
+
modelID: ID17,
|
|
77
77
|
variables: Schema.Array(Schema.String)
|
|
78
78
|
}) {
|
|
79
79
|
get message() {
|
|
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service52 extends Context.Service()("@opencode/ModelResolver") {
|
|
85
85
|
}
|
|
86
86
|
var withVariant2 = (model, variantID) => {
|
|
87
87
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
203
203
|
});
|
|
204
204
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
205
205
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
206
|
-
var
|
|
207
|
-
const catalog = yield*
|
|
208
|
-
const integrations = yield*
|
|
206
|
+
var layer20 = Layer.effect(Service52, Effect.gen(function* () {
|
|
207
|
+
const catalog = yield* Service74;
|
|
208
|
+
const integrations = yield* Service75;
|
|
209
209
|
const npm = yield* Npm.Service;
|
|
210
|
-
const aisdk = yield*
|
|
210
|
+
const aisdk = yield* Service53;
|
|
211
211
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
212
212
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
213
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
213
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
214
214
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
215
215
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
216
216
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -230,7 +230,7 @@ var layer17 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
230
230
|
limit: selected.limit
|
|
231
231
|
};
|
|
232
232
|
});
|
|
233
|
-
return
|
|
233
|
+
return Service52.of({
|
|
234
234
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
235
235
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
236
236
|
if (!selected)
|
|
@@ -247,10 +247,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
247
247
|
const name = packageName2(packageName);
|
|
248
248
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
|
|
249
249
|
}
|
|
250
|
-
var
|
|
251
|
-
service:
|
|
252
|
-
layer:
|
|
253
|
-
deps: [
|
|
250
|
+
var node55 = makeLocationNode({
|
|
251
|
+
service: Service52,
|
|
252
|
+
layer: layer20,
|
|
253
|
+
deps: [node79, node80, Npm.node, node56]
|
|
254
254
|
});
|
|
255
255
|
|
|
256
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3,
|
|
256
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service52, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node55, exports_model_resolver };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-3gvyd9sj.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-6z5bwd8g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin9,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
16
|
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin9 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -93,4 +93,4 @@ var Plugin19 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export { endpoint5,
|
|
96
|
+
export { endpoint5, Plugin9, exports_parallel };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service40,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node43
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service40 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service40.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node43 = makeGlobalNode({ service: Service40, layer: layer15, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service40, makeLayer2, layer15, node43, exports_model_transport };
|