Skip to main content

Type Alias: AgentWorkspaceIdProblem

AgentWorkspaceIdProblem = PathNameProblem | "outside"

Defined in: packages/agentos/src/cognition/marketplace/workspace/AgentWorkspace.ts:43

Why an agent's workspace id was refused:

  • 'dot': the cleaned id starts with a dot, so it is ., .. or a hidden name. . would name the base folder itself, which holds every agent's workspace, and .. the folder above it.
  • 'edge': the cleaned id ends with a dot. Windows drops it from a name, so the folder would be another agent's (agent. is agent there).
  • 'empty', 'character' and 'length': the rest of the rule every name built from data meets. The cleaning leaves none of them, so they are reported only should it ever change.
  • 'outside': the folder would not lie inside the base folder.