opencode-multi-account-core
Advanced tools
| import type { OAuthAdapter } from "./types"; | ||
| export declare const ANTHROPIC_DEFAULT_CLIENT_ID = "9d1c250a-e61b-44d9-88ed-5944d1962f5e"; | ||
| export declare const ANTHROPIC_DEFAULT_CLI_VERSION = "2.1.80"; | ||
| export declare const ANTHROPIC_DEFAULT_USER_AGENT = "claude-cli/2.1.2 (external, cli)"; | ||
| export declare const ANTHROPIC_DEFAULT_AUTHORIZE_URL = "https://claude.ai/oauth/authorize"; | ||
| export declare const ANTHROPIC_DEFAULT_TOKEN_URL = "https://platform.claude.com/v1/oauth/token"; | ||
| export declare const ANTHROPIC_DEFAULT_REDIRECT_URI = "https://console.anthropic.com/oauth/code/callback"; | ||
| export declare const ANTHROPIC_DEFAULT_SCOPES = "org:create_api_key user:profile user:inference"; | ||
| export declare const ANTHROPIC_DEFAULT_BETA_FLAGS = "claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,prompt-caching-scope-2026-01-05"; | ||
| export interface AnthropicOAuthEnvConfig { | ||
| clientId: string; | ||
| cliVersion: string; | ||
| userAgent: string; | ||
| authorizeUrl: string; | ||
| tokenUrl: string; | ||
| redirectUri: string; | ||
| scopes: string; | ||
| betaFlags: string; | ||
| } | ||
| type AnthropicEnv = Partial<Record<string, string | undefined>>; | ||
| export declare function resolveAnthropicOAuthEnv(env?: AnthropicEnv): AnthropicOAuthEnvConfig; | ||
| export declare const anthropicOAuthAdapter: OAuthAdapter; | ||
| export {}; |
| export type { OAuthAdapter, OAuthAdapterTransformConfig, OAuthAdapterPlanLabels } from "./types"; | ||
| export { anthropicOAuthAdapter, resolveAnthropicOAuthEnv, } from "./anthropic"; | ||
| export { anthropicOAuthAdapter } from "./anthropic"; | ||
| export { openAIOAuthAdapter } from "./openai"; |
+1
-1
| { | ||
| "name": "opencode-multi-account-core", | ||
| "version": "0.2.6", | ||
| "version": "0.2.7", | ||
| "description": "Shared core for multi-account OpenCode plugins", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
5
-16.67%112585
-2.42%2893
-1.67%