@opencode-ai/core 0.0.0-dev-19093 → 0.0.0-dev-19097
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{kv-3vzcwd0g.js → file-0dnzd248.js} +18 -18
- package/dist/chunks/{kv-0e0xafbb.js → file-0e0xafbb.js} +2 -2
- package/dist/chunks/{kv-e6v427vd.js → file-0ez61b8c.js} +2 -2
- package/dist/chunks/{kv-gva7hxj4.js → file-0jd66zyb.js} +50 -50
- package/dist/chunks/{kv-0jwsre1p.js → file-0jwsre1p.js} +1 -1
- package/dist/chunks/{kv-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-rcaq9zsf.js → file-0ra6fv6k.js} +47 -47
- package/dist/chunks/{kv-0s9ayhjt.js → file-0s9ayhjt.js} +1 -1
- package/dist/chunks/{kv-7ry09vv5.js → file-14hmenm3.js} +3 -3
- package/dist/chunks/{kv-1ct4r87x.js → file-1ct4r87x.js} +1 -1
- package/dist/chunks/{kv-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{kv-j36q68jf.js → file-23d81xme.js} +21 -21
- package/dist/chunks/{kv-2402vzrj.js → file-2402vzrj.js} +1 -1
- package/dist/chunks/{kv-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{kv-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-2ht70gj7.js → file-2ht70gj7.js} +1 -1
- package/dist/chunks/{kv-2jqmte8w.js → file-2jqmte8w.js} +2 -2
- package/dist/chunks/{kv-x6560wra.js → file-2ks0faxf.js} +20 -20
- package/dist/chunks/{kv-6z7yq735.js → file-2qvrqzxh.js} +11 -11
- package/dist/chunks/{kv-we11dx6z.js → file-2xxac57g.js} +7 -7
- package/dist/chunks/{kv-nyhhhmd8.js → file-31wgk69v.js} +3 -3
- package/dist/chunks/{kv-m01f3ztw.js → file-34h2c5qc.js} +10 -10
- package/dist/chunks/{kv-wb29ggtc.js → file-37b314vz.js} +9 -9
- package/dist/chunks/{kv-c9pb9e7v.js → file-393yfw74.js} +22 -22
- package/dist/chunks/{kv-4r9k75he.js → file-3gcnb1p9.js} +11 -11
- package/dist/chunks/{kv-2xgyk5yr.js → file-3gn7n68r.js} +22 -22
- package/dist/chunks/{kv-k9jet765.js → file-3gt9pd4h.js} +25 -25
- package/dist/chunks/{kv-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-07h2bzrz.js → file-3mpy6pnz.js} +11 -11
- package/dist/chunks/{kv-9j3fyze8.js → file-3pcz81vc.js} +4 -4
- package/dist/chunks/{kv-3qzbfqsy.js → file-3qzbfqsy.js} +2 -2
- package/dist/chunks/{kv-jnv71sbj.js → file-3s09vvne.js} +24 -24
- package/dist/chunks/{kv-fw8cvjkv.js → file-3skezffz.js} +10 -10
- package/dist/chunks/{kv-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-azv14p53.js → file-3wfq9j39.js} +10 -10
- package/dist/chunks/{kv-0m99z42p.js → file-44c9khjj.js} +14 -14
- package/dist/chunks/{kv-pk93fgsn.js → file-44v8yfq1.js} +7 -7
- package/dist/chunks/{kv-454k5vzh.js → file-454k5vzh.js} +1 -1
- package/dist/chunks/{kv-aw8agfgj.js → file-45a3e49b.js} +7 -7
- package/dist/chunks/{kv-4a9hv4gp.js → file-4cd1d9ca.js} +36 -36
- package/dist/chunks/{kv-vdex1qw9.js → file-4nrfgs5y.js} +6 -6
- package/dist/chunks/{kv-4r2nyarf.js → file-4r2nyarf.js} +1 -1
- package/dist/chunks/{kv-hs1w2bsr.js → file-4wm41xfy.js} +11 -11
- package/dist/chunks/file-4y7bcn0g.js +4 -0
- package/dist/chunks/{kv-0n419b4w.js → file-4yrtw206.js} +24 -24
- package/dist/chunks/{kv-64z8z5x5.js → file-4z6b0fg6.js} +6 -6
- package/dist/chunks/{kv-q334rcf3.js → file-4zzhap0t.js} +12 -12
- package/dist/chunks/{kv-327n2tt7.js → file-52ba2sra.js} +8 -8
- package/dist/chunks/{kv-6h1zm1av.js → file-56jkv05n.js} +9 -9
- package/dist/chunks/{kv-p6nrge75.js → file-5bype6kp.js} +31 -31
- package/dist/chunks/{kv-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-5fmxt4p5.js → file-5fmxt4p5.js} +1 -1
- package/dist/chunks/{kv-5jvc5tg2.js → file-5jvc5tg2.js} +1 -1
- package/dist/chunks/{kv-e9zqpvgt.js → file-5nt6w6m1.js} +11 -11
- package/dist/chunks/{kv-j935v87r.js → file-5qd3pb7m.js} +2 -2
- package/dist/chunks/{kv-wtmp9133.js → file-5sev6q9t.js} +19 -19
- package/dist/chunks/{kv-ez5b8bq3.js → file-5sg4xzjf.js} +7 -7
- package/dist/chunks/{kv-wywtm3b4.js → file-5vw9vvj4.js} +41 -41
- package/dist/chunks/{kv-8brfdvrk.js → file-5wbhqr4j.js} +17 -17
- package/dist/chunks/{kv-cf4t2kv8.js → file-5yabaxsy.js} +28 -28
- package/dist/chunks/{kv-e0vtkr8g.js → file-630mrxzs.js} +6 -6
- package/dist/chunks/{kv-ctydmyak.js → file-6sjzp24x.js} +39 -39
- package/dist/chunks/{kv-vn7dnbkg.js → file-6svk08be.js} +24 -24
- package/dist/chunks/{kv-6tf8tr4v.js → file-6tf8tr4v.js} +2 -2
- package/dist/chunks/{kv-8npyp30c.js → file-6w7e9vmm.js} +8 -8
- package/dist/chunks/{kv-711hfp6y.js → file-711hfp6y.js} +2 -2
- package/dist/chunks/{kv-dyrrjrjh.js → file-7a9jwpx3.js} +4 -4
- package/dist/chunks/{kv-mw36zcxb.js → file-7b280chh.js} +4 -4
- package/dist/chunks/{kv-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-1edtvy0k.js → file-7q8get4d.js} +15 -15
- package/dist/chunks/{kv-de6hrhrf.js → file-7qygs87w.js} +37 -37
- package/dist/chunks/{kv-7908ykgb.js → file-7xhvt7yp.js} +8 -8
- package/dist/chunks/{kv-v5dkyp31.js → file-806j49yq.js} +4 -4
- package/dist/chunks/{kv-f9x6rp1j.js → file-86s3977f.js} +1 -1
- package/dist/chunks/{kv-fjp933gm.js → file-8cvnnrjq.js} +12 -12
- package/dist/chunks/{kv-g14v1841.js → file-8nv4cyba.js} +46 -46
- package/dist/chunks/{kv-ykczf8eq.js → file-8ryk0bb9.js} +5 -5
- package/dist/chunks/{kv-rsdvpskb.js → file-8vfvt1k8.js} +6 -6
- package/dist/chunks/{kv-mpsa3nes.js → file-8vny5c8e.js} +12 -12
- package/dist/chunks/{kv-kg9yxd3j.js → file-8yy07cq2.js} +14 -14
- package/dist/chunks/{kv-93a8yfjt.js → file-93a8yfjt.js} +2 -2
- package/dist/chunks/{kv-qvs4vh02.js → file-95knx934.js} +16 -16
- package/dist/chunks/{kv-ztwbsy28.js → file-9anj5k29.js} +46 -46
- package/dist/chunks/{kv-j04nvffp.js → file-9cr7q51e.js} +34 -34
- package/dist/chunks/{kv-8s5g27jy.js → file-9d0173er.js} +9 -9
- package/dist/chunks/{kv-v9qvtgmd.js → file-9p3t057d.js} +7 -7
- package/dist/chunks/{kv-9qm9egsn.js → file-9qm9egsn.js} +2 -2
- package/dist/chunks/{kv-rvhss2m2.js → file-9tjsbxxt.js} +4 -4
- package/dist/chunks/{kv-5kceqzn1.js → file-a00nymdn.js} +9 -9
- package/dist/chunks/{kv-bvtk4tvq.js → file-a5bfcrc3.js} +6 -6
- package/dist/chunks/{kv-wh6ksyj4.js → file-a90asjze.js} +16 -16
- package/dist/chunks/{kv-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-w9f7wb0e.js → file-acqtp7e5.js} +10 -10
- package/dist/chunks/{kv-hbhn1exa.js → file-adphmdvg.js} +34 -34
- package/dist/chunks/{kv-y0bse006.js → file-age2sz3e.js} +11 -11
- package/dist/chunks/{kv-qyewj5s0.js → file-agwngab4.js} +9 -9
- package/dist/chunks/{kv-ajtjthsy.js → file-ajtjthsy.js} +2 -2
- package/dist/chunks/{kv-4qjr8vj0.js → file-amz8x7m9.js} +14 -14
- package/dist/chunks/{kv-tk0q86eg.js → file-apz83yk1.js} +18 -18
- package/dist/chunks/{kv-6h414ywr.js → file-awqyf91x.js} +5 -5
- package/dist/chunks/{kv-set6m918.js → file-ay8rbhkk.js} +23 -23
- package/dist/chunks/{kv-6ycxekxv.js → file-b4cqkbph.js} +9 -9
- package/dist/chunks/{kv-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-b9wsbatv.js → file-b9wsbatv.js} +1 -1
- package/dist/chunks/{kv-bgt6msk1.js → file-bgt6msk1.js} +2 -2
- package/dist/chunks/{kv-jtgs360h.js → file-bnbv6b5n.js} +4 -4
- package/dist/chunks/{kv-zqg3qsz2.js → file-bxb1xesv.js} +4 -4
- package/dist/chunks/{kv-6e958v7x.js → file-c0faa19c.js} +6 -6
- package/dist/chunks/{kv-ba79cv5k.js → file-c29f3tza.js} +73 -73
- package/dist/chunks/{kv-cvwaz07y.js → file-cmhmpn4v.js} +22 -22
- package/dist/chunks/{kv-4rdnd30x.js → file-csk50r35.js} +37 -37
- package/dist/chunks/{kv-3gng8nv9.js → file-ctb8fb4q.js} +23 -23
- package/dist/chunks/{kv-pmqshxn9.js → file-ctg8zr71.js} +19 -19
- package/dist/chunks/{kv-91fwk46n.js → file-d17hrp67.js} +29 -29
- package/dist/chunks/{kv-grsggjxz.js → file-d1n19zpc.js} +32 -32
- package/dist/chunks/{kv-4ahqr3ea.js → file-d70vn4jc.js} +32 -32
- package/dist/chunks/{kv-d72308c8.js → file-d72308c8.js} +2 -2
- package/dist/chunks/{kv-wsfy2223.js → file-ddt2bs9e.js} +4 -4
- package/dist/chunks/{kv-mbc7zawv.js → file-dmhyt8yz.js} +9 -9
- package/dist/chunks/{kv-rbss7vdr.js → file-dq20fsr2.js} +9 -9
- package/dist/chunks/{kv-v9m13ysc.js → file-dv4a4bvf.js} +18 -18
- package/dist/chunks/{kv-z2wsashg.js → file-dwh2jwen.js} +13 -13
- package/dist/chunks/{kv-7nxyxket.js → file-e5b0qn1c.js} +1 -1
- package/dist/chunks/{kv-djtdz80w.js → file-e7gxy7fd.js} +4 -4
- package/dist/chunks/{kv-ygze9xf4.js → file-e9caa62w.js} +3 -3
- package/dist/chunks/{kv-3gnxtrwc.js → file-eg21w5vj.js} +7 -7
- package/dist/chunks/{kv-0763wtqz.js → file-er9yxp35.js} +153 -153
- package/dist/chunks/{kv-41mncz27.js → file-famd3pv6.js} +5 -5
- package/dist/chunks/{kv-waa9wdep.js → file-fjvydvzm.js} +6 -6
- package/dist/chunks/{kv-fn7btw4k.js → file-fngqvgwt.js} +6 -6
- package/dist/chunks/{kv-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{kv-y8gp91n4.js → file-fxcmktmy.js} +13 -13
- package/dist/chunks/{kv-fxypknc8.js → file-fxypknc8.js} +1 -1
- package/dist/chunks/{kv-986p65m9.js → file-g41n1fn3.js} +5 -5
- package/dist/chunks/{kv-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
- package/dist/chunks/{kv-94kekqj1.js → file-ge17c2r8.js} +8 -8
- package/dist/chunks/{kv-hsm8v5na.js → file-ghw4ap3q.js} +28 -28
- package/dist/chunks/{kv-y9deds22.js → file-gjcg6yxb.js} +10 -10
- package/dist/chunks/{kv-fpdzc529.js → file-gs14xg9r.js} +9 -9
- package/dist/chunks/{kv-7vqq5csv.js → file-gss8xhg0.js} +30 -30
- package/dist/chunks/{kv-11tw25g0.js → file-gzd7t3bg.js} +4 -4
- package/dist/chunks/{kv-hj3nn2ka.js → file-gzqptw1h.js} +20 -20
- package/dist/chunks/{kv-tr6k467p.js → file-h39sbrp5.js} +7 -7
- package/dist/chunks/{kv-ssbg0cn7.js → file-h3y0pe43.js} +34 -34
- package/dist/chunks/{kv-r3y5s33r.js → file-h44eeaqk.js} +39 -39
- package/dist/chunks/{kv-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-amc59nhp.js → file-h7qsvcff.js} +2 -2
- package/dist/chunks/{kv-heyhwy2w.js → file-heyhwy2w.js} +1 -1
- package/dist/chunks/{kv-62pfnrxw.js → file-hkv0byyz.js} +9 -9
- package/dist/chunks/{kv-hrvm11jt.js → file-hrvm11jt.js} +3 -3
- package/dist/chunks/{kv-nde3t6pb.js → file-htpahddg.js} +20 -20
- package/dist/chunks/{kv-2kmdnfsa.js → file-htzwhb48.js} +27 -27
- package/dist/chunks/{kv-g12117d9.js → file-jdv57epv.js} +53 -53
- package/dist/chunks/{kv-51dky10w.js → file-jtxgx949.js} +22 -22
- package/dist/chunks/{kv-jwcy2c2z.js → file-jwcy2c2z.js} +1 -1
- package/dist/chunks/{kv-9p05ydt5.js → file-jz1jqtks.js} +11 -11
- package/dist/chunks/{kv-z0r88r3d.js → file-jzajgxa4.js} +9 -9
- package/dist/chunks/{kv-0vp2h810.js → file-k12apaej.js} +5 -5
- package/dist/chunks/{kv-k4bwy1x5.js → file-k4bwy1x5.js} +1 -1
- package/dist/chunks/{kv-0rag4e4f.js → file-k8feg6vv.js} +4 -4
- package/dist/chunks/{kv-6c7eyv5g.js → file-keytvqp3.js} +20 -20
- package/dist/chunks/{kv-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{kv-rf1xepha.js → file-kped6ekd.js} +14 -14
- package/dist/chunks/{kv-gr3mfh83.js → file-ktd0vvh7.js} +23 -23
- package/dist/chunks/{kv-hw4pv20g.js → file-kvsjn1dr.js} +2 -2
- package/dist/chunks/{kv-ynvk86gk.js → file-m1k88j08.js} +11 -11
- package/dist/chunks/{kv-n4qddg0w.js → file-m3y8433b.js} +4 -4
- package/dist/chunks/{kv-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-v8gy3pjr.js → file-mcxg6pmm.js} +1 -1
- package/dist/chunks/{kv-jdszapxk.js → file-mgz9ynfp.js} +5 -5
- package/dist/chunks/{kv-dec85aak.js → file-mhj7q8tw.js} +25 -25
- package/dist/chunks/{kv-mvfsc1pv.js → file-mhkvc446.js} +3 -3
- package/dist/chunks/{kv-a04vk3pp.js → file-mrvbr3wc.js} +17 -17
- package/dist/chunks/{kv-syctsqr6.js → file-msqakgxm.js} +8 -8
- package/dist/chunks/{kv-tn0mb6rm.js → file-mvbayggv.js} +5 -5
- package/dist/chunks/file-n95b3jav.js +18 -0
- package/dist/chunks/{kv-ywss3cf1.js → file-nb59rc1d.js} +17 -17
- package/dist/chunks/{kv-9dcr27t6.js → file-nbrney8w.js} +10 -10
- package/dist/chunks/{kv-8y3p0gjc.js → file-nxhj2y70.js} +4 -4
- package/dist/chunks/{kv-a3mv2pdz.js → file-p0y053rc.js} +72 -72
- package/dist/chunks/{kv-483apw73.js → file-p4vn8k5j.js} +10 -10
- package/dist/chunks/{kv-54dwvch8.js → file-pfzekb22.js} +24 -24
- package/dist/chunks/{kv-98p2q5zs.js → file-pj7daft9.js} +19 -19
- package/dist/chunks/{kv-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-1j6eeha2.js → file-pka6fkme.js} +19 -19
- package/dist/chunks/{kv-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{kv-8fjpabk1.js → file-pm0tagmj.js} +24 -24
- package/dist/chunks/{kv-bct739vz.js → file-pmr4s4kc.js} +4 -4
- package/dist/chunks/{kv-yhemmazy.js → file-pnb07w7m.js} +9 -9
- package/dist/chunks/{kv-94exngkb.js → file-pwsfrk47.js} +24 -24
- package/dist/chunks/{kv-4zamrek1.js → file-qbdhhgha.js} +8 -8
- package/dist/chunks/{kv-c2rr8at4.js → file-qegxstwz.js} +12 -12
- package/dist/chunks/{kv-hbtmpj90.js → file-qjhp7fv4.js} +30 -30
- package/dist/chunks/{kv-keptat7v.js → file-qk91dsd0.js} +10 -10
- package/dist/chunks/{kv-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-2exvmxnk.js → file-r3pbnjm9.js} +10 -10
- package/dist/chunks/{kv-nsdz1sxb.js → file-r5aexrb8.js} +40 -40
- package/dist/chunks/{kv-r8dhm0tv.js → file-r8dhm0tv.js} +1 -1
- package/dist/chunks/{kv-5w5f5h43.js → file-racpc5qj.js} +29 -29
- package/dist/chunks/{kv-tgc5gq4n.js → file-rbr603f4.js} +11 -11
- package/dist/chunks/{kv-apjnhj61.js → file-rmy3e5eg.js} +3 -3
- package/dist/chunks/{kv-yktzjgkc.js → file-rnpxyh9g.js} +4 -4
- package/dist/chunks/{kv-rszjw5nd.js → file-rs5embep.js} +15 -15
- package/dist/chunks/{kv-cyae2b53.js → file-rt96k8tb.js} +20 -20
- package/dist/chunks/{kv-3jn85j34.js → file-rzsjt7my.js} +12 -12
- package/dist/chunks/{kv-qbyj8qxd.js → file-s3eqpch7.js} +1 -1
- package/dist/chunks/{kv-3rps85z5.js → file-s9eewxz3.js} +3 -3
- package/dist/chunks/{kv-0c2smd8y.js → file-savfhqcd.js} +16 -16
- package/dist/chunks/{kv-sba4qhjf.js → file-sba4qhjf.js} +1 -1
- package/dist/chunks/{kv-xdvenhre.js → file-sdr42knk.js} +15 -15
- package/dist/chunks/{kv-df3bq64p.js → file-sepmzhrx.js} +15 -15
- package/dist/chunks/{kv-sp5wnj6d.js → file-sp5wnj6d.js} +1 -1
- package/dist/chunks/{kv-e6hd9jay.js → file-ss0awb04.js} +6 -6
- package/dist/chunks/{kv-4gdhbjcs.js → file-ssq3ctr8.js} +4 -4
- package/dist/chunks/{kv-ghvapxam.js → file-sy5x4sx3.js} +3 -3
- package/dist/chunks/{kv-t445f1bj.js → file-t1jgjt3q.js} +10 -10
- package/dist/chunks/{kv-3gqhfq1r.js → file-t23z101x.js} +4 -4
- package/dist/chunks/{kv-2xwcamwv.js → file-t3kn21v8.js} +17 -17
- package/dist/chunks/{kv-avcz7j5r.js → file-t7tn68wt.js} +16 -16
- package/dist/chunks/{kv-rn7fzfzb.js → file-t8rvmjzx.js} +20 -20
- package/dist/chunks/{kv-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-y8d1ay0e.js → file-tbeh7nm8.js} +9 -9
- package/dist/chunks/{kv-89znhe33.js → file-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-r5s1f9ds.js → file-thfv75je.js} +5 -5
- package/dist/chunks/{kv-tjykrgmx.js → file-tjykrgmx.js} +1 -1
- package/dist/chunks/{kv-pcdwj75n.js → file-tqr9qcpa.js} +284 -284
- package/dist/chunks/{kv-5ag54q36.js → file-trbf7f13.js} +24 -24
- package/dist/chunks/file-trrz6gpv.js +243 -0
- package/dist/chunks/{kv-cgxfzgsr.js → file-tt070hms.js} +1 -1
- package/dist/chunks/{kv-5hwm4egr.js → file-v83v14r5.js} +10 -10
- package/dist/chunks/{kv-c2pdtwhf.js → file-vb6d33pa.js} +10 -10
- package/dist/chunks/{kv-rvn46zq7.js → file-vdwwn6k7.js} +5 -5
- package/dist/chunks/{kv-9rjp7yvj.js → file-vk57arp5.js} +24 -24
- package/dist/chunks/{kv-hgeb4s25.js → file-vsr56sgz.js} +3 -3
- package/dist/chunks/{kv-csjjrfxs.js → file-w0v6yqj2.js} +15 -15
- package/dist/chunks/{kv-7sc33ysb.js → file-w2cy7nem.js} +7 -7
- package/dist/chunks/{kv-6abnk40k.js → file-w3jym6ha.js} +6 -6
- package/dist/chunks/{kv-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-x7a9f5qc.js → file-w7pcjcgc.js} +11 -11
- package/dist/chunks/{kv-n08wtfc0.js → file-w9vya7g1.js} +18 -18
- package/dist/chunks/{kv-j0msafmp.js → file-warfykcc.js} +16 -16
- package/dist/chunks/{kv-pq3hsm1q.js → file-wcs07xvw.js} +15 -15
- package/dist/chunks/{kv-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{kv-pkpgy38q.js → file-wgxn7ww3.js} +4 -4
- package/dist/chunks/{kv-nc7q88x6.js → file-wmjd8bny.js} +37 -37
- package/dist/chunks/{kv-xzjsw50f.js → file-wndntwen.js} +10 -10
- package/dist/chunks/{kv-kawst5yz.js → file-wr98cg9s.js} +61 -61
- package/dist/chunks/{kv-rr97n57r.js → file-wv9b9khx.js} +7 -7
- package/dist/chunks/{kv-g385kr8a.js → file-wxv6nqad.js} +33 -33
- package/dist/chunks/{kv-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-zkbmddfw.js → file-x5wcxb38.js} +16 -16
- package/dist/chunks/{kv-0c65v11p.js → file-x6te443c.js} +43 -43
- package/dist/chunks/{kv-284xm0g3.js → file-x7s30cxw.js} +11 -11
- package/dist/chunks/{kv-tkd6bwd8.js → file-xe98bsrz.js} +11 -11
- package/dist/chunks/{kv-c7r09442.js → file-xj15198g.js} +17 -17
- package/dist/chunks/{kv-sdrecbr4.js → file-xn93qykn.js} +27 -27
- package/dist/chunks/{kv-7ng7exzm.js → file-xqsy6kp0.js} +1 -1
- package/dist/chunks/file-xraadc2q.js +22 -0
- package/dist/chunks/{kv-pzhf940q.js → file-y01np14z.js} +11 -11
- package/dist/chunks/{kv-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-fngmbr2j.js → file-y8wzqhpp.js} +15 -15
- package/dist/chunks/{kv-yfbd16n1.js → file-yfbd16n1.js} +2 -2
- package/dist/chunks/{kv-rt9c2rpv.js → file-yqgv8gzc.js} +6 -6
- package/dist/chunks/{kv-7m27rx9w.js → file-yrfjzgmk.js} +43 -43
- package/dist/chunks/{kv-1ydgq2r4.js → file-yvfkj8fv.js} +5 -5
- package/dist/chunks/{kv-y5j2xpyk.js → file-yyeephfg.js} +11 -11
- package/dist/chunks/{kv-z1k01bn4.js → file-z1k01bn4.js} +2 -2
- package/dist/chunks/{kv-fqf57vhm.js → file-z787d7xj.js} +25 -25
- package/dist/chunks/{kv-hsgbf354.js → file-zg2n6y4t.js} +27 -27
- package/dist/chunks/{kv-kxnt8qcg.js → file-zn2pq4p8.js} +5 -5
- package/dist/chunks/{kv-eszkm5vj.js → file-zxc2kv8n.js} +6 -6
- package/dist/chunks/{kv-zxq2ej10.js → file-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 +77 -77
- package/dist/config/discovery.js +79 -79
- 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 +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- 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 +114 -114
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +350 -350
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +87 -87
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +343 -343
- package/dist/instruction-discovery.js +83 -83
- 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 +75 -75
- 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 +344 -344
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +116 -116
- 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 +3 -3
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +210 -210
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- 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 +4 -4
- 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 +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- 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 +217 -217
- 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 +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +143 -143
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +110 -110
- package/dist/session/model-transport.js +7 -7
- 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 +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- 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 +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +100 -100
- package/dist/snapshot.js +82 -82
- 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 +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +210 -210
- 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 +104 -104
- package/dist/tool/plugin/write.js +114 -114
- 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 +15 -15
- 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 +1 -1
- 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 +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +7 -7
- package/dist/chunks/kv-e3ze3pba.js +0 -4
- package/dist/chunks/kv-jqh9b0xq.js +0 -18
- package/dist/chunks/kv-pba9ahe1.js +0 -22
- package/dist/chunks/kv-pbpghnj4.js +0 -243
- /package/dist/chunks/{kv-0fabt78z.js → file-0fabt78z.js} +0 -0
- /package/dist/chunks/{kv-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3t738kvx.js → file-3t738kvx.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-41nvscxy.js → file-41nvscxy.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-982e01ww.js → file-982e01ww.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a1tpkmh4.js → file-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cq35m6me.js → file-cq35m6me.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mntxs535.js → file-mntxs535.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-p8qxwesx.js → file-p8qxwesx.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-se0s1eqw.js → file-se0s1eqw.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x1b8g1yb.js → file-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → file-z9919s4g.js} +0 -0
- /package/dist/chunks/{kv-zbjnn3ac.js → file-zbjnn3ac.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID8,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service53
|
|
4
|
+
} from "./file-dv4a4bvf.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service57
|
|
8
|
+
} from "./file-yrfjzgmk.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-cq35m6me.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service45
|
|
14
|
+
} from "./file-rs5embep.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service50
|
|
18
|
+
} from "./file-r5aexrb8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service24
|
|
21
|
+
} from "./file-p0y053rc.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make8
|
|
27
|
+
} from "./file-jz1jqtks.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-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: () => Input8,
|
|
36
|
+
Output: () => Output5,
|
|
37
|
+
Plugin: () => Plugin39,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description4,
|
|
40
|
+
name: () => name8
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name8 = "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 Input8 = 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,12 +63,12 @@ var Input3 = 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 Output5 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description4 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description2 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin39 = {
|
|
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* Service24;
|
|
84
|
+
const jobs = yield* Service45;
|
|
85
|
+
const agents = yield* Service53;
|
|
86
|
+
const config = yield* Service57;
|
|
87
|
+
const permission = yield* Service50;
|
|
88
|
+
const subagents = yield* make8;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name8,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description4,
|
|
93
|
+
input: Input8,
|
|
94
|
+
output: Output5,
|
|
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 Plugin3 = {
|
|
|
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: name8,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -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[name8];
|
|
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(name8, 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 { name8, Input8, Output5, description4, Plugin39, exports_subagent };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-gzqptw1h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./file-xe98bsrz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info16
|
|
12
|
+
} from "./file-yvfkj8fv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info21
|
|
15
|
+
} from "./file-806j49yq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info19
|
|
18
|
+
} from "./file-awqyf91x.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-0jwsre1p.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info18
|
|
24
|
+
} from "./file-famd3pv6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info12
|
|
27
|
+
} from "./file-x6te443c.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-nxhj2y70.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./file-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info12.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? input.update === "auto" ? "notify" : decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info16, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info21, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -224,7 +224,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
224
224
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
225
225
|
return;
|
|
226
226
|
}
|
|
227
|
-
const server = decodeValue(
|
|
227
|
+
const server = decodeValue(Info19, value, path, diagnostics);
|
|
228
228
|
if (server !== undefined)
|
|
229
229
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
230
230
|
});
|
|
@@ -420,7 +420,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
420
420
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
421
421
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
422
422
|
return [];
|
|
423
|
-
const provider = decodeValue(
|
|
423
|
+
const provider = decodeValue(Info18, raw, path, diagnostics);
|
|
424
424
|
if (provider === undefined)
|
|
425
425
|
return [];
|
|
426
426
|
const destination = providerID2(name);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service55,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node57
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service55 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service55, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service55.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service39, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node57 = makeGlobalNode({ service: Service55, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service55, node57, exports_environment };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./file-pwsfrk47.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service61;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-2qvrqzxh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./file-393yfw74.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-c0faa19c.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-p8qxwesx.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service76
|
|
13
|
+
} from "./file-pm0tagmj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service73
|
|
16
|
+
} from "./file-xj15198g.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin17
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode-ai/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin17 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service76;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service73;
|
|
42
|
+
const watcher = yield* Service58;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin17, exports_instruction };
|
|
@@ -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 "./file-4z6b0fg6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service66,
|
|
11
|
+
node69
|
|
12
|
+
} from "./file-4wm41xfy.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-0ez61b8c.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
VariantID2,
|
|
19
19
|
Ref4
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-3wfq9j39.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service67,
|
|
24
|
+
node70
|
|
25
|
+
} from "./file-qjhp7fv4.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service65,
|
|
28
|
+
node68
|
|
29
|
+
} from "./file-z787d7xj.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-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: () => Service64,
|
|
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: () => layer21,
|
|
45
|
+
node: () => node67,
|
|
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 Service64 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 layer21 = Layer.effect(Service64, Effect.gen(function* () {
|
|
207
|
+
const catalog = yield* Service65;
|
|
208
|
+
const integrations = yield* Service67;
|
|
209
209
|
const npm = yield* Npm.Service;
|
|
210
|
-
const aisdk = yield*
|
|
210
|
+
const aisdk = yield* Service66;
|
|
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 ?? ID11.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 layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
230
230
|
limit: selected.limit
|
|
231
231
|
};
|
|
232
232
|
});
|
|
233
|
-
return
|
|
233
|
+
return Service64.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 node67 = makeLocationNode({
|
|
251
|
+
service: Service64,
|
|
252
|
+
layer: layer21,
|
|
253
|
+
deps: [node68, node70, Npm.node, node69]
|
|
254
254
|
});
|
|
255
255
|
|
|
256
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3,
|
|
256
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node67, exports_model_resolver };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-w3jym6ha.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin23 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin33 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin23, exports_exa };
|