True when `name` already exists in the user-scope mcpServers block of * OrbCode's settings. This is the only conflict that matters — the CLI and * TUI both target user scope.
(name: string)
| 344 | * OrbCode's settings. This is the only conflict that matters — the CLI and |
| 345 | * TUI both target user scope. */ |
| 346 | function destinationHas(name: string): boolean { |
| 347 | const settings = loadSettings(); |
| 348 | return Boolean(settings.mcpServers && name in settings.mcpServers); |
| 349 | } |
| 350 | |
| 351 | /** |
| 352 | * Apply a set of migration entries to `~/.orbcode/settings.json` (user scope). |
no test coverage detected