fix: wire reconcile_provider_mcp_commands into app startup

Call reconcile_provider_mcp_commands in lib.rs between
reconcile_persona_pack_paths and migrate_persona_provider_to_runtime.
This ensures mcp_command values in managed-agents.json stay in sync
with the discovery table on every app launch.
This commit is contained in:
Will Pfleger
2026-06-08 13:09:33 -04:00
parent 48b334fe16
commit f5b645709a

View File

@@ -499,6 +499,7 @@ pub fn run() {
// restore_managed_agents_on_launch (which reads managed-agents.json).
migration::sync_shared_agent_data(&app_handle);
migration::reconcile_persona_pack_paths(&app_handle);
migration::reconcile_provider_mcp_commands(&app_handle);
migration::migrate_persona_provider_to_runtime(&app_handle);
// Resolve persisted identity key (env var → file → generate+save).