@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
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./location-activity-6zzgfnnp.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service52
|
|
13
|
+
} from "./location-activity-xfrj9n77.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service60
|
|
16
|
+
} from "./location-activity-tz8rbmya.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service61
|
|
19
|
+
} from "./location-activity-djy4s3w8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service24,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-5es8r5yy.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service44,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-activity-64j4absa.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service42
|
|
37
|
+
} from "./location-activity-4v16ejc8.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service27
|
|
40
|
+
} from "./location-activity-4t0fhshb.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-activity-m5z73ybf.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin3,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin3 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service27;
|
|
122
|
+
const jobs = yield* Service60;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service52;
|
|
125
|
+
const access = yield* Service24;
|
|
126
|
+
const shell = yield* Service42;
|
|
127
|
+
const shellSelect = yield* Service44;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service61;
|
|
130
|
+
const config = yield* Service48;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin6 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name3,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin6 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name3,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input3,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin6 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name3,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name3];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin3, exports_shell };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-c4v5m1fb.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-1w07c5qm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./location-activity-fpq9acqp.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-2e96adxv.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service63
|
|
29
|
+
} from "./location-activity-906sagcd.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service57
|
|
34
|
+
} from "./location-activity-97kz9v19.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service55
|
|
37
|
+
} from "./location-activity-8kg2aj4x.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-activity-aesb1r43.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./location-activity-aw0bkw4n.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-activity-ajr48ztt.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-activity-74dyz2va.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service81;
|
|
67
67
|
const database = yield* Service82;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service63;
|
|
69
|
+
const instances = yield* Service59;
|
|
70
|
+
const execution = yield* Service55;
|
|
71
|
+
const admission = yield* Service57;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError8({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service59, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service59, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service59, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service82, database), Effect.provideService(Service81, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service81, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-a8bn8zg0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info10
|
|
9
|
+
} from "./location-activity-y7x142mt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info17
|
|
12
|
+
} from "./location-activity-tn0aqsam.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info16
|
|
15
|
+
} from "./location-activity-1g7epwpd.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info14
|
|
18
|
+
} from "./location-activity-p44d8wdy.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-fcrkznn8.js";
|
|
22
22
|
import {
|
|
23
23
|
Info18
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-activity-jv01nqvq.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info9
|
|
27
|
+
} from "./location-activity-8tn4xam9.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-activity-hk1c8vyd.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info14, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions2 = {};
|
|
18
|
+
__export(exports_instructions2, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions2,
|
|
20
20
|
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
@@ -115,7 +115,7 @@ var key = Key3.make("core/codemode");
|
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
116
|
var make14 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make21({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
@@ -127,4 +127,4 @@ var make14 = (inventory) => {
|
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export { render2, update3, make14,
|
|
130
|
+
export { render2, update3, make14, exports_instructions2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-1w07c5qm.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event17,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError9,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service73,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node77,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event17 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service73 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service81;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID15.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service73.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node77 = makeLocationNode({ service: Service73, layer: layer24, deps: [node85] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID15, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service73, layer24, node77, validateAnswer2, validateFields2, exports_form, Event17 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service43,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node47
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service43 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service43, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service43.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service63, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node47 = makeGlobalNode({ service: Service43, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service43, node47, exports_environment };
|