Major Features Added: - Provider Switching: Detect current API provider (Anthropic/Z.AI) and offer switching - API Key Update: Easy update of existing API keys without reinstalling - Z.AI Coding-Helper Integration: Optional installation of @z_ai/coding-helper Provider Detection: - Detects Z.AI by checking for dashscope-intl.aliyuncs.com URL - Detects Anthropic by checking for anthropic.com or ANTHROPIC_API_KEY - Shows current provider and API key (masked) when script runs Provider Switching Options: 1. Switch to Z.AI (GLM models: glm-4.5-air, glm-4.7) 2. Switch to Anthropic (Official Claude models) 3. Update API key only (keep current provider) 4. Skip configuration Z.AI Coding-Helper Addons: - Interactive wizard for easy setup - Multi-tool management (Claude Code, OpenCode, Crush, Factory Droid) - MCP service configuration - API key management for Global and China plans - Bilingual interface (English/Chinese) - Automatic tool detection and installation - Configuration backup and sync Configuration Management: - Automatic backup of settings.json before changes - Smart merging of existing configurations - Proper model switching (GLM ↔ Claude models) - Base URL configuration for Z.AI Enhanced Banner: - Shows all three main features (Z.AI, Provider Switching, Coding-Helper) README Updates: - Documented new features in install-claude-code.sh section - Added provider switching workflow explanation - Listed coding-helper addon features
26 KiB
Executable File
26 KiB
Executable File