@opencode/core 0.0.0-dev-19863 → 0.0.0-dev-19868
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-access-f71ryja2.js → workspace-09y5xx2s.js} +11 -11
- package/dist/chunks/{file-access-qwc1ntf4.js → workspace-0czfemej.js} +26 -26
- package/dist/chunks/{file-access-zbcka3qa.js → workspace-0mapazwk.js} +5 -5
- package/dist/chunks/{file-access-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-55bxwjz5.js → workspace-0w8keya2.js} +27 -27
- package/dist/chunks/{file-access-r9t00hsy.js → workspace-1109kv5r.js} +5 -5
- package/dist/chunks/{file-access-nbbbac21.js → workspace-119stp71.js} +22 -22
- package/dist/chunks/{file-access-qs81an5k.js → workspace-186vekz9.js} +10 -10
- package/dist/chunks/{file-access-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-qzhf7ync.js → workspace-1qyabnfk.js} +4 -4
- package/dist/chunks/{file-access-06pazpd1.js → workspace-1qycez7y.js} +10 -10
- package/dist/chunks/{file-access-x9mtwtp0.js → workspace-1rmaqtrx.js} +4 -4
- package/dist/chunks/workspace-215ctjcd.js +26 -0
- package/dist/chunks/{file-access-aymn0ca3.js → workspace-21mbbwne.js} +175 -175
- package/dist/chunks/{file-access-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-2402vzrj.js → workspace-2402vzrj.js} +1 -1
- package/dist/chunks/{file-access-z63w68vq.js → workspace-29x78va6.js} +6 -6
- package/dist/chunks/{file-access-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-3t104818.js → workspace-2cgcygzs.js} +11 -11
- package/dist/chunks/{file-access-anf4g2xw.js → workspace-2ph2e9fc.js} +27 -27
- package/dist/chunks/{file-access-jf9anmv7.js → workspace-2vkv0cnq.js} +12 -12
- package/dist/chunks/{file-access-57ez7d0k.js → workspace-2w6fc0zt.js} +7 -7
- package/dist/chunks/{file-access-e7rbx3sh.js → workspace-2y271c3v.js} +15 -15
- package/dist/chunks/{file-access-k6fwxkkf.js → workspace-30v61e4e.js} +9 -9
- package/dist/chunks/{file-access-zkhjfb6b.js → workspace-3dn0bamk.js} +6 -6
- package/dist/chunks/{file-access-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-q2fxn82f.js → workspace-3gaagh7n.js} +5 -5
- package/dist/chunks/{file-access-nzh1nzfe.js → workspace-3h8gz3da.js} +10 -10
- package/dist/chunks/{file-access-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-vykcaabf.js → workspace-3j0xc7ma.js} +6 -6
- package/dist/chunks/{file-access-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-1vvm1q8g.js → workspace-3tgcwym4.js} +21 -21
- package/dist/chunks/{file-access-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-zvph5cmm.js → workspace-3xdvkjpj.js} +27 -27
- package/dist/chunks/{file-access-fyfy8w34.js → workspace-3xmpap9n.js} +89 -89
- package/dist/chunks/{file-access-g8mfynjh.js → workspace-4t8knyq2.js} +5 -5
- package/dist/chunks/{file-access-rdqmx1a9.js → workspace-4tc7j1s6.js} +18 -18
- package/dist/chunks/{file-access-6ra6d4eb.js → workspace-4wywd361.js} +18 -18
- package/dist/chunks/{file-access-pgd7th8y.js → workspace-4znvn7gr.js} +20 -20
- package/dist/chunks/{file-access-bdqw341w.js → workspace-51zkqdw5.js} +9 -9
- package/dist/chunks/{file-access-bwckxjxx.js → workspace-52gr90nh.js} +11 -11
- package/dist/chunks/{file-access-m0t09dx6.js → workspace-52v19zrt.js} +11 -11
- package/dist/chunks/{file-access-p20b49vp.js → workspace-56ymmxn6.js} +15 -15
- package/dist/chunks/{file-access-429753mr.js → workspace-5bzxswar.js} +11 -11
- package/dist/chunks/{file-access-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-cdafskgp.js → workspace-5p22jxmx.js} +30 -30
- package/dist/chunks/{file-access-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-973t1awa.js → workspace-5tcart1v.js} +11 -11
- package/dist/chunks/{file-access-jw80jp6b.js → workspace-5wtwrezn.js} +19 -19
- package/dist/chunks/{file-access-07z80f2r.js → workspace-640tze88.js} +38 -38
- package/dist/chunks/{file-access-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{file-access-e4kmf4qy.js → workspace-6dgtvp0d.js} +3 -3
- package/dist/chunks/{file-access-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-50ta80k7.js → workspace-6n9fsvem.js} +29 -29
- package/dist/chunks/{file-access-3r15nznh.js → workspace-76005v5f.js} +14 -14
- package/dist/chunks/{file-access-3kd4kkpe.js → workspace-76prynaz.js} +21 -21
- package/dist/chunks/{file-access-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-7dqw4kz8.js → workspace-7dqw4kz8.js} +1 -1
- package/dist/chunks/{file-access-jk18z2h0.js → workspace-7mwh74bs.js} +47 -47
- package/dist/chunks/{file-access-w4arg62q.js → workspace-7yqjxrmz.js} +6 -6
- package/dist/chunks/{file-access-3801kdgp.js → workspace-84zcxbc9.js} +5 -5
- package/dist/chunks/{file-access-ghfx7cxe.js → workspace-8aa7pp5r.js} +6 -6
- package/dist/chunks/{file-access-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-tr6q4q7a.js → workspace-8e8ps5tf.js} +304 -304
- package/dist/chunks/{file-access-h2r7bbkd.js → workspace-8hgfhrm0.js} +7 -7
- package/dist/chunks/{file-access-dj2t23y0.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-access-d6n1kzbs.js → workspace-8zgc7er9.js} +24 -24
- package/dist/chunks/{file-access-d4we50a8.js → workspace-96mnwtcy.js} +3 -3
- package/dist/chunks/{file-access-6ngywp90.js → workspace-9705fph6.js} +4 -4
- package/dist/chunks/{file-access-mh6swfa3.js → workspace-9afpsfvx.js} +18 -18
- package/dist/chunks/{file-access-cv01vac5.js → workspace-9b4mawvy.js} +7 -7
- package/dist/chunks/{file-access-gqx40acz.js → workspace-9c4ssm1m.js} +26 -26
- package/dist/chunks/{file-access-8s8mxddj.js → workspace-9h41vc4j.js} +4 -4
- package/dist/chunks/{file-access-dmaq6vaq.js → workspace-9j1vvs8j.js} +18 -18
- package/dist/chunks/{file-access-b09hzw3k.js → workspace-9jwxq161.js} +2 -2
- package/dist/chunks/{file-access-nnbww75a.js → workspace-9m2qs40w.js} +24 -24
- package/dist/chunks/{file-access-b91g9yem.js → workspace-9qe8ae4t.js} +27 -27
- package/dist/chunks/{file-access-hp80zfgt.js → workspace-9sh3hrkk.js} +18 -18
- package/dist/chunks/{file-access-j81snqjq.js → workspace-9x5tcemn.js} +33 -33
- package/dist/chunks/{file-access-5c4hm403.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-access-7nag52br.js → workspace-a5a142dt.js} +16 -16
- package/dist/chunks/{file-access-vnk9czdx.js → workspace-aa9t59y1.js} +3 -3
- package/dist/chunks/{file-access-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-cjdw8dac.js → workspace-adnwk2gk.js} +17 -17
- package/dist/chunks/{file-access-y6kaprky.js → workspace-ag4kexbf.js} +16 -16
- package/dist/chunks/{file-access-4fxenty0.js → workspace-amrr7ry4.js} +18 -18
- package/dist/chunks/{file-access-539f8y6e.js → workspace-aybvkqa5.js} +32 -32
- package/dist/chunks/{file-access-hbffz1ak.js → workspace-azhhx3ms.js} +18 -18
- package/dist/chunks/{file-access-f6gdkqfj.js → workspace-b1y316pz.js} +12 -12
- package/dist/chunks/{file-access-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-psbckgmn.js → workspace-b6tzn7vp.js} +6 -6
- package/dist/chunks/{file-access-jjfctqnb.js → workspace-baka6n5b.js} +21 -21
- package/dist/chunks/{file-access-bb29ry6c.js → workspace-bj35d2pw.js} +2 -2
- package/dist/chunks/{file-access-3mkra18j.js → workspace-bq7nf7xv.js} +70 -70
- package/dist/chunks/{file-access-2b61h377.js → workspace-bw5fx9w3.js} +28 -28
- package/dist/chunks/{file-access-cpneeje0.js → workspace-c765mh8b.js} +8 -8
- package/dist/chunks/{file-access-y47hdg98.js → workspace-c9ynr917.js} +32 -32
- package/dist/chunks/workspace-cdngtrdw.js +252 -0
- package/dist/chunks/{file-access-m0jqrx5p.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-access-gg9g55xx.js → workspace-cjwramev.js} +8 -8
- package/dist/chunks/{file-access-by699wbx.js → workspace-cpjjta28.js} +33 -33
- package/dist/chunks/{file-access-fab8hzt3.js → workspace-cq37gk0t.js} +4 -4
- package/dist/chunks/{file-access-msq0jde0.js → workspace-csf2jhsg.js} +4 -4
- package/dist/chunks/{file-access-3e46v5sb.js → workspace-d0cqzhqk.js} +11 -11
- package/dist/chunks/{file-access-hnxgzxxa.js → workspace-d5ttdwt8.js} +15 -15
- package/dist/chunks/{file-access-qy4kp7rq.js → workspace-dev81jam.js} +10 -10
- package/dist/chunks/{file-access-6f0f4x0a.js → workspace-dg3actxj.js} +14 -14
- package/dist/chunks/{file-access-cfvwxf1e.js → workspace-dg479f66.js} +54 -54
- package/dist/chunks/{file-access-p789xr5w.js → workspace-dhsfmmf6.js} +19 -19
- package/dist/chunks/{file-access-e7fqda9w.js → workspace-djses6k1.js} +25 -25
- package/dist/chunks/{file-access-x822bj3k.js → workspace-dn898nnx.js} +14 -14
- package/dist/chunks/{file-access-dpkg50ah.js → workspace-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-access-57b9ws8p.js → workspace-drwq78ky.js} +5 -5
- package/dist/chunks/{file-access-5qd3pb7m.js → workspace-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-access-b6ae6k6t.js → workspace-e5wkkm03.js} +14 -14
- package/dist/chunks/{file-access-ymhwy2dz.js → workspace-ecjcczzd.js} +26 -26
- package/dist/chunks/{file-access-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-zrbnsv4e.js → workspace-em3wvctz.js} +15 -15
- package/dist/chunks/{file-access-76eeqvp0.js → workspace-emz89tv7.js} +6 -6
- package/dist/chunks/{file-access-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-access-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-1acjjqhc.js → workspace-f2n192rq.js} +4 -4
- package/dist/chunks/{file-access-f4kahraq.js → workspace-f7bpj06z.js} +35 -35
- package/dist/chunks/{file-access-hdnk95c8.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{file-access-hqe9mxx7.js → workspace-f9mw7c7h.js} +9 -9
- package/dist/chunks/{file-access-m8pm17pr.js → workspace-feqpnje0.js} +14 -14
- package/dist/chunks/workspace-fh9v80gy.js +326 -0
- package/dist/chunks/{file-access-xk747vep.js → workspace-fhs97t90.js} +8 -8
- package/dist/chunks/{file-access-ct4e4g17.js → workspace-fjq5ektr.js} +20 -20
- package/dist/chunks/{file-access-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-access-dkycemac.js → workspace-fyrtbwax.js} +13 -13
- package/dist/chunks/{file-access-2ehxpneg.js → workspace-g7jvb7c9.js} +12 -12
- package/dist/chunks/{file-access-8e2h7wda.js → workspace-g99e2w2z.js} +10 -10
- package/dist/chunks/{file-access-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-32dd2556.js → workspace-gjnmnqwt.js} +11 -11
- package/dist/chunks/{file-access-x343n0eb.js → workspace-gqef77pn.js} +9 -9
- package/dist/chunks/{file-access-acgtajkt.js → workspace-grprzeq7.js} +32 -32
- package/dist/chunks/{file-access-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-t68dv28a.js → workspace-gvmqr5pk.js} +25 -25
- package/dist/chunks/{file-access-749gjf0k.js → workspace-gwcgtenh.js} +3 -3
- package/dist/chunks/{file-access-wqbdqa8s.js → workspace-gx7pnxmb.js} +16 -16
- package/dist/chunks/{file-access-7rhez3ay.js → workspace-gxhq3ync.js} +13 -13
- package/dist/chunks/{file-access-j8zzr2am.js → workspace-gzbkpp9m.js} +6 -6
- package/dist/chunks/{file-access-5dkxrwgc.js → workspace-h2211vcb.js} +29 -29
- package/dist/chunks/{file-access-h6r3nrb9.js → workspace-h6r3nrb9.js} +1 -1
- package/dist/chunks/{file-access-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-2k71kv7p.js → workspace-h90v2x9d.js} +4 -4
- package/dist/chunks/{file-access-q77h0pfr.js → workspace-hckqc91h.js} +1 -1
- package/dist/chunks/{file-access-e6hmchc5.js → workspace-hcz3zddy.js} +5 -5
- package/dist/chunks/{file-access-xkezg9v4.js → workspace-hj5t9pdr.js} +40 -40
- package/dist/chunks/{file-access-hs4q6rma.js → workspace-hk53zz53.js} +31 -31
- package/dist/chunks/{file-access-f73rjn58.js → workspace-hn57h045.js} +4 -4
- package/dist/chunks/{file-access-nhy1v657.js → workspace-hn5pff8k.js} +24 -24
- package/dist/chunks/{file-access-wargq46t.js → workspace-hn77gdma.js} +8 -8
- package/dist/chunks/{file-access-ajspsemm.js → workspace-htw1ycyk.js} +13 -13
- package/dist/chunks/{file-access-7vxmp99d.js → workspace-hygh15yy.js} +11 -11
- package/dist/chunks/{file-access-07xdjdg8.js → workspace-j0cv997d.js} +15 -15
- package/dist/chunks/{file-access-4fqyk320.js → workspace-j1ffvbkn.js} +27 -27
- package/dist/chunks/{file-access-984xje6x.js → workspace-j42yeeyy.js} +9 -9
- package/dist/chunks/{file-access-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-11dqjexa.js → workspace-j58c5xyq.js} +9 -9
- package/dist/chunks/{file-access-r55eyngd.js → workspace-j63bvea4.js} +24 -24
- package/dist/chunks/{file-access-c1gs3dh6.js → workspace-j92jf1xs.js} +44 -44
- package/dist/chunks/{file-access-4cd0e9e2.js → workspace-jcrz4hmc.js} +3 -3
- package/dist/chunks/{file-access-ddbmfv8e.js → workspace-jejc27r1.js} +20 -20
- package/dist/chunks/{file-access-hmdtv3hb.js → workspace-jwha2mbq.js} +1 -1
- package/dist/chunks/{file-access-nzks3jc8.js → workspace-k3c624dm.js} +3 -3
- package/dist/chunks/{file-access-v9n4nm77.js → workspace-k4gqzfjc.js} +9 -9
- package/dist/chunks/{file-access-ywtj6b3p.js → workspace-k6d5y4dc.js} +36 -36
- package/dist/chunks/{file-access-cpzp4n4f.js → workspace-k8cw4d8y.js} +16 -16
- package/dist/chunks/{file-access-zbt6ewdw.js → workspace-k937qatw.js} +13 -13
- package/dist/chunks/{file-access-8mp2c53x.js → workspace-kms6q2ez.js} +33 -33
- package/dist/chunks/{file-access-3tq5qxbk.js → workspace-knb7evpn.js} +8 -8
- package/dist/chunks/{file-access-g64s1pw7.js → workspace-kxmwd5yc.js} +14 -14
- package/dist/chunks/{file-access-w66yan3f.js → workspace-m1bgddgg.js} +24 -24
- package/dist/chunks/{file-access-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-myjzxhnr.js → workspace-mbx2ejk6.js} +15 -15
- package/dist/chunks/{file-access-990r0brb.js → workspace-mcaqvdzr.js} +41 -41
- package/dist/chunks/{file-access-qb83d845.js → workspace-mdrscssp.js} +4 -4
- package/dist/chunks/{file-access-1ygqh575.js → workspace-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-access-1bbkgx8g.js → workspace-mhkvc446.js} +3 -3
- package/dist/chunks/{file-access-hjc52t7v.js → workspace-mvtq8teh.js} +16 -16
- package/dist/chunks/{file-access-r5vpk0b1.js → workspace-mxzszbxx.js} +4 -4
- package/dist/chunks/{file-access-tqxh9sy6.js → workspace-n5xymp74.js} +10 -10
- package/dist/chunks/{file-access-b9kgzdcb.js → workspace-n6v7ce86.js} +3 -3
- package/dist/chunks/{file-access-pykkax91.js → workspace-n6yg2dx3.js} +9 -9
- package/dist/chunks/{file-access-fa4s9qj6.js → workspace-nrrebj3s.js} +5 -5
- package/dist/chunks/{file-access-9z5eege9.js → workspace-nvesdtrj.js} +9 -9
- package/dist/chunks/{file-access-pecb0brz.js → workspace-nxhqveyz.js} +5 -5
- package/dist/chunks/{file-access-ed2prt79.js → workspace-p08vy892.js} +20 -20
- package/dist/chunks/{file-access-p28j5sbe.js → workspace-p28j5sbe.js} +2 -2
- package/dist/chunks/{file-access-9hn6k4tm.js → workspace-pa8pe2x7.js} +8 -8
- package/dist/chunks/workspace-pf31ssb9.js +18 -0
- package/dist/chunks/{file-access-99sjx0yd.js → workspace-phn0hpgm.js} +24 -24
- package/dist/chunks/{file-access-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-z6as0dsg.js → workspace-pytmt9db.js} +6 -6
- package/dist/chunks/{file-access-c1bpz4ww.js → workspace-pzgjdz9t.js} +13 -13
- package/dist/chunks/{file-access-qbw71bk2.js → workspace-q3bxgjqn.js} +4 -4
- package/dist/chunks/{file-access-71wn7kdp.js → workspace-qamn654r.js} +22 -22
- package/dist/chunks/workspace-qapv375x.js +4 -0
- package/dist/chunks/{file-access-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-8p86mmx1.js → workspace-qt8r77pr.js} +43 -43
- package/dist/chunks/{file-access-73kdj4zj.js → workspace-qwjmgwmn.js} +8 -8
- package/dist/chunks/{file-access-qsm0cf7x.js → workspace-qyjqzc07.js} +5 -5
- package/dist/chunks/{file-access-8wtbgtx1.js → workspace-r0xdmm2x.js} +3 -3
- package/dist/chunks/{file-access-t9zs3egg.js → workspace-r98e92ep.js} +4 -4
- package/dist/chunks/{file-access-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-8dh3tjm7.js → workspace-rg9v85ha.js} +5 -5
- package/dist/chunks/{file-access-7qdpe4cb.js → workspace-rghjtt8s.js} +9 -9
- package/dist/chunks/{file-access-rhjbct0v.js → workspace-rhjbct0v.js} +1 -1
- package/dist/chunks/{file-access-8jkn9f9x.js → workspace-rhs20sc7.js} +8 -8
- package/dist/chunks/{file-access-na55b3aj.js → workspace-rqbg1bcf.js} +23 -23
- package/dist/chunks/{file-access-f29kztmg.js → workspace-s1w4g419.js} +32 -32
- package/dist/chunks/{file-access-yrznvahk.js → workspace-s4enseaf.js} +2 -2
- package/dist/chunks/{file-access-hx57yszd.js → workspace-s88rm0rm.js} +15 -15
- package/dist/chunks/{file-access-4r3fv45v.js → workspace-schm2sng.js} +8 -8
- package/dist/chunks/{file-access-x5wzxpg9.js → workspace-sh5j93g6.js} +17 -17
- package/dist/chunks/{file-access-y6f0p4jw.js → workspace-skyymkrr.js} +2 -2
- package/dist/chunks/{file-access-xw30s5m2.js → workspace-snrwn5jy.js} +20 -20
- package/dist/chunks/{file-access-2t5vnt8a.js → workspace-sp98yqng.js} +5 -5
- package/dist/chunks/{file-access-65amc4wc.js → workspace-srym6801.js} +17 -17
- package/dist/chunks/{file-access-21mxbb5z.js → workspace-t9v3wm2f.js} +8 -8
- package/dist/chunks/{file-access-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-83whvwx3.js → workspace-tb1f4dxy.js} +15 -15
- package/dist/chunks/{file-access-633q10n3.js → workspace-tbvspnbj.js} +16 -16
- package/dist/chunks/{file-access-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-hcjxfz2r.js → workspace-tcmcg8px.js} +20 -20
- package/dist/chunks/{file-access-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-s138ptrs.js → workspace-tf5sv5hw.js} +22 -22
- package/dist/chunks/{file-access-pstg3rfm.js → workspace-ts2x07a1.js} +1 -1
- package/dist/chunks/{file-access-fgdyrx1e.js → workspace-tvjwykrv.js} +20 -20
- package/dist/chunks/{file-access-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-dycq19tv.js → workspace-tzrxspzq.js} +13 -13
- package/dist/chunks/{file-access-bqgqs8e0.js → workspace-v4hc9963.js} +13 -13
- package/dist/chunks/{file-access-6br953sr.js → workspace-v6gegsry.js} +4 -4
- package/dist/chunks/{file-access-yw9d9gv0.js → workspace-vasgb4rq.js} +11 -11
- package/dist/chunks/{file-access-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-sr7sk3ee.js → workspace-verpn3ap.js} +31 -31
- package/dist/chunks/{file-access-7bvyxnqv.js → workspace-vezzzda7.js} +3 -3
- package/dist/chunks/{file-access-9gea571p.js → workspace-vqfzq50h.js} +6 -6
- package/dist/chunks/{file-access-j20k1wmq.js → workspace-vr6b7mr3.js} +6 -6
- package/dist/chunks/{file-access-bjr5keq3.js → workspace-vs25hdcx.js} +24 -24
- package/dist/chunks/{file-access-587z1aba.js → workspace-vv04kfpz.js} +57 -57
- package/dist/chunks/{file-access-sgyk931h.js → workspace-vvq5e17p.js} +48 -48
- package/dist/chunks/{file-access-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-a694798e.js → workspace-w8xr7nv8.js} +5 -5
- package/dist/chunks/{file-access-dnwybsw8.js → workspace-w9r9xghe.js} +13 -13
- package/dist/chunks/{file-access-753eeyv7.js → workspace-wactcfnt.js} +20 -20
- package/dist/chunks/{file-access-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-vaxycq8g.js → workspace-wtq3xfw6.js} +11 -11
- package/dist/chunks/{file-access-gmdq7e7c.js → workspace-wvnvj3ny.js} +16 -16
- package/dist/chunks/{file-access-320sf96d.js → workspace-wxcv19ds.js} +19 -19
- package/dist/chunks/{file-access-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-84b5617d.js → workspace-x38a7pd9.js} +10 -10
- package/dist/chunks/{file-access-tr06x23f.js → workspace-x5pkgzc5.js} +10 -10
- package/dist/chunks/{file-access-0qthdtb2.js → workspace-x91xbnrx.js} +38 -38
- package/dist/chunks/{file-access-80vay0ye.js → workspace-x9s3fszq.js} +8 -8
- package/dist/chunks/{file-access-v5dkyp31.js → workspace-xb02k0wq.js} +4 -4
- package/dist/chunks/{file-access-fekv09bf.js → workspace-xbb7hcq8.js} +87 -87
- package/dist/chunks/{file-access-nvyr67dc.js → workspace-xhrj4m9x.js} +4 -4
- package/dist/chunks/{file-access-33kn07h9.js → workspace-xnrjh0c9.js} +26 -26
- package/dist/chunks/{file-access-5hrwwz9b.js → workspace-xsqft5rp.js} +9 -9
- package/dist/chunks/{file-access-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-w3x9v1nk.js → workspace-y1qqcj8h.js} +8 -8
- package/dist/chunks/{file-access-k99v8nfg.js → workspace-y85xckx8.js} +15 -15
- package/dist/chunks/{file-access-ehm8cjhm.js → workspace-ydj4c9qd.js} +10 -10
- package/dist/chunks/{file-access-amt0nx1c.js → workspace-yr9g6ed9.js} +11 -11
- package/dist/chunks/{file-access-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-xc4ptd00.js → workspace-yt0nqd71.js} +26 -26
- package/dist/chunks/{file-access-ymy3mzn4.js → workspace-yz3kvdcx.js} +35 -35
- package/dist/chunks/{file-access-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-g7tjr95a.js → workspace-z0fspzj3.js} +7 -7
- package/dist/chunks/{file-access-c78bbtc9.js → workspace-z3pw5915.js} +5 -5
- package/dist/chunks/{file-access-cg505evj.js → workspace-z6r9rkh1.js} +13 -13
- package/dist/chunks/{file-access-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-xdbpqf0a.js → workspace-zgr14hn3.js} +47 -47
- package/dist/chunks/{file-access-pjk7etnw.js → workspace-zmxsg9ks.js} +5 -5
- package/dist/chunks/{file-access-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-73j3stez.js → workspace-zrnz6j7v.js} +24 -24
- package/dist/chunks/{file-access-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +96 -96
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +5 -5
- 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 +91 -91
- package/dist/v1/config/permission.js +5 -5
- 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/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-access-0mesazry.js +0 -4
- package/dist/chunks/file-access-76fbbr1w.js +0 -326
- package/dist/chunks/file-access-7wwxh8rt.js +0 -252
- package/dist/chunks/file-access-dxj72tfx.js +0 -18
- package/dist/chunks/file-access-w7r2hqeb.js +0 -26
- /package/dist/chunks/{file-access-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-mdrscssp.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
|
+
Service76,
|
|
11
|
+
node80
|
|
12
|
+
} from "./workspace-gx7pnxmb.js";
|
|
13
|
+
import {
|
|
10
14
|
Service77,
|
|
11
15
|
node81
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service79,
|
|
15
|
-
node83
|
|
16
|
-
} from "./file-access-3r15nznh.js";
|
|
16
|
+
} from "./workspace-76005v5f.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service69,
|
|
19
|
+
node72
|
|
20
|
+
} from "./workspace-j63bvea4.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service75,
|
|
24
|
+
node79
|
|
25
|
+
} from "./workspace-tcmcg8px.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service74,
|
|
34
|
+
node78
|
|
35
|
+
} from "./workspace-119stp71.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./workspace-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service28,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured3,
|
|
57
|
+
layer: () => layer13,
|
|
58
|
+
node: () => node31
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service28 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options3 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service77;
|
|
106
|
+
const environment = yield* Service69;
|
|
107
107
|
const bus = yield* Service82;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service75;
|
|
109
|
+
const integration = yield* Service74;
|
|
110
|
+
const credentials = yield* Service76;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID13.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError3({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID14.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service69, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -391,7 +391,7 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service28.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured3(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
515
|
+
service: Service28,
|
|
516
|
+
layer: layer13(options),
|
|
517
|
+
deps: [node81, node72, node86, node79, node78, node80]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node31 = configured3();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service28, Options3, layer13, configured3, node31, exports_mcp4 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service49,
|
|
3
|
+
node51,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-nvesdtrj.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service41,
|
|
8
|
+
node43
|
|
9
|
+
} from "./workspace-vqfzq50h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./workspace-3xdvkjpj.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-cdngtrdw.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service49, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service42);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node43.replace(Layer.succeed(Service41, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node51.replace(Layer.succeed(Service49, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./workspace-2vkv0cnq.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service81,
|
|
16
|
+
node85
|
|
17
|
+
} from "./workspace-186vekz9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service30,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node33,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service30 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service79;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service81;
|
|
110
|
+
return Service30.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node33 = makeGlobalNode({
|
|
171
|
+
service: Service30,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node85]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service30, isError2, validateBranch2, node33, exports_repository_cache };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-52gr90nh.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./workspace-gx7pnxmb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-119stp71.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID12,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-0w8keya2.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID12.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID13.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service76;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./workspace-rghjtt8s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./workspace-vqfzq50h.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-pf31ssb9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service71
|
|
15
|
+
} from "./workspace-qwjmgwmn.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-j42yeeyy.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service33
|
|
23
|
+
} from "./workspace-zrnz6j7v.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service41;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service71;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service33;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service43;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-mdrscssp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./workspace-76005v5f.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service57,
|
|
14
|
+
node59
|
|
15
|
+
} from "./workspace-feqpnje0.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service11,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node13
|
|
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 Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service57;
|
|
41
|
+
const location = yield* Service77;
|
|
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 Service11.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 node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node86, FSUtil.node,
|
|
101
|
+
deps: [node86, FSUtil.node, node81, node59]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service11, node13, exports_instructions };
|