MCPcopy Create free account
hub / github.com/benjitaylor/agentation / getSessionStorageKey

Function getSessionStorageKey

package/src/utils/storage.ts:251–253  ·  view source on GitHub ↗
(pathname: string)

Source from the content-addressed store, hash-verified

249const SESSION_PREFIX = "agentation-session-";
250
251export function getSessionStorageKey(pathname: string): string {
252 return `${SESSION_PREFIX}${pathname}`;
253}
254
255export function loadSessionId(pathname: string): string | null {
256 if (typeof window === "undefined") return null;

Callers 3

loadSessionIdFunction · 0.85
saveSessionIdFunction · 0.85
clearSessionIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…