A safe label for the picker (one per source).
(id: MigrationSourceId)
| 65 | |
| 66 | /** A safe label for the picker (one per source). */ |
| 67 | function sourceLabel(id: MigrationSourceId): string { |
| 68 | switch (id) { |
| 69 | case "claude-code-user": |
| 70 | return "Claude Code (user)" |
| 71 | case "claude-code-json-user": |
| 72 | return "Claude Code (user, ~/.claude.json)" |
| 73 | case "claude-code-project": |
| 74 | return "Claude Code (this project)" |
| 75 | case "claude-desktop": |
| 76 | return "Claude Desktop" |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | /** Cross-platform location of Claude Desktop's MCP config file. */ |
| 81 | function claudeDesktopConfigPath(): string { |