Added comprehensive component detection that shows which features are already installed and which are missing. New functions: - detect_coding_helper_components(): Returns JSON with status of all 10 components (core, wizard, multi_tool, mcp_config, api_management, bilingual, mcp_servers, marketplace, tool_detection, backup_sync) - display_component_status(): Shows colored ✓ or ✗ with [Installed] or [Not installed] status Enhanced offer_coding_helper_addons(): - Detects and displays status for each component individually - Shows summary: "X/10 components installed" - Smart handling based on installation state: * All installed: Offer to launch wizard * Core installed, missing components: Offer to configure * Not installed: Offer to install Detection checks: - Core: chelper command or npm package - Wizard: chelper availability - Multi-tool: ~/.chelper config directory - MCP config: mcpServers in settings.json - API management: Z.AI base URL in settings - Bilingual: inherent to chelper - MCP servers: plugins/*mcp* or *zai* count - Marketplace: marketplace in config.json - Tool detection: tool-discovery-agent skill - Backup sync: sync-agents.sh script Co-Authored-By: Claude <noreply@anthropic.com>
32 KiB
Executable File
32 KiB
Executable File