MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / known

Function known

graph-ui/src/app/workspace-strings.ts:85–85  ·  view source on GitHub ↗
(value: string | null)

Source from the content-addressed store, hash-verified

83/** An unavailable explicit or saved workspace falls back to the source reader. */
84export function initialWorkspace(requested: string | null, saved: string | null, agentsEnabled = experimentalAgentsEnabled): Workspace {
85 const known = (value: string | null): value is Workspace => workspaceStrings.workspaces.some(workspace => workspace.id === value);
86 return allowedWorkspace(known(requested) ? requested : known(saved) ? saved : 'architecture', agentsEnabled);
87}

Callers 1

initialWorkspaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected