Fix update command and installer logic

This change fixes several issues with the `update` command and the installer:
- Corrects the `update` command logic in `setup/cli/commands/update.py`.
- Fixes the `update` logic in `setup/core/installer.py` to correctly handle re-installation of components.
- Corrects the installation of MCP servers in `setup/components/mcp.py`.
Co-authored-by: Mithun Gowda B <mithungowda.b7411@gmail.com>
Co-authored-by: jules <jules@users.noreply.github.com>
This commit is contained in:
google-labs-jules[bot]
2025-09-05 15:59:09 +00:00
parent 04af377f24
commit ebf72715ae
3 changed files with 16 additions and 13 deletions

View File

@@ -229,7 +229,7 @@ class MCPComponent(Component):
["claude", "mcp", "list"],
capture_output=True,
text=True,
timeout=30,
timeout=60,
shell=(sys.platform == "win32")
)
@@ -382,7 +382,7 @@ class MCPComponent(Component):
["claude", "mcp", "list"],
capture_output=True,
text=True,
timeout=15,
timeout=60,
shell=(sys.platform == "win32")
)
@@ -542,7 +542,7 @@ class MCPComponent(Component):
["claude", "mcp", "list"],
capture_output=True,
text=True,
timeout=30,
timeout=60,
shell=(sys.platform == "win32")
)