@kikkimo/claude-launcher 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +67 -0
- package/README.md +22 -8
- package/claude-launcher +390 -42
- package/docs/README-zh.md +22 -8
- package/lib/api-manager.js +135 -1
- package/lib/i18n/locales/de.js +68 -3
- package/lib/i18n/locales/en.js +66 -2
- package/lib/i18n/locales/es.js +68 -3
- package/lib/i18n/locales/fr.js +68 -3
- package/lib/i18n/locales/it.js +66 -2
- package/lib/i18n/locales/ja.js +68 -3
- package/lib/i18n/locales/ko.js +68 -3
- package/lib/i18n/locales/pt.js +66 -2
- package/lib/i18n/locales/ru.js +66 -2
- package/lib/i18n/locales/zh-TW.js +68 -3
- package/lib/i18n/locales/zh.js +68 -3
- package/lib/presets/providers.js +97 -10
- package/lib/utils/model-upgrade-checker.js +103 -0
- package/lib/utils/version-checker.js +22 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,73 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.4.0] - 2026-02-12
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **GLM-5 Model Support**: Added GLM-5 model for ZhiPu AI providers (`zhipu` and `zai`)
|
|
12
|
+
- **Claude Opus 4.6 Model**: Added `claude-opus-4-6` model support with unified hyphen naming format
|
|
13
|
+
- **Model Upgrade Notification**: Automatic startup notification when newer model versions are available for configured APIs
|
|
14
|
+
- **Model Upgrade Settings Menu**: New submenu under API Management with:
|
|
15
|
+
- Auto Upgrade toggle (ON/OFF) - automatically use latest model versions
|
|
16
|
+
- Manual Upgrade option - review and confirm each model upgrade individually
|
|
17
|
+
- **Enhanced Usage Statistics**: Added success/failure rate tracking for API calls:
|
|
18
|
+
- Overall success rate display
|
|
19
|
+
- Per-API success rate in statistics table
|
|
20
|
+
- Time-based last used display (just now, minutes ago, hours ago, days ago)
|
|
21
|
+
- **Statistics Submenu**: Restructured statistics page with submenu:
|
|
22
|
+
- View Statistics Details
|
|
23
|
+
- Reset Statistics
|
|
24
|
+
- **Clear All APIs**: New bulk delete option in Remove API submenu:
|
|
25
|
+
- Delete Single API
|
|
26
|
+
- Clear All APIs (with CLEAR confirmation prompt)
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
- **Model Naming Convention**: Unified all model names to use hyphen format (e.g., `claude-opus-4-6` instead of mixed formats)
|
|
30
|
+
- **Auto Upgrade Toggle**: Changed to radio button style for better visual feedback
|
|
31
|
+
- **Statistics Display**: Enhanced table format with success rate column and relative time display
|
|
32
|
+
- **Menu Structure**: Reorganized API management with logical submenu groupings
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
- **Auto Upgrade Execution**: Fixed auto upgrade to bypass cache and execute immediately when enabled
|
|
36
|
+
- **Model Upgrade Notification**: Corrected menu name reference in upgrade notification hint
|
|
37
|
+
- **i18n Synchronization**: Synced all 41 missing translation entries across 9 non-English locale files:
|
|
38
|
+
- Added `statistics` enhanced fields (15 entries) to all locales
|
|
39
|
+
- Added complete `model_upgrade` module (25 entries) to all locales
|
|
40
|
+
- Added missing `confirm_password_prompt` to affected locales
|
|
41
|
+
|
|
42
|
+
### Documentation
|
|
43
|
+
- **README Updates**: Updated both English and Chinese README files with:
|
|
44
|
+
- Model upgrade feature documentation
|
|
45
|
+
- Updated API management menu structure
|
|
46
|
+
- Success/failure rate tracking description
|
|
47
|
+
- Updated supported providers list
|
|
48
|
+
|
|
49
|
+
## [2.3.0] - 2025-12-24
|
|
50
|
+
|
|
51
|
+
### Added
|
|
52
|
+
- **MiniMax Provider Support**: Full integration for MiniMax AI with two provider options:
|
|
53
|
+
- `minimax_cn`: For China users (国内版) with endpoint at `api.minimaxi.com`
|
|
54
|
+
- `minimax_global`: For international users (国际版) with endpoint at `api.minimax.io`
|
|
55
|
+
- Support for `MiniMax-M2.1` model
|
|
56
|
+
- Extended timeout configuration (50 minutes) for large response handling
|
|
57
|
+
- Optimized network traffic settings for better performance
|
|
58
|
+
- **Enhanced Anthropic Models**: Added latest Claude models:
|
|
59
|
+
- `claude-sonnet-4.5`: Enhanced Sonnet model with improved capabilities
|
|
60
|
+
- `claude-opus-4.5`: Enhanced Opus model with improved capabilities
|
|
61
|
+
- **DeepSeek Reasoner Model**: Added `deepseek-reasoner` model for complex reasoning tasks
|
|
62
|
+
- **ZhiPu AI GLM-4.7**: Added `glm-4.7` model support for both:
|
|
63
|
+
- `zhipu` provider (智谱清言 - mainland China)
|
|
64
|
+
- `zai` provider (Z.ai Global - international users)
|
|
65
|
+
|
|
66
|
+
### Changed
|
|
67
|
+
- **Provider Names**: Updated ZhiPu AI provider names to reflect GLM-4.7 support:
|
|
68
|
+
- `zhipu`: Now shows "GLM-4.5/4.6/4.7" in display name
|
|
69
|
+
- `zai`: Now shows "GLM-4.5/4.6/4.7" in display name
|
|
70
|
+
- **Documentation**: Updated README files to include MiniMax providers
|
|
71
|
+
|
|
72
|
+
### Fixed
|
|
73
|
+
- **Provider Selection**: Added MiniMax providers to third-party API selection menu
|
|
74
|
+
|
|
8
75
|
## [2.2.0] - 2025-11-10
|
|
9
76
|
|
|
10
77
|
### Added
|
package/README.md
CHANGED
|
@@ -25,11 +25,12 @@ An elegant interactive launcher for Claude Code with a beautiful Claude-style in
|
|
|
25
25
|
- Strong password requirements and validation
|
|
26
26
|
|
|
27
27
|
### 🚀 **Third-party API Management**
|
|
28
|
-
- Full support for multiple third-party API providers (OpenAI, Anthropic, DeepSeek, Kimi, GLM
|
|
28
|
+
- Full support for multiple third-party API providers (OpenAI, Anthropic, DeepSeek, Kimi, MiniMax, GLM/ZhiPu AI, and custom APIs)
|
|
29
29
|
- Interactive API configuration with validation
|
|
30
|
-
- API usage statistics
|
|
30
|
+
- API usage statistics with success/failure tracking
|
|
31
|
+
- Model upgrade notifications and auto-upgrade support
|
|
31
32
|
- Secure configuration backup and restore
|
|
32
|
-
- Easy API switching and
|
|
33
|
+
- Easy API switching, removal, and bulk clear
|
|
33
34
|
|
|
34
35
|
### 🌍 **Enterprise-grade Features**
|
|
35
36
|
- Global installation - use `claude-launcher` from anywhere
|
|
@@ -85,7 +86,11 @@ node claude-launcher
|
|
|
85
86
|
2. **Launch Claude Code (Skip Permissions)** - Launch with `--dangerously-skip-permissions`
|
|
86
87
|
3. **Launch Claude Code with Third-party API** - Use configured third-party API
|
|
87
88
|
4. **Launch Claude Code with Third-party API (Skip Permissions)** - Combine third-party API with permission skipping
|
|
88
|
-
5. **Third-party API Management** -
|
|
89
|
+
5. **Third-party API Management** - Full API lifecycle management:
|
|
90
|
+
- Add, switch, and remove APIs
|
|
91
|
+
- View usage statistics with success/failure rates
|
|
92
|
+
- Model upgrade settings (auto/manual upgrade)
|
|
93
|
+
- Import/export configurations
|
|
89
94
|
6. **Language Settings** - Switch between 11 supported languages
|
|
90
95
|
7. **Version Update Check** - Check for launcher updates
|
|
91
96
|
8. **Exit** - Close the launcher
|
|
@@ -126,15 +131,23 @@ Access comprehensive API management through the dedicated menu:
|
|
|
126
131
|
📋 Third-party API Management
|
|
127
132
|
|
|
128
133
|
→ Add New API
|
|
129
|
-
Remove API
|
|
134
|
+
Remove API → Delete Single API / Clear All APIs
|
|
130
135
|
Switch Active API
|
|
131
|
-
View Statistics
|
|
136
|
+
View Statistics → View Details / Reset Statistics
|
|
137
|
+
Model Upgrade → Auto Upgrade [ON/OFF] / Manual Upgrade
|
|
132
138
|
Export Configuration
|
|
133
139
|
Import Configuration
|
|
134
140
|
Change Password
|
|
135
141
|
Back to Main Menu
|
|
136
142
|
```
|
|
137
143
|
|
|
144
|
+
### Model Upgrade Feature
|
|
145
|
+
|
|
146
|
+
The launcher automatically checks for model upgrades when you start:
|
|
147
|
+
- **Auto Upgrade**: Automatically use the latest model version
|
|
148
|
+
- **Manual Upgrade**: Review and confirm each model upgrade
|
|
149
|
+
- **Startup Notifications**: Get notified when newer model versions are available
|
|
150
|
+
|
|
138
151
|
## ⚙️ Configuration
|
|
139
152
|
|
|
140
153
|
### Modern Configuration System
|
|
@@ -158,10 +171,11 @@ Claude Launcher 2.0 uses an advanced configuration system:
|
|
|
158
171
|
|
|
159
172
|
Configure any third-party API provider through the interactive interface:
|
|
160
173
|
|
|
161
|
-
- **Supported Providers**:
|
|
174
|
+
- **Supported Providers**: Anthropic, OpenAI, DeepSeek, Moonshot/Kimi, MiniMax (CN/Global), GLM/ZhiPu AI (GLM-4, GLM-5), and custom Anthropic-compatible APIs
|
|
162
175
|
- **Secure Storage**: All API tokens encrypted before storage
|
|
163
176
|
- **Validation**: Real-time validation of URLs, tokens, and models
|
|
164
|
-
- **Usage Tracking**: Monitor API usage statistics
|
|
177
|
+
- **Usage Tracking**: Monitor API usage statistics with success/failure rates
|
|
178
|
+
- **Model Upgrade**: Automatic detection and upgrade to latest model versions
|
|
165
179
|
- **Provider-specific Features**: Optimized configuration for each provider with helpful notes and recommendations
|
|
166
180
|
|
|
167
181
|
### Configuration Import/Export
|