ProfileBindingStatus class final

One binding of ProfileResolutionStatus: the Profile wayfinder.json names under id, for the bundles it appliesTo, and its state.

Constructors

ProfileBindingStatus({required ProfileId id, required WayfinderProfileSource source, required List<String> appliesTo, required ProfileBindingState state, List<LockedPackage> chain = const [], List<LockedPackage> missing = const [], List<ProfileLocalCopy> copies = const [], ProfileLockChange? lockChange, EngineDiagnostic? diagnostic, List<EngineDiagnostic> notes = const [], List<ProfileSkillDirectory> skillDirectories = const []})
const

Properties

appliesTo → List<String>
The bundle paths the binding applies to, relative to the project root and normalized, as in wayfinder.json.
final
chain → List<LockedPackage>
The chain the lock records for id, root ancestor first, once the lock is current and records the configured source for it; empty for ProfileBindingState.lockMissing and for a lock that is stale before any package is read.
final
copies → List<ProfileLocalCopy>
One ProfileLocalCopy per member of chain, root first: whether its source's mirror and its package file are in the Profile cache, so a consent gate can name the sources a locked-only plan will contact.
final
diagnostic → EngineDiagnostic?
The error select reports for the binding's bundles, with its wayfinder/ code and message; null when state is ProfileBindingState.resolved. Its message names no command; its EngineDiagnostic.remedy says when resolving the Profiles again fixes it.
final
hashCode → int
The hash code for this object.
no setterinherited
id → ProfileId
final
lockChange → ProfileLockChange?
Why resolving would change wayfinder.lock for this binding, as a locked-only plan would refuse it with lock-change-required; null unless state is ProfileBindingState.lockMissing or ProfileBindingState.lockStale.
final
missing → List<LockedPackage>
The members of chain whose package file is not in the Profile cache, root first: the commits a locked-only plan has to bring in.
final
notes → List<EngineDiagnostic>
The warnings select reports beside a selection, such as profile-skill-stale for a chain member whose installed skill is missing or not at its locked commit.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
skillDirectories → List<ProfileSkillDirectory>
Every directory a skill of chain installs into, with its state, for each member whose package ships a skill, root first and then in ProfileSkills.roots order: the data behind the profile-skill-stale notes, and the protected paths get would write or refuse. Read only once the chain's packages are, so empty unless state is ProfileBindingState.resolved.
final
source → WayfinderProfileSource
The source as wayfinder.json names it.
final
state → ProfileBindingState
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited