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

Function requireRootSessionId

packages/runtime/src/stream-graph-coordinator.ts:1460–1466  ·  view source on GitHub ↗
(rootSessionId: string)

Source from the content-addressed store, hash-verified

1458}
1459
1460function requireRootSessionId(rootSessionId: string): string {
1461 const normalized = rootSessionId.trim();
1462 if (!normalized || normalized !== rootSessionId) {
1463 throw new Error('Agent graph root Session id must be a non-empty canonical identity');
1464 }
1465 return normalized;
1466}
1467
1468function isMaterializedGraphClientEvent(
1469 type: AgentGraphSupervisorRuntimeEvent['event']['type'],

Callers 5

listGraphIdsMethod · 0.85
subscribeMethod · 0.85
currentGraphEpochMethod · 0.85

Calls 1

trimMethod · 0.45

Tested by

no test coverage detected