@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-c4v5m1fb.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service81,
|
|
10
10
|
node85
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-1w07c5qm.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-7w99qc9d.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-activity-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info20,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service57,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer22,
|
|
49
|
+
list: () => list4,
|
|
50
|
+
make: () => make19,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node61,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info20,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service57 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service82;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service81;
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info20.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer22 = Layer.effect(Service57, make19());
|
|
231
|
+
var node61 = makeGlobalNode({ service: Service57, layer: layer22, deps: [node86, node85] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service57, make19, layer22, node61, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-5qz30sk6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service66,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node70
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service66 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service66, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node70 = LayerNode.unbound(Service66, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service66, node70, canonical3, exports_location_service_map };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service64
|
|
4
|
+
} from "./location-activity-ka91825f.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service48
|
|
8
|
+
} from "./location-activity-6zzgfnnp.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-7w99qc9d.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service60
|
|
14
|
+
} from "./location-activity-tz8rbmya.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service61
|
|
18
|
+
} from "./location-activity-djy4s3w8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service27
|
|
21
|
+
} from "./location-activity-4t0fhshb.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-activity-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make10
|
|
27
|
+
} from "./location-activity-px3g1yhz.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input9,
|
|
36
|
+
Output: () => Output6,
|
|
37
|
+
Plugin: () => Plugin10,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description3,
|
|
40
|
+
name: () => name9
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name9 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input9 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input2 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output6 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description3 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description2 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin10 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service27;
|
|
84
|
+
const jobs = yield* Service60;
|
|
85
|
+
const agents = yield* Service64;
|
|
86
|
+
const config = yield* Service48;
|
|
87
|
+
const permission = yield* Service61;
|
|
88
|
+
const subagents = yield* make10;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name9,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description3,
|
|
93
|
+
input: Input9,
|
|
94
|
+
output: Output6,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin2 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name9,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin2 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID9.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
const hook = (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name9];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -207,4 +207,4 @@ ${output.output}
|
|
|
207
207
|
})
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { name9, Input9, Output6, description3, Plugin10, exports_subagent };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service32,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service32 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service32.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service32, awaitActivation2, exports_service };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-1w07c5qm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service16,
|
|
6
|
+
Event3
|
|
7
|
+
} from "./location-activity-ybb10w0w.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service16;
|
|
33
33
|
const bus = yield* Service81;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -59,7 +59,7 @@ var ModelsDevPlugin2 = define({
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
yield* bus.subscribe(
|
|
62
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
63
63
|
})
|
|
64
64
|
});
|
|
65
65
|
function environmentNames(provider) {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info12,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info12 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info12, exports_permission };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./location-activity-6h2kpdsd.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./location-activity-5qz30sk6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./location-activity-6zzgfnnp.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./location-activity-x0hexr7s.js";
|
|
18
18
|
import {
|
|
19
19
|
Service11
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-nscznvay.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-1ahg1sh0.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin38
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin38 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service48;
|
|
43
43
|
const discovery = yield* Service11;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service76;
|
|
47
|
+
const watcher = yield* Service49;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin17 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin17 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin17 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin17 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin17 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin38, exports_skill3 };
|