completeness: agent version tracking (register+heartbeat+card chip), rebuild stale /bin/NexusAgent (Aug3->current), backup pre-change

This commit is contained in:
Hermes
2026-09-30 00:48:20 +00:00
parent 33dd524196
commit ec705d9a49
22 changed files with 3634 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ import socket
import platform
import subprocess
import urllib.request
AGENT_VERSION = "2.1.0"
import urllib.parse
import argparse
@@ -750,7 +751,8 @@ def main():
"arch": arch,
"ip": ip,
"osName": f"{system_os} {platform.release()}",
"tags": node_tags
"tags": node_tags,
"agentVersion": AGENT_VERSION
}
if not quiet_mode:
@@ -785,7 +787,8 @@ def main():
"uptime": uptime,
"processCount": get_process_count(),
"tags": node_tags,
"heartbeatInterval": heartbeat_interval
"heartbeatInterval": heartbeat_interval,
"agentVersion": AGENT_VERSION
}
res = http_post(f"{server_url}/api/agent/heartbeat", heartbeat_payload)