@opencode-ai/core 0.0.0-dev-19150 → 0.0.0-dev-19153
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/{file-hd1k875y.js → workspace-01ranzbk.js} +15 -15
- package/dist/chunks/{file-n7x59t33.js → workspace-0ccbb5fs.js} +7 -7
- package/dist/chunks/{file-jfa9xx2h.js → workspace-0cgwketr.js} +15 -15
- package/dist/chunks/{file-wq13ba9c.js → workspace-0ck40rgt.js} +35 -35
- package/dist/chunks/{file-0e0xafbb.js → workspace-0e0xafbb.js} +2 -2
- package/dist/chunks/{file-0xjbaykp.js → workspace-0f53zsz5.js} +34 -34
- package/dist/chunks/{file-9z2n9fsv.js → workspace-0ft9cg2j.js} +6 -6
- package/dist/chunks/{file-1z4eqvhn.js → workspace-0hs6qkpf.js} +4 -4
- package/dist/chunks/{file-7dqw4kz8.js → workspace-0jwsre1p.js} +5 -5
- package/dist/chunks/{file-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-eg4pr325.js → workspace-0rwgbq6e.js} +10 -10
- package/dist/chunks/{file-0s9ayhjt.js → workspace-0s9ayhjt.js} +1 -1
- package/dist/chunks/{file-a4qa8wqs.js → workspace-0y9x3m2t.js} +9 -9
- package/dist/chunks/{file-qkzfms5c.js → workspace-11tw25g0.js} +4 -4
- package/dist/chunks/{file-5x78j129.js → workspace-12ekwz9e.js} +8 -8
- package/dist/chunks/{file-rykxkv61.js → workspace-14e0ksqr.js} +16 -16
- package/dist/chunks/{file-7ppgh33j.js → workspace-14ykvsqn.js} +27 -27
- package/dist/chunks/{file-mhkvc446.js → workspace-1bbkgx8g.js} +3 -3
- package/dist/chunks/{file-sb910js5.js → workspace-1cngsnb6.js} +20 -20
- package/dist/chunks/{file-1ct4r87x.js → workspace-1ct4r87x.js} +1 -1
- package/dist/chunks/{file-rr09hbad.js → workspace-1f74nbrw.js} +17 -17
- package/dist/chunks/{file-505p5ry7.js → workspace-1fkv9cmy.js} +9 -9
- package/dist/chunks/{file-1hy241bm.js → workspace-1hy241bm.js} +1 -1
- package/dist/chunks/{file-n8naaz60.js → workspace-1t1nbvn5.js} +18 -18
- package/dist/chunks/{file-pzzt1nm5.js → workspace-1wpbnn2f.js} +29 -29
- package/dist/chunks/{file-qk64c6n5.js → workspace-2168rw8s.js} +14 -14
- package/dist/chunks/{file-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{file-6e958v7x.js → workspace-28pcbh69.js} +4 -4
- package/dist/chunks/{file-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-2ht70gj7.js → workspace-2ht70gj7.js} +1 -1
- package/dist/chunks/{file-2jqmte8w.js → workspace-2jqmte8w.js} +2 -2
- package/dist/chunks/{file-pcbfkwsm.js → workspace-2kp05069.js} +10 -10
- package/dist/chunks/{file-0nwt5npc.js → workspace-2pgk7vty.js} +2 -2
- package/dist/chunks/{file-ys11an52.js → workspace-2ssfnbgs.js} +32 -32
- package/dist/chunks/{file-gc9s900x.js → workspace-2v5q54hm.js} +28 -28
- package/dist/chunks/{file-2w6bfmvf.js → workspace-2w6bfmvf.js} +1 -1
- package/dist/chunks/{file-gv0d5gvs.js → workspace-2xn2cc7f.js} +11 -11
- package/dist/chunks/{file-5k2506g0.js → workspace-350wk6dc.js} +9 -9
- package/dist/chunks/{file-4kkev07m.js → workspace-35cnj8n6.js} +9 -9
- package/dist/chunks/{file-gdvy8fx6.js → workspace-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-3qzbfqsy.js → workspace-3qzbfqsy.js} +2 -2
- package/dist/chunks/{file-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-9fkqqknn.js → workspace-3vf1aewa.js} +9 -9
- package/dist/chunks/{file-9kedy7gd.js → workspace-3wgash5j.js} +11 -11
- package/dist/chunks/{file-ezk10e5s.js → workspace-40gnxt3q.js} +24 -24
- package/dist/chunks/{file-7cnzp9pw.js → workspace-42tkewwq.js} +7 -7
- package/dist/chunks/{file-454k5vzh.js → workspace-454k5vzh.js} +1 -1
- package/dist/chunks/{file-rff1kz51.js → workspace-47695va9.js} +20 -20
- package/dist/chunks/{file-f7m31s7f.js → workspace-4d8bxmps.js} +3 -3
- package/dist/chunks/{file-wr7ps67x.js → workspace-4dg124c5.js} +5 -5
- package/dist/chunks/{file-pkb840qh.js → workspace-4ertttby.js} +14 -14
- package/dist/chunks/{file-6kawr24h.js → workspace-4h8k6c24.js} +84 -84
- package/dist/chunks/{file-4r2nyarf.js → workspace-4r2nyarf.js} +1 -1
- package/dist/chunks/workspace-4v7qdvcn.js +18 -0
- package/dist/chunks/{file-n38qs1ar.js → workspace-4x0nmcjx.js} +9 -9
- package/dist/chunks/{file-kwd9jgre.js → workspace-5160spka.js} +7 -7
- package/dist/chunks/{file-n3rkh788.js → workspace-55w7b5d5.js} +9 -9
- package/dist/chunks/{file-c9ahrne1.js → workspace-57cygpdy.js} +26 -26
- package/dist/chunks/{file-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{file-zm9gec2w.js → workspace-5evqdwc0.js} +1 -1
- package/dist/chunks/{file-bf0m6253.js → workspace-5f8zs254.js} +22 -22
- package/dist/chunks/{file-5fmxt4p5.js → workspace-5fmxt4p5.js} +1 -1
- package/dist/chunks/{file-3bnr94xj.js → workspace-5fs88ahy.js} +16 -16
- package/dist/chunks/{file-ybkqd1n3.js → workspace-5gewddrw.js} +23 -23
- package/dist/chunks/{file-5jvc5tg2.js → workspace-5jvc5tg2.js} +1 -1
- package/dist/chunks/{file-9q0nykm9.js → workspace-69wmbgv2.js} +8 -8
- package/dist/chunks/{file-2402vzrj.js → workspace-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-qtdtxcz9.js → workspace-6s3t77w5.js} +4 -4
- package/dist/chunks/{file-n8b48r5j.js → workspace-6xyzxqae.js} +20 -20
- package/dist/chunks/{file-711hfp6y.js → workspace-711hfp6y.js} +2 -2
- package/dist/chunks/{file-72nftnjy.js → workspace-72nftnjy.js} +2 -2
- package/dist/chunks/{file-hejh15x3.js → workspace-756g9d8p.js} +32 -32
- package/dist/chunks/{file-83ahk2p0.js → workspace-760mpvsy.js} +11 -11
- package/dist/chunks/{file-768z0hjh.js → workspace-768z0hjh.js} +1 -1
- package/dist/chunks/{file-tppvcy65.js → workspace-7ar5dmwr.js} +9 -9
- package/dist/chunks/{file-b6c82h3f.js → workspace-7bk6c1pn.js} +8 -8
- package/dist/chunks/{file-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-1bwaarmf.js → workspace-7m9ka41z.js} +2 -2
- package/dist/chunks/{file-k0gwvm9f.js → workspace-7nbk4t3q.js} +8 -8
- package/dist/chunks/{file-ttbkqz8v.js → workspace-7nc35fpj.js} +4 -4
- package/dist/chunks/workspace-7zk4hah4.js +4 -0
- package/dist/chunks/{file-yz6aw3g1.js → workspace-89zqf0rn.js} +50 -50
- package/dist/chunks/{file-qzds7pp6.js → workspace-8dpj5jx0.js} +24 -24
- package/dist/chunks/{file-zn31ggdh.js → workspace-8g5t4xyy.js} +11 -11
- package/dist/chunks/{file-mzj39jhy.js → workspace-8pg5w1c0.js} +13 -13
- package/dist/chunks/{file-sx5e7ymn.js → workspace-90xq7qht.js} +8 -8
- package/dist/chunks/{file-y2cqme3r.js → workspace-93a8yfjt.js} +5 -5
- package/dist/chunks/{file-1n116cmy.js → workspace-9d4vrqc0.js} +9 -9
- package/dist/chunks/{file-zsqrvtys.js → workspace-9hpx3zsm.js} +13 -13
- package/dist/chunks/{file-t0r5ggak.js → workspace-9nvrza8s.js} +9 -9
- package/dist/chunks/{file-zayyh8v9.js → workspace-9qdpx948.js} +291 -291
- package/dist/chunks/{file-qvbcabdc.js → workspace-9qm9egsn.js} +2 -2
- package/dist/chunks/{file-ftz7gb7p.js → workspace-9sph3y7n.js} +4 -4
- package/dist/chunks/{file-rc7d13hc.js → workspace-9ttf5dzm.js} +17 -17
- package/dist/chunks/{file-299sgebr.js → workspace-a6tbqd0f.js} +17 -17
- package/dist/chunks/{file-y46gx2s1.js → workspace-a79ethms.js} +36 -36
- package/dist/chunks/{file-2teepasw.js → workspace-a7adp6am.js} +20 -20
- package/dist/chunks/{file-0b89de78.js → workspace-a9zfrvqc.js} +5 -5
- package/dist/chunks/{file-cmwz8vwc.js → workspace-aa7cxt5r.js} +24 -24
- package/dist/chunks/{file-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{file-9c3zep2z.js → workspace-acnp2grr.js} +13 -13
- package/dist/chunks/{file-039at7ym.js → workspace-aehxssp2.js} +56 -56
- package/dist/chunks/{file-aj7d9r5a.js → workspace-aj7d9r5a.js} +1 -1
- package/dist/chunks/{file-yg7sb877.js → workspace-ajtjthsy.js} +2 -2
- package/dist/chunks/{file-23k12ske.js → workspace-atrh1qrd.js} +24 -24
- package/dist/chunks/{file-qzq296vy.js → workspace-b1wk0f2e.js} +4 -4
- package/dist/chunks/{file-vvzp1af4.js → workspace-b4a6kftb.js} +11 -11
- package/dist/chunks/{file-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-b9wsbatv.js → workspace-b9wsbatv.js} +1 -1
- package/dist/chunks/{file-x5hde6ee.js → workspace-bbfgj5dt.js} +4 -4
- package/dist/chunks/{file-b3pptd8j.js → workspace-bk6sw042.js} +20 -20
- package/dist/chunks/{file-thfv75je.js → workspace-bphmvjfp.js} +5 -5
- package/dist/chunks/{file-ttmyjys5.js → workspace-bt23vpje.js} +21 -21
- package/dist/chunks/{file-g6mdv268.js → workspace-bth01ppy.js} +15 -15
- package/dist/chunks/workspace-c249zhh8.js +22 -0
- package/dist/chunks/{file-5mm5wtvx.js → workspace-cbh3af09.js} +8 -8
- package/dist/chunks/{file-pjv4tydt.js → workspace-ct2bpxfa.js} +43 -43
- package/dist/chunks/{file-4th2vxgq.js → workspace-cv7z4kpf.js} +26 -26
- package/dist/chunks/{file-d1a1bt21.js → workspace-d1a1bt21.js} +1 -1
- package/dist/chunks/{file-sasz0x9t.js → workspace-d1eppzy1.js} +11 -11
- package/dist/chunks/{file-g2gt0w0k.js → workspace-d72308c8.js} +2 -2
- package/dist/chunks/{file-n74wxmgj.js → workspace-debn2ac6.js} +20 -20
- package/dist/chunks/{file-07zcvmjy.js → workspace-dhdg3mzn.js} +15 -15
- package/dist/chunks/{file-53hzkef1.js → workspace-djcgb51x.js} +14 -14
- package/dist/chunks/{file-xb66abhh.js → workspace-dmjtybt2.js} +27 -27
- package/dist/chunks/{file-4pm2v5we.js → workspace-dndp70pv.js} +23 -23
- package/dist/chunks/{file-e1hrx4vk.js → workspace-e1hrx4vk.js} +2 -2
- package/dist/chunks/{file-8gqmesmq.js → workspace-e2m76334.js} +13 -13
- package/dist/chunks/{file-z4g5hq89.js → workspace-e4n35891.js} +6 -6
- package/dist/chunks/{file-fy6n5twb.js → workspace-e6e5s9wz.js} +4 -4
- package/dist/chunks/{file-gjgqh1yg.js → workspace-ecterdbk.js} +9 -9
- package/dist/chunks/{file-bbmnv4wm.js → workspace-efbfh6n7.js} +29 -29
- package/dist/chunks/{file-5edep437.js → workspace-f38c1aq1.js} +41 -41
- package/dist/chunks/{file-kdbt5zd5.js → workspace-f5frmbwp.js} +23 -23
- package/dist/chunks/{file-s5h19yqx.js → workspace-f88nnjjf.js} +10 -10
- package/dist/chunks/{file-ywabkmpb.js → workspace-fehrn2qm.js} +6 -6
- package/dist/chunks/{file-w7w8snw9.js → workspace-fvwrqa71.js} +20 -20
- package/dist/chunks/{file-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-fxypknc8.js → workspace-fxypknc8.js} +1 -1
- package/dist/chunks/{file-sdmzrqw0.js → workspace-fyy5qkk9.js} +11 -11
- package/dist/chunks/{file-6h024qyg.js → workspace-g7xwt8rt.js} +18 -18
- package/dist/chunks/{file-at5d07az.js → workspace-g8d3gcyj.js} +7 -7
- package/dist/chunks/{file-7c5v0j0c.js → workspace-gbz1pcbh.js} +37 -37
- package/dist/chunks/{file-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-awwf2q6q.js → workspace-ge3y94tk.js} +29 -29
- package/dist/chunks/{file-at276hj9.js → workspace-gka3rngk.js} +15 -15
- package/dist/chunks/{file-gwhj86fb.js → workspace-gsk84g46.js} +11 -11
- package/dist/chunks/{file-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-2cefwke5.js → workspace-h9xf66gq.js} +32 -32
- package/dist/chunks/{file-heyhwy2w.js → workspace-heyhwy2w.js} +1 -1
- package/dist/chunks/{file-yf1j450z.js → workspace-hjf2e9et.js} +8 -8
- package/dist/chunks/{file-cqeq6z68.js → workspace-hkg4r61w.js} +6 -6
- package/dist/chunks/{file-7brcmqak.js → workspace-hp0zgb07.js} +37 -37
- package/dist/chunks/{file-xh8y0k6f.js → workspace-hrccczz7.js} +46 -46
- package/dist/chunks/{file-g2dy4bvs.js → workspace-hrvm11jt.js} +3 -3
- package/dist/chunks/{file-kvsjn1dr.js → workspace-hw4pv20g.js} +2 -2
- package/dist/chunks/{file-vkvd3v5t.js → workspace-j67kztky.js} +28 -28
- package/dist/chunks/{file-1a6p2twq.js → workspace-j83byb14.js} +4 -4
- package/dist/chunks/{file-kj9yw8wr.js → workspace-j90k6w45.js} +22 -22
- package/dist/chunks/{file-5qd3pb7m.js → workspace-j935v87r.js} +2 -2
- package/dist/chunks/{file-d24m0n3t.js → workspace-jc29952v.js} +8 -8
- package/dist/chunks/{file-jnmmvqjs.js → workspace-jnmmvqjs.js} +1 -1
- package/dist/chunks/{file-4bzmj8m7.js → workspace-jrrv38ty.js} +8 -8
- package/dist/chunks/{file-846hz14q.js → workspace-jtqgarc5.js} +39 -39
- package/dist/chunks/{file-y71avatq.js → workspace-jwcy2c2z.js} +4 -4
- package/dist/chunks/{file-yt9k9kep.js → workspace-k31rb934.js} +15 -15
- package/dist/chunks/{file-3mrm2hwf.js → workspace-k47rhfy9.js} +7 -7
- package/dist/chunks/{file-k4bwy1x5.js → workspace-k4bwy1x5.js} +1 -1
- package/dist/chunks/{file-bbe0cwvp.js → workspace-k6n1fvnb.js} +3 -3
- package/dist/chunks/{file-kg06axw8.js → workspace-kg06axw8.js} +1 -1
- package/dist/chunks/{file-wp44g4g0.js → workspace-kj09bn6f.js} +33 -33
- package/dist/chunks/{file-0f1c069v.js → workspace-m0hhfb99.js} +11 -11
- package/dist/chunks/{file-rwffmz6f.js → workspace-m1wfp3t7.js} +9 -9
- package/dist/chunks/{file-wvjdj7gf.js → workspace-m2kyj3pe.js} +24 -24
- package/dist/chunks/{file-xx7w2pvd.js → workspace-m7sqfb9n.js} +16 -16
- package/dist/chunks/{file-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-n8qe30xq.js → workspace-mjzw1bzx.js} +9 -9
- package/dist/chunks/{file-gvha7d93.js → workspace-mkyvm1mp.js} +4 -4
- package/dist/chunks/{file-m7swqrpa.js → workspace-mnsp2bby.js} +4 -4
- package/dist/chunks/{file-00hg641b.js → workspace-na8hr0vp.js} +23 -23
- package/dist/chunks/{file-z24np7d0.js → workspace-nbrk7b4a.js} +78 -78
- package/dist/chunks/{file-cphm8864.js → workspace-nf9kpa2n.js} +16 -16
- package/dist/chunks/{file-q6k87v8z.js → workspace-nkcwakxz.js} +6 -6
- package/dist/chunks/{file-0stjwqe4.js → workspace-ntkj80nk.js} +23 -23
- package/dist/chunks/{file-n5pq9vwt.js → workspace-nvzmp878.js} +14 -14
- package/dist/chunks/{file-2xhecwrj.js → workspace-p870xxwd.js} +9 -9
- package/dist/chunks/{file-r8h0cx8x.js → workspace-p8g5rzmy.js} +26 -26
- package/dist/chunks/{file-hdw5v3sp.js → workspace-pcxb50d4.js} +46 -46
- package/dist/chunks/{file-2tms25w5.js → workspace-pd32dv0s.js} +24 -24
- package/dist/chunks/{file-44mbs944.js → workspace-pj6fam98.js} +12 -12
- package/dist/chunks/{file-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{file-rrh5j47r.js → workspace-pm2kz5s1.js} +25 -25
- package/dist/chunks/{file-y995w6vw.js → workspace-pqksgydy.js} +9 -9
- package/dist/chunks/{file-pt7wq7x0.js → workspace-pt7wq7x0.js} +1 -1
- package/dist/chunks/{file-emse1svw.js → workspace-px14sdfk.js} +160 -160
- package/dist/chunks/{file-9vfxb4kb.js → workspace-q059vqcc.js} +4 -4
- package/dist/chunks/{file-q9vpza17.js → workspace-qa85yw4y.js} +10 -10
- package/dist/chunks/{file-pyyqvd0z.js → workspace-qb47n0b0.js} +11 -11
- package/dist/chunks/{file-ph669gs4.js → workspace-qc5kqrcq.js} +9 -9
- package/dist/chunks/{file-0e8zkcgz.js → workspace-qfr5gq21.js} +25 -25
- package/dist/chunks/{file-2epja08c.js → workspace-qgdqpbvz.js} +4 -4
- package/dist/chunks/{file-v1zbgaxm.js → workspace-qj045n01.js} +8 -8
- package/dist/chunks/{file-fbgy7r5d.js → workspace-qjrm34bp.js} +2 -2
- package/dist/chunks/workspace-qjsjjfeh.js +247 -0
- package/dist/chunks/{file-ss1z5pd1.js → workspace-qmd64t15.js} +43 -43
- package/dist/chunks/{file-5xfzsdsy.js → workspace-qq0tkz6q.js} +3 -3
- package/dist/chunks/{file-qs4avvkb.js → workspace-qs4avvkb.js} +1 -1
- package/dist/chunks/{file-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{file-65fmcg1n.js → workspace-r82mbdvs.js} +17 -17
- package/dist/chunks/{file-r8dhm0tv.js → workspace-r8dhm0tv.js} +1 -1
- package/dist/chunks/{file-354vgqe0.js → workspace-r9gfrje9.js} +7 -7
- package/dist/chunks/{file-pae9v2p1.js → workspace-rae26gbb.js} +8 -8
- package/dist/chunks/{file-rvb2zp0m.js → workspace-rvb2zp0m.js} +1 -1
- package/dist/chunks/{file-68t1dsv1.js → workspace-rwkt33rf.js} +31 -31
- package/dist/chunks/{file-2vr6qw2t.js → workspace-sa0pctfm.js} +2 -2
- package/dist/chunks/{file-6z5bwd8g.js → workspace-saak5ttd.js} +6 -6
- package/dist/chunks/{file-sba4qhjf.js → workspace-sba4qhjf.js} +1 -1
- package/dist/chunks/{file-dnej8pr8.js → workspace-sbcqr78w.js} +54 -54
- package/dist/chunks/{file-jb94zsvm.js → workspace-scsyzxzw.js} +11 -11
- package/dist/chunks/{file-kvbwxexe.js → workspace-sdn7expb.js} +19 -19
- package/dist/chunks/{file-83y4b8f3.js → workspace-seets54z.js} +33 -33
- package/dist/chunks/{file-gt0hfmdb.js → workspace-sgqkzh53.js} +5 -5
- package/dist/chunks/{file-1mrma768.js → workspace-sh7bh2kf.js} +5 -5
- package/dist/chunks/{file-fhy6bqdy.js → workspace-skjkpwv2.js} +16 -16
- package/dist/chunks/{file-s1zptveq.js → workspace-t3yh62b0.js} +20 -20
- package/dist/chunks/{file-evdm5w0f.js → workspace-t4xwbtzq.js} +12 -12
- package/dist/chunks/{file-6wj0fw5p.js → workspace-t8mm9h73.js} +9 -9
- package/dist/chunks/{file-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tjykrgmx.js → workspace-tjykrgmx.js} +1 -1
- package/dist/chunks/{file-ejddpzjn.js → workspace-tx0n6h40.js} +24 -24
- package/dist/chunks/{file-f9tf4xby.js → workspace-v56vtys4.js} +27 -27
- package/dist/chunks/{file-wfpv7nq4.js → workspace-v7j1z2wq.js} +5 -5
- package/dist/chunks/{file-65dkj3za.js → workspace-v8xer3dx.js} +20 -20
- package/dist/chunks/{file-ndn2xkss.js → workspace-vhr5dwb3.js} +62 -62
- package/dist/chunks/{file-df22f43k.js → workspace-vn3245c3.js} +15 -15
- package/dist/chunks/{file-dg42sq5p.js → workspace-w05tx3pg.js} +10 -10
- package/dist/chunks/{file-na3y75gh.js → workspace-w0k1he6w.js} +5 -5
- package/dist/chunks/{file-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-4m3ct7yw.js → workspace-w3yb96n9.js} +6 -6
- package/dist/chunks/{file-3wdqrm6x.js → workspace-w9fnv673.js} +13 -13
- package/dist/chunks/{file-pdgkag5b.js → workspace-wb3m83k0.js} +17 -17
- package/dist/chunks/{file-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{file-dn45ghjm.js → workspace-wpjc2q9a.js} +43 -43
- package/dist/chunks/{file-5cv0gs8q.js → workspace-wrk2wmqj.js} +32 -32
- package/dist/chunks/{file-cxmh4q5b.js → workspace-wsfy2223.js} +4 -4
- package/dist/chunks/{file-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-36dr8np1.js → workspace-xc5sx9yh.js} +27 -27
- package/dist/chunks/{file-1sqh6t30.js → workspace-xnvap4wk.js} +5 -5
- package/dist/chunks/{file-8y62cfgq.js → workspace-xqrmy91b.js} +6 -6
- package/dist/chunks/{file-dmbj5zzd.js → workspace-xtvwy747.js} +9 -9
- package/dist/chunks/{file-gzx8e7f9.js → workspace-xxjj2aym.js} +6 -6
- package/dist/chunks/{file-v0pnbedw.js → workspace-y171dd4m.js} +9 -9
- package/dist/chunks/{file-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-2cpc15r0.js → workspace-y6vm5g8a.js} +10 -10
- package/dist/chunks/{file-yfbd16n1.js → workspace-yfbd16n1.js} +2 -2
- package/dist/chunks/{file-mk2da0tx.js → workspace-yhxq7m29.js} +9 -9
- package/dist/chunks/{file-yj3e99fm.js → workspace-yj3e99fm.js} +1 -1
- package/dist/chunks/{file-yjw1hky4.js → workspace-yjw1hky4.js} +4 -4
- package/dist/chunks/{file-5k43vb7t.js → workspace-yrtbee6v.js} +16 -16
- package/dist/chunks/{file-vakn6wwq.js → workspace-ys8tv0st.js} +13 -13
- package/dist/chunks/{file-w2svwm21.js → workspace-yv78zg7h.js} +4 -4
- package/dist/chunks/{file-5h36fhh1.js → workspace-yxae0rkk.js} +16 -16
- package/dist/chunks/{file-h87ag7w5.js → workspace-yyh0fd82.js} +16 -16
- package/dist/chunks/{file-m08qhmwa.js → workspace-z023xry8.js} +23 -23
- package/dist/chunks/{file-x9aee12a.js → workspace-z1ge9h94.js} +20 -20
- package/dist/chunks/{file-z1k01bn4.js → workspace-z1k01bn4.js} +2 -2
- package/dist/chunks/{file-a3x9xvd8.js → workspace-z3xgatyd.js} +4 -4
- package/dist/chunks/{file-6t53vznt.js → workspace-z4gv7xzk.js} +5 -5
- package/dist/chunks/{file-29x78va6.js → workspace-z63w68vq.js} +6 -6
- package/dist/chunks/{file-zajwd6at.js → workspace-zajwd6at.js} +2 -2
- package/dist/chunks/{file-ywtkarac.js → workspace-zv2v2r4h.js} +12 -12
- package/dist/chunks/{file-qr8ddv5p.js → workspace-zvkk2fwq.js} +43 -43
- package/dist/chunks/{file-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- 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 +116 -116
- 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 +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +130 -130
- 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 +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 +358 -358
- 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 +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 +220 -220
- 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 +94 -94
- 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 +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 +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- 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 +83 -83
- 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 +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 +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +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 +116 -116
- 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 +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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +1 -1
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +80 -80
- 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 +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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- 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 +201 -201
- package/dist/session/system-prompt.js +5 -5
- 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 +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 +104 -104
- 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 +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 +117 -117
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +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 +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +4 -4
- 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 +5 -5
- 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 +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- 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 +91 -91
- package/package.json +7 -7
- package/dist/chunks/file-71dvh6yx.js +0 -247
- package/dist/chunks/file-f4j0pa50.js +0 -4
- package/dist/chunks/file-qtk180zb.js +0 -22
- package/dist/chunks/file-rap9a73h.js +0 -18
- /package/dist/chunks/{file-0fabt78z.js → workspace-0fabt78z.js} +0 -0
- /package/dist/chunks/{file-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3t738kvx.js → workspace-3t738kvx.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-41nvscxy.js → workspace-41nvscxy.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-982e01ww.js → workspace-982e01ww.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mntxs535.js → workspace-mntxs535.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-p8qxwesx.js → workspace-p8qxwesx.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-se0s1eqw.js → workspace-se0s1eqw.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x1b8g1yb.js → workspace-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → workspace-z9919s4g.js} +0 -0
- /package/dist/chunks/{file-zbjnn3ac.js → workspace-zbjnn3ac.js} +0 -0
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-qgdqpbvz.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make17,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-28pcbh69.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-p8qxwesx.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event12,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
29
|
+
Options: () => Options9,
|
|
30
30
|
Service: () => Service60,
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
31
|
+
configured: () => configured8,
|
|
32
|
+
layer: () => layer21,
|
|
33
|
+
node: () => node63
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event12 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options9 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
class Service60 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer21 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer22 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make17({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -104,14 +104,14 @@ var layer22 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured8(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
109
|
service: Service60,
|
|
110
|
-
layer:
|
|
110
|
+
layer: layer21(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node63 = configured8();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event12, Options9, Service60, layer21, configured8, node63, exports_instruction_discovery };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options8,
|
|
15
|
+
Service: () => Service56,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node59,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options8 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service56 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service56.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured7(options) {
|
|
209
|
+
return makeLocationNode({ service: Service56, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node59 = configured7();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options8, Service56, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node59, exports_select };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-qgdqpbvz.js";
|
|
4
4
|
import {
|
|
5
5
|
ID16
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-rvb2zp0m.js";
|
|
7
7
|
import {
|
|
8
8
|
ID15
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-k47rhfy9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event18
|
|
12
|
+
} from "./workspace-dmjtybt2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID11
|
|
15
|
+
} from "./workspace-57cygpdy.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service61
|
|
18
|
+
} from "./workspace-6xyzxqae.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
get2
|
|
21
|
+
} from "./workspace-1fkv9cmy.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -27,7 +27,7 @@ var providerID = ID16.make("modal");
|
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
30
|
+
const catalog = yield* Service61;
|
|
31
31
|
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
@@ -47,7 +47,7 @@ var ModalPlugin2 = define({
|
|
|
47
47
|
loaded.baseURL = baseURL;
|
|
48
48
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === providerID);
|
|
49
49
|
loaded.models = yield* Effect.tryPromise({
|
|
50
|
-
try: () =>
|
|
50
|
+
try: () => get2(baseURL, apiKey, existing),
|
|
51
51
|
catch: (cause) => cause
|
|
52
52
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
53
53
|
});
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-k6n1fvnb.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-qgdqpbvz.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/credential.ts
|
|
17
17
|
var exports_credential = {};
|
|
18
18
|
__export(exports_credential, {
|
|
19
19
|
Credential: () => exports_credential,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event18,
|
|
21
|
+
ID: () => ID17,
|
|
22
|
+
Info: () => Info31,
|
|
23
23
|
Key: () => Key4,
|
|
24
24
|
OAuth: () => OAuth3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service75,
|
|
26
26
|
Value: () => Value2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node80
|
|
28
28
|
});
|
|
29
29
|
import { asc, desc, eq } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { Credential } from "@opencode-ai/schema/credential";
|
|
32
32
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
34
|
-
var
|
|
34
|
+
var ID17 = Credential.ID;
|
|
35
35
|
var OAuth3 = Credential.OAuth;
|
|
36
36
|
var Key4 = Credential.Key;
|
|
37
37
|
var Value2 = Credential.Value;
|
|
38
|
-
var
|
|
38
|
+
var Event18 = Credential.Event;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
41
|
+
id: ID17,
|
|
42
42
|
integrationID: Integration.ID,
|
|
43
43
|
label: Schema.String,
|
|
44
44
|
value: Value2
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service75 extends Context.Service()("@opencode/Credential") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
51
51
|
const db = (yield* Service80).db;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
53
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
54
54
|
const stored = (row) => {
|
|
55
55
|
if (!row.integration_id)
|
|
56
56
|
return;
|
|
57
|
-
return new
|
|
57
|
+
return new Info31({
|
|
58
58
|
id: row.id,
|
|
59
59
|
integrationID: row.integration_id,
|
|
60
60
|
label: row.label,
|
|
@@ -65,7 +65,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
65
65
|
const credential = stored(row);
|
|
66
66
|
return credential ? [credential] : [];
|
|
67
67
|
});
|
|
68
|
-
return
|
|
68
|
+
return Service75.of({
|
|
69
69
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
70
70
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
71
71
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -73,8 +73,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
73
73
|
return row ? stored(row) : undefined;
|
|
74
74
|
}),
|
|
75
75
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
76
|
-
const credential = new
|
|
77
|
-
id:
|
|
76
|
+
const credential = new Info31({
|
|
77
|
+
id: ID17.create(),
|
|
78
78
|
integrationID: input.integrationID,
|
|
79
79
|
label: input.label ?? "default",
|
|
80
80
|
value: input.value
|
|
@@ -89,8 +89,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
89
89
|
active: true
|
|
90
90
|
}).run();
|
|
91
91
|
})).pipe(Effect.orDie);
|
|
92
|
-
yield* bus.publish(
|
|
93
|
-
yield* bus.publish(
|
|
92
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
93
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
94
94
|
return credential;
|
|
95
95
|
}),
|
|
96
96
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
106
106
|
return credential.integration_id;
|
|
107
107
|
})).pipe(Effect.orDie);
|
|
108
108
|
if (integrationID)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
110
110
|
}),
|
|
111
111
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
112
112
|
if (updates.label === undefined && updates.value === undefined)
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
118
118
|
return;
|
|
119
119
|
yield* db.update(CredentialTable2).set({ label: updates.label, value: updates.value }).where(eq(CredentialTable2.id, id)).run().pipe(Effect.orDie);
|
|
120
120
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
121
|
-
yield* bus.publish(
|
|
121
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
122
122
|
}),
|
|
123
123
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
124
124
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -142,12 +142,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
142
142
|
})).pipe(Effect.orDie);
|
|
143
143
|
if (!removed)
|
|
144
144
|
return;
|
|
145
|
-
yield* bus.publish(
|
|
145
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
146
146
|
if (removed.switched)
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
}));
|
|
151
|
-
var
|
|
151
|
+
var node80 = makeGlobalNode({ service: Service75, layer, deps: [node85, node84] });
|
|
152
152
|
|
|
153
|
-
export {
|
|
153
|
+
export { ID17, OAuth3, Key4, Value2, Event18, Info31, Service75, node80, exports_credential };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node78
|
|
7
|
+
} from "./workspace-0rwgbq6e.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service77,
|
|
16
|
+
node82
|
|
17
|
+
} from "./workspace-qa85yw4y.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service72,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node77,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service72 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service73;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service77;
|
|
110
|
+
return Service72.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node77 = makeGlobalNode({
|
|
171
|
+
service: Service72,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node78, Global.node, node82]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service72, isError2, validateBranch2, node77, exports_repository_cache };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-rvb2zp0m.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service71,
|
|
3
|
+
node76
|
|
4
|
+
} from "./workspace-p8g5rzmy.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make17,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-28pcbh69.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
19
|
Service: () => Service27,
|
|
20
20
|
node: () => node31
|
|
21
21
|
});
|
|
@@ -60,7 +60,7 @@ var update = (previous, current) => {
|
|
|
60
60
|
class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
62
|
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
63
|
-
const references = yield*
|
|
63
|
+
const references = yield* Service71;
|
|
64
64
|
return Service27.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make17({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var node31 = makeLocationNode({ service: Service27, layer, deps: [
|
|
84
|
+
var node31 = makeLocationNode({ service: Service27, layer, deps: [node76] });
|
|
85
85
|
|
|
86
|
-
export { Service27, node31,
|
|
86
|
+
export { Service27, node31, exports_instructions3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-5f8zs254.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID5.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-rvb2zp0m.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-k47rhfy9.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./workspace-fehrn2qm.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-4v7qdvcn.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-m1wfp3t7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./workspace-5f8zs254.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service37;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|