refactor(cli): remove ChatGPT subscription check from installer

- 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
This commit is contained in:
justsisyphus
2026-01-20 16:04:50 +09:00
parent bf59fd5aa9
commit 64419e3755
5 changed files with 10 additions and 46 deletions
-3
View File
@@ -4,7 +4,6 @@ export type BooleanArg = "no" | "yes"
export interface InstallArgs {
tui: boolean
claude?: ClaudeSubscription
chatgpt?: BooleanArg
gemini?: BooleanArg
copilot?: BooleanArg
skipAuth?: boolean
@@ -13,7 +12,6 @@ export interface InstallArgs {
export interface InstallConfig {
hasClaude: boolean
isMax20: boolean
hasChatGPT: boolean
hasGemini: boolean
hasCopilot: boolean
}
@@ -28,7 +26,6 @@ export interface DetectedConfig {
isInstalled: boolean
hasClaude: boolean
isMax20: boolean
hasChatGPT: boolean
hasGemini: boolean
hasCopilot: boolean
}