Skip to main content

HomeWire

Struct HomeWire 

Source
pub struct HomeWire {
Show 16 fields pub projects: Vec<ProjectWire>, pub agents: Vec<AgentWire>, pub fleet: Vec<FleetRow>, pub unseen: Vec<SessionSlot>, pub accounts: AccountPoolView, pub connectors: ConnectorsWire, pub dictate: DictateWire, pub voice: VoiceWire, pub cli_version: Option<Value>, pub forge_version: String, pub forge_version_short: String, pub boot_id: String, pub service_status: Option<Value>, pub fatal_error: Option<Value>, pub biometric: ReadWire<Vec<BiometricEnrolment>>, pub vault: Option<VaultWire>,
}
Expand description

The home, as a client sees it: every read a home-scoped view makes.

The last two are the App-level state that reaches a home subscriber as an update and nothing else - a subject’s snapshot has to cover every update that subject receives, or a late subscriber sees a smaller world than one that attached at boot.

Fields§

§projects: Vec<ProjectWire>§agents: Vec<AgentWire>§fleet: Vec<FleetRow>

One row per project for the fleet page: the counts and the named misses (a stalled queue, a worker holding no row). A project’s own rows ride ProjectBoardWire::rows; this is the glance.

§unseen: Vec<SessionSlot>

The seats whose last turn finished while no client was showing them.

A view draws a mark per row from this, and it is the fact a viewer cannot reconstruct: a turn that ended before a client attached leaves nothing in the transcript to say it went unwatched, so a client reading only the records would draw every row as settled.

§accounts: AccountPoolView

The pool as both the snapshot and AccountsChanged state it; see forge_workspace::AccountPoolView.

§connectors: ConnectorsWire§dictate: DictateWire§voice: VoiceWire

The speaking role’s switch and model directory: the machine-wide facts a voice control reads before it names a seat.

§cli_version: Option<Value>

The claude CLI versions the core holds, as the core’s own snapshot serialises. Its crate is one this one may not name.

§forge_version: String

The forge build serving this socket: the full stamp and the short one.

A client draws the short one as its server build, beside its own labelled client build. The header states which forge commit is RUNNING, and the client is a different program with a version of its own, so the two are named apart rather than one standing for both.

§forge_version_short: String§boot_id: String

The server run’s own identity, minted once per process.

An ask’s number restarts with the process, so a client that kept its marks across a forge restart would read a fresh ask as one it had already announced. The run rides the roster and every mark is scoped by it, so no two runs can be confused.

§service_status: Option<Value>§fatal_error: Option<Value>

The last fatal error, held by the core: an App-level event with no state behind it reaches only whoever was subscribed when it fired.

§biometric: ReadWire<Vec<BiometricEnrolment>>

The device enrolments the settings page lists and the unlock card reads. No wrapped blob is here: the list is read by every client, and the bytes stay behind a release.

§vault: Option<VaultWire>

The shared vault session’s lock state and idle bound, for the settings vault card. No token or key is here: the card draws whether the vault is open and when it locks itself.

Trait Implementations§

Source§

impl<'de> Deserialize<'de> for HomeWire

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for HomeWire

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send> ⓘ

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<S, T> Duplex<S> for T
where T: FromSample<S> + ToSample<S>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<S> FromSample<S> for S

§

fn from_sample_(s: S) -> S

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
§

impl<T, U> ToSample<U> for T
where U: FromSample<T>,

§

fn to_sample_(self) -> U

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more