Merge branch 'main' into auto_open
This commit is contained in:
commit
d2dc959307
1 changed files with 3381 additions and 2415 deletions
|
|
@ -8,6 +8,15 @@ export const SESSION_KEYS = {
|
|||
CLIENT_INFORMATION: "mcp_client_information",
|
||||
} as const;
|
||||
|
||||
// Generate server-specific session storage keys
|
||||
export const getServerSpecificKey = (
|
||||
baseKey: string,
|
||||
serverUrl?: string,
|
||||
): string => {
|
||||
if (!serverUrl) return baseKey;
|
||||
return `[${serverUrl}] ${baseKey}`;
|
||||
};
|
||||
|
||||
export type ConnectionStatus =
|
||||
| "disconnected"
|
||||
| "connected"
|
||||
|
|
|
|||
Loading…
Reference in a new issue