@opencode-ai/core 0.0.0-dev-19216 → 0.0.0-dev-19217
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-mutation-35e7m4yx.js → location-services-00x5t0cs.js} +15 -15
- package/dist/chunks/{file-mutation-ayghbyc9.js → location-services-011h4yth.js} +13 -13
- package/dist/chunks/{file-mutation-hgeb4s25.js → location-services-0cv24hqy.js} +1 -1
- package/dist/chunks/{file-mutation-0e0xafbb.js → location-services-0e0xafbb.js} +2 -2
- package/dist/chunks/{file-mutation-etamtscj.js → location-services-0etsat71.js} +5 -5
- package/dist/chunks/{file-mutation-2phvqca6.js → location-services-0jn70awm.js} +16 -16
- package/dist/chunks/{file-mutation-gkvt71jh.js → location-services-0jz3vdqx.js} +9 -9
- package/dist/chunks/{file-mutation-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-0s9ayhjt.js → location-services-0s9ayhjt.js} +1 -1
- package/dist/chunks/{file-mutation-b2cva8t7.js → location-services-0xv5jnwt.js} +40 -40
- package/dist/chunks/{file-mutation-n27y30w6.js → location-services-1149f9m6.js} +41 -41
- package/dist/chunks/{file-mutation-kbsyt50d.js → location-services-11ypdpkg.js} +35 -35
- package/dist/chunks/{file-mutation-rx7yndt1.js → location-services-13dhzf2r.js} +11 -11
- package/dist/chunks/{file-mutation-k3b33mde.js → location-services-14q0m41q.js} +13 -13
- package/dist/chunks/{file-mutation-hzzs2yvs.js → location-services-17kes6c3.js} +29 -29
- package/dist/chunks/{file-mutation-enamxrz2.js → location-services-19bt37k1.js} +2 -2
- package/dist/chunks/{file-mutation-1acjjqhc.js → location-services-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-mutation-1ct4r87x.js → location-services-1ct4r87x.js} +1 -1
- package/dist/chunks/{file-mutation-1kvgva6x.js → location-services-1hwe4fz6.js} +24 -24
- package/dist/chunks/{file-mutation-vdve1s0m.js → location-services-1ycr9rqm.js} +3 -3
- package/dist/chunks/{file-mutation-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-2402vzrj.js → location-services-2402vzrj.js} +1 -1
- package/dist/chunks/{file-mutation-thb62adn.js → location-services-27qchnt0.js} +10 -10
- package/dist/chunks/{file-mutation-3and2xxf.js → location-services-2a5a6t3a.js} +28 -28
- package/dist/chunks/{file-mutation-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-s3vrd4d2.js → location-services-2atvjna1.js} +28 -28
- package/dist/chunks/{file-mutation-2ht70gj7.js → location-services-2ht70gj7.js} +1 -1
- package/dist/chunks/{file-mutation-w7a45d2w.js → location-services-2hwvdazv.js} +23 -23
- package/dist/chunks/{file-mutation-998c6hc6.js → location-services-2j81asyh.js} +35 -35
- package/dist/chunks/location-services-2t5bfwnz.js +460 -0
- package/dist/chunks/{file-mutation-a4rgs0hc.js → location-services-36vsdr69.js} +6 -6
- package/dist/chunks/{file-mutation-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-zr1rg8va.js → location-services-3hze1m31.js} +22 -22
- package/dist/chunks/{file-mutation-897hzw7d.js → location-services-3jqpdxqh.js} +9 -9
- package/dist/chunks/{file-mutation-3qzbfqsy.js → location-services-3qzbfqsy.js} +2 -2
- package/dist/chunks/{file-mutation-vj79ke67.js → location-services-3r4cqkhr.js} +29 -29
- package/dist/chunks/{file-mutation-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-7nxyxket.js → location-services-3yevh190.js} +1 -1
- package/dist/chunks/{file-mutation-6e593aan.js → location-services-41g3dawq.js} +36 -36
- package/dist/chunks/{file-mutation-ev7pq6rs.js → location-services-41mncz27.js} +5 -5
- package/dist/chunks/{file-mutation-454k5vzh.js → location-services-454k5vzh.js} +1 -1
- package/dist/chunks/{file-mutation-fmzy9ynz.js → location-services-4py4wtg5.js} +10 -10
- package/dist/chunks/{file-mutation-4r2nyarf.js → location-services-4r2nyarf.js} +1 -1
- package/dist/chunks/{file-mutation-hayn59kd.js → location-services-4v96mfas.js} +15 -15
- package/dist/chunks/{file-mutation-40jtjs1k.js → location-services-4yp29dye.js} +8 -8
- package/dist/chunks/{file-mutation-56gdpj1q.js → location-services-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-mutation-z5wp74ca.js → location-services-58x3rwhh.js} +13 -13
- package/dist/chunks/{file-mutation-cfbbrnxq.js → location-services-59a9q0c9.js} +11 -11
- package/dist/chunks/{file-mutation-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-5fmxt4p5.js → location-services-5fmxt4p5.js} +1 -1
- package/dist/chunks/{file-mutation-5jvc5tg2.js → location-services-5jvc5tg2.js} +1 -1
- package/dist/chunks/location-services-5y1bcw76.js +22 -0
- package/dist/chunks/{file-mutation-s38wv68t.js → location-services-64q9m0nc.js} +22 -22
- package/dist/chunks/{file-mutation-nvm3xv8h.js → location-services-6aw1783e.js} +37 -37
- package/dist/chunks/{file-mutation-ger17fbp.js → location-services-6zrjyzhx.js} +64 -64
- package/dist/chunks/{file-mutation-3x6030n9.js → location-services-711hfp6y.js} +2 -2
- package/dist/chunks/{file-mutation-72nftnjy.js → location-services-72nftnjy.js} +2 -2
- package/dist/chunks/{file-mutation-6e958v7x.js → location-services-75yf2d83.js} +8 -8
- package/dist/chunks/{file-mutation-mq3bjh81.js → location-services-78es4yvf.js} +22 -22
- package/dist/chunks/{file-mutation-1fgze8hp.js → location-services-7a9665ac.js} +20 -20
- package/dist/chunks/{file-mutation-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-7dqw4kz8.js → location-services-7dqw4kz8.js} +1 -1
- package/dist/chunks/{file-mutation-sxhwk0c0.js → location-services-7grmgsg7.js} +4 -4
- package/dist/chunks/{file-mutation-q36vtzqe.js → location-services-7p8ma9rt.js} +5 -5
- package/dist/chunks/{file-mutation-fke00733.js → location-services-7r58dpc0.js} +8 -8
- package/dist/chunks/{file-mutation-2sj3c2ad.js → location-services-7rp97fxb.js} +30 -30
- package/dist/chunks/{file-mutation-mvfsc1pv.js → location-services-7yh4e7ss.js} +3 -3
- package/dist/chunks/{file-mutation-npsbfqmn.js → location-services-7zmvhjgk.js} +27 -27
- package/dist/chunks/{file-mutation-0s535w00.js → location-services-818e5b7h.js} +33 -33
- package/dist/chunks/{file-mutation-3jxqjar4.js → location-services-842ppk4g.js} +26 -26
- package/dist/chunks/{file-mutation-zjx20249.js → location-services-87vzjqvg.js} +4 -4
- package/dist/chunks/{file-mutation-47cx0r01.js → location-services-8e0cxs1v.js} +31 -31
- package/dist/chunks/{file-mutation-kry5p3r0.js → location-services-8z28gvyf.js} +26 -26
- package/dist/chunks/{file-mutation-hhpzk61m.js → location-services-93a8yfjt.js} +2 -2
- package/dist/chunks/{file-mutation-01mh49p0.js → location-services-9424kmmy.js} +7 -7
- package/dist/chunks/location-services-9cwr0qbq.js +247 -0
- package/dist/chunks/{file-mutation-bxnxw8jj.js → location-services-9d4efts8.js} +5 -5
- package/dist/chunks/{file-mutation-e4gkhccc.js → location-services-9q7mdqbr.js} +6 -6
- package/dist/chunks/{file-mutation-qvbcabdc.js → location-services-9qm9egsn.js} +2 -2
- package/dist/chunks/{file-mutation-f40w3zwy.js → location-services-9sb86xv6.js} +40 -40
- package/dist/chunks/{file-mutation-c0yyaxk6.js → location-services-9tpb97z2.js} +15 -15
- package/dist/chunks/{file-mutation-shfaz11f.js → location-services-9tq58zg8.js} +4 -4
- package/dist/chunks/{file-mutation-ptrtafvx.js → location-services-a18qrwy7.js} +11 -11
- package/dist/chunks/{file-mutation-99vgbsyy.js → location-services-a9zfrvqc.js} +5 -5
- package/dist/chunks/{file-mutation-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-renmeb8y.js → location-services-ag6t9w77.js} +11 -11
- package/dist/chunks/{file-mutation-yg7sb877.js → location-services-ajtjthsy.js} +2 -2
- package/dist/chunks/{file-mutation-z48dvxa8.js → location-services-at9jh15n.js} +1 -1
- package/dist/chunks/{file-mutation-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-2bm7eph3.js → location-services-b900m3ym.js} +23 -23
- package/dist/chunks/{file-mutation-b9wsbatv.js → location-services-b9wsbatv.js} +1 -1
- package/dist/chunks/{file-mutation-7cnkxtbd.js → location-services-bemd59wz.js} +9 -9
- package/dist/chunks/{file-mutation-6qvt79ej.js → location-services-bgbwxvyc.js} +24 -24
- package/dist/chunks/{file-mutation-x7n6jb1w.js → location-services-bj4vwm3q.js} +18 -18
- package/dist/chunks/{file-mutation-dxyd6n6d.js → location-services-br56pb2k.js} +177 -177
- package/dist/chunks/{file-mutation-mpsa3nes.js → location-services-brtzwm95.js} +12 -12
- package/dist/chunks/{file-mutation-q68wbhj3.js → location-services-bva7vcjq.js} +4 -4
- package/dist/chunks/{file-mutation-cr8sbmwr.js → location-services-bw1qan86.js} +43 -43
- package/dist/chunks/{file-mutation-fdcmbayr.js → location-services-bx87j58v.js} +17 -17
- package/dist/chunks/location-services-by5v678g.js +18 -0
- package/dist/chunks/{file-mutation-5mqca3xa.js → location-services-c64qezrb.js} +25 -25
- package/dist/chunks/{file-mutation-p33zfxh6.js → location-services-c78av6ax.js} +28 -28
- package/dist/chunks/{file-mutation-asb5ddgn.js → location-services-c97n56v4.js} +6 -6
- package/dist/chunks/{file-mutation-dk2pae67.js → location-services-c98sk4k2.js} +16 -16
- package/dist/chunks/{file-mutation-m5a4zvg4.js → location-services-cad3bs4j.js} +39 -39
- package/dist/chunks/{file-mutation-0ek2w54z.js → location-services-cm9r9xbg.js} +10 -10
- package/dist/chunks/{file-mutation-ptg06ky0.js → location-services-cmhntd7c.js} +10 -10
- package/dist/chunks/{file-mutation-6tnfgw9a.js → location-services-cs8d39tz.js} +25 -25
- package/dist/chunks/{file-mutation-g2gt0w0k.js → location-services-d72308c8.js} +2 -2
- package/dist/chunks/{file-mutation-w5gv9txn.js → location-services-d80z8c0m.js} +9 -9
- package/dist/chunks/{file-mutation-k0g96r8n.js → location-services-dbjehjtf.js} +4 -4
- package/dist/chunks/{file-mutation-b92pv2tj.js → location-services-dkshpdss.js} +5 -5
- package/dist/chunks/{file-mutation-y71avatq.js → location-services-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-mutation-z3s9j4q6.js → location-services-dqvvg7d5.js} +18 -18
- package/dist/chunks/{file-mutation-3sy3bhxh.js → location-services-drjjaw3s.js} +8 -8
- package/dist/chunks/{file-mutation-w25meggd.js → location-services-dts5axtv.js} +14 -14
- package/dist/chunks/{file-mutation-rhqk4sk8.js → location-services-dw6cz3sh.js} +16 -16
- package/dist/chunks/{file-mutation-4b1sg654.js → location-services-dw6h8nn9.js} +21 -21
- package/dist/chunks/{file-mutation-ks0jjys9.js → location-services-e7tnha1m.js} +10 -10
- package/dist/chunks/{file-mutation-6t42cqx7.js → location-services-ebpyyter.js} +32 -32
- package/dist/chunks/{file-mutation-gd0bwbeh.js → location-services-ec7wcf70.js} +88 -88
- package/dist/chunks/{file-mutation-evj8e4hg.js → location-services-eeap19eg.js} +30 -30
- package/dist/chunks/{file-mutation-ny5fc873.js → location-services-en2byfe9.js} +12 -12
- package/dist/chunks/{file-mutation-d6k3vpm5.js → location-services-enz1smv7.js} +4 -4
- package/dist/chunks/{file-mutation-2z0b56st.js → location-services-ettb2whr.js} +2 -2
- package/dist/chunks/{file-mutation-20m0wqts.js → location-services-ev0ent4x.js} +15 -15
- package/dist/chunks/{file-mutation-e94r4fk5.js → location-services-ew6s4pdb.js} +92 -92
- package/dist/chunks/{file-mutation-vhh9ar68.js → location-services-f021cen3.js} +8 -8
- package/dist/chunks/{file-mutation-76smfv87.js → location-services-fk21kn01.js} +7 -7
- package/dist/chunks/{file-mutation-hpbtcqba.js → location-services-fqrxtbzb.js} +9 -9
- package/dist/chunks/{file-mutation-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-4k7zmpk3.js → location-services-fxxa7ryp.js} +8 -8
- package/dist/chunks/{file-mutation-fxypknc8.js → location-services-fxypknc8.js} +1 -1
- package/dist/chunks/{file-mutation-8yqh4j7k.js → location-services-ga85tpka.js} +28 -28
- package/dist/chunks/{file-mutation-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-tdpndm1c.js → location-services-gfhhve88.js} +5 -5
- package/dist/chunks/{file-mutation-y5h9vgb0.js → location-services-ggvh81pv.js} +6 -6
- package/dist/chunks/{file-mutation-4xymgjke.js → location-services-ghnh6cjj.js} +20 -20
- package/dist/chunks/{file-mutation-62z4m846.js → location-services-gm8dhtry.js} +24 -24
- package/dist/chunks/{file-mutation-y724s5yt.js → location-services-gr3vkft5.js} +4 -4
- package/dist/chunks/{file-mutation-8ht03v18.js → location-services-gyxtj4g4.js} +4 -4
- package/dist/chunks/{file-mutation-y1a5n2r0.js → location-services-h2p9xjbs.js} +19 -19
- package/dist/chunks/{file-mutation-y4xjyrf3.js → location-services-h3ddmve3.js} +20 -20
- package/dist/chunks/{file-mutation-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-b9j3swwv.js → location-services-hc5rdzwx.js} +13 -13
- package/dist/chunks/{file-mutation-heyhwy2w.js → location-services-heyhwy2w.js} +1 -1
- package/dist/chunks/{file-mutation-sbnvhk9g.js → location-services-hha4zry8.js} +20 -20
- package/dist/chunks/{file-mutation-09n63jss.js → location-services-hrem2xze.js} +24 -24
- package/dist/chunks/{file-mutation-vnj10zg0.js → location-services-hrq6749d.js} +11 -11
- package/dist/chunks/{file-mutation-g2dy4bvs.js → location-services-hrvm11jt.js} +3 -3
- package/dist/chunks/{file-mutation-ta5yt3rh.js → location-services-htfs0vqw.js} +34 -34
- package/dist/chunks/{file-mutation-64z8z5x5.js → location-services-hvwy79ny.js} +8 -8
- package/dist/chunks/{file-mutation-qbyj8qxd.js → location-services-hw16a779.js} +1 -1
- package/dist/chunks/{file-mutation-kvsjn1dr.js → location-services-hw4pv20g.js} +2 -2
- package/dist/chunks/{file-mutation-ye0hwk1t.js → location-services-j4txnape.js} +7 -7
- package/dist/chunks/{file-mutation-hnyf01b0.js → location-services-je9hks3h.js} +5 -5
- package/dist/chunks/{file-mutation-k0zpnkm5.js → location-services-jepxwv21.js} +6 -6
- package/dist/chunks/{file-mutation-ypexc4gq.js → location-services-jj4chnxp.js} +38 -38
- package/dist/chunks/{file-mutation-0wvfwpx6.js → location-services-jv71mprp.js} +28 -28
- package/dist/chunks/{file-mutation-fvpasvjq.js → location-services-jwgx2stf.js} +4 -4
- package/dist/chunks/{file-mutation-babn4frh.js → location-services-jy1b6ewz.js} +8 -8
- package/dist/chunks/{file-mutation-sc1wqa8e.js → location-services-jycq5tmb.js} +28 -28
- package/dist/chunks/{file-mutation-xscz55ef.js → location-services-k3zdj9v5.js} +17 -17
- package/dist/chunks/{file-mutation-k4bwy1x5.js → location-services-k4bwy1x5.js} +1 -1
- package/dist/chunks/{file-mutation-cq35m6me.js → location-services-k6300pcm.js} +3 -3
- package/dist/chunks/{file-mutation-nt2vsa9g.js → location-services-k6d03e4p.js} +21 -21
- package/dist/chunks/{file-mutation-ada40aw5.js → location-services-kb6kqgh4.js} +44 -44
- package/dist/chunks/{file-mutation-kg06axw8.js → location-services-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-xspyb9m3.js → location-services-kj7zcbhz.js} +8 -8
- package/dist/chunks/{file-mutation-5bch6tfs.js → location-services-knhsbq7n.js} +10 -10
- package/dist/chunks/{file-mutation-hjpabd42.js → location-services-ksq55409.js} +17 -17
- package/dist/chunks/{file-mutation-k1h3pd12.js → location-services-kz954rct.js} +10 -10
- package/dist/chunks/{file-mutation-0amw245z.js → location-services-m1xpw8ab.js} +19 -19
- package/dist/chunks/{file-mutation-rae26gbb.js → location-services-m4535t75.js} +8 -8
- package/dist/chunks/{file-mutation-fz1pdqz4.js → location-services-m5045k8y.js} +9 -9
- package/dist/chunks/{file-mutation-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-5n978qtj.js → location-services-mb1e1czd.js} +6 -6
- package/dist/chunks/{file-mutation-5e624tvg.js → location-services-msggbjmt.js} +9 -9
- package/dist/chunks/{file-mutation-y61qnw8a.js → location-services-mxhzfwah.js} +12 -12
- package/dist/chunks/{file-mutation-8za182nc.js → location-services-n7sc385v.js} +9 -9
- package/dist/chunks/{file-mutation-hjt4xg1x.js → location-services-nhy5jxhy.js} +4 -4
- package/dist/chunks/{file-mutation-7w3s9kd0.js → location-services-nkcwakxz.js} +6 -6
- package/dist/chunks/{file-mutation-htqkwcnv.js → location-services-nqfx3ba2.js} +10 -10
- package/dist/chunks/{file-mutation-wzn1pg97.js → location-services-p0z4cnf4.js} +9 -9
- package/dist/chunks/{file-mutation-zjy9mrjh.js → location-services-p519a7hj.js} +17 -17
- package/dist/chunks/{file-mutation-3jpejpk8.js → location-services-p8hqp9sy.js} +23 -23
- package/dist/chunks/{file-mutation-wy24wt1k.js → location-services-p9qkrcxv.js} +19 -19
- package/dist/chunks/{file-mutation-j935v87r.js → location-services-paphc93g.js} +2 -2
- package/dist/chunks/{file-mutation-3pt7nqe6.js → location-services-phk1v4hg.js} +51 -51
- package/dist/chunks/{file-mutation-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-2ed8104q.js → location-services-pnec0z95.js} +46 -46
- package/dist/chunks/{file-mutation-qswnket4.js → location-services-pnkase04.js} +18 -18
- package/dist/chunks/{file-mutation-143qxyja.js → location-services-pvbx7q7g.js} +22 -22
- package/dist/chunks/{file-mutation-hn57h045.js → location-services-q5asdkn4.js} +4 -4
- package/dist/chunks/{file-mutation-v7r3cw40.js → location-services-q65nf1dj.js} +30 -30
- package/dist/chunks/{file-mutation-pjvn5h54.js → location-services-qak3npwc.js} +12 -12
- package/dist/chunks/{file-mutation-dds56zbh.js → location-services-qc44gpch.js} +29 -29
- package/dist/chunks/{file-mutation-gz5et4ap.js → location-services-qcge6tej.js} +16 -16
- package/dist/chunks/{file-mutation-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-7ng7exzm.js → location-services-r2wnyzb0.js} +1 -1
- package/dist/chunks/{file-mutation-9pk3p303.js → location-services-r67ewn20.js} +8 -8
- package/dist/chunks/{file-mutation-r8dhm0tv.js → location-services-r8dhm0tv.js} +1 -1
- package/dist/chunks/{file-mutation-3ap2p86d.js → location-services-reacnbnm.js} +9 -9
- package/dist/chunks/{file-mutation-qfv34cas.js → location-services-rfhfqqty.js} +17 -17
- package/dist/chunks/{file-mutation-evj94p3t.js → location-services-rmfj7rc5.js} +13 -13
- package/dist/chunks/{file-mutation-7ry09vv5.js → location-services-rnynvazd.js} +3 -3
- package/dist/chunks/{file-mutation-85490285.js → location-services-rq68kahz.js} +29 -29
- package/dist/chunks/{file-mutation-n8dztyn3.js → location-services-rqtk6744.js} +13 -13
- package/dist/chunks/{file-mutation-kx9ynrf0.js → location-services-rsde5whr.js} +12 -12
- package/dist/chunks/{file-mutation-aa8vhsgg.js → location-services-rvwxxhqs.js} +7 -7
- package/dist/chunks/{file-mutation-sba4qhjf.js → location-services-sba4qhjf.js} +1 -1
- package/dist/chunks/{file-mutation-bgt6msk1.js → location-services-sfgd47vq.js} +2 -2
- package/dist/chunks/{file-mutation-c8k27x3s.js → location-services-snscvb6q.js} +9 -9
- package/dist/chunks/{file-mutation-7m9tkefv.js → location-services-stbxxgx1.js} +11 -11
- package/dist/chunks/{file-mutation-dfe8djrf.js → location-services-sx1n432n.js} +4 -4
- package/dist/chunks/{file-mutation-a2ew8a62.js → location-services-sxz6gkc3.js} +7 -7
- package/dist/chunks/{file-mutation-1dbh8d2n.js → location-services-sye64zbn.js} +11 -11
- package/dist/chunks/{file-mutation-nxepqw4e.js → location-services-t0pbnp57.js} +20 -20
- package/dist/chunks/{file-mutation-rwh0xq6p.js → location-services-t0v8yr3m.js} +15 -15
- package/dist/chunks/{file-mutation-kdrneqjw.js → location-services-t9rcpgsh.js} +33 -33
- package/dist/chunks/{file-mutation-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-0tqc2v94.js → location-services-thrj3fqh.js} +3 -3
- package/dist/chunks/{file-mutation-tjykrgmx.js → location-services-tjykrgmx.js} +1 -1
- package/dist/chunks/{file-mutation-kkxc5154.js → location-services-tvtwyg9m.js} +4 -4
- package/dist/chunks/{file-mutation-v3gnfvgj.js → location-services-txr8jkjb.js} +11 -11
- package/dist/chunks/{file-mutation-c0gy5km3.js → location-services-v2p4rfxw.js} +6 -6
- package/dist/chunks/{file-mutation-58hcpyay.js → location-services-v8phnrpr.js} +21 -21
- package/dist/chunks/{file-mutation-f9x6rp1j.js → location-services-va63defj.js} +1 -1
- package/dist/chunks/{file-mutation-tgnthhz6.js → location-services-vfxc3xsp.js} +25 -25
- package/dist/chunks/{file-mutation-fhbjhm8t.js → location-services-vgebfnwn.js} +62 -62
- package/dist/chunks/{file-mutation-k3xp7ghz.js → location-services-vhbte2r2.js} +23 -23
- package/dist/chunks/{file-mutation-dcgj9q88.js → location-services-vrgvmwy9.js} +28 -28
- package/dist/chunks/{file-mutation-986p65m9.js → location-services-vw6n2197.js} +5 -5
- package/dist/chunks/{file-mutation-9b3te7cd.js → location-services-vyjks95a.js} +47 -47
- package/dist/chunks/{file-mutation-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-cpy6gm2a.js → location-services-w4arg62q.js} +6 -6
- package/dist/chunks/{file-mutation-g8a6h08d.js → location-services-wa8y595e.js} +13 -13
- package/dist/chunks/{file-mutation-fw416nha.js → location-services-wbjzz41v.js} +25 -25
- package/dist/chunks/{file-mutation-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-kxnt8qcg.js → location-services-wm0j0wtm.js} +5 -5
- package/dist/chunks/{file-mutation-34m8n255.js → location-services-wrcep6h9.js} +6 -6
- package/dist/chunks/{file-mutation-qxezqvzm.js → location-services-x0ehmrev.js} +15 -15
- package/dist/chunks/{file-mutation-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-ab39g6be.js → location-services-x6tzgbrz.js} +7 -7
- package/dist/chunks/{file-mutation-d4pvcjkk.js → location-services-x9k6tsrg.js} +20 -20
- package/dist/chunks/{file-mutation-y8g99sqg.js → location-services-x9metz0b.js} +29 -29
- package/dist/chunks/{file-mutation-fj5hcd03.js → location-services-xc8jgndy.js} +35 -35
- package/dist/chunks/{file-mutation-e6yvemtv.js → location-services-xezrmqac.js} +69 -69
- package/dist/chunks/{file-mutation-w19ppvv8.js → location-services-xgf08a2e.js} +11 -11
- package/dist/chunks/{file-mutation-a9e4exys.js → location-services-xp2345da.js} +34 -34
- package/dist/chunks/{file-mutation-n0gbmnre.js → location-services-xpx0dzdt.js} +11 -11
- package/dist/chunks/{file-mutation-v8gy3pjr.js → location-services-xscznp95.js} +1 -1
- package/dist/chunks/{file-mutation-vwq77r6c.js → location-services-xvv8td38.js} +28 -28
- package/dist/chunks/{file-mutation-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-06qbn9zd.js → location-services-ycv9gdpt.js} +9 -9
- package/dist/chunks/{file-mutation-45a3e49b.js → location-services-ydpy9pg8.js} +9 -9
- package/dist/chunks/{file-mutation-yfbd16n1.js → location-services-yfbd16n1.js} +2 -2
- package/dist/chunks/{file-mutation-2e3b49a5.js → location-services-yqw5g7gc.js} +24 -24
- package/dist/chunks/{file-mutation-0dy783fj.js → location-services-yssexhes.js} +8 -8
- package/dist/chunks/{file-mutation-r062cge9.js → location-services-ytep83yp.js} +43 -43
- package/dist/chunks/{file-mutation-aeg24s2a.js → location-services-yvcft4ah.js} +5 -5
- package/dist/chunks/{file-mutation-a1qwmqqw.js → location-services-yyq5vb4a.js} +13 -13
- package/dist/chunks/{file-mutation-z1k01bn4.js → location-services-z1k01bn4.js} +2 -2
- package/dist/chunks/{file-mutation-vfhg49f4.js → location-services-z2je33ah.js} +11 -11
- package/dist/chunks/{file-mutation-mkajv2tb.js → location-services-z33f84t5.js} +6 -6
- package/dist/chunks/{file-mutation-29x78va6.js → location-services-z63w68vq.js} +6 -6
- package/dist/chunks/{file-mutation-jykcc5qa.js → location-services-zg79n793.js} +8 -8
- package/dist/chunks/{file-mutation-bfr8x9hg.js → location-services-zkpmw5vh.js} +10 -10
- package/dist/chunks/{file-mutation-dyqxbeha.js → location-services-zn2cbnfs.js} +11 -11
- package/dist/chunks/{file-mutation-j8swj2w1.js → location-services-zrw7ts6n.js} +17 -17
- package/dist/chunks/{file-mutation-mfv0zw27.js → location-services-ztnyd3e4.js} +9 -9
- package/dist/chunks/{file-mutation-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +83 -83
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +133 -133
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +350 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -336
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- 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 +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +118 -118
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +82 -82
- 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 +118 -118
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +112 -112
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +337 -337
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/file-mutation-1x11rq2a.js +0 -18
- package/dist/chunks/file-mutation-7ctffjx1.js +0 -22
- package/dist/chunks/file-mutation-h139r1mg.js +0 -460
- package/dist/chunks/file-mutation-ywgxakqv.js +0 -247
- /package/dist/chunks/{file-mutation-0fabt78z.js → location-services-0fabt78z.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3t738kvx.js → location-services-3t738kvx.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-41nvscxy.js → location-services-41nvscxy.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-7zk4hah4.js → location-services-7zk4hah4.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-982e01ww.js → location-services-982e01ww.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a1tpkmh4.js → location-services-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mntxs535.js → location-services-mntxs535.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-p8qxwesx.js → location-services-p8qxwesx.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-se0s1eqw.js → location-services-se0s1eqw.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x1b8g1yb.js → location-services-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → location-services-z9919s4g.js} +0 -0
- /package/dist/chunks/{file-mutation-zbjnn3ac.js → location-services-zbjnn3ac.js} +0 -0
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-services-0jn70awm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-services-p519a7hj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID15,
|
|
11
|
+
Service72,
|
|
12
|
+
node77
|
|
13
|
+
} from "./location-services-bgbwxvyc.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError8
|
|
16
|
+
} from "./location-services-ydpy9pg8.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service71,
|
|
19
|
+
node76
|
|
20
|
+
} from "./location-services-p9qkrcxv.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service70,
|
|
26
|
+
node75
|
|
27
|
+
} from "./location-services-t0pbnp57.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service73,
|
|
30
|
+
node78
|
|
31
|
+
} from "./location-services-r67ewn20.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-services-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
49
|
-
Reply: () =>
|
|
45
|
+
Event: () => Event17,
|
|
46
|
+
ID: () => ID13,
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service69,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node74
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode-ai/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode-ai/schema/permission";
|
|
64
|
+
import { Event as Event17 } from "@opencode-ai/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID13 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID13.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID13,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID13,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID13
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service69 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service79;
|
|
132
|
+
const location = yield* Service75;
|
|
133
|
+
const agents = yield* Service72;
|
|
134
|
+
const sessions = yield* Service71;
|
|
135
|
+
const saved = yield* Service70;
|
|
136
|
+
const hooks = yield* Service73;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError8({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID13.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service69.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node74 = makeLocationNode({
|
|
289
|
+
service: Service69,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node84, node80, node77, node76, node75, node78]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service69, node74, exports_permission2, Rule3, Ruleset2, Event17 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/server.ts
|
|
9
9
|
var exports_server = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-3t738kvx.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/codemode/tool.ts
|
|
10
10
|
var exports_tool2 = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode-ai/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load2
|
|
6
|
+
} from "./location-services-paphc93g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event8,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options8,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service51,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node56,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event8 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load2());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service51 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service51.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service51.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service51).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service51, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service51, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node56 = configured9();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event8, hasNativeBinding2, Native3, Options8, Service51, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured9, node56, exports_watcher };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node82
|
|
7
|
+
} from "./location-services-zkpmw5vh.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service65,
|
|
16
|
+
node70
|
|
17
|
+
} from "./location-services-wa8y595e.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service39,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node43,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service39 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service77;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service65;
|
|
110
|
+
return Service39.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node43 = makeGlobalNode({
|
|
171
|
+
service: Service39,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node70]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service39, isError2, validateBranch2, node43, exports_repository_cache };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin39
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin39 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin40 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin39, exports_mcp_codemode_exclusion };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./location-services-p519a7hj.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service75;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-cm9r9xbg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin35 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin37 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin37 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin35, exports_tavily };
|