Skip to main content
Version: Next (unreleased)

Function: scopePrivateDir()

function scopePrivateDir(dirs, scope): string | undefined;

Defined in: core/externalExtensions.ts:205

Where a scope keeps what's the person's, not the workspace's: its extensions' data and secrets (#57). The agent's scope, its own folder; a project's, a folder of its own in the agent's (<agent scope>/.projects/<project>-<hash>/), so nothing private travels with a project. An agent without a scope of its own keeps it in the project's.

Parameters​

ParameterType
dirsExtensionDirs
scopekeyof ExtensionDirs

Returns​

string | undefined