feat: add anthropic claude cli migration

This commit is contained in:
Peter Steinberger
2026-03-26 23:01:44 +00:00
parent b96fccadb9
commit ebf5bd75f4
10 changed files with 394 additions and 12 deletions

View File

@@ -9,6 +9,7 @@ export type { AuthProfileStore, OAuthCredential } from "../agents/auth-profiles/
export { CLAUDE_CLI_PROFILE_ID, CODEX_CLI_PROFILE_ID } from "../agents/auth-profiles/constants.js";
export { ensureAuthProfileStore } from "../agents/auth-profiles/store.js";
export { listProfilesForProvider, upsertAuthProfile } from "../agents/auth-profiles/profiles.js";
export { readClaudeCliCredentialsCached } from "../agents/cli-credentials.js";
export { suggestOAuthProfileIdForLegacyDefault } from "../agents/auth-profiles/repair.js";
export {
MINIMAX_OAUTH_MARKER,

View File

@@ -510,6 +510,7 @@ describe("plugin-sdk subpath exports", () => {
expectSourceMentions("provider-auth", [
"buildOauthProviderAuthResult",
"generatePkceVerifierChallenge",
"readClaudeCliCredentialsCached",
"toFormUrlEncoded",
]);
expectSourceOmits("core", ["buildOauthProviderAuthResult"]);