fix(opencode): preserve valid MCP OAuth state

This commit is contained in:
Aiden Cline 2026-06-24 16:59:34 -05:00
commit bb388efae6
6 changed files with 25 additions and 25 deletions

View file

@ -2296,7 +2296,7 @@ export class Auth2 extends HeyApiClient {
/**
* Complete MCP OAuth
*
* Complete OAuth authentication for a Model Context Protocol (MCP) server using the authorization code.
* Complete OAuth authentication for a Model Context Protocol (MCP) server using the authorization code and state returned by the start endpoint.
*/
public callback<ThrowOnError extends boolean = false>(
parameters: {