/** * Type definitions for the padua bedrock command tree. */ /** * CLI options parsed by Commander for all bedrock subcommands. */ export interface BedrockOptions { /** AWS SSO profile to use (default: paduafg-production) */ profile?: string; /** AWS region for Bedrock inference (default: ap-southeast-2) */ region?: string; /** Custom Claude config directory path */ configDir?: string; /** Suppress all non-export output (for eval mode) */ eval?: boolean; /** * Commander populates 'color' for the negatable `--no-color` flag (default * true, false when the flag is passed) - there is no `noColor` property. * See src/commands/seed/index.ts for the reference pattern this mirrors. */ color?: boolean; /** Enable verbose output (AWS CLI command line only — never env) */ verbose?: boolean; /** Suppress all output */ quiet?: boolean; /** Allow non-production profiles without error */ allowNonProd?: boolean; /** Shell type override for --setup */ shell?: 'zsh' | 'bash' | 'pwsh'; /** Output shell function (for top-level bedrock command action) */ setup?: boolean; } /** * The three model families required for Bedrock mode. */ export interface ModelTriple { /** Inference profile ID for claude-3-opus family */ opus: string; /** Inference profile ID for claude-3-sonnet or claude-3-5-sonnet family */ sonnet: string; /** Inference profile ID for claude-3-haiku or claude-3-5-haiku family */ haiku: string; } /** * A single AWS Bedrock inference profile as returned by the CLI. */ export interface InferenceProfile { inferenceProfileId: string; inferenceProfileArn: string; inferenceProfileName: string; description?: string; status: string; type: string; models: Array<{ modelArn: string; }>; createdAt?: string; updatedAt?: string; } /** * The JSON structure returned by aws bedrock list-inference-profiles. */ export interface ListInferenceProfilesResponse { inferenceProfileSummaries: InferenceProfile[]; } /** * Current Bedrock state as read from process environment. */ export interface BedrockState { /** Whether Bedrock mode is fully enabled (all 8 vars present) */ enabled: boolean; /** Whether some but not all vars are set (drift) */ partial: boolean; /** The current ANTHROPIC_DEFAULT_OPUS_MODEL value */ opus?: string; /** The current ANTHROPIC_DEFAULT_SONNET_MODEL value */ sonnet?: string; /** The current ANTHROPIC_DEFAULT_HAIKU_MODEL value */ haiku?: string; /** The current CLAUDE_CONFIG_DIR value */ configDir?: string; /** The current AWS_REGION value */ region?: string; /** The current ANTHROPIC_MODEL value */ model?: string; } /** The 8 environment variable names that constitute "Bedrock mode" */ export declare const BEDROCK_ENV_VARS: readonly ["CLAUDE_CODE_USE_BEDROCK", "CLAUDE_CONFIG_DIR", "ANTHROPIC_MODEL", "ANTHROPIC_DEFAULT_OPUS_MODEL", "ANTHROPIC_DEFAULT_SONNET_MODEL", "ANTHROPIC_DEFAULT_HAIKU_MODEL", "AWS_REGION", "CLAUDE_CONFIG_DIR_BEFORE_BEDROCK"]; export type BedrockEnvVar = typeof BEDROCK_ENV_VARS[number]; /** Production profile name — the only profile allowed without --allow-non-prod */ export declare const PRODUCTION_PROFILE = "paduafg-production"; /** Default region for Bedrock inference */ export declare const DEFAULT_BEDROCK_REGION = "ap-southeast-2"; /** Region prefix required for all inference profile ARNs */ export declare const REQUIRED_REGION_PREFIX = "ap-southeast-"; /** Default Claude config dir for Bedrock mode */ export declare const DEFAULT_BEDROCK_CONFIG_DIR = "~/.claude-bedrock"; //# sourceMappingURL=types.d.ts.map