Thanks a lot @deanrie
I’ve followed your advice on how to recover this situation. This is what I’ve done s it can help others:
The fix — exact steps:
- Kill the running worker process
- Full logout — agent logout (removes auth tokens completely, not just a re-login)
- Clear local worker ID state — echo ‘{“version”:1,“workerIdsByDisplayName”:{}}’ > ~/.cursor/agent-cli-state.json
- Fresh login — agent login (generates a new auth token with no stale worker IDs attached)
- Start the worker — agent worker start
- Create a brand new session in cursor.com/agents (not from a snapshot)
The key step was agent logout before agent login. A re-login alone doesn’t revoke the old token — you need to fully revoke first so the new token has no history of old worker IDs on the backend.