hivectl: add operator-facing host CLI with forge + matrix create-user verbs (#655)

This commit is contained in:
damocles 2026-05-30 20:34:59 +02:00
commit 53447842bc
6 changed files with 214 additions and 41 deletions

View file

@ -5,38 +5,17 @@ use anyhow::{Context as _, Result, bail};
use clap::{Parser, Subcommand};
use hive_sh4re::{HostRequest, HostResponse};
mod actions;
mod agent_server;
mod approvals;
mod auto_update;
mod broker;
mod client;
mod container_view;
mod coordinator;
mod crash_watch;
mod dashboard;
mod dashboard_events;
mod events_vacuum;
mod stats_vacuum;
mod flake_check;
mod forge;
mod lifecycle;
mod scheduled_prompts;
mod scheduled_prompts_worker;
mod limits;
mod loose_ends;
mod manager_server;
mod matrix;
mod meta;
mod migrate;
mod operator_questions;
mod questions;
mod rebuild_queue;
mod topology;
mod reminder_scheduler;
mod server;
use coordinator::Coordinator;
// Every module hangs off the `hive_c0re` library (see `src/lib.rs`).
// The daemon and the `hivectl` sibling binary share the same module
// tree — no per-binary duplication. Enumerated rather than wildcard
// so clippy stays happy + the lib surface this bin consumes is
// explicit (any new daemon entry point reads off the next add).
use hive_c0re::coordinator::Coordinator;
use hive_c0re::{
auto_update, broker, client, crash_watch, dashboard, dashboard_events, events_vacuum, forge,
manager_server, matrix, migrate, rebuild_queue, reminder_scheduler, scheduled_prompts_worker,
server, stats_vacuum,
};
#[derive(Parser)]
#[command(name = "hive-c0re", about = "hyperhive coordinator daemon and CLI")]