hive-agent: keep an own /knowledge clone current from the swarm knowledge event
This commit is contained in:
parent
ff4e42f1ae
commit
989d1d578c
1 changed files with 347 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ mod disk_watch;
|
|||
mod events;
|
||||
mod harness_state;
|
||||
mod identity;
|
||||
mod knowledge_sync;
|
||||
mod login;
|
||||
mod login_watch;
|
||||
mod mcp_config;
|
||||
|
|
@ -575,6 +576,7 @@ async fn serve_main<S: Surface>(socket: &Path, poll_ms: u64) -> Result<()> {
|
|||
// for why this is strictly better than a host-side kick.
|
||||
if let Some(store) = &todos_store {
|
||||
boot_announce::announce(&label, store, &todo_wake);
|
||||
knowledge_sync::spawn(store.clone(), todo_wake.clone());
|
||||
}
|
||||
if matches!(initial, LoginState::NeedsLogin) {
|
||||
login::wait_for_login(
|
||||
|
|
|
|||
Loading…
Reference in a new issue