mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 21:07:01 -06:00
fix: restore plugin SDK export budget (#129383)
Restore the intended Plugin SDK provider-auth surface by keeping two unused, unshipped Claude compatibility types private while preserving the credential reader. Refs #129052.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user