(resource: McpResource | null | undefined)
| 112 | // minted against the default `/mcp` endpoint, so a missing resource keys to |
| 113 | // "default". Keeping this guard here means no caller can throw on legacy data. |
| 114 | export const mcpResourceKey = (resource: McpResource | null | undefined): string => |
| 115 | resource && resource.kind !== "default" ? `toolkit:${resource.slug}` : "default"; |
| 116 | |
| 117 | // --------------------------------------------------------------------------- |
| 118 | // AuthOutcome — the result of `McpAuthProvider.authenticate`. |
no outgoing calls
no test coverage detected