@opencode/core 0.0.0-dev-19633 → 0.0.0-dev-19634
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 +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-trfk6ytm.js → location-activity-03k0eexa.js} +27 -27
- package/dist/chunks/{file-csf2jhsg.js → location-activity-06dxphr1.js} +4 -4
- package/dist/chunks/{file-reaqst9e.js → location-activity-08nh5zn9.js} +16 -16
- package/dist/chunks/{file-1jxs8g3d.js → location-activity-0cepvv5p.js} +6 -6
- package/dist/chunks/{file-57ez7d0k.js → location-activity-0ke265bw.js} +5 -5
- package/dist/chunks/location-activity-0mesazry.js +4 -0
- package/dist/chunks/{file-fqk05stv.js → location-activity-0n7g6cj7.js} +15 -15
- package/dist/chunks/{file-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → location-activity-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-bct739vz.js → location-activity-0v53mg2y.js} +4 -4
- package/dist/chunks/{file-ywv8d6na.js → location-activity-0vk5t9pc.js} +3 -3
- package/dist/chunks/{file-yktx02z7.js → location-activity-17zqhntc.js} +10 -10
- package/dist/chunks/{file-ggggb6p4.js → location-activity-1ahg1sh0.js} +4 -4
- package/dist/chunks/{file-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-ratrq7cm.js → location-activity-1g7epwpd.js} +7 -7
- package/dist/chunks/{file-tk3067ym.js → location-activity-1t5xpz08.js} +6 -6
- package/dist/chunks/{file-v39rhahm.js → location-activity-1w07c5qm.js} +4 -4
- package/dist/chunks/{file-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{file-2402vzrj.js → location-activity-2402vzrj.js} +1 -1
- package/dist/chunks/{file-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-bjmdedkt.js → location-activity-2e96adxv.js} +9 -9
- package/dist/chunks/{file-ysqbqr9v.js → location-activity-2hhwva0q.js} +9 -9
- package/dist/chunks/{file-jyx8080g.js → location-activity-2je136h8.js} +11 -11
- package/dist/chunks/{file-btpzzfa7.js → location-activity-2vzzw6jp.js} +28 -28
- package/dist/chunks/{file-dwq6ryhm.js → location-activity-3104ney4.js} +8 -8
- package/dist/chunks/{file-56gdpj1q.js → location-activity-33w4ejhs.js} +6 -6
- package/dist/chunks/{file-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-xhdd11xv.js → location-activity-3ga8xbd5.js} +3 -3
- package/dist/chunks/{file-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-vxkh401z.js → location-activity-3nzecmrt.js} +14 -14
- package/dist/chunks/{file-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-22qgyz1x.js → location-activity-43pnnnvw.js} +43 -43
- package/dist/chunks/{file-xc3e9g44.js → location-activity-458t80zw.js} +30 -30
- package/dist/chunks/{file-cd03251h.js → location-activity-45z7vb86.js} +22 -22
- package/dist/chunks/{file-vr7gxye5.js → location-activity-485fr60v.js} +9 -9
- package/dist/chunks/{file-q6p28vg6.js → location-activity-4ac3qaja.js} +24 -24
- package/dist/chunks/{file-y1qqcj8h.js → location-activity-4c8bw516.js} +8 -8
- package/dist/chunks/{file-h6r3nrb9.js → location-activity-4dgbcxzg.js} +4 -4
- package/dist/chunks/{file-0mwr2md3.js → location-activity-4rp2yav4.js} +10 -10
- package/dist/chunks/{file-qfv7kwmk.js → location-activity-4t0fhshb.js} +86 -86
- package/dist/chunks/{file-h8te88f7.js → location-activity-4ty2qzq0.js} +32 -32
- package/dist/chunks/{file-mpsnqy3c.js → location-activity-4v16ejc8.js} +47 -47
- package/dist/chunks/{file-v2jewarz.js → location-activity-4vmfdbff.js} +24 -24
- package/dist/chunks/{file-388ha1kr.js → location-activity-4vzm117m.js} +11 -11
- package/dist/chunks/{file-hrfc27x2.js → location-activity-4z00zrw6.js} +56 -56
- package/dist/chunks/{file-aecg16pk.js → location-activity-59p8qdqp.js} +15 -15
- package/dist/chunks/{file-5c70fjhz.js → location-activity-5c70fjhz.js} +1 -1
- package/dist/chunks/{file-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{file-c4xsvfhx.js → location-activity-5dbhyfh5.js} +2 -2
- package/dist/chunks/{file-5bw4mdqz.js → location-activity-5e5w41rp.js} +6 -6
- package/dist/chunks/{file-hfm7y40f.js → location-activity-5es8r5yy.js} +18 -18
- package/dist/chunks/{file-e3qxr5gk.js → location-activity-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-6j5sab4m.js → location-activity-5qz30sk6.js} +14 -14
- package/dist/chunks/{file-5rtg8v4f.js → location-activity-5rtg8v4f.js} +2 -2
- package/dist/chunks/{file-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-w81nape4.js → location-activity-5xsytjsa.js} +13 -13
- package/dist/chunks/{file-havg7an4.js → location-activity-5ykxsbpd.js} +22 -22
- package/dist/chunks/{file-ketnx304.js → location-activity-5ytz7yek.js} +3 -3
- package/dist/chunks/{file-jp2aae4f.js → location-activity-60apdgrg.js} +17 -17
- package/dist/chunks/{file-v7kq0jqq.js → location-activity-624sbt55.js} +18 -18
- package/dist/chunks/{file-q1c6gfm2.js → location-activity-64j4absa.js} +22 -22
- package/dist/chunks/{file-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{file-rza1nmht.js → location-activity-6797k0jx.js} +54 -54
- package/dist/chunks/{file-v7rddagg.js → location-activity-67j7x2y9.js} +15 -15
- package/dist/chunks/{file-08gdyecf.js → location-activity-68awae68.js} +15 -15
- package/dist/chunks/{file-7yqjxrmz.js → location-activity-6ersrjne.js} +4 -4
- package/dist/chunks/{file-a4encqx6.js → location-activity-6h2kpdsd.js} +22 -22
- package/dist/chunks/{file-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-estyg5p5.js → location-activity-6wp7q8m3.js} +19 -19
- package/dist/chunks/{file-36ne1e23.js → location-activity-6zzgfnnp.js} +43 -43
- package/dist/chunks/{file-dvbce6e0.js → location-activity-74dyz2va.js} +9 -9
- package/dist/chunks/{file-7yk17z6w.js → location-activity-76j2zkm1.js} +8 -8
- package/dist/chunks/{file-gw8pa80z.js → location-activity-77em19ny.js} +3 -3
- package/dist/chunks/{file-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-z1mqgmhk.js → location-activity-7mnesavp.js} +28 -28
- package/dist/chunks/{file-nnfbgt4m.js → location-activity-7vvyzmxr.js} +15 -15
- package/dist/chunks/{file-24zw8df7.js → location-activity-828jb2vs.js} +3 -3
- package/dist/chunks/{file-h71w788e.js → location-activity-82rhge12.js} +9 -9
- package/dist/chunks/{file-q09ks72y.js → location-activity-82smkxr2.js} +9 -9
- package/dist/chunks/{file-qx85yg7y.js → location-activity-857s70jj.js} +14 -14
- package/dist/chunks/{file-nh8yrv9m.js → location-activity-86v6ay1d.js} +9 -9
- package/dist/chunks/{file-kn86f5kn.js → location-activity-88qemxbw.js} +11 -11
- package/dist/chunks/{file-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-1hzb5dnf.js → location-activity-8kg2aj4x.js} +38 -38
- package/dist/chunks/{file-8p4f9s12.js → location-activity-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-hwcf7hy3.js → location-activity-8rbv3bp6.js} +16 -16
- package/dist/chunks/{file-n8vja0c5.js → location-activity-8tn4xam9.js} +41 -41
- package/dist/chunks/{file-63rgkb2p.js → location-activity-8zj8062m.js} +13 -13
- package/dist/chunks/{file-f0kq08np.js → location-activity-906sagcd.js} +16 -16
- package/dist/chunks/{file-8ts4f0wa.js → location-activity-97kz9v19.js} +24 -24
- package/dist/chunks/{file-f52r61pg.js → location-activity-9a1ma9rw.js} +8 -8
- package/dist/chunks/{file-33jbksaf.js → location-activity-9byb4ycz.js} +41 -41
- package/dist/chunks/location-activity-9sh4wc5j.js +18 -0
- package/dist/chunks/{file-a1bz86dw.js → location-activity-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-93h1d1zs.js → location-activity-a4h7akap.js} +6 -6
- package/dist/chunks/{file-vsp1fds9.js → location-activity-a8bn8zg0.js} +21 -21
- package/dist/chunks/{file-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{file-b5p7kkhd.js → location-activity-ad5n2mj6.js} +25 -25
- package/dist/chunks/{file-asrky1px.js → location-activity-aesb1r43.js} +16 -16
- package/dist/chunks/{file-9kb4ne1f.js → location-activity-af63xr5m.js} +35 -35
- package/dist/chunks/{file-d1z55vfk.js → location-activity-ajr48ztt.js} +9 -9
- package/dist/chunks/{file-jb9s1h96.js → location-activity-aw0bkw4n.js} +20 -20
- package/dist/chunks/{file-pkhtpr4x.js → location-activity-b21a51b0.js} +8 -8
- package/dist/chunks/{file-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-z38cfxs8.js → location-activity-b6ve8meh.js} +26 -26
- package/dist/chunks/{file-zfyzxy80.js → location-activity-bhxbyefv.js} +20 -20
- package/dist/chunks/{file-3qqhfkar.js → location-activity-bmje757x.js} +9 -9
- package/dist/chunks/{file-kz1rrfb1.js → location-activity-bra494j4.js} +10 -10
- package/dist/chunks/{file-fjvydvzm.js → location-activity-bscb95cy.js} +4 -4
- package/dist/chunks/{file-9qg8fg04.js → location-activity-bygegc7p.js} +19 -19
- package/dist/chunks/{file-ts2x07a1.js → location-activity-bz85s9hh.js} +1 -1
- package/dist/chunks/{file-c5dg5qah.js → location-activity-c4v5m1fb.js} +3 -3
- package/dist/chunks/{file-rmwvaztm.js → location-activity-c51pxcj4.js} +19 -19
- package/dist/chunks/{file-k0b1k2q1.js → location-activity-cdy9nwq0.js} +1 -1
- package/dist/chunks/{file-cfpkc3c9.js → location-activity-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-5jjjy8t8.js → location-activity-cgfbfj64.js} +10 -10
- package/dist/chunks/{file-apyhee51.js → location-activity-cjvkrytv.js} +32 -32
- package/dist/chunks/{file-4aywyc6v.js → location-activity-ctsyabgt.js} +5 -5
- package/dist/chunks/{file-cwa6csj7.js → location-activity-cwa6csj7.js} +2 -2
- package/dist/chunks/{file-gfda2rw4.js → location-activity-d0k04ae2.js} +16 -16
- package/dist/chunks/{file-pfbhhdtd.js → location-activity-d1fgk40q.js} +11 -11
- package/dist/chunks/{file-hestywzr.js → location-activity-d7gawgh4.js} +4 -4
- package/dist/chunks/{file-xc31d4e1.js → location-activity-daqfafcx.js} +17 -17
- package/dist/chunks/{file-qwrktqhq.js → location-activity-dbw68bey.js} +20 -20
- package/dist/chunks/{file-myw9zgpz.js → location-activity-ddx28pkg.js} +15 -15
- package/dist/chunks/{file-bbjrdapj.js → location-activity-denegxrg.js} +3 -3
- package/dist/chunks/{file-amxqwxb9.js → location-activity-dgvw86mt.js} +1 -1
- package/dist/chunks/{file-mck6zt6s.js → location-activity-djy4s3w8.js} +54 -54
- package/dist/chunks/{file-cmwkp3r5.js → location-activity-dv1qgsyq.js} +8 -8
- package/dist/chunks/{file-cpkr92p5.js → location-activity-e0g359b6.js} +8 -8
- package/dist/chunks/{file-zcrspsvn.js → location-activity-e2hjzebn.js} +4 -4
- package/dist/chunks/{file-e5nv3ght.js → location-activity-e5nv3ght.js} +2 -2
- package/dist/chunks/{file-a9geq6an.js → location-activity-ed1bc2fk.js} +26 -26
- package/dist/chunks/{file-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-cym3vtn1.js → location-activity-eh1pcsjb.js} +7 -7
- package/dist/chunks/{file-20gnpxcd.js → location-activity-eheadbcn.js} +2 -2
- package/dist/chunks/{file-r5x6zcsm.js → location-activity-eq1pz5kg.js} +3 -3
- package/dist/chunks/{file-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-rwr42tkk.js → location-activity-ewrkvhdm.js} +17 -17
- package/dist/chunks/{file-f828m53h.js → location-activity-f828m53h.js} +2 -2
- package/dist/chunks/{file-8qvyn53n.js → location-activity-f82gsy3s.js} +11 -11
- package/dist/chunks/{file-2k8khapm.js → location-activity-fcrkznn8.js} +5 -5
- package/dist/chunks/{file-tgjsfk5w.js → location-activity-fe0sgkgp.js} +12 -12
- package/dist/chunks/{file-nez2y5es.js → location-activity-fm3rdqht.js} +17 -17
- package/dist/chunks/{file-51f5btjf.js → location-activity-fpq9acqp.js} +6 -6
- package/dist/chunks/{file-fxbjtjnd.js → location-activity-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-g7jvb7c9.js → location-activity-g17wn8cw.js} +12 -12
- package/dist/chunks/{file-qv7q8zdk.js → location-activity-g9fxbq4t.js} +8 -8
- package/dist/chunks/{file-22rr13z9.js → location-activity-gbbkjfay.js} +5 -5
- package/dist/chunks/{file-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-2nf7qav7.js → location-activity-gp3kd06s.js} +10 -10
- package/dist/chunks/{file-jpat3yz2.js → location-activity-gqbhnfc6.js} +21 -21
- package/dist/chunks/{file-kmfs3jc4.js → location-activity-gv25b9hk.js} +26 -26
- package/dist/chunks/{file-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-rsdpy3wf.js → location-activity-gzvp2enz.js} +47 -47
- package/dist/chunks/{file-h03wrkyp.js → location-activity-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-vf8h0b9e.js → location-activity-h0d5zpw8.js} +2 -2
- package/dist/chunks/{file-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-ec8389mk.js → location-activity-h6z8d5tn.js} +4 -4
- package/dist/chunks/{file-mdv2xdqa.js → location-activity-hcjrr87k.js} +32 -32
- package/dist/chunks/{file-7ssa17s4.js → location-activity-hcsnm3w3.js} +11 -11
- package/dist/chunks/{file-bajakh74.js → location-activity-hfdr1yjj.js} +4 -4
- package/dist/chunks/{file-9053hp5s.js → location-activity-hj9g8gj7.js} +24 -24
- package/dist/chunks/{file-hjt4xg1x.js → location-activity-hjt4xg1x.js} +1 -1
- package/dist/chunks/{file-sjf89ma5.js → location-activity-hk1c8vyd.js} +4 -4
- package/dist/chunks/{file-5gvwq26r.js → location-activity-hnzxsa26.js} +15 -15
- package/dist/chunks/{file-xv5q61nr.js → location-activity-hrzb5a4q.js} +46 -46
- package/dist/chunks/{file-ex563nqe.js → location-activity-j0hg1fhw.js} +15 -15
- package/dist/chunks/{file-6d916rqt.js → location-activity-j1c46xdf.js} +9 -9
- package/dist/chunks/{file-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{file-3098jbw5.js → location-activity-jk093xc7.js} +20 -20
- package/dist/chunks/{file-qp80rvch.js → location-activity-jm6h2r7k.js} +10 -10
- package/dist/chunks/{file-yv7s2srq.js → location-activity-jr96ebry.js} +11 -11
- package/dist/chunks/{file-jv01nqvq.js → location-activity-jv01nqvq.js} +2 -2
- package/dist/chunks/{file-99fd2cyh.js → location-activity-k0s3vght.js} +14 -14
- package/dist/chunks/{file-dbdrkm7d.js → location-activity-k4x8m3jx.js} +11 -11
- package/dist/chunks/{file-12s5y6q5.js → location-activity-ka91825f.js} +24 -24
- package/dist/chunks/{file-w08fgf6n.js → location-activity-kgryvjyb.js} +24 -24
- package/dist/chunks/location-activity-kjwcy8ba.js +247 -0
- package/dist/chunks/{file-wsvc6zbt.js → location-activity-kyqhqh76.js} +20 -20
- package/dist/chunks/{file-mb48mf1e.js → location-activity-kza62csq.js} +9 -9
- package/dist/chunks/{file-a9ws9tp6.js → location-activity-m473011f.js} +149 -149
- package/dist/chunks/{file-ah70y75m.js → location-activity-m5z73ybf.js} +4 -4
- package/dist/chunks/{file-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-0w7q9ets.js → location-activity-mek6yvvy.js} +13 -13
- package/dist/chunks/{file-5fgw95me.js → location-activity-mg95cf2p.js} +24 -24
- package/dist/chunks/{file-6p7btwhh.js → location-activity-mss6c2nq.js} +28 -28
- package/dist/chunks/{file-zakcdkb2.js → location-activity-mwfp9aa9.js} +11 -11
- package/dist/chunks/{file-0j37mfc2.js → location-activity-mymwj47g.js} +10 -10
- package/dist/chunks/{file-znfm1bq2.js → location-activity-n8qb34cr.js} +3 -3
- package/dist/chunks/{file-dfv5nr8w.js → location-activity-nekcz3xb.js} +29 -29
- package/dist/chunks/{file-6kgc56n8.js → location-activity-nj9fmwgy.js} +6 -6
- package/dist/chunks/{file-bzryrp9c.js → location-activity-njce05kc.js} +4 -4
- package/dist/chunks/{file-nng2ktcm.js → location-activity-nng2ktcm.js} +2 -2
- package/dist/chunks/{file-nscznvay.js → location-activity-nscznvay.js} +2 -2
- package/dist/chunks/{file-fz6z0z24.js → location-activity-p2tjnj4y.js} +26 -26
- package/dist/chunks/{file-h2tct5hm.js → location-activity-p3ffc6th.js} +3 -3
- package/dist/chunks/{file-avm8jn6n.js → location-activity-p44d8wdy.js} +5 -5
- package/dist/chunks/{file-h3fpqjd9.js → location-activity-p9bf82zb.js} +15 -15
- package/dist/chunks/{file-gssz6jt1.js → location-activity-pcfw4ytb.js} +13 -13
- package/dist/chunks/{file-2bbg8wfw.js → location-activity-pjt0tmyv.js} +13 -13
- package/dist/chunks/{file-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{file-236n6ceq.js → location-activity-prj1dfna.js} +10 -10
- package/dist/chunks/{file-x05tasj6.js → location-activity-pttq9aty.js} +27 -27
- package/dist/chunks/{file-n5t1yewa.js → location-activity-px3g1yhz.js} +11 -11
- package/dist/chunks/{file-xdx7acry.js → location-activity-px76j0pk.js} +9 -9
- package/dist/chunks/{file-25tbh0a9.js → location-activity-pxzgjcae.js} +35 -35
- package/dist/chunks/{file-y4gsk34f.js → location-activity-q1gpg2vw.js} +20 -20
- package/dist/chunks/{file-tj0w0ggk.js → location-activity-q6an3wbr.js} +30 -30
- package/dist/chunks/{file-83shcc6r.js → location-activity-q6df46tn.js} +34 -34
- package/dist/chunks/{file-c9qrq06s.js → location-activity-q95mpdhc.js} +24 -24
- package/dist/chunks/{file-ccex73ek.js → location-activity-qdqcp7gy.js} +13 -13
- package/dist/chunks/{file-6d18bct7.js → location-activity-qhhpdnq3.js} +10 -10
- package/dist/chunks/{file-gz7yhg24.js → location-activity-qk50xyb4.js} +26 -26
- package/dist/chunks/{file-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{file-y3pfkng4.js → location-activity-qv2g90k7.js} +25 -25
- package/dist/chunks/{file-5mt8epf5.js → location-activity-qwd5gyh3.js} +22 -22
- package/dist/chunks/{file-qe5hvpyx.js → location-activity-r5nctdyj.js} +11 -11
- package/dist/chunks/{file-yp2x3t23.js → location-activity-r8xr0va3.js} +4 -4
- package/dist/chunks/{file-r9mregkx.js → location-activity-r9mregkx.js} +2 -2
- package/dist/chunks/{file-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-7x76c1sj.js → location-activity-rfz3en0a.js} +3 -3
- package/dist/chunks/{file-s95gtvp0.js → location-activity-rmdsgb4c.js} +34 -34
- package/dist/chunks/location-activity-rz06d95t.js +474 -0
- package/dist/chunks/{file-cjwramev.js → location-activity-s4anq1bw.js} +8 -8
- package/dist/chunks/{file-t550f9t1.js → location-activity-s8d7rejh.js} +4 -4
- package/dist/chunks/{file-dya7y50p.js → location-activity-sbcsw7x3.js} +30 -30
- package/dist/chunks/{file-cqc56ez4.js → location-activity-ss7b8w3x.js} +6 -6
- package/dist/chunks/{file-qfdya410.js → location-activity-t25tx0ny.js} +7 -7
- package/dist/chunks/{file-fv79fttw.js → location-activity-t5cp6zrj.js} +1 -1
- package/dist/chunks/{file-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{file-z3pw5915.js → location-activity-tn0aqsam.js} +5 -5
- package/dist/chunks/{file-564ycq4z.js → location-activity-tqt9saaw.js} +23 -23
- package/dist/chunks/{file-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{file-cgng3gqm.js → location-activity-twg49p76.js} +20 -20
- package/dist/chunks/{file-2hg7403c.js → location-activity-tz8rbmya.js} +17 -17
- package/dist/chunks/{file-m4bjxehm.js → location-activity-v0cp65xe.js} +30 -30
- package/dist/chunks/{file-9eg4jjgq.js → location-activity-v27f6r8c.js} +5 -5
- package/dist/chunks/location-activity-va9hbjm6.js +26 -0
- package/dist/chunks/{file-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{file-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{file-qcx0cfj6.js → location-activity-wpc3sj2f.js} +18 -18
- package/dist/chunks/{file-gp1zxvd9.js → location-activity-wy5fhmgr.js} +23 -23
- package/dist/chunks/{file-jrw4dqw4.js → location-activity-wyw011zf.js} +11 -11
- package/dist/chunks/{file-fvhy57rz.js → location-activity-x0hexr7s.js} +18 -18
- package/dist/chunks/{file-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-4a0nv7mx.js → location-activity-x353b1jt.js} +8 -8
- package/dist/chunks/{file-305s6fsh.js → location-activity-xbahze9c.js} +22 -22
- package/dist/chunks/{file-z5b2tyzk.js → location-activity-xcr2005v.js} +10 -10
- package/dist/chunks/{file-m10hdbyk.js → location-activity-xfrj9n77.js} +24 -24
- package/dist/chunks/{file-sr1664q2.js → location-activity-xkqk101e.js} +36 -36
- package/dist/chunks/{file-9g3kc011.js → location-activity-xm1e10md.js} +12 -12
- package/dist/chunks/{file-mfxefjzv.js → location-activity-xt1m3p2v.js} +84 -84
- package/dist/chunks/{file-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-y71avatq.js → location-activity-y71avatq.js} +1 -1
- package/dist/chunks/{file-dhwr7h25.js → location-activity-y7x142mt.js} +11 -11
- package/dist/chunks/{file-j9psxn98.js → location-activity-ybb10w0w.js} +32 -32
- package/dist/chunks/{file-5x56vrz6.js → location-activity-yh6estck.js} +36 -36
- package/dist/chunks/{file-srdy1k96.js → location-activity-ykhkzagw.js} +1 -1
- package/dist/chunks/{file-dxv1v3h4.js → location-activity-ypaa3ddc.js} +20 -20
- package/dist/chunks/{file-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-s4enseaf.js → location-activity-yrznvahk.js} +2 -2
- package/dist/chunks/{file-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mzhbp9vf.js → location-activity-z2ccthd6.js} +22 -22
- package/dist/chunks/{file-29x78va6.js → location-activity-z63w68vq.js} +6 -6
- package/dist/chunks/{file-0akazjeg.js → location-activity-z6jgj9qh.js} +5 -5
- package/dist/chunks/{file-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-fegk541e.js → location-activity-zk8c4w5t.js} +5 -5
- package/dist/chunks/{file-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-5mmf2z69.js → location-activity-zvtx7z4t.js} +4 -4
- package/dist/chunks/{file-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- 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 +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- 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 +122 -122
- 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 +125 -125
- 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 +80 -80
- 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 +362 -362
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- 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-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +124 -124
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- 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/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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 +91 -91
- 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/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 +157 -157
- 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 +342 -342
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +227 -227
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- 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 +132 -132
- package/dist/session/context.js +150 -150
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +149 -149
- 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 +117 -117
- 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 +226 -226
- 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 +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -169
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- 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 +123 -123
- 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 +121 -121
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- 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 +13 -13
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +80 -80
- 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 +8 -8
- 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-619r8v3y.js +0 -18
- package/dist/chunks/file-9jbarykq.js +0 -26
- package/dist/chunks/file-h47he10w.js +0 -4
- package/dist/chunks/file-tqgcjhcb.js +0 -247
- package/dist/chunks/file-xz51q8fv.js +0 -474
- /package/dist/chunks/{file-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-7w99qc9d.js → location-activity-7w99qc9d.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → location-activity-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-2e96adxv.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-djy4s3w8.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-xbahze9c.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-mek6yvvy.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node56
|
|
9
|
+
} from "./location-activity-xfrj9n77.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./location-activity-v0cp65xe.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-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: () => Service4,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node6,
|
|
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 Service4 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(Service4, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service52;
|
|
331
|
+
return Service4.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 node6 = makeLocationNode({ service: Service4, layer, deps: [node56] });
|
|
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, Service4, read2, node6, exports_read_filesystem };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-p2tjnj4y.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info25
|
|
11
|
+
} from "./location-activity-mss6c2nq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID11.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,10 +118,10 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info25.make({
|
|
122
|
+
...Info25.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
124
|
+
modelID: ID11.make(remote.id),
|
|
125
125
|
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./location-activity-5qz30sk6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./location-activity-6zzgfnnp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service20
|
|
12
|
+
} from "./location-activity-c51pxcj4.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin39
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin39 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service48;
|
|
34
|
+
const location = yield* Service76;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service20;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin21 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin39, exports_worktree };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-gzvp2enz.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-1w07c5qm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-activity-5qz30sk6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service64,
|
|
12
|
+
node68
|
|
13
|
+
} from "./location-activity-ka91825f.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError8
|
|
16
|
+
} from "./location-activity-2e96adxv.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service63,
|
|
19
|
+
node67
|
|
20
|
+
} from "./location-activity-906sagcd.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service62,
|
|
26
|
+
node66
|
|
27
|
+
} from "./location-activity-60apdgrg.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service65,
|
|
30
|
+
node69
|
|
31
|
+
} from "./location-activity-x353b1jt.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event11,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service61,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node65
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event11 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID7,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service61 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service81;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service76;
|
|
133
|
+
const agents = yield* Service64;
|
|
134
|
+
const sessions = yield* Service63;
|
|
135
|
+
const saved = yield* Service62;
|
|
136
|
+
const hooks = yield* Service65;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError8({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID7.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service61.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node65 = makeLocationNode({
|
|
289
|
+
service: Service61,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node85,
|
|
291
|
+
deps: [node85, node80, node68, node67, node66, node69]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service61, node65, exports_permission2, Rule3, Ruleset2, Event11 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node5
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node5 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node5, bound2, exports_instance2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-cgfbfj64.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-1w07c5qm.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./location-activity-mg95cf2p.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-xbahze9c.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-p2tjnj4y.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -226,7 +226,7 @@ var OpenAIPlugin3 = define({
|
|
|
226
226
|
evt.headers["session-id"] = evt.sessionID;
|
|
227
227
|
}), { providerID: ID13.openai });
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(
|
|
229
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
})
|
|
231
231
|
});
|
|
232
232
|
function headers(contentType, app) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service56,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service56 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service56, exports_runner };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|