MCPcopy Create free account
hub / github.com/apache/maka / normalizeRequiredSessionName

Function normalizeRequiredSessionName

packages/storage/src/session-store.ts:990–994  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

988}
989
990function normalizeRequiredSessionName(name: string): string {
991 const normalized = normalizeUserSessionName(name);
992 if (!normalized.ok) throw new Error(normalized.error);
993 return normalized.value;
994}
995
996/** Validate and normalize a current SessionHeader before canonical persistence. */
997export function normalizeSessionHeader(

Callers 1

buildSessionHeaderFunction · 0.85

Calls 1

normalizeUserSessionNameFunction · 0.90

Tested by

no test coverage detected