Interface: LockEntry
Defined in: core/externalExtensions.ts:109
One extension in a scope's lock.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
commit? | string | The commit it was cloned at, for a git source. | core/externalExtensions.ts:118 |
enabled | boolean | - | core/externalExtensions.ts:135 |
installed | string | When it was installed, ISO 8601 in UTC. | core/externalExtensions.ts:137 |
linked? | boolean | Linked 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? | string | The 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 |
sha256 | string | SHA-256 over its files, checked when it loads; empty for a linked one. | core/externalExtensions.ts:130 |
source | string | Where it came from: a folder, or a git URL (with #ref when given). A linked one runs from there. | core/externalExtensions.ts:111 |
stored? | boolean | Its 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? | string | The folder inside its source it was installed from (a git repository's subfolder). | core/externalExtensions.ts:120 |