@opencode/core 0.0.0-dev-19752 → 0.0.0-dev-19754
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 +70 -70
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{permission-jg4d40sv.js → location-05ygg3qe.js} +4 -4
- package/dist/chunks/{permission-k8ywm71w.js → location-08f3efvy.js} +4 -4
- package/dist/chunks/{permission-kg2nghf4.js → location-0dx2y7e9.js} +39 -39
- package/dist/chunks/{permission-23pqda6t.js → location-0ft9cg2j.js} +4 -4
- package/dist/chunks/{permission-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{permission-vdqc3ek9.js → location-19hqpwt2.js} +32 -32
- package/dist/chunks/{permission-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-ansdn0ap.js → location-1e0grdj1.js} +4 -4
- package/dist/chunks/{permission-chnssm7d.js → location-1k5x2qhk.js} +23 -23
- package/dist/chunks/{permission-8dvk0psf.js → location-1ttp1ytm.js} +7 -7
- package/dist/chunks/{permission-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{permission-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{permission-26k5bknw.js → location-26k5bknw.js} +1 -1
- package/dist/chunks/{permission-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-5c3cp9w0.js → location-2a6t769v.js} +27 -27
- package/dist/chunks/{permission-hryqx6np.js → location-2cxfa0dv.js} +32 -32
- package/dist/chunks/{permission-8bs1297p.js → location-2pjqnemj.js} +17 -17
- package/dist/chunks/{permission-p59p7628.js → location-2qfd01hw.js} +49 -49
- package/dist/chunks/{permission-mfqp6xfm.js → location-33w4ejhs.js} +9 -9
- package/dist/chunks/{permission-sxhe0pgm.js → location-3dgv3hjd.js} +41 -41
- package/dist/chunks/{permission-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-3bh2hs5e.js → location-3jvz8kdw.js} +15 -15
- package/dist/chunks/{permission-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-tz2bjj40.js → location-3w0fmcng.js} +5 -5
- package/dist/chunks/{permission-xgwdmr5b.js → location-40rqm2bh.js} +4 -4
- package/dist/chunks/{permission-6bz791bh.js → location-42htsy3g.js} +53 -53
- package/dist/chunks/{permission-nzyhnfxz.js → location-44h5tttr.js} +4 -4
- package/dist/chunks/{permission-08nwsgbb.js → location-470p2a86.js} +11 -11
- package/dist/chunks/{permission-ercqhjnk.js → location-4a5qb9ne.js} +23 -23
- package/dist/chunks/{permission-n7embg6n.js → location-4cc1h1mq.js} +3 -3
- package/dist/chunks/{permission-p9b684vp.js → location-4dhnehv0.js} +28 -28
- package/dist/chunks/{permission-d5zc4w5k.js → location-4pegme4e.js} +44 -44
- package/dist/chunks/{permission-ndpqedqn.js → location-4qzjx893.js} +6 -6
- package/dist/chunks/{permission-4583akqq.js → location-4s40p9k7.js} +30 -30
- package/dist/chunks/{permission-wm68x9x4.js → location-4t1cgb8z.js} +9 -9
- package/dist/chunks/{permission-cyat2y1a.js → location-4ymr1qre.js} +3 -3
- package/dist/chunks/{permission-ws29f804.js → location-4zrmry1a.js} +11 -11
- package/dist/chunks/{permission-f9shwvv0.js → location-50pydq1b.js} +5 -5
- package/dist/chunks/{permission-v0thav0a.js → location-53we3s11.js} +19 -19
- package/dist/chunks/{permission-4vyg6ytn.js → location-54btsc2b.js} +20 -20
- package/dist/chunks/{permission-57ez7d0k.js → location-57ez7d0k.js} +2 -2
- package/dist/chunks/{permission-8bqq15hz.js → location-5895fefb.js} +6 -6
- package/dist/chunks/{permission-1h066dv5.js → location-58je2fax.js} +11 -11
- package/dist/chunks/{permission-4d3d5dnh.js → location-59k38er6.js} +30 -30
- package/dist/chunks/{permission-1xgrsnxm.js → location-59t0awad.js} +13 -13
- package/dist/chunks/{permission-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-qtxdprvc.js → location-5djjmt2r.js} +5 -5
- package/dist/chunks/{permission-knta4rdt.js → location-5ncvss9b.js} +22 -22
- package/dist/chunks/{permission-864agyax.js → location-5rj11cww.js} +5 -5
- package/dist/chunks/{permission-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-p37cw4rj.js → location-5yzzbxa7.js} +8 -8
- package/dist/chunks/{permission-r1xk49fk.js → location-60txwd5f.js} +9 -9
- package/dist/chunks/location-619r8v3y.js +18 -0
- package/dist/chunks/{permission-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{permission-gbrtfntv.js → location-6kqg9tnj.js} +65 -65
- package/dist/chunks/{permission-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-jswts1sh.js → location-6qr3rp4k.js} +6 -6
- package/dist/chunks/{permission-06fcmjmr.js → location-6r44w5n7.js} +23 -23
- package/dist/chunks/{permission-88e6yazr.js → location-6r7eqvte.js} +32 -32
- package/dist/chunks/location-6rph4hcx.js +49 -0
- package/dist/chunks/{permission-edrwpyyk.js → location-6rr5h8pv.js} +45 -45
- package/dist/chunks/{permission-xdx01fwx.js → location-6vfz26fc.js} +5 -5
- package/dist/chunks/{permission-ta7nbbm7.js → location-6znat1zd.js} +9 -9
- package/dist/chunks/{permission-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-tpxv5eqt.js → location-7d5kf786.js} +3 -3
- package/dist/chunks/{permission-szmwe7ed.js → location-7ehep04d.js} +10 -10
- package/dist/chunks/{permission-79612mke.js → location-7k4e5m1f.js} +19 -19
- package/dist/chunks/{permission-bgn3krwm.js → location-7kkf9gtp.js} +11 -11
- package/dist/chunks/{permission-q5f78nfd.js → location-7zff5f2w.js} +22 -22
- package/dist/chunks/{permission-1bv3n07a.js → location-8215kpvq.js} +87 -87
- package/dist/chunks/{permission-gcs74jzx.js → location-82h62x3b.js} +32 -32
- package/dist/chunks/{permission-q58mka6k.js → location-880p7epb.js} +9 -9
- package/dist/chunks/{permission-yenmzpw4.js → location-8b5x2rym.js} +7 -7
- package/dist/chunks/{permission-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{permission-we894vxs.js → location-8yt4q9vr.js} +25 -25
- package/dist/chunks/{permission-kqqbj3xh.js → location-92pdxfkb.js} +15 -15
- package/dist/chunks/{permission-xfc78b52.js → location-98s8e1rw.js} +8 -8
- package/dist/chunks/{permission-0f0m4yww.js → location-9b3vnfxp.js} +11 -11
- package/dist/chunks/{permission-zj09a0ew.js → location-9h41vc4j.js} +4 -4
- package/dist/chunks/{permission-vqzqm7px.js → location-9k0trt10.js} +11 -11
- package/dist/chunks/{permission-gmpwfzd7.js → location-9mnrwx6c.js} +19 -19
- package/dist/chunks/{permission-edfdbxqm.js → location-9p3nq51p.js} +28 -28
- package/dist/chunks/{permission-7jd8f7y6.js → location-9x1ezptv.js} +34 -34
- package/dist/chunks/{permission-yyxpaty5.js → location-9yh9j0es.js} +15 -15
- package/dist/chunks/{permission-0m35hzsx.js → location-9zyewfa2.js} +304 -304
- package/dist/chunks/{permission-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{permission-qa9q1t1p.js → location-a6akvax8.js} +22 -22
- package/dist/chunks/location-a88bzxj7.js +252 -0
- package/dist/chunks/{permission-vwa7vyvt.js → location-a8daz2nm.js} +19 -19
- package/dist/chunks/{permission-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-30jnt07w.js → location-ae9xvxm4.js} +29 -29
- package/dist/chunks/{permission-7kgrp11a.js → location-aq2hhbb5.js} +10 -10
- package/dist/chunks/{permission-r625ap1a.js → location-azx4vnej.js} +18 -18
- package/dist/chunks/{permission-f2k13p5x.js → location-b1a82khe.js} +12 -12
- package/dist/chunks/{permission-9x1e5yw6.js → location-b54zk12g.js} +22 -22
- package/dist/chunks/{permission-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-b97cbvw3.js → location-b97cbvw3.js} +1 -1
- package/dist/chunks/{permission-j34zbph1.js → location-b9y9tgv9.js} +13 -13
- package/dist/chunks/{permission-mty4n9q8.js → location-bdsqc29r.js} +24 -24
- package/dist/chunks/{permission-bha4atvq.js → location-bha4atvq.js} +4 -4
- package/dist/chunks/{permission-d1mtykxg.js → location-bw9zjykr.js} +6 -6
- package/dist/chunks/{permission-brxst1wj.js → location-bx7pdy00.js} +11 -11
- package/dist/chunks/{permission-2v8rms1t.js → location-c0g1hmz8.js} +16 -16
- package/dist/chunks/{permission-zcqjyxv6.js → location-c0g79gjn.js} +15 -15
- package/dist/chunks/{permission-9g3kc011.js → location-c488s98d.js} +12 -12
- package/dist/chunks/{permission-g190xswt.js → location-cavr175a.js} +4 -4
- package/dist/chunks/{permission-5b7y9z58.js → location-ccc8z42m.js} +7 -7
- package/dist/chunks/{permission-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{permission-mcppnc3p.js → location-cpwynne0.js} +21 -21
- package/dist/chunks/{permission-fqhbsnr5.js → location-cq9vh2fv.js} +8 -8
- package/dist/chunks/{permission-24r19mz0.js → location-cv9se371.js} +13 -13
- package/dist/chunks/{permission-2sejkfem.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{permission-8s8nckee.js → location-cxgtjqh0.js} +4 -4
- package/dist/chunks/{permission-4cv5ez35.js → location-cxp0yhm4.js} +30 -30
- package/dist/chunks/{permission-2hwxdyne.js → location-d1x6gan2.js} +8 -8
- package/dist/chunks/{permission-7d4tbxj8.js → location-d7b05d6k.js} +40 -40
- package/dist/chunks/{permission-twbrtgyh.js → location-dcse214k.js} +6 -6
- package/dist/chunks/{permission-hf5dqg4e.js → location-degw2fzn.js} +14 -14
- package/dist/chunks/{permission-kfg3zc9e.js → location-dfw05mcb.js} +23 -23
- package/dist/chunks/{permission-dnkva13v.js → location-dhxed570.js} +17 -17
- package/dist/chunks/{permission-fq6rvpa6.js → location-dk38q76h.js} +5 -5
- package/dist/chunks/{permission-qqeeq2t9.js → location-drwq78ky.js} +7 -7
- package/dist/chunks/{permission-n13xy5gs.js → location-e2f1r03f.js} +30 -30
- package/dist/chunks/{permission-3q18vfkb.js → location-e4s5wsx0.js} +26 -26
- package/dist/chunks/{permission-eaj1djv9.js → location-eaj1djv9.js} +1 -1
- package/dist/chunks/{permission-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-213jg20d.js → location-efbgs6vz.js} +29 -29
- package/dist/chunks/{permission-0jp8a8rx.js → location-eg1gpj3a.js} +13 -13
- package/dist/chunks/{permission-mpvkt5wd.js → location-ej65p0rp.js} +18 -18
- package/dist/chunks/{permission-erw5rpbs.js → location-erw5rpbs.js} +2 -2
- package/dist/chunks/{permission-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-b606z3x6.js → location-f2dc96r8.js} +6 -6
- package/dist/chunks/{permission-j6qe3921.js → location-f5fjq72r.js} +27 -27
- package/dist/chunks/{permission-zrefyrxc.js → location-f6jdw9wk.js} +18 -18
- package/dist/chunks/{permission-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{permission-xeb4646h.js → location-fbawcmnd.js} +8 -8
- package/dist/chunks/{permission-8zets213.js → location-fexw5mvn.js} +9 -9
- package/dist/chunks/{permission-nq7qbqzc.js → location-fhs97t90.js} +9 -9
- package/dist/chunks/{permission-25fxnrt3.js → location-fn5vdp5m.js} +81 -81
- package/dist/chunks/{permission-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{permission-7v0nq500.js → location-g17wn8cw.js} +12 -12
- package/dist/chunks/{permission-q8ym26hm.js → location-g4damz2s.js} +13 -13
- package/dist/chunks/{permission-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-wbkyxrgf.js → location-gg7pg1rj.js} +5 -5
- package/dist/chunks/{permission-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{permission-bzmhxfjk.js → location-gwvxqpv7.js} +18 -18
- package/dist/chunks/{permission-mx6ms3qb.js → location-gyve3rq7.js} +5 -5
- package/dist/chunks/{permission-p37t57k6.js → location-h13g856r.js} +27 -27
- package/dist/chunks/{permission-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-jm67vx9f.js → location-hbmxcjqj.js} +40 -40
- package/dist/chunks/{permission-h5r4kkc1.js → location-hmp1x13k.js} +2 -2
- package/dist/chunks/{permission-4ppk3asj.js → location-hn0f0zdj.js} +15 -15
- package/dist/chunks/{permission-zbh0y81c.js → location-htnsynwp.js} +11 -11
- package/dist/chunks/{permission-hfn2zrgx.js → location-hyrejdvv.js} +1 -1
- package/dist/chunks/{permission-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-80yzywcg.js → location-jdjpygpn.js} +1 -1
- package/dist/chunks/{permission-j8za9eer.js → location-jn3dn3tv.js} +7 -7
- package/dist/chunks/{permission-mz4kmcba.js → location-jp0yz35h.js} +13 -13
- package/dist/chunks/{permission-tevt2hwp.js → location-jv1xxs7q.js} +9 -9
- package/dist/chunks/{permission-6mtv4z71.js → location-jvbe9kz0.js} +33 -33
- package/dist/chunks/{permission-h45bvytj.js → location-jw0h1ja3.js} +26 -26
- package/dist/chunks/{permission-mmr7bq34.js → location-knb7evpn.js} +8 -8
- package/dist/chunks/{permission-hn824591.js → location-kxz8htra.js} +31 -31
- package/dist/chunks/{permission-a89e0tac.js → location-m0r31qfn.js} +4 -4
- package/dist/chunks/{permission-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-azfk5se2.js → location-m479avaq.js} +5 -5
- package/dist/chunks/{permission-k5ts2t60.js → location-m4fv4r77.js} +18 -18
- package/dist/chunks/{permission-8ep974pt.js → location-m7j0w58y.js} +8 -8
- package/dist/chunks/{permission-zbwdxxkq.js → location-m81yw74a.js} +3 -3
- package/dist/chunks/{permission-mzx6x42j.js → location-m9g140gf.js} +4 -4
- package/dist/chunks/{permission-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-91qjg98b.js → location-mamkxpqt.js} +16 -16
- package/dist/chunks/{permission-kbww7b3v.js → location-mfq58xys.js} +7 -7
- package/dist/chunks/{permission-mhkvc446.js → location-mhkvc446.js} +1 -1
- package/dist/chunks/{permission-v5c5r86a.js → location-my3nbca3.js} +5 -5
- package/dist/chunks/{permission-tar81kad.js → location-n4kesxxz.js} +14 -14
- package/dist/chunks/{permission-f51r30n0.js → location-n6151p29.js} +12 -12
- package/dist/chunks/{permission-tpdj9sck.js → location-n6v1p1rv.js} +8 -8
- package/dist/chunks/{permission-waa9wdep.js → location-ndqtf2h8.js} +6 -6
- package/dist/chunks/{permission-fgr5gamk.js → location-nfw2844t.js} +25 -25
- package/dist/chunks/{permission-njhqdk9p.js → location-njhqdk9p.js} +2 -2
- package/dist/chunks/{permission-8ykvs595.js → location-npajmshb.js} +10 -10
- package/dist/chunks/{permission-31gr8g3y.js → location-nqq83r9p.js} +54 -54
- package/dist/chunks/{permission-b3b41yj6.js → location-nw2grrtp.js} +33 -33
- package/dist/chunks/{permission-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{permission-p28j5sbe.js → location-p28j5sbe.js} +2 -2
- package/dist/chunks/{permission-73zhznt1.js → location-p5sk6m23.js} +32 -32
- package/dist/chunks/{permission-2dae59jt.js → location-p9xqg7t9.js} +9 -9
- package/dist/chunks/{permission-859rv9k1.js → location-pd9nn3ne.js} +17 -17
- package/dist/chunks/{permission-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{permission-31tr2586.js → location-praqn373.js} +9 -9
- package/dist/chunks/location-pzkt74ah.js +26 -0
- package/dist/chunks/{permission-5ywdhybg.js → location-q31adfz8.js} +13 -13
- package/dist/chunks/{permission-zq6stcrg.js → location-q8peyv7x.js} +8 -8
- package/dist/chunks/{permission-ffpbn0sw.js → location-qfx54062.js} +11 -11
- package/dist/chunks/{permission-qgn6gcr1.js → location-qgn6gcr1.js} +1 -1
- package/dist/chunks/{permission-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-59wg76sz.js → location-qx8pr09x.js} +3 -3
- package/dist/chunks/{permission-n46gggy7.js → location-r312qztd.js} +27 -27
- package/dist/chunks/{permission-5g9k75kb.js → location-r86jh9fw.js} +27 -27
- package/dist/chunks/{permission-f2n192rq.js → location-r8xr0va3.js} +4 -4
- package/dist/chunks/{permission-0n68sp88.js → location-rb3ck9sj.js} +8 -8
- package/dist/chunks/{permission-90wkmbmj.js → location-rcnj0rme.js} +33 -33
- package/dist/chunks/{permission-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-3hvmy9kc.js → location-rny3dqzs.js} +11 -11
- package/dist/chunks/{permission-4pjf94tq.js → location-s4t99ejd.js} +11 -11
- package/dist/chunks/{permission-6yxz03bh.js → location-s5g2gr5j.js} +11 -11
- package/dist/chunks/{permission-xv2yt9n7.js → location-s7dp56a3.js} +47 -47
- package/dist/chunks/{permission-v2q51gh1.js → location-s7j02z9m.js} +9 -9
- package/dist/chunks/{permission-a1a50ys5.js → location-s8zy8myc.js} +5 -5
- package/dist/chunks/{permission-4ata613a.js → location-sdep53ed.js} +16 -16
- package/dist/chunks/{permission-3sc7hnrh.js → location-skgxmk24.js} +28 -28
- package/dist/chunks/{permission-ad87akya.js → location-sztr4n2w.js} +20 -20
- package/dist/chunks/{permission-9jdpata9.js → location-t3aez6g2.js} +19 -19
- package/dist/chunks/{permission-cykfqhbf.js → location-t4267b90.js} +4 -4
- package/dist/chunks/{permission-md2fxt01.js → location-t4qbbbps.js} +19 -19
- package/dist/chunks/{permission-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-z0xds83t.js → location-tbc1560d.js} +33 -33
- package/dist/chunks/{permission-89znhe33.js → location-tcezcvh9.js} +4 -4
- package/dist/chunks/{permission-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{permission-516er5bv.js → location-tjnkxtjb.js} +162 -162
- package/dist/chunks/{permission-sxz6gkc3.js → location-tkmwgdpd.js} +4 -4
- package/dist/chunks/{permission-0d8h0w63.js → location-tknq6q93.js} +20 -20
- package/dist/chunks/{permission-p0b2zqjw.js → location-tr0b1em8.js} +9 -9
- package/dist/chunks/{permission-wg07ty1b.js → location-tr98cyyj.js} +33 -33
- package/dist/chunks/{permission-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-thjxzeng.js → location-tx9w5tca.js} +8 -8
- package/dist/chunks/{permission-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-p142c46b.js → location-vj505gsk.js} +19 -19
- package/dist/chunks/{permission-vmgq4x8b.js → location-vmgq4x8b.js} +2 -2
- package/dist/chunks/{permission-vmwh049b.js → location-vmwh049b.js} +3 -3
- package/dist/chunks/{permission-gjyfhpwg.js → location-vn7akvp0.js} +18 -18
- package/dist/chunks/{permission-j83byb14.js → location-vncycja5.js} +4 -4
- package/dist/chunks/{permission-x6h4pr1d.js → location-vtqj2nn1.js} +33 -33
- package/dist/chunks/{permission-arv089yb.js → location-vtt21ede.js} +10 -10
- package/dist/chunks/{permission-vqhvjsk9.js → location-vx82sa08.js} +16 -16
- package/dist/chunks/{permission-75vmkchq.js → location-vyyew2bd.js} +24 -24
- package/dist/chunks/{permission-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-t78cchjs.js → location-w1nh38jn.js} +14 -14
- package/dist/chunks/{permission-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{permission-wkwqyyf5.js → location-wgxkb9zp.js} +32 -32
- package/dist/chunks/{permission-7e7c6www.js → location-wm55hp8j.js} +18 -18
- package/dist/chunks/{permission-sw1r8dnw.js → location-wyx7s1ws.js} +36 -36
- package/dist/chunks/{permission-c65xb1pg.js → location-x0809vwh.js} +3 -3
- package/dist/chunks/{permission-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-v285gz14.js → location-x4vmrnra.js} +9 -9
- package/dist/chunks/{permission-c57ss9zk.js → location-x7hqa4ja.js} +17 -17
- package/dist/chunks/{permission-aqnhtne5.js → location-xbra3s6q.js} +32 -32
- package/dist/chunks/{permission-exgc8y13.js → location-xdtsb8mr.js} +13 -13
- package/dist/chunks/{permission-29dqn0y6.js → location-y07gmyf9.js} +16 -16
- package/dist/chunks/{permission-h9rzreqp.js → location-y19agrsy.js} +25 -25
- package/dist/chunks/{permission-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-kd159ksa.js → location-y2vx680w.js} +27 -27
- package/dist/chunks/{permission-vjwzxdnh.js → location-y6gnhzkc.js} +28 -28
- package/dist/chunks/{permission-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{permission-syzxh1k3.js → location-yj1rgshd.js} +24 -24
- package/dist/chunks/{permission-rmk2c50f.js → location-ykczf8eq.js} +5 -5
- package/dist/chunks/{permission-qhdvq0hw.js → location-ykjyqz5q.js} +15 -15
- package/dist/chunks/{permission-kt3g5jgv.js → location-ymd8awj8.js} +3 -3
- package/dist/chunks/{permission-jrdmzp61.js → location-ynnt83sx.js} +16 -16
- package/dist/chunks/{permission-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{permission-wp67pyg1.js → location-yt8as05q.js} +6 -6
- package/dist/chunks/{permission-tb8g5xe7.js → location-z0ase6az.js} +11 -11
- package/dist/chunks/{permission-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-knrkpzn1.js → location-z2xg158e.js} +12 -12
- package/dist/chunks/{permission-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{permission-npw43t42.js → location-zatg04pf.js} +23 -23
- package/dist/chunks/{permission-gst7axd9.js → location-zee1rnkq.js} +4 -4
- package/dist/chunks/{permission-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{permission-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-v3krke1w.js → location-zrvkv1b7.js} +27 -27
- package/dist/chunks/{permission-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- 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 +124 -124
- 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 +123 -123
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +105 -105
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- 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 +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +98 -98
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +71 -71
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +98 -98
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- 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 +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- 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 +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +2 -2
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- 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 +228 -228
- 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 +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +80 -80
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/v1/config/migrate.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/permission-3k25d1jn.js +0 -252
- package/dist/chunks/permission-51f1b14e.js +0 -26
- package/dist/chunks/permission-phz3h32g.js +0 -18
- package/dist/chunks/permission-x3t5tycm.js +0 -38
- /package/dist/chunks/{permission-0mesazry.js → location-0mesazry.js} +0 -0
- /package/dist/chunks/{permission-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5cmxdwv8.js → location-5cmxdwv8.js} +0 -0
- /package/dist/chunks/{permission-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,98 +1,98 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-470p2a86.js";
|
|
1
5
|
import {
|
|
2
6
|
Service82,
|
|
3
7
|
node86
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service81,
|
|
7
|
-
node85
|
|
8
|
-
} from "./permission-29dqn0y6.js";
|
|
8
|
+
} from "./location-y07gmyf9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-vmwh049b.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-a1bz86dw.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-bha4atvq.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-26k5bknw.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-98s8e1rw.js";
|
|
31
31
|
import {
|
|
32
32
|
Service76,
|
|
33
33
|
node80
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-jv1xxs7q.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service21,
|
|
37
|
+
node24
|
|
38
|
+
} from "./location-h13g856r.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service37,
|
|
44
|
+
node40
|
|
45
|
+
} from "./location-s4t99ejd.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-wgxkb9zp.js";
|
|
49
49
|
import {
|
|
50
50
|
make8
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-x0809vwh.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service9,
|
|
54
|
+
node11
|
|
55
|
+
} from "./location-4dhnehv0.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
57
|
+
Service28,
|
|
58
|
+
node32
|
|
59
|
+
} from "./location-fn5vdp5m.js";
|
|
60
60
|
import {
|
|
61
61
|
serialized2,
|
|
62
62
|
nextPromotable2,
|
|
63
63
|
promote2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./location-59k38er6.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
66
|
+
Service6,
|
|
67
67
|
isUntitled2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
node8
|
|
69
|
+
} from "./location-ae9xvxm4.js";
|
|
70
70
|
import {
|
|
71
71
|
DrainResult2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
Service60
|
|
73
|
+
} from "./location-zee1rnkq.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
75
|
+
node43
|
|
76
|
+
} from "./location-tr98cyyj.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
78
|
+
node49
|
|
79
|
+
} from "./location-g17wn8cw.js";
|
|
80
80
|
import {
|
|
81
81
|
Outcome2,
|
|
82
82
|
make7
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./location-a8daz2nm.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./
|
|
85
|
+
Service35
|
|
86
|
+
} from "./location-619r8v3y.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
88
|
+
node17
|
|
89
|
+
} from "./location-wm55hp8j.js";
|
|
90
90
|
import {
|
|
91
91
|
MAX_STEPS_PROMPT2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./location-y44na4kk.js";
|
|
93
93
|
import {
|
|
94
94
|
__export
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./location-9rqn6x4v.js";
|
|
96
96
|
|
|
97
97
|
// src/session/runner/llm.ts
|
|
98
98
|
var exports_llm = {};
|
|
@@ -105,16 +105,16 @@ import { and, desc, eq, sql } from "drizzle-orm";
|
|
|
105
105
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
106
106
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
107
107
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const bus = yield*
|
|
110
|
-
const lifecycle = yield*
|
|
108
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
109
|
+
const bus = yield* Service82;
|
|
110
|
+
const lifecycle = yield* Service21;
|
|
111
111
|
const store = yield* Service76;
|
|
112
|
-
const context = yield*
|
|
113
|
-
const modelTransport = yield*
|
|
114
|
-
const db = (yield*
|
|
115
|
-
const compaction = yield*
|
|
116
|
-
const plugins = yield*
|
|
117
|
-
const title = yield*
|
|
112
|
+
const context = yield* Service28;
|
|
113
|
+
const modelTransport = yield* Service37;
|
|
114
|
+
const db = (yield* Service83).db;
|
|
115
|
+
const compaction = yield* Service9;
|
|
116
|
+
const plugins = yield* Service35;
|
|
117
|
+
const title = yield* Service6;
|
|
118
118
|
const steps = yield* make7;
|
|
119
119
|
const titles = yield* FiberMap.make();
|
|
120
120
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -361,24 +361,24 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
return
|
|
364
|
+
return Service60.of({ drain });
|
|
365
365
|
}));
|
|
366
366
|
var node7 = makeLocationNode({
|
|
367
|
-
service:
|
|
367
|
+
service: Service60,
|
|
368
368
|
layer,
|
|
369
369
|
deps: [
|
|
370
|
-
|
|
371
|
-
|
|
370
|
+
node86,
|
|
371
|
+
node24,
|
|
372
372
|
llmClient2,
|
|
373
|
-
|
|
374
|
-
|
|
373
|
+
node32,
|
|
374
|
+
node40,
|
|
375
375
|
node80,
|
|
376
|
+
node11,
|
|
377
|
+
node17,
|
|
376
378
|
node8,
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
node45,
|
|
381
|
-
node86
|
|
379
|
+
node43,
|
|
380
|
+
node49,
|
|
381
|
+
node87
|
|
382
382
|
]
|
|
383
383
|
});
|
|
384
384
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make16,
|
|
14
14
|
node: () => node59,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make16 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -46,4 +46,4 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
46
46
|
});
|
|
47
47
|
var node59 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make16, RegistryService2, registry2, registryNode2, node59, exports_driver };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./location-y07gmyf9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node73
|
|
9
|
+
} from "./location-jp0yz35h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event12,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service55,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node60,
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service55 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event12 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service69;
|
|
81
|
+
const bus = yield* Service82;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event12.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service55.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event12.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event12.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node60 = makeGlobalNode({ service: Service55, layer, deps: [httpClient, node73, node86] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service55, Event12, inspect2, resolve4, node60, exports_wellknown };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-44h5tttr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-y07gmyf9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./location-vtqj2nn1.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9p3nq51p.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service67
|
|
20
|
+
} from "./location-tbc1560d.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./location-jvbe9kz0.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./location-a6akvax8.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9k0trt10.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID10.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service67;
|
|
161
|
+
const bus = yield* Service82;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID9.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID9.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID9.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID9.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service46
|
|
3
|
+
} from "./location-6rr5h8pv.js";
|
|
4
|
+
import {
|
|
5
|
+
match2
|
|
6
|
+
} from "./location-y1fvbwt7.js";
|
|
7
|
+
import {
|
|
8
|
+
observe2
|
|
9
|
+
} from "./location-qsdy395h.js";
|
|
10
|
+
import {
|
|
11
|
+
__export
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
|
+
|
|
14
|
+
// src/config/plugin/policy.ts
|
|
15
|
+
var exports_policy = {};
|
|
16
|
+
__export(exports_policy, {
|
|
17
|
+
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
+
Plugin: () => Plugin28
|
|
19
|
+
});
|
|
20
|
+
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
|
+
import { Effect } from "effect";
|
|
22
|
+
var Plugin28 = define({
|
|
23
|
+
id: "opencode.config.policy",
|
|
24
|
+
effect: Effect.fn(function* (ctx) {
|
|
25
|
+
const config = yield* Service46;
|
|
26
|
+
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
27
|
+
const policies = () => loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
28
|
+
yield* ctx.provider.transform((providers) => {
|
|
29
|
+
for (const record of providers.list()) {
|
|
30
|
+
const policy = policies().findLast((policy) => policy.action === "provider.use" && match2(record.provider.id, policy.resource));
|
|
31
|
+
if (policy?.effect === "deny")
|
|
32
|
+
providers.remove(record.provider.id);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
yield* ctx.permission.hook("evaluate", (event) => Effect.sync(() => {
|
|
36
|
+
const current = policies();
|
|
37
|
+
const denied = event.resources.some((resource) => {
|
|
38
|
+
const policy = current.findLast((policy) => policy.action === "permission" && match2(`${event.action}:${resource}`, policy.resource));
|
|
39
|
+
return policy?.effect === "deny";
|
|
40
|
+
});
|
|
41
|
+
if (!denied)
|
|
42
|
+
return;
|
|
43
|
+
event.effect = "deny";
|
|
44
|
+
event.message = "Blocked by configuration policy";
|
|
45
|
+
}));
|
|
46
|
+
})
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export { Plugin28, exports_policy };
|