@kikkimo/claude-launcher 2.3.0 → 2.5.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 +70 -0
- package/README.md +35 -13
- package/claude-launcher +425 -48
- package/docs/README-zh.md +35 -13
- package/docs/superpowers/plans/2026-03-31-update-models-and-auto-mode.md +1414 -0
- package/docs/superpowers/specs/2026-03-31-update-models-and-auto-mode-design.md +187 -0
- package/lib/api-manager.js +135 -1
- package/lib/i18n/locales/de.js +74 -3
- package/lib/i18n/locales/en.js +72 -2
- package/lib/i18n/locales/es.js +74 -3
- package/lib/i18n/locales/fr.js +74 -3
- package/lib/i18n/locales/it.js +72 -2
- package/lib/i18n/locales/ja.js +74 -3
- package/lib/i18n/locales/ko.js +74 -3
- package/lib/i18n/locales/pt.js +72 -2
- package/lib/i18n/locales/ru.js +72 -2
- package/lib/i18n/locales/zh-TW.js +74 -3
- package/lib/i18n/locales/zh.js +74 -3
- package/lib/launcher.js +10 -0
- package/lib/presets/providers.js +86 -15
- package/lib/ui/menu.js +17 -5
- package/lib/utils/model-upgrade-checker.js +103 -0
- package/lib/utils/version-checker.js +22 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,76 @@ 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.5.0] - 2026-03-31
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **Claude Auto Mode Support**: New menu item "Launch Claude Code (Enable Auto Mode)" using `--enable-auto-mode` flag
|
|
12
|
+
- Enables auto mode as a selectable permission mode (switch with Shift+Tab in session)
|
|
13
|
+
- Currently supports Team plan; Enterprise/API plans rolling out
|
|
14
|
+
- **Dynamic Menu Hints**: Context-sensitive hints displayed below the main menu based on selected item
|
|
15
|
+
- Auto Mode item: Shows plan support info and Shift+Tab usage instruction
|
|
16
|
+
- Third-party API items: Shows active API provider/model or prompts to configure
|
|
17
|
+
- Hints auto-hide when selecting other menu items
|
|
18
|
+
- **GLM-5.1 & GLM-5-Turbo Models**: Added latest ZhiPu AI models for both `zhipu` and `zai` providers
|
|
19
|
+
- New models: `glm-5.1` (latest), `glm-5-turbo`
|
|
20
|
+
- Removed deprecated: `glm-4.5`, `glm-4.6`
|
|
21
|
+
- All older models now suggest upgrade to `glm-5.1`
|
|
22
|
+
- **Kimi K2.5 Model**: Added latest Moonshot AI model for `moonshot` provider
|
|
23
|
+
- New model: `kimi-k2.5` (latest, multimodal, 256K context)
|
|
24
|
+
- Removed deprecated: `kimi-k2-0711-preview`, `kimi-k2-0905-preview`, `kimi-k2-turbo-preview`
|
|
25
|
+
- All older models now suggest upgrade to `kimi-k2.5`
|
|
26
|
+
- **MiniMax M2.7 & M2.5 Models**: Added latest MiniMax models for both `minimax_cn` and `minimax_global` providers
|
|
27
|
+
- New models: `MiniMax-M2.7` (latest), `MiniMax-M2.5`
|
|
28
|
+
- Older models now suggest upgrade to `MiniMax-M2.7`
|
|
29
|
+
- **Automated Test Suite**: Added test infrastructure with `npm test` entry point
|
|
30
|
+
- Provider model configuration tests (28 tests)
|
|
31
|
+
- Menu hintCallback rendering tests including navigate() stub tests (8 tests)
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
- **Menu Structure**: Main menu now has 9 items (was 8), with Auto Mode at position 3
|
|
35
|
+
- **i18n**: All 11 locale files updated with 4 new translation keys for Auto Mode and hints
|
|
36
|
+
|
|
37
|
+
## [2.4.0] - 2026-02-12
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
- **GLM-5 Model Support**: Added GLM-5 model for ZhiPu AI providers (`zhipu` and `zai`)
|
|
41
|
+
- **Claude Opus 4.6 Model**: Added `claude-opus-4-6` model support with unified hyphen naming format
|
|
42
|
+
- **Model Upgrade Notification**: Automatic startup notification when newer model versions are available for configured APIs
|
|
43
|
+
- **Model Upgrade Settings Menu**: New submenu under API Management with:
|
|
44
|
+
- Auto Upgrade toggle (ON/OFF) - automatically use latest model versions
|
|
45
|
+
- Manual Upgrade option - review and confirm each model upgrade individually
|
|
46
|
+
- **Enhanced Usage Statistics**: Added success/failure rate tracking for API calls:
|
|
47
|
+
- Overall success rate display
|
|
48
|
+
- Per-API success rate in statistics table
|
|
49
|
+
- Time-based last used display (just now, minutes ago, hours ago, days ago)
|
|
50
|
+
- **Statistics Submenu**: Restructured statistics page with submenu:
|
|
51
|
+
- View Statistics Details
|
|
52
|
+
- Reset Statistics
|
|
53
|
+
- **Clear All APIs**: New bulk delete option in Remove API submenu:
|
|
54
|
+
- Delete Single API
|
|
55
|
+
- Clear All APIs (with CLEAR confirmation prompt)
|
|
56
|
+
|
|
57
|
+
### Changed
|
|
58
|
+
- **Model Naming Convention**: Unified all model names to use hyphen format (e.g., `claude-opus-4-6` instead of mixed formats)
|
|
59
|
+
- **Auto Upgrade Toggle**: Changed to radio button style for better visual feedback
|
|
60
|
+
- **Statistics Display**: Enhanced table format with success rate column and relative time display
|
|
61
|
+
- **Menu Structure**: Reorganized API management with logical submenu groupings
|
|
62
|
+
|
|
63
|
+
### Fixed
|
|
64
|
+
- **Auto Upgrade Execution**: Fixed auto upgrade to bypass cache and execute immediately when enabled
|
|
65
|
+
- **Model Upgrade Notification**: Corrected menu name reference in upgrade notification hint
|
|
66
|
+
- **i18n Synchronization**: Synced all 41 missing translation entries across 9 non-English locale files:
|
|
67
|
+
- Added `statistics` enhanced fields (15 entries) to all locales
|
|
68
|
+
- Added complete `model_upgrade` module (25 entries) to all locales
|
|
69
|
+
- Added missing `confirm_password_prompt` to affected locales
|
|
70
|
+
|
|
71
|
+
### Documentation
|
|
72
|
+
- **README Updates**: Updated both English and Chinese README files with:
|
|
73
|
+
- Model upgrade feature documentation
|
|
74
|
+
- Updated API management menu structure
|
|
75
|
+
- Success/failure rate tracking description
|
|
76
|
+
- Updated supported providers list
|
|
77
|
+
|
|
8
78
|
## [2.3.0] - 2025-12-24
|
|
9
79
|
|
|
10
80
|
### 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 (
|
|
28
|
+
- Full support for multiple third-party API providers (Anthropic, DeepSeek, Kimi K2.5, MiniMax M2.7, GLM-5.1/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
|
|
@@ -83,12 +84,17 @@ node claude-launcher
|
|
|
83
84
|
|
|
84
85
|
1. **Launch Claude Code** - Standard Claude Code launch
|
|
85
86
|
2. **Launch Claude Code (Skip Permissions)** - Launch with `--dangerously-skip-permissions`
|
|
86
|
-
3. **Launch Claude Code
|
|
87
|
-
4. **Launch Claude Code with Third-party API
|
|
88
|
-
5. **Third-party API
|
|
89
|
-
6. **
|
|
90
|
-
|
|
91
|
-
|
|
87
|
+
3. **Launch Claude Code (Enable Auto Mode)** - Launch with `--enable-auto-mode` for classifier-gated auto approvals (Team plan; Shift+Tab to switch)
|
|
88
|
+
4. **Launch Claude Code with Third-party API** - Use configured third-party API
|
|
89
|
+
5. **Launch Claude Code with Third-party API (Skip Permissions)** - Combine third-party API with permission skipping
|
|
90
|
+
6. **Third-party API Management** - Full API lifecycle management:
|
|
91
|
+
- Add, switch, and remove APIs
|
|
92
|
+
- View usage statistics with success/failure rates
|
|
93
|
+
- Model upgrade settings (auto/manual upgrade)
|
|
94
|
+
- Import/export configurations
|
|
95
|
+
7. **Language Settings** - Switch between 11 supported languages
|
|
96
|
+
8. **Version Update Check** - Check for launcher updates
|
|
97
|
+
9. **Exit** - Close the launcher
|
|
92
98
|
|
|
93
99
|
### Interactive Navigation
|
|
94
100
|
|
|
@@ -110,6 +116,7 @@ $ claude-launcher
|
|
|
110
116
|
|
|
111
117
|
→ Launch Claude Code
|
|
112
118
|
Launch Claude Code (Skip Permissions)
|
|
119
|
+
Launch Claude Code (Enable Auto Mode)
|
|
113
120
|
Launch Claude Code with Third-party API
|
|
114
121
|
Launch Claude Code with Third-party API (Skip Permissions)
|
|
115
122
|
Third-party API Management
|
|
@@ -126,15 +133,23 @@ Access comprehensive API management through the dedicated menu:
|
|
|
126
133
|
📋 Third-party API Management
|
|
127
134
|
|
|
128
135
|
→ Add New API
|
|
129
|
-
Remove API
|
|
136
|
+
Remove API → Delete Single API / Clear All APIs
|
|
130
137
|
Switch Active API
|
|
131
|
-
View Statistics
|
|
138
|
+
View Statistics → View Details / Reset Statistics
|
|
139
|
+
Model Upgrade → Auto Upgrade [ON/OFF] / Manual Upgrade
|
|
132
140
|
Export Configuration
|
|
133
141
|
Import Configuration
|
|
134
142
|
Change Password
|
|
135
143
|
Back to Main Menu
|
|
136
144
|
```
|
|
137
145
|
|
|
146
|
+
### Model Upgrade Feature
|
|
147
|
+
|
|
148
|
+
The launcher automatically checks for model upgrades when you start:
|
|
149
|
+
- **Auto Upgrade**: Automatically use the latest model version
|
|
150
|
+
- **Manual Upgrade**: Review and confirm each model upgrade
|
|
151
|
+
- **Startup Notifications**: Get notified when newer model versions are available
|
|
152
|
+
|
|
138
153
|
## ⚙️ Configuration
|
|
139
154
|
|
|
140
155
|
### Modern Configuration System
|
|
@@ -158,10 +173,11 @@ Claude Launcher 2.0 uses an advanced configuration system:
|
|
|
158
173
|
|
|
159
174
|
Configure any third-party API provider through the interactive interface:
|
|
160
175
|
|
|
161
|
-
- **Supported Providers**:
|
|
176
|
+
- **Supported Providers**: Anthropic, DeepSeek, Moonshot/Kimi (K2.5), MiniMax (CN/Global, M2.7), GLM/ZhiPu AI (GLM-5.1), and custom Anthropic-compatible APIs
|
|
162
177
|
- **Secure Storage**: All API tokens encrypted before storage
|
|
163
178
|
- **Validation**: Real-time validation of URLs, tokens, and models
|
|
164
|
-
- **Usage Tracking**: Monitor API usage statistics
|
|
179
|
+
- **Usage Tracking**: Monitor API usage statistics with success/failure rates
|
|
180
|
+
- **Model Upgrade**: Automatic detection and upgrade to latest model versions
|
|
165
181
|
- **Provider-specific Features**: Optimized configuration for each provider with helpful notes and recommendations
|
|
166
182
|
|
|
167
183
|
### Configuration Import/Export
|
|
@@ -198,6 +214,12 @@ cd claude-launcher
|
|
|
198
214
|
npm install
|
|
199
215
|
```
|
|
200
216
|
|
|
217
|
+
### Running Tests
|
|
218
|
+
|
|
219
|
+
```bash
|
|
220
|
+
npm test
|
|
221
|
+
```
|
|
222
|
+
|
|
201
223
|
### Testing Locally
|
|
202
224
|
|
|
203
225
|
```bash
|