Skip to main content
Version: Next (unreleased)

Interface: LockEntry

Defined in: core/externalExtensions.ts:156

One extension in a scope's lock.

Properties​

PropertyTypeDescriptionDefined in
commit?stringThe commit it was cloned at, for a git source.core/externalExtensions.ts:165
enabledboolean-core/externalExtensions.ts:182
installedstringWhen it was installed, ISO 8601 in UTC.core/externalExtensions.ts:184
linked?booleanLinked rather than copied (extension add --link), to develop it: it runs from its folder, whose files aren't checked, so a rebuild takes effect when its server starts again.core/externalExtensions.ts:163
marketplace?stringThe marketplace it was installed from (<name>@<marketplace>), if any.core/externalExtensions.ts:175
options?Record<string, OptionValue>Its options' non-sensitive values (#55); the sensitive ones are in the scope's .secrets/.core/externalExtensions.ts:179
packages?Record<string, CachedPackage>The npm packages its servers run with npx (#54), by <package>@<version>: in the agent's package cache, checked when it loads.core/externalExtensions.ts:181
sha256stringSHA-256 over its files, checked when it loads; empty for a linked one.core/externalExtensions.ts:177
sourcestringWhere it came from: a folder, or a git URL (with #ref when given). A linked one runs from there.core/externalExtensions.ts:158
stored?booleanIts code is in the agent's store (<agent scope>/.store/<name>/<hash>/), not in its scope's folder (#57): a project's scope keeps only its lock, so a workspace shared with others carries what it uses and at which version, never the code itself (restoreExtensions() gets it).core/externalExtensions.ts:173
subdir?stringThe folder inside its source it was installed from (a git repository's subfolder).core/externalExtensions.ts:167