64419e3755
- Remove chatgpt option from CLI args and types - Remove ChatGPT prompt from TUI installer flow - Update config detection to not include hasChatGPT - Update related tests
32 lines
598 B
TypeScript
32 lines
598 B
TypeScript
export type ClaudeSubscription = "no" | "yes" | "max20"
|
|
export type BooleanArg = "no" | "yes"
|
|
|
|
export interface InstallArgs {
|
|
tui: boolean
|
|
claude?: ClaudeSubscription
|
|
gemini?: BooleanArg
|
|
copilot?: BooleanArg
|
|
skipAuth?: boolean
|
|
}
|
|
|
|
export interface InstallConfig {
|
|
hasClaude: boolean
|
|
isMax20: boolean
|
|
hasGemini: boolean
|
|
hasCopilot: boolean
|
|
}
|
|
|
|
export interface ConfigMergeResult {
|
|
success: boolean
|
|
configPath: string
|
|
error?: string
|
|
}
|
|
|
|
export interface DetectedConfig {
|
|
isInstalled: boolean
|
|
hasClaude: boolean
|
|
isMax20: boolean
|
|
hasGemini: boolean
|
|
hasCopilot: boolean
|
|
}
|