Skip to main content
Version: 0.21.0

Function: extensionDataDir()

function extensionDataDir(scopeDir, name): string;

Defined in: core/externalExtensions.ts:118

An installed extension's data folder: ${CLAUDE_PLUGIN_DATA} in its servers' arguments and variables (a browser profile, a cache), in its scope, outside its plugin and its hash, so it's kept across sessions and updates. Created when a session starts it; removing the extension asks before deleting it.

Parameters​

ParameterType
scopeDirstring
namestring

Returns​

string