mirror of
https://github.com/nexu-io/openmotion.git
synced 2026-12-02 08:19:37 +08:00
* Install OpenMotion for any local Agent without borrowing another host (OPEND-5284) Setup accepted only codex, claude, deepseek and workbuddy, so users of other local Agents such as OpenCode had to install with --host claude, which edits Claude Code configuration, and then wire MCP by hand. Keep the four registration adapters unchanged. Any other lowercase Agent name now installs the same application, launcher and Skills (default ~/.agents/skills), leaves that host's configuration untouched and returns agentRegistration with the exact stdio launcher for the Agent to register itself. Adapter-less Agents share one Skills owner so a second one can reuse the same root. tools, call and diagnose accept the same host names. Document the route in the published guide template, npm installation guide and README connection sections, including a verified OpenCode example. * Reject prototype-key host names and read registered hosts with Object.hasOwn `Object.prototype` keys match the generic Agent name pattern, so `--host constructor` passed the `state.hosts?.[host]` registration guard via inherited `constructor` and was reported as installed. Check registration and the saved-host lookup with `Object.hasOwn` and reject Object.prototype keys as generic host names, matching the install/diagnose contract that an Agent which was never set up is not reported as installed. Generated-By: looper 0.16.2 (runner=fixer, agent=pi) --------- Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com> Co-authored-by: 罗高 <luogao@users.noreply.github.com>