2025-12-23 22:26:19 +09:00
|
|
|
export type ClaudeSubscription = "no" | "yes" | "max20"
|
|
|
|
|
export type BooleanArg = "no" | "yes"
|
|
|
|
|
|
|
|
|
|
export interface InstallArgs {
|
|
|
|
|
tui: boolean
|
|
|
|
|
claude?: ClaudeSubscription
|
|
|
|
|
chatgpt?: BooleanArg
|
|
|
|
|
gemini?: BooleanArg
|
2026-01-14 02:24:52 +00:00
|
|
|
copilot?: BooleanArg
|
2025-12-23 22:26:19 +09:00
|
|
|
skipAuth?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface InstallConfig {
|
|
|
|
|
hasClaude: boolean
|
|
|
|
|
isMax20: boolean
|
|
|
|
|
hasChatGPT: boolean
|
|
|
|
|
hasGemini: boolean
|
2026-01-14 02:24:52 +00:00
|
|
|
hasCopilot: boolean
|
2025-12-23 22:26:19 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ConfigMergeResult {
|
|
|
|
|
success: boolean
|
|
|
|
|
configPath: string
|
|
|
|
|
error?: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface DetectedConfig {
|
|
|
|
|
isInstalled: boolean
|
|
|
|
|
hasClaude: boolean
|
|
|
|
|
isMax20: boolean
|
|
|
|
|
hasChatGPT: boolean
|
|
|
|
|
hasGemini: boolean
|
2026-01-14 02:24:52 +00:00
|
|
|
hasCopilot: boolean
|
2025-12-23 22:26:19 +09:00
|
|
|
}
|