MCPcopy Index your code
hub / github.com/callstack/agent-device / resolveSessionIsolationMode

Function resolveSessionIsolationMode

src/daemon/config.ts:99–103  ·  view source on GitHub ↗
(raw: string | undefined)

Source from the content-addressed store, hash-verified

97}
98
99export function resolveSessionIsolationMode(raw: string | undefined): SessionIsolationMode {
100 const normalized = (raw ?? '').trim().toLowerCase();
101 if (normalized === 'tenant') return 'tenant';
102 return 'none';
103}
104
105export function normalizeTenantId(raw: string | undefined): string | undefined {
106 if (!raw) return undefined;

Callers 1

scopeRequestSessionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected