Skip to main content
Version: 0.23.0

Interface: LockEntry

Defined in: core/externalExtensions.ts:109

One extension in a scope's lock.

Properties​

PropertyTypeDescriptionDefined in
commit?stringThe commit it was cloned at, for a git source.core/externalExtensions.ts:118
enabledboolean-core/externalExtensions.ts:135
installedstringWhen it was installed, ISO 8601 in UTC.core/externalExtensions.ts:137
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:116
marketplace?stringThe marketplace it was installed from (<name>@<marketplace>), if any.core/externalExtensions.ts:128
options?Record<string, OptionValue>Its options' non-sensitive values (#55); the sensitive ones are in the scope's .secrets/.core/externalExtensions.ts:132
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:134
sha256stringSHA-256 over its files, checked when it loads; empty for a linked one.core/externalExtensions.ts:130
sourcestringWhere it came from: a folder, or a git URL (with #ref when given). A linked one runs from there.core/externalExtensions.ts:111
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:126
subdir?stringThe folder inside its source it was installed from (a git repository's subfolder).core/externalExtensions.ts:120