metalbear-co / mirrord

Connect your local process and your cloud environment, and run local code in cloud conditions.
https://mirrord.dev
MIT License
3.58k stars 98 forks source link

Make mirroring interface "dynamic" #2540

Open aviramha opened 1 week ago

aviramha commented 1 week ago

The agent starts with an option to specify interface to mirror from. By default, if not specified, mirrord agent just auto detects it - but sometimes https://github.com/metalbear-co/mirrord/issues/2537 we want user to specify, and this can't work in operator mode since user doesn't control agent startup and there can be many sessions using the same agent. We should have the interface as part of the subscription protocol, where we probably would need those options: