refreshMCPTools preserves the prior MCP tool selection by only keeping tools that were already active. Brand-new servers added via /mcp add had their tools registered in the registry but never activated on the agent, making them invisible until restart. After the connection is confirmed in #handleWizardComplete, explicitly add the new server's tools to the active set via setActiveToolsByName. Covers both the normal connection path and the fallback Co-authored-by: Miroslav Drbal <miroslav.drbal@gendigital.com>
@oh-my-pi/pi-coding-agent
Core implementation package for the omp coding agent in the oh-my-pi monorepo.
For installation, setup, provider configuration, model roles, slash commands, and full CLI reference, see:
Package-specific references: