pub struct Registry {
pub schema_version: u32,
pub entries: Vec<RegistryEntry>,
}Expand description
The daemon-owned agent registry (~/.fno/agents/registry.json).
Fields§
§schema_version: u32§entries: Vec<RegistryEntry>Rows. Python’s registry.write_registry (cli/…/agents/registry.py)
stores these under the canonical top-level "agents" key and reads ONLY
that key (no entries fallback). Serialize under agents so a Rust write
verb (rm/stop/reconcile) that rewrites a Python-authored registry
leaves it readable by Python rather than stranding the surviving rows
under an entries key Python ignores (Codex P1, PR #364). alias = "entries" keeps reading older daemon-written registries. Combined with
ab-e5a57efa this makes the typed read path parse Python registries.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Registry
impl<'de> Deserialize<'de> for Registry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Registry
Auto Trait Implementations§
impl Freeze for Registry
impl RefUnwindSafe for Registry
impl Send for Registry
impl Sync for Registry
impl Unpin for Registry
impl UnsafeUnpin for Registry
impl UnwindSafe for Registry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more