()
| 541 | } |
| 542 | |
| 543 | async function resolveGlobalConfigPath() { |
| 544 | const jsonc = path.join(Global.Path.config, "arctic.jsonc") |
| 545 | const json = path.join(Global.Path.config, "arctic.json") |
| 546 | if (await Bun.file(jsonc).exists()) return jsonc |
| 547 | if (await Bun.file(json).exists()) return json |
| 548 | return jsonc |
| 549 | } |
| 550 | |
| 551 | async function readClaudeMcpServers(filepath: string): Promise<Record<string, any> | undefined> { |
| 552 | const text = await Bun.file(filepath) |
no test coverage detected