Install, verify, rollback, and uninstall LegionMind assets for coding agents.
Review flagged AI-agent configuration or capability changes. This remains warn-only unless evidence shows foreign-agent hijack through preinstall/install/postinstall, hidden persistence, exfiltration, remote code execution, or other concrete malicious behavior.
`scripts/setup-opencode.js` installs package agents and skills into OpenCode config/home on explicit CLI commands.
scripts/setup-opencode.jsView on unpkg`.opencode/agents/legion.md` grants broad bash permission with selected command denials.
opencode/agents/legion.mdView on unpkg`scripts/lib/setup-core.js` copies or symlinks managed files and can remove targets during explicit rollback/uninstall.
scripts/lib/setup-core.jsView on unpkg`scripts/setup-openclaw.js` also implements an explicit agent-runtime setup path.
scripts/setup-openclaw.jsView on unpkg`scripts/setup-opencode.js` installs package agents and skills into OpenCode config/home on explicit CLI commands.
scripts/setup-opencode.jsView on unpkg`.opencode/agents/legion.md` grants broad bash permission with selected command denials.
opencode/agents/legion.mdView on unpkg`scripts/lib/setup-core.js` copies or symlinks managed files and can remove targets during explicit rollback/uninstall.
scripts/lib/setup-core.jsView on unpkg`scripts/setup-openclaw.js` also implements an explicit agent-runtime setup path.
scripts/setup-openclaw.jsView on unpkg