agent v3.0: always re-register on startup to refresh capabilities

Previously agents only registered when api_key was missing (first run).
After updating to v3.0 with screenshot capability, restarted agents never
refreshed their capabilities in the DB. Now register() is called every
startup — server does UPDATE on existing agent_id so api_key is preserved.
This commit is contained in:
2026-06-11 21:21:04 +00:00
parent 8b7f597e76
commit 6eb387899e
3 changed files with 23 additions and 13 deletions
+1 -1
View File
@@ -1 +1 @@
0a80b4a5a240647f7169b1245bd534429e819f090404b8bbb12e69bbf1e37867 /home/jarvis.orbishosting.com/public_html/agent/jarvis-agent.py
aa05371d8610a5fd89f397b7feda90fd93acc169a5c910c2969b6319a189da25 /home/jarvis.orbishosting.com/public_html/agent/jarvis-agent.py