@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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-3pcz81vc.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event16
|
|
7
|
+
} from "./file-d17hrp67.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID11,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-qjhp7fv4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID18,
|
|
14
14
|
aisdk2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-4z6b0fg6.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/provider/opencode.ts
|
|
20
20
|
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
44
44
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
45
45
|
function oauth(http) {
|
|
46
46
|
return {
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID11.make("opencode"),
|
|
48
48
|
method: {
|
|
49
49
|
id: methodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
|
|
|
112
112
|
catalog.provider.update(providerID, (provider) => {
|
|
113
113
|
if (source && source.provider !== provider)
|
|
114
114
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
115
|
-
provider.integrationID =
|
|
115
|
+
provider.integrationID = ID11.make("opencode");
|
|
116
116
|
if (item.canonical !== undefined)
|
|
117
117
|
provider.canonical = item.canonical;
|
|
118
118
|
if (item.name !== undefined)
|
|
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
|
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
const item = catalog.provider.get(
|
|
178
|
+
const item = catalog.provider.get(ID18.opencode);
|
|
179
179
|
if (!item)
|
|
180
180
|
return;
|
|
181
181
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
|
|
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
|
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
202
|
function fetchProviders(http, value) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load4() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load4 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-3pcz81vc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node76
|
|
8
|
+
} from "./file-xj15198g.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mntxs535.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service52,
|
|
14
|
+
node54
|
|
15
|
+
} from "./file-savfhqcd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service12,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node14
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service12 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service52;
|
|
41
|
+
const location = yield* Service73;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service12.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node14 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node83, FSUtil.node,
|
|
101
|
+
deps: [node83, FSUtil.node, node76, node54]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service12, node14, exports_instructions };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
|
-
AnthropicPlugin: () =>
|
|
8
|
+
AnthropicPlugin: () => AnthropicPlugin2,
|
|
9
9
|
ArceePlugin: () => ArceePlugin2,
|
|
10
10
|
KimiPlugin: () => KimiPlugin2,
|
|
11
11
|
MetaPlugin: () => MetaPlugin2,
|
|
12
|
-
OpenAIPlugin: () =>
|
|
12
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
13
13
|
Plugins: () => Plugins2,
|
|
14
14
|
SystemPromptPlugin: () => exports_system_prompt
|
|
15
15
|
});
|
|
@@ -356,10 +356,10 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
|
|
|
356
356
|
`;
|
|
357
357
|
|
|
358
358
|
// src/plugin/system-prompt.ts
|
|
359
|
-
var
|
|
359
|
+
var OpenAIPlugin2 = make("openai", (id) => id.includes("gpt") ? gpt_extension_default : undefined, {
|
|
360
360
|
operation: "append"
|
|
361
361
|
});
|
|
362
|
-
var
|
|
362
|
+
var AnthropicPlugin2 = make("anthropic", (id) => id.includes("claude") ? anthropic_default : undefined, {
|
|
363
363
|
operation: "replace"
|
|
364
364
|
});
|
|
365
365
|
var KimiPlugin2 = make("kimi", (id) => id.includes("kimi") ? kimi_default : undefined, {
|
|
@@ -374,7 +374,7 @@ var MetaPlugin2 = make("meta", (id) => {
|
|
|
374
374
|
const name = id.includes("muse-glimmer") ? "Muse Glimmer" : "Muse Spark";
|
|
375
375
|
return meta_default.replaceAll("{{MODEL_NAME}}", name);
|
|
376
376
|
}, { operation: "replace" });
|
|
377
|
-
var Plugins2 = [
|
|
377
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
378
378
|
function make(id, getPrompt, options) {
|
|
379
379
|
return define({
|
|
380
380
|
id: `opencode.prompt.${id}`,
|
|
@@ -399,4 +399,4 @@ function make(id, getPrompt, options) {
|
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
-
export {
|
|
402
|
+
export { OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_system_prompt };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-s9eewxz3.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node83
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-3pcz81vc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service75,
|
|
14
|
+
node78
|
|
15
|
+
} from "./file-3skezffz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info30,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event18,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-37b314vz.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-9qm9egsn.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-ajtjthsy.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID15,
|
|
40
|
+
Info: () => Info29,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service74,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node77,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode-ai/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID15 = ID16;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info29 = Info30;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID15
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service74 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service75;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID15.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event18.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID15.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID15.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID15.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID15.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID15.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID15.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service74.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node77 = makeGlobalNode({
|
|
276
|
+
service: Service74,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node83, node84, FSUtil.node,
|
|
278
|
+
deps: [node83, node84, FSUtil.node, node78, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID15, Vcs2, Current2, Info29, UpdateInput3, NotFoundError10, root2, Service74, node77, exports_project };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service61,
|
|
8
|
+
node63
|
|
9
|
+
} from "./file-pwsfrk47.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./file-xn93qykn.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service7,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node8,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service61;
|
|
331
|
+
return Service7.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node8 = makeLocationNode({ service: Service7, layer, deps: [node63] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node8, exports_read_filesystem };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-4z6b0fg6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID17
|
|
8
|
+
} from "./file-3wfq9j39.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-3pcz81vc.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event16
|
|
15
|
+
} from "./file-d17hrp67.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID11,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-qjhp7fv4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./file-z787d7xj.js";
|
|
23
23
|
import {
|
|
24
24
|
get3
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-y01np14z.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-age2sz3e.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID11.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service65;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID18.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID18.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID17.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID17.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID17.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -235,9 +235,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
235
235
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
236
236
|
if (interaction !== "conversation-agent")
|
|
237
237
|
evt.headers["x-initiator"] = "agent";
|
|
238
|
-
}), { providerID:
|
|
238
|
+
}), { providerID: ID18.githubCopilot });
|
|
239
239
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
240
|
-
if (evt.model.providerID !==
|
|
240
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
241
241
|
return;
|
|
242
242
|
const token = evt.request.headers.get("x-api-key");
|
|
243
243
|
if (!token)
|
|
@@ -245,9 +245,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
245
245
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
246
246
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
247
247
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
248
|
-
}), { providerID:
|
|
248
|
+
}), { providerID: ID18.githubCopilot });
|
|
249
249
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
250
|
-
if (evt.model.providerID !==
|
|
250
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
251
251
|
return;
|
|
252
252
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
253
253
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|