MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / sourceLabel

Function sourceLabel

src/commands/migrate.ts:67–78  ·  view source on GitHub ↗

A safe label for the picker (one per source).

(id: MigrationSourceId)

Source from the content-addressed store, hash-verified

65
66/** A safe label for the picker (one per source). */
67function 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. */
81function claudeDesktopConfigPath(): string {

Callers 1

discoverSourcesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected