MCPcopy
hub / github.com/benjitaylor/agentation / createSessionForUser

Function createSessionForUser

mcp/src/server/tenant-store.ts:162–168  ·  view source on GitHub ↗
(
  userId: string,
  url: string,
  projectId?: string
)

Source from the content-addressed store, hash-verified

160
161// User-scoped sessions
162export function createSessionForUser(
163 userId: string,
164 url: string,
165 projectId?: string
166): Session {
167 return getTenantStore().createSessionForUser(userId, url, projectId);
168}
169
170export function listSessionsForUser(userId: string): Session[] {
171 return getTenantStore().listSessionsForUser(userId);

Callers

nothing calls this directly

Calls 2

getTenantStoreFunction · 0.85
createSessionForUserMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…