5590391779
Agent (agent.py): - Rebrand MultiSync → Nexus throughout - Add server_id to heartbeat payload (required by backend AgentHeartbeat schema) - Add /exec endpoint for remote command execution via Nexus - Update heartbeat fields to match backend: cpu_usage, mem_usage, disk_usage - Use 60s default interval (matches CLAUDE.md spec) Agent (agent.sh): - Rebrand, add SERVER_ID env var, send in heartbeat payload - Update service name to nexus-agent Agent (install.sh): - Rebrand, add --id parameter for server_id - Write server_id to config.json - Service name: nexus-agent - Add config.example.json for reference SyncEngineV2: - Add trigger_type parameter to sync_files() (was hardcoded "manual") - Schedule/retry runners can now pass "schedule"/"retry" trigger types Nginx: - Add /agent/ to static asset locations for agent file downloads Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>