get_logs: resolve machine name via container_name like every other verb
This commit is contained in:
parent
7ce3da1e21
commit
0a79912b67
4 changed files with 27 additions and 9 deletions
|
|
@ -697,10 +697,12 @@ pub enum ManagerRequest {
|
|||
/// `HelperEvent::QuestionAsked` (i.e. an agent asked the manager
|
||||
/// for input). Mirror of `AgentRequest::Answer`.
|
||||
Answer { id: i64, answer: String },
|
||||
/// Fetch recent journal lines for a sub-agent container. hive-c0re
|
||||
/// runs `journalctl -M <agent> -n <lines> --no-pager` and returns
|
||||
/// the output as a string. Useful for diagnosing MCP registration
|
||||
/// failures, startup crashes, and harness errors.
|
||||
/// Fetch recent journal lines for a sub-agent container. `agent`
|
||||
/// is the logical agent name; hive-c0re resolves it to the
|
||||
/// machine name (`gui` → `h-gui`) and runs `journalctl -M
|
||||
/// <machine> -n <lines> --no-pager`, returning the output as a
|
||||
/// string. Useful for diagnosing MCP registration failures,
|
||||
/// startup crashes, and harness errors.
|
||||
///
|
||||
/// `lines` defaults to 50 when omitted.
|
||||
GetLogs {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue