pub async fn run_daemon( db_path: &Path, args: SyncDaemonArgs, cli_agent_id: Option<&str>, ) -> Result<()>
sync-daemon handler. Delegates the inner loop to daemon_runtime.
sync-daemon
daemon_runtime