diff --git a/src/plugin-sdk/provider-auth-claude-compat.ts b/src/plugin-sdk/provider-auth-claude-compat.ts index 4c282caa02bf..06aca57eb17f 100644 --- a/src/plugin-sdk/provider-auth-claude-compat.ts +++ b/src/plugin-sdk/provider-auth-claude-compat.ts @@ -1,5 +1,5 @@ /** Retired Claude CLI credential shape kept only for source compatibility. */ -export type ClaudeCliCredential = +type ClaudeCliCredential = | { type: "oauth"; provider: "anthropic"; @@ -25,7 +25,7 @@ export type ClaudeCliCredential = helperHash: string; }; -export type ClaudeCliCredentialReadOptions = { +type ClaudeCliCredentialReadOptions = { allowKeychainPrompt?: boolean; tryKeychainWithoutPrompt?: boolean; onStoredCredentialUnreadable?: () => void; diff --git a/src/plugin-sdk/provider-auth.ts b/src/plugin-sdk/provider-auth.ts index b78022d824a7..5367413919f3 100644 --- a/src/plugin-sdk/provider-auth.ts +++ b/src/plugin-sdk/provider-auth.ts @@ -69,11 +69,7 @@ export { } from "./provider-auth-write-compat.js"; export { resolveEnvApiKey } from "../agents/model-auth-env.js"; export { readCodexCliCredentialsCached } from "../agents/cli-credentials.js"; -export { - type ClaudeCliCredential, - type ClaudeCliCredentialReadOptions, - readClaudeCliCredentialsCached, -} from "./provider-auth-claude-compat.js"; +export { readClaudeCliCredentialsCached } from "./provider-auth-claude-compat.js"; export { suggestOAuthProfileIdForLegacyDefault } from "../agents/auth-profiles/repair.js"; export { CUSTOM_LOCAL_AUTH_MARKER,