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

Function allowedWorkspace

graph-ui/src/app/workspace-strings.ts:79–81  ·  view source on GitHub ↗
(workspace: Workspace, agentsEnabled = experimentalAgentsEnabled)

Source from the content-addressed store, hash-verified

77}
78
79export function allowedWorkspace(workspace: Workspace, agentsEnabled = experimentalAgentsEnabled): Workspace {
80 return workspace === 'agents' && !agentsEnabled ? 'explore' : workspace;
81}
82
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 {

Callers 3

changeWorkspaceFunction · 0.90
initialWorkspaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected