[apps] Improve app installation flow. (#11249)

- [x] Add buttons to start the installation flow and verify installation
completes.
- [x] Hard refresh apps list when the /apps view opens.
This commit is contained in:
Matthew Zeng authored and GitHub committed 2026-02-10 17:59:43 +00:00
1 parent c4b771a16f
commit 48e415bdef
9 files changed
+417 -24

No files matched your search

+11
View File
@@ -10,6 +10,7 @@ use async_channel::unbounded;
pub use codex_app_server_protocol::AppInfo;
use codex_protocol::protocol::SandboxPolicy;
use tokio_util::sync::CancellationToken;
use tracing::warn;
use crate::AuthManager;
use crate::CodexAuth;
@@ -96,6 +97,16 @@ pub async fn list_accessible_connectors_from_mcp_tools_with_options(
)
.await;
if force_refetch
&& let Err(err) = mcp_connection_manager
.hard_refresh_codex_apps_tools_cache()
.await
{
warn!(
"failed to force-refresh tools for MCP server '{CODEX_APPS_MCP_SERVER_NAME}', using cached/startup tools: {err:#}"
);
}
let codex_apps_ready = if let Some(cfg) = mcp_servers.get(CODEX_APPS_MCP_SERVER_NAME) {
let timeout = cfg.startup_timeout_sec.unwrap_or(DEFAULT_STARTUP_TIMEOUT);
mcp_connection_manager