DependencyStatus
Defined in: core.ts:201
The resolved status of a single declared dependency (system or plugin).
Returned by lifecycle.getDependencyStatus() and
lifecycle.recheckDependencies(). Matches the Swift DependencyStatus
struct with custom Codable flattening of InstallationState.
Properties
Section titled “Properties”name:
string
Defined in: core.ts:203
Human-readable name of the dependency.
type:
DependencyType
Defined in: core.ts:205
Whether this is a system binary or plugin dependency.
required
Section titled “required”required:
boolean
Defined in: core.ts:207
Whether this dependency is required for the plugin to function.
satisfied
Section titled “satisfied”satisfied:
boolean
Defined in: core.ts:209
Whether the dependency constraint is fully satisfied.
state:
InstallationState
Defined in: core.ts:211
The resolved installation state.
installedVersion?
Section titled “installedVersion?”
optionalinstalledVersion?:string
Defined in: core.ts:213
Detected version string. Present only when state === "installed".
requiredVersion?
Section titled “requiredVersion?”
optionalrequiredVersion?:string
Defined in: core.ts:215
Minimum version constraint from the manifest. Undefined when no minVersion declared.
installHint?
Section titled “installHint?”
optionalinstallHint?:string
Defined in: core.ts:217
Human-readable install hint (e.g., “brew install yt-dlp”).
installUrl?
Section titled “installUrl?”
optionalinstallUrl?:string
Defined in: core.ts:219
URL to installation instructions.
description?
Section titled “description?”
optionaldescription?:string
Defined in: core.ts:221
Human-readable description of the dependency’s purpose.
unsatisfiedReason?
Section titled “unsatisfiedReason?”
optionalunsatisfiedReason?:string
Defined in: core.ts:223
Reason why the dependency is unsatisfied. Present only when satisfied === false.
causalChain?
Section titled “causalChain?”
optionalcausalChain?:string[]
Defined in: core.ts:225
Causal chain for transitive dependencies. Present for required transitive deps (e.g., ["required by com.foo.bar"]).