@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./location-y07gmyf9.js";
|
|
6
6
|
import {
|
|
7
7
|
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event9,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options10,
|
|
30
|
+
Service: () => Service49,
|
|
31
|
+
configured: () => configured10,
|
|
32
|
+
layer: () => layer20,
|
|
33
|
+
node: () => node53
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key4.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event9 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options10 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service49 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,7 +72,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service49.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured10(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service49,
|
|
110
|
+
layer: layer20(options),
|
|
111
|
+
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node53 = configured10();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event9, Options10, Service49, layer20, configured10, node53, exports_instruction_discovery };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-y07gmyf9.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service52,
|
|
17
|
+
node56
|
|
18
|
+
} from "./location-tknq6q93.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event11,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info18,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service51,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node55
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event11 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info18 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service51 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service82;
|
|
53
|
+
const cache = yield* Service52;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info18.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info18.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service51.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node55 = makeLocationNode({
|
|
116
|
+
service: Service51,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node86, node56]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info18, Service51, node55, exports_reference2, Event11 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./location-degw2fzn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./location-6rr5h8pv.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-efbgs6vz.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin36
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin36 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service46;
|
|
35
|
+
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin36, exports_reference };
|
|
@@ -4,29 +4,29 @@ import {
|
|
|
4
4
|
empty3,
|
|
5
5
|
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-eaj1djv9.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-t4qbbbps.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service38,
|
|
13
|
+
node41
|
|
14
|
+
} from "./location-42htsy3g.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name13
|
|
18
|
+
} from "./location-r312qztd.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
24
|
var exports_instructions2 = {};
|
|
25
25
|
__export(exports_instructions2, {
|
|
26
26
|
McpInstructions: () => exports_instructions2,
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
27
|
+
Service: () => Service30,
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node34
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,11 +62,11 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service30 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service38;
|
|
69
|
+
return Service30.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
@@ -90,7 +90,7 @@ var layer10 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node34 = makeLocationNode({ service: Service30, layer: layer12, deps: [node41] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service30, layer12, node34, exports_instructions2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./location-y07gmyf9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
Event2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-82h62x3b.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ 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*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service13;
|
|
33
|
+
const bus = yield* Service82;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./location-degw2fzn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./location-92pdxfkb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service7
|
|
12
|
+
} from "./location-vj505gsk.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service3
|
|
27
|
+
} from "./location-w1nh38jn.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Plugin: () => Plugin2,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name2,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name2 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input2 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin2 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service3;
|
|
62
|
+
const access = yield* Service58;
|
|
63
|
+
const sessionInstructions = yield* Service7;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name2,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input2,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin40 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent2 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name2, Input2, Plugin2, toModelContent2, exports_read };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service74
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-t4qbbbps.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input4,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin5,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name4 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input4 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input5 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input4.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin5 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
99
|
const permission = yield* Service74;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name4,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description2,
|
|
104
|
-
input:
|
|
104
|
+
input: Input4,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin38 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name4,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input4, Plugin5, extractTextFromHTML2, exports_webfetch };
|