You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: ACP, not logged in: session/new succeeds with model "unknown/unknown", and session/prompt fails with a generic -32603 whose reason is only in data.details #199
2. session/prompt fails with a generic error. The message is Internal error; the reason is only in data.details:
{"jsonrpc":"2.0","id":6,"error":{"code":-32603,"message":"Internal error",
"data":{"details":"No API key found for unknown.\n\nUse /login or set an API key environment variable. See <install dir>/docs/providers.md"}}}
The same shape is used for other failures: Session <id> not found and Unknown config option <id> are also -32603 with the reason in data.details (0.x used -32602 for these).
3. The advice names a file that does not exist. It ends with an absolute path to docs/providers.md inside the installed package. @augmentcode/auggie@1.2.2 contains no docs directory, so there is nothing to open.
What did you expect to happen?
Clients show message, and few read data. A client that shows Internal error leaves the user with nothing to act on. Expected: the reason in message (No API key found for unknown. Use /login or set an API key environment variable.), with structured detail kept in data.
A code a client can act on: -32602 for an unknown session or option (as 0.x did), and -32000 or ACP's auth_required for "not logged in", so a client can offer the login. 0.36.0 answered session/new with -32000 "Authentication required", which worked well. If ACP's authenticate and authMethods are the intended route, they would need to be advertised in initialize (today the result has no authMethods).
docs/providers.md shipped in the package, or a URL instead of a path. (The text also says /login, while the command in 1.2 is auggie auth login.)
Steps to reproduce
Make sure Auggie is not logged in (auggie auth status prints Not logged in.; use an empty cache directory and no AUGMENT_SESSION_AUTH).
Start auggie --acp.
Send initialize, then session/new with cwd a scratch directory and mcpServers: []. Read the response above.
Send session/prompt with the text Say hi.
Read the error above (about 1 s later).
ls <install dir>/docs: no such directory.
Auggie version
1.2.2 (commit 6f24c7b3c15045713c7b3938b5e6c9bf117d1ff6, built 2026-11-17)
Request ID
Not applicable: protocol behaviour, reproducible with the steps above.
acp-tui recognises the unknown/unknown option with no choices and the No API key found text and shows its own login advice, but that is a match on English text, and other clients will show Internal error.
Confirmed on the published npm packages 1.2.3 and 1.3.0-prerelease.202611241510, with each version verified in the ACP initialize response. With an empty home and no credentials, session/new succeeds with unknown/unknown; the first prompt returns -32603 Internal error, with the login reason buried in data.details. The prerelease is not a fix for this. An unknown session ID also returned -32603.
For 1.2.3, the supported terminal command is auggie auth login; the docs/providers.md path in the error is not in the npm package. We're tracking actionable authentication errors separately from invalid-session and invalid-config errors, so clients won't have to infer the cause from English text.
Activity
augment-app-staging commentedon Nov 25, 2026
Confirmed on the published npm packages 1.2.3 and 1.3.0-prerelease.202611241510, with each version verified in the ACP
initializeresponse. With an empty home and no credentials,session/newsucceeds withunknown/unknown; the first prompt returns-32603 Internal error, with the login reason buried indata.details. The prerelease is not a fix for this. An unknown session ID also returned-32603.For 1.2.3, the supported terminal command is
auggie auth login; thedocs/providers.mdpath in the error is not in the npm package. We're tracking actionable authentication errors separately from invalid-session and invalid-config errors, so clients won't have to infer the cause from English text.