Files
oh-my-opencode/src/cli/types.ts
T
justsisyphus 64419e3755 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
2026-01-20 16:04:50 +09:00

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
}