RuntimeModule · packages/server/src/services/data-layout.ts:27

RootDataLayout

component

No JSDoc comment in source yet.

API

@Component()
export class RootDataLayout implements DataLayout {
  @Use() private readonly paths!: Paths;
  root(): string;
  projectsDir(): string;
  projectDir(projectId: string): string;
  projectConfigPath(projectId: string): string;
  agentsDir(projectId: string): string;
  agentDir(projectId: string, agentId: string): string;
  tracesDir(projectId: string, agentId: string): string;
  agentStateDir(projectId: string, agentId: string): string;
  agentStateRepoDir(projectId: string, agentId: string): string;
  snapshotsDir(projectId: string, agentId: string): string;
  scratchpadDir(projectId: string, agentId: string): string;
  workspacesDir(projectId: string, agentId: string): string;
  sharedEnvDir(projectId: string, agentId: string): string;
  workbenchCachesDir(projectId: string, agentId: string): string;
  deletingDir(projectId: string): string;
  pluginsDir(): string;
}

Dependencies & Wiring

Extracted from class decorators
implementsinterfaces
@Userequires (1)
paths: Paths

Methods (16)

root

root(): string
@returnsstring

projectsDir

projectsDir(): string
@returnsstring

projectDir

projectDir(projectId: string): string
@paramprojectIdstring
@returnsstring

projectConfigPath

projectConfigPath(projectId: string): string
@paramprojectIdstring
@returnsstring

agentsDir

agentsDir(projectId: string): string
@paramprojectIdstring
@returnsstring

agentDir

agentDir(projectId: string, agentId: string): string
@paramprojectIdstring
@paramagentIdstring
@returnsstring

tracesDir

tracesDir(projectId: string, agentId: string): string
@paramprojectIdstring
@paramagentIdstring
@returnsstring

agentStateDir

agentStateDir(projectId: string, agentId: string): string
@paramprojectIdstring
@paramagentIdstring
@returnsstring

agentStateRepoDir

agentStateRepoDir(projectId: string, agentId: string): string
@paramprojectIdstring
@paramagentIdstring
@returnsstring

snapshotsDir

snapshotsDir(projectId: string, agentId: string): string
@paramprojectIdstring
@paramagentIdstring
@returnsstring

scratchpadDir

scratchpadDir(projectId: string, agentId: string): string
@paramprojectIdstring
@paramagentIdstring
@returnsstring

workspacesDir

workspacesDir(projectId: string, agentId: string): string
@paramprojectIdstring
@paramagentIdstring
@returnsstring

sharedEnvDir

sharedEnvDir(projectId: string, agentId: string): string
@paramprojectIdstring
@paramagentIdstring
@returnsstring

workbenchCachesDir

workbenchCachesDir(projectId: string, agentId: string): string
@paramprojectIdstring
@paramagentIdstring
@returnsstring

deletingDir

deletingDir(projectId: string): string
@paramprojectIdstring
@returnsstring

pluginsDir

pluginsDir(): string
@returnsstring