@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,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./location-6rr5h8pv.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./location-54btsc2b.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service68
|
|
16
|
+
} from "./location-dhxed570.js";
|
|
17
17
|
import {
|
|
18
18
|
Service74
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-t4qbbbps.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service58,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-92pdxfkb.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service48,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-mamkxpqt.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service43
|
|
37
|
+
} from "./location-2qfd01hw.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./location-8215kpvq.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-40rqm2bh.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin13,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name12 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input12 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin13 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service26;
|
|
122
|
+
const jobs = yield* Service68;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service53;
|
|
125
|
+
const access = yield* Service58;
|
|
126
|
+
const shell = yield* Service43;
|
|
127
|
+
const shellSelect = yield* Service48;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
129
|
const permission = yield* Service74;
|
|
130
|
-
const config = yield*
|
|
130
|
+
const config = yield* Service46;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin41 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name12,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin41 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name12,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input12,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin41 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name12,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name12];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin13, exports_shell };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-y6gnhzkc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID5.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./location-degw2fzn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service24,
|
|
12
|
+
node27
|
|
13
|
+
} from "./location-p5sk6m23.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -21,28 +21,28 @@ __export(exports_filesystem, {
|
|
|
21
21
|
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event6,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError4,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service23,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node26
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -62,7 +62,7 @@ var Content2 = Schema.Struct({
|
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event6 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service23 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service79;
|
|
95
|
+
const search = yield* Service24;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service23.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node26 = makeLocationNode({
|
|
144
|
+
service: Service23,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, node27]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service23, node26, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./location-bw9zjykr.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-619r8v3y.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-vmwh049b.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service39
|
|
12
|
+
} from "./location-y6gnhzkc.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service62;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./location-tbc1560d.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID9.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./location-6rr5h8pv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./location-880p7epb.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin39
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin39 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service46;
|
|
26
|
+
const image = yield* Service42;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin13 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin39, exports_image };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./location-tbc1560d.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-yt8as05q.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID9.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./location-y07gmyf9.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event17
|
|
7
|
+
} from "./location-vtqj2nn1.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-9p3nq51p.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID9,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-tbc1560d.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID4,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-skgxmk24.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID10.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -108,7 +108,7 @@ function oauth(http) {
|
|
|
108
108
|
var OpencodePlugin2 = define({
|
|
109
109
|
id: "opencode.provider.opencode",
|
|
110
110
|
effect: Effect.fn(function* (ctx) {
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service82;
|
|
112
112
|
const http = yield* HttpClient.HttpClient;
|
|
113
113
|
const loading = Semaphore.makeUnsafe(1);
|
|
114
114
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -134,7 +134,7 @@ var OpencodePlugin2 = define({
|
|
|
134
134
|
providers.update(providerID, (provider) => {
|
|
135
135
|
if (source && source.provider !== provider)
|
|
136
136
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
137
|
-
provider.integrationID =
|
|
137
|
+
provider.integrationID = ID10.make("opencode");
|
|
138
138
|
if (item.canonical !== undefined)
|
|
139
139
|
provider.canonical = item.canonical;
|
|
140
140
|
if (item.name !== undefined)
|
|
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
sourceConnection: snapshot.connection
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
const item = providers.get(
|
|
207
|
+
const item = providers.get(ID9.opencode);
|
|
208
208
|
if (!item)
|
|
209
209
|
return;
|
|
210
210
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -216,7 +216,7 @@ var OpencodePlugin2 = define({
|
|
|
216
216
|
});
|
|
217
217
|
});
|
|
218
218
|
yield* ctx.model.transform((models) => {
|
|
219
|
-
const item = models.provider.get(
|
|
219
|
+
const item = models.provider.get(ID9.opencode);
|
|
220
220
|
if (!item)
|
|
221
221
|
return;
|
|
222
222
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
|
|
|
250
250
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
251
251
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
252
252
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
253
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
253
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
254
254
|
query: input.query,
|
|
255
255
|
providerID: descriptor.providerID
|
|
256
256
|
}));
|
|
@@ -271,7 +271,7 @@ var OpencodePlugin2 = define({
|
|
|
271
271
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
272
272
|
});
|
|
273
273
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
274
|
-
yield* bus.subscribe(
|
|
274
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
275
275
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
276
276
|
})
|
|
277
277
|
});
|
|
@@ -3,33 +3,33 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service79,
|
|
18
|
+
node83
|
|
19
|
+
} from "./location-degw2fzn.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service54,
|
|
22
22
|
node58
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-2a6t769v.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service53,
|
|
33
33
|
node: () => node57
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
@@ -43,7 +43,7 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service53,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service53 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
|
+
const workspace = yield* Service54;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service53.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
70
|
var node57 = makeLocationNode({
|
|
71
|
-
service:
|
|
71
|
+
service: Service53,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node83, node58]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service53, node57, exports_environment2, makeFiles2, exports_environment3 };
|