(status: MCP.AuthStatus)
| 33 | } |
| 34 | |
| 35 | function getAuthStatusText(status: MCP.AuthStatus): string { |
| 36 | switch (status) { |
| 37 | case "authenticated": |
| 38 | return "authenticated" |
| 39 | case "expired": |
| 40 | return "expired" |
| 41 | case "not_authenticated": |
| 42 | return "not authenticated" |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | type McpEntry = NonNullable<ConfigV1.Info["mcp"]>[string] |
| 47 |