MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / getMode

Method getMode

services/auto-routing/src/routing-mode.ts:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22function modeKey(ownerType: AutoRoutingModeOwnerType, ownerId: string): string {
23 return `${ownerType}:${ownerId}`;
24}
25
26function parseStoredMode(raw: unknown): AutoRoutingMode | null {
27 const parsed = AutoRoutingModeSchema.safeParse(raw);
28 return parsed.success ? parsed.data : null;
29}

Callers 2

Calls 2

parseStoredModeFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected