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

Function generateId

mcp/src/server/store.ts:72–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 const events: AFSEvent[] = [];
71
72 function generateId(): string {
73 return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
74 }
75
76 return {
77 createSession(url: string, projectId?: string): Session {

Callers 3

createSessionFunction · 0.70
addAnnotationFunction · 0.70
addThreadMessageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…