Description
When I try to install a MacOS agent in session user or service user mode, the installation failed and the agent can't be used with OpenAEV.
Environment
- OS: MacOS
- OpenAEV version: 2.0.X
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Get the link to install a MacOS agent (session user or service user mode)
- Execute in your MacOS shell
Expected Output
The agent is installed without errors and appears in OpenAEV endpoints.
Actual Output
The agent is not installed and doesn't appear in OpenAEV endpoints.
Additional information
The problem seems to be the launchctl installation for user, it works well with the root service agent. Don't forget to update the OpenAEV agents documentation for MacOS after the fix.
Screenshots (optional)

Description
When I try to install a MacOS agent in session user or service user mode, the installation failed and the agent can't be used with OpenAEV.
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
Expected Output
The agent is installed without errors and appears in OpenAEV endpoints.
Actual Output
The agent is not installed and doesn't appear in OpenAEV endpoints.
Additional information
The problem seems to be the launchctl installation for user, it works well with the root service agent. Don't forget to update the OpenAEV agents documentation for MacOS after the fix.
Screenshots (optional)