Uh oh!
There was an error while loading. Please reload this page.
feat(tui): support ACP terminal login - #91
Conversation
edd3a6a to
ed9eef4CompareThere was a problem hiding this comment.
Found five concrete issues in the terminal-auth path. ACP v2 currently leaves the feature unreachable, and the auth child invocation would still be invalid after methods are advertised. The remaining findings cover error classification, durable-session artifacts from global credential deferral, and explicit method parsing.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
All four findings from the previous review are addressed at this head. Four new issues remain in the expanded authentication lifecycle: v1 capability discovery, v2 logout/publication concurrency, provider-specific capability gating, and partial credential-cleanup failure handling.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The previous unsupported-logout finding is addressed at this head. Two distinct issues remain in the latest changes: provider-independent login recovery is disabled by an unrelated OpenRouter key, and an initial-authentication exit can return without restoring the terminal.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Surface a
/logincommand only when the connected ACP agent advertises usable terminal authentication methods. Run the selected method outside TUI terminal modes with inherited interactive I/O, then restore or bootstrap the ACP session with clear status and errors.Technical details
Terminal auth capability negotiation is limited to persistent credential stores. OpenRouter credential resolution is deferred until ACP session startup so unauthenticated agents can complete initialization and advertise login methods.