diegosouzapw/OmniRoute · error
cursor-agent is not authenticated; run 'agent login' on the
Error message
cursor-agent is not authenticated; run 'agent login' on the OmniRoute host
What it means
Error "cursor-agent is not authenticated; run 'agent login' on the OmniRoute host" thrown in diegosouzapw/OmniRoute.
Source
Thrown at src/lib/providerModels/cursorAgent.ts:215
}
throw err;
}
let combined = `${result.stdout}\n${result.stderr}`;
let ids = parseCursorAgentModels(combined);
// Backward compatibility for releases from before the dedicated catalog interface.
if (ids.length === 0 && !/Authentication required|Not logged in/i.test(combined)) {
const remainingTimeoutMs = timeoutMs - (Date.now() - startedAt);
if (remainingTimeoutMs > 0) {
result = await runCursorAgent(binary, ["--model", "--help"], remainingTimeoutMs);
combined = `${result.stdout}\n${result.stderr}`;
ids = parseCursorAgentModels(combined);
}
}
if (ids.length === 0) {
if (/Authentication required|Not logged in/i.test(combined)) {
throw new Error("cursor-agent is not authenticated; run 'agent login' on the OmniRoute host");
}
throw new Error("cursor-agent did not return a model catalog from 'agent --list-models'");
}
return ids.map((id) => ({
id,
name: humanizeCursorModelId(id),
owned_by: "cursor" as const,
}));
}
View on GitHub (pinned to a179ffed5b)
When it happens
Trigger: Thrown at src/lib/providerModels/cursorAgent.ts:215 when the library encounters an invalid state.
Common situations: See trigger scenarios.
Understand the failure class
- Authentication and authorization failures — expired tokens, bad credentials, and missing scopes.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/76f2a1d8a88ae719.
Report an issue: GitHub.