FakeHost class final

One host: its state, keys, declaration, reported names, valid assignments and every name ever given (ruling T12: a name stays bound to its person on the host).

Constructors

FakeHost({required String id, required String name, required String createdAt, String? assignedUserId})
Creates a host in pairing.

Properties

assignedUserId ↔ String?
The assignee, or null.
getter/setter pair
connected ↔ bool
Whether the control connection is open.
getter/setter pair
createdAt → String
When the host was created.
final
credentialHolderId ↔ String?
The holder of a personal login, or null.
getter/setter pair
declaredServerHost ↔ bool
The owner's answer to the server host question.
getter/setter pair
disabledReason ↔ String?
owner or duplicate_connection with disabled, else null.
getter/setter pair
doctor ↔ List<HostJson>
The doctor entries (HostDoctorCheck).
getter/setter pair
failures ↔ int
Failed confirmations since the last pairing.
getter/setter pair
fingerprint ↔ String?
The fingerprint of the stored keys, or null.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id → String
The host ID.
final
json → HostJson
The host as the API returns it (Host).
no setter
keyGeneration ↔ int
The key generation.
getter/setter pair
llmCredentials ↔ String
none, personal or organization.
getter/setter pair
name ↔ String
The name.
getter/setter pair
noisePublicKey ↔ String?
The static X25519 key (noise_public_key), or null while the host has none; a test sets the key of the in-process host it relays to (M4-36).
getter/setter pair
pairingCode ↔ String?
The pairing code that is valid, or null.
getter/setter pair
profiles ↔ List<HostJson>?
The profiles the host reports; null reports the one profile shell once paired.
getter/setter pair
reported ↔ List<String>?
The names the host reported, or null before pairing.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionUsers → Map<String, (String, String)>
Valid assignments: person to name, with the time of the assignment.
final
state ↔ String
pairing, confirming, active, disabled or retired.
getter/setter pair
taken → Map<String, String>
Every name ever given on this host, with its person.
final
version ↔ int
The version.
getter/setter pair
workdirs → Map<String, List<String>>
The working directories of the profile claude per reported session user (24 2.2, ruling T13); a name without an entry has none.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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