app-server-daemon: route updater download through HTTP client factory

This commit is contained in:
Michael Bolin
2026-07-09 10:50:01 -07:00
parent 234670dcbf
commit c93a7ca6db
6 changed files with 35 additions and 12 deletions
+9 -1
View File
@@ -1182,7 +1182,15 @@ async fn cli_main(
print_app_server_daemon_output(AppServerLifecycleCommand::Version).await?;
}
AppServerDaemonSubcommand::PidUpdateLoop => {
codex_app_server_daemon::run_pid_update_loop().await?;
let cli_overrides = root_config_overrides
.parse_overrides()
.map_err(anyhow::Error::msg)?;
let config = ConfigBuilder::default()
.cli_overrides(cli_overrides)
.build()
.await?;
codex_app_server_daemon::run_pid_update_loop(config.http_client_factory())
.await?;
}
},
Some(AppServerSubcommand::Proxy(proxy_cli)) => {