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