Watch
0
0
Fork
You've already forked hyperhive
0

hive-agent: the agent has no login flow of its own, credentials come from the swarm

This commit is contained in:
damocles 2026-11-06 23:17:11 +01:00 • committed by mara
commit ac3b3cfcd3

View file

@ -20,7 +20,6 @@ mod events;
mod harness_state;
mod identity;
mod login;
mod login_session;
mod mcp_config;
mod otel_turn_metrics;
mod paths;
@ -1141,7 +1140,7 @@ async fn handle_turn_error_recovery<S: Surface>(
if matches!(outcome, Err(turn::TurnError::AuthFailed)) {
bus.emit_status("needs_login_idle");
bus.emit(LiveEvent::Note {
text: "API 401 — waiting for re-login via web UI".into(),
text: "API 401 — waiting for a re-login (log in from the swarm UI)".into(),
});
tracing::warn!("auth-failed; parking until re-login");
S::requeue_inflight(socket).await;