DataLayout: the data root's folders, as RootDataLayout builds them.
API
@Interface()
export abstract class DataLayout {
abstract root(): string;
abstract projectsDir(): string;
abstract projectDir(projectId: string): string;
abstract projectConfigPath(projectId: string): string;
abstract agentsDir(projectId: string): string;
abstract agentDir(projectId: string, agentId: string): string;
abstract tracesDir(projectId: string, agentId: string): string;
abstract agentStateDir(projectId: string, agentId: string): string;
abstract agentStateRepoDir(projectId: string, agentId: string): string;
abstract snapshotsDir(projectId: string, agentId: string): string;
abstract scratchpadDir(projectId: string, agentId: string): string;
abstract workspacesDir(projectId: string, agentId: string): string;
abstract sharedEnvDir(projectId: string, agentId: string): string;
abstract workbenchCachesDir(projectId: string, agentId: string): string;
abstract deletingDir(projectId: string): string;
abstract pluginsDir(): string;
}Contract Topology
Static AST wiring across @Module / @Provide / @UseMembers (16)
root
root(): stringThe data root.
@returns
stringprojectsDir
projectsDir(): stringThe folder every Project's folder sits in, one per id.
@returns
stringprojectDir
projectDir(projectId: string): string@paramprojectId
string@returns
stringprojectConfigPath
projectConfigPath(projectId: string): stringA Project's config file (.project_config.toml).
@paramprojectId
string@returns
stringagentsDir
agentsDir(projectId: string): stringThe folder a Project's Agents sit in, one per id.
@paramprojectId
string@returns
stringagentDir
agentDir(projectId: string, agentId: string): string@paramprojectId
string@paramagentId
string@returns
stringtracesDir
tracesDir(projectId: string, agentId: string): string@paramprojectId
string@paramagentId
string@returns
stringagentStateDir
agentStateDir(projectId: string, agentId: string): stringThe Agent State: what the Agent may edit (agent_state/).
@paramprojectId
string@paramagentId
string@returns
stringagentStateRepoDir
agentStateRepoDir(projectId: string, agentId: string): stringThe Agent State's version history (agent_state.git/).
@paramprojectId
string@paramagentId
string@returns
stringsnapshotsDir
snapshotsDir(projectId: string, agentId: string): string@paramprojectId
string@paramagentId
string@returns
stringscratchpadDir
scratchpadDir(projectId: string, agentId: string): stringThe folder holding one scratchpad per Session, each named by its Session's id.
@paramprojectId
string@paramagentId
string@returns
stringworkspacesDir
workspacesDir(projectId: string, agentId: string): stringThe folder holding the Agent's temporary and Test Workspaces, one per name.
@paramprojectId
string@paramagentId
string@returns
stringworkbenchCachesDir
workbenchCachesDir(projectId: string, agentId: string): stringThe folder holding the disposable files of the Agent's workbenches, one per workbench id.
@paramprojectId
string@paramagentId
string@returns
stringdeletingDir
deletingDir(projectId: string): stringWhere a Project's folders wait while their contents are removed (agents/.deleting/).
@paramprojectId
string@returns
stringpluginsDir
pluginsDir(): stringThe npm prefix the server installs plugins into.
@returns
string