| Filename | Latest commit message | Latest commit date |
|---|---|---|
WIP (hive-sh4re only; hive-c0re construction follows). Reshapes the dashboard/hivectl queue wire per mara's redesign (#2637): - DagView is now a thin projection: { id, source, reason, created_at, nodes }. Dropped the rolled-up kind (Template)/state/started_at/finished_at/inputs/ approval_id — the client derives label + roll-up state + DAG timestamps from the node set. - NodeView drops step + inline build_log_id; started_at/finished_at are chrono DateTime<Utc> (off the hive_jobq Node); non-derivable per-node payload rides the owning node (approval_id on the approval node, inputs on the meta_lock node). - Deleted the Template enum entirely. Done nodes are excluded from the wire (a fully-done DAG disappears; a failed DAG lingers until the history cap). Build logs move to an on-demand GET /api/build-log/<node_id> query (next commits). |
||
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
hive-sh4re
The shared payload vocabulary between hive-c0re and the in-container
harness — the common types (Message, Approval, LooseEnd, HelperEvent, …)
that the per-socket wire protocols are built from. The request/response
envelopes themselves now live in the per-socket crates (below); this crate
holds the payloads they carry.
Where it sits
This is the shared payload crate; the per-socket protocol envelopes have been
split into their own smaller crates so specialised binaries don't have to pull
in all of hive-sh4re:
hive-host-sock— host admin socket (hivectl↔hive-c0re)hive-core-agent-sock— per-agent/manager socket (/run/hive/mcp.sock)hive-priv-sock— the privileged-helper socket
Those crates re-export or reference the payload types that still live here
(Approval, Message, LooseEnd, …).
Modules
jobs— the job-queue wire types (DagView) surfaced to the dashboard SSE stream + hivectl.wire_time— the timestamp convention: wire fields arechrono::DateTime<Utc>(serialized RFC 3339), while sqlite storage + input args stay unix-epochi64; this module owns the two boundary conversions.paths— well-known on-disk path helpers.assets— resolves bundled runtime asset paths (branding, prompts) underHIVE_ASSETS_DIR.
Agent-name fields are typed as hive_types::Ident for serde-validated parsing at
the socket boundary.