(opencodeTheme: string)
| 72 | ] |
| 73 | |
| 74 | function mapThemeName(opencodeTheme: string): string | undefined { |
| 75 | if (ARCTIC_THEMES.includes(opencodeTheme)) { |
| 76 | return opencodeTheme |
| 77 | } |
| 78 | return OPENCODE_TO_ARCTIC_THEME_MAP[opencodeTheme] |
| 79 | } |
| 80 | |
| 81 | async function getOpenCodeConfigPath(): Promise<string | undefined> { |
| 82 | const configFiles = ["opencode.json", "opencode.jsonc"] |