Expand description
kinjo is built from three deliberately decoupled parts:
discoveryproduces entries (mDNS today), handing the caller adiscovery::DiscoverySessionthat owns the running adapter,plumberis the rules engine that matches entries and runs commands (behind theplumber::RuleEnginetrait),uities them together for a person at the terminal.
run is the composition root that wires the parts together; the kinjo
binary is a thin wrapper around it. Exposing these modules as a library also
lets the fuzz/ targets exercise the discovery and parser code directly.
Modules§
- discovery
- Discovery: the producer of
Entryvalues. - plumber
- ui
- UI: ties discovery and the rules engine together.
Functions§
- process_
main - Binary entrypoint that owns Kinjo’s stdout/stderr formatting and exit code.
- run
- Source-compatible library entrypoint.