@kikkimo/claude-launcher 2.1.0 → 2.3.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 +47 -0
- package/README.md +2 -2
- package/docs/README-zh.md +2 -2
- package/lib/presets/providers.js +62 -7
- package/lib/ui/prompts.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,53 @@ 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.3.0] - 2025-12-24
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **MiniMax Provider Support**: Full integration for MiniMax AI with two provider options:
|
|
12
|
+
- `minimax_cn`: For China users (国内版) with endpoint at `api.minimaxi.com`
|
|
13
|
+
- `minimax_global`: For international users (国际版) with endpoint at `api.minimax.io`
|
|
14
|
+
- Support for `MiniMax-M2.1` model
|
|
15
|
+
- Extended timeout configuration (50 minutes) for large response handling
|
|
16
|
+
- Optimized network traffic settings for better performance
|
|
17
|
+
- **Enhanced Anthropic Models**: Added latest Claude models:
|
|
18
|
+
- `claude-sonnet-4.5`: Enhanced Sonnet model with improved capabilities
|
|
19
|
+
- `claude-opus-4.5`: Enhanced Opus model with improved capabilities
|
|
20
|
+
- **DeepSeek Reasoner Model**: Added `deepseek-reasoner` model for complex reasoning tasks
|
|
21
|
+
- **ZhiPu AI GLM-4.7**: Added `glm-4.7` model support for both:
|
|
22
|
+
- `zhipu` provider (智谱清言 - mainland China)
|
|
23
|
+
- `zai` provider (Z.ai Global - international users)
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
- **Provider Names**: Updated ZhiPu AI provider names to reflect GLM-4.7 support:
|
|
27
|
+
- `zhipu`: Now shows "GLM-4.5/4.6/4.7" in display name
|
|
28
|
+
- `zai`: Now shows "GLM-4.5/4.6/4.7" in display name
|
|
29
|
+
- **Documentation**: Updated README files to include MiniMax providers
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
- **Provider Selection**: Added MiniMax providers to third-party API selection menu
|
|
33
|
+
|
|
34
|
+
## [2.2.0] - 2025-11-10
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
- **Kimi for Coding Provider**: New specialized provider for coding-focused AI assistance:
|
|
38
|
+
- `kimi_for_coding`: Dedicated endpoint optimized for software development workflows
|
|
39
|
+
- Specialized coding model: `kimi-for-coding` with enhanced code generation capabilities
|
|
40
|
+
- Extended timeout configuration (50 minutes) for large code generation and complex development tasks
|
|
41
|
+
- Anthropic-compatible API interface for seamless integration with existing tooling
|
|
42
|
+
- Consistent configuration patterns mirroring moonshot provider settings
|
|
43
|
+
- **Enhanced Kimi Thinking Models**: Expanded support for Kimi's thinking-capable models:
|
|
44
|
+
- `kimi-k2-thinking`: Standard thinking model for complex reasoning tasks
|
|
45
|
+
- `kimi-k2-thinking-turbo`: Optimized thinking model for faster response times
|
|
46
|
+
- Additional model options for users requiring different performance characteristics
|
|
47
|
+
|
|
48
|
+
### Changed
|
|
49
|
+
- **Provider Selection Interface**: Updated UI prompts to include new `kimi_for_coding` provider in third-party API selection menu
|
|
50
|
+
- **Provider Configuration**: Extended provider validation logic to properly handle new specialized coding provider
|
|
51
|
+
|
|
52
|
+
### Fixed
|
|
53
|
+
- **Provider Recognition**: Fixed provider ID validation to include `kimi_for_coding` in the list of supported providers for third-party API configuration
|
|
54
|
+
|
|
8
55
|
## [2.1.0] - 2025-10-27
|
|
9
56
|
|
|
10
57
|
### Added
|
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ 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 (ZhiPu AI), and more)
|
|
28
|
+
- Full support for multiple third-party API providers (OpenAI, Anthropic, DeepSeek, Kimi, MiniMax, GLM (ZhiPu AI), and more)
|
|
29
29
|
- Interactive API configuration with validation
|
|
30
30
|
- API usage statistics and tracking
|
|
31
31
|
- Secure configuration backup and restore
|
|
@@ -158,7 +158,7 @@ Claude Launcher 2.0 uses an advanced configuration system:
|
|
|
158
158
|
|
|
159
159
|
Configure any third-party API provider through the interactive interface:
|
|
160
160
|
|
|
161
|
-
- **Supported Providers**: OpenAI, Anthropic, DeepSeek, Kimi, GLM (ZhiPu AI), and custom APIs
|
|
161
|
+
- **Supported Providers**: OpenAI, Anthropic, DeepSeek, Kimi, MiniMax (CN/Global), GLM (ZhiPu AI), and custom APIs
|
|
162
162
|
- **Secure Storage**: All API tokens encrypted before storage
|
|
163
163
|
- **Validation**: Real-time validation of URLs, tokens, and models
|
|
164
164
|
- **Usage Tracking**: Monitor API usage statistics
|
package/docs/README-zh.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
- 强密码要求和验证
|
|
26
26
|
|
|
27
27
|
### 🚀 **第三方 API 管理**
|
|
28
|
-
- 全面支持多个第三方 API 提供商(OpenAI、Anthropic、DeepSeek、Kimi、GLM/智谱AI 和自定义 API)
|
|
28
|
+
- 全面支持多个第三方 API 提供商(OpenAI、Anthropic、DeepSeek、Kimi、MiniMax、GLM/智谱AI 和自定义 API)
|
|
29
29
|
- 带验证的交互式 API 配置
|
|
30
30
|
- API 使用统计和跟踪
|
|
31
31
|
- 安全的配置备份和恢复
|
|
@@ -158,7 +158,7 @@ Claude Launcher 2.0 使用先进的配置系统:
|
|
|
158
158
|
|
|
159
159
|
通过交互界面配置任何第三方 API 提供商:
|
|
160
160
|
|
|
161
|
-
- **支持的提供商**:OpenAI、Anthropic、DeepSeek、Kimi、GLM/智谱AI 和自定义 API
|
|
161
|
+
- **支持的提供商**:OpenAI、Anthropic、DeepSeek、Kimi、MiniMax(国内版/国际版)、GLM/智谱AI 和自定义 API
|
|
162
162
|
- **安全存储**:所有 API 令牌在存储前加密
|
|
163
163
|
- **验证**:URL、令牌和模型的实时验证
|
|
164
164
|
- **使用跟踪**:监控 API 使用统计
|
package/lib/presets/providers.js
CHANGED
|
@@ -12,8 +12,10 @@ const providers = {
|
|
|
12
12
|
'claude-3-5-haiku-20241022',
|
|
13
13
|
'claude-3.7-sonnet',
|
|
14
14
|
'claude-sonnet-4',
|
|
15
|
+
'claude-sonnet-4.5',
|
|
15
16
|
'claude-opus-4',
|
|
16
|
-
'claude-opus-4.1'
|
|
17
|
+
'claude-opus-4.1',
|
|
18
|
+
'claude-opus-4.5'
|
|
17
19
|
],
|
|
18
20
|
authTokenFormat: 'sk-ant-api03-...',
|
|
19
21
|
description: 'Official Anthropic API - Fully compatible',
|
|
@@ -26,7 +28,9 @@ const providers = {
|
|
|
26
28
|
models: [
|
|
27
29
|
'kimi-k2-0711-preview',
|
|
28
30
|
'kimi-k2-0905-preview',
|
|
29
|
-
'kimi-k2-turbo-preview'
|
|
31
|
+
'kimi-k2-turbo-preview',
|
|
32
|
+
'kimi-k2-thinking',
|
|
33
|
+
'kimi-k2-thinking-turbo'
|
|
30
34
|
],
|
|
31
35
|
authTokenFormat: 'sk-...',
|
|
32
36
|
description: 'Moonshot AI - Provides Anthropic-compatible API',
|
|
@@ -38,11 +42,60 @@ const providers = {
|
|
|
38
42
|
},
|
|
39
43
|
note: 'Requires extended timeout for large responses'
|
|
40
44
|
},
|
|
45
|
+
kimi_for_coding: {
|
|
46
|
+
name: 'Moonshot AI (Kimi for coding)',
|
|
47
|
+
baseUrl: 'https://api.kimi.com/coding',
|
|
48
|
+
models: [
|
|
49
|
+
'kimi-for-coding'
|
|
50
|
+
],
|
|
51
|
+
authTokenFormat: 'sk-...',
|
|
52
|
+
description: 'Moonshot AI - Specialized coding model endpoint',
|
|
53
|
+
requiresToken: true,
|
|
54
|
+
compatibility: 'anthropic-compatible',
|
|
55
|
+
envVars: {
|
|
56
|
+
API_TIMEOUT_MS: '3000000',
|
|
57
|
+
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: '1'
|
|
58
|
+
},
|
|
59
|
+
note: 'Requires extended timeout for large responses'
|
|
60
|
+
},
|
|
61
|
+
minimax_cn: {
|
|
62
|
+
name: 'MiniMax CN (国内版)',
|
|
63
|
+
baseUrl: 'https://api.minimaxi.com/anthropic',
|
|
64
|
+
models: [
|
|
65
|
+
'MiniMax-M2.1'
|
|
66
|
+
],
|
|
67
|
+
authTokenFormat: 'sk-...',
|
|
68
|
+
description: 'MiniMax AI - Anthropic-compatible API for China users',
|
|
69
|
+
requiresToken: true,
|
|
70
|
+
compatibility: 'anthropic-compatible',
|
|
71
|
+
envVars: {
|
|
72
|
+
API_TIMEOUT_MS: '3000000',
|
|
73
|
+
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: '1'
|
|
74
|
+
},
|
|
75
|
+
note: 'Requires extended timeout for large responses'
|
|
76
|
+
},
|
|
77
|
+
minimax_global: {
|
|
78
|
+
name: 'MiniMax Global (国际版)',
|
|
79
|
+
baseUrl: 'https://api.minimax.io/anthropic',
|
|
80
|
+
models: [
|
|
81
|
+
'MiniMax-M2.1'
|
|
82
|
+
],
|
|
83
|
+
authTokenFormat: 'sk-...',
|
|
84
|
+
description: 'MiniMax AI - Anthropic-compatible API for international users',
|
|
85
|
+
requiresToken: true,
|
|
86
|
+
compatibility: 'anthropic-compatible',
|
|
87
|
+
envVars: {
|
|
88
|
+
API_TIMEOUT_MS: '3000000',
|
|
89
|
+
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: '1'
|
|
90
|
+
},
|
|
91
|
+
note: 'Requires extended timeout for large responses'
|
|
92
|
+
},
|
|
41
93
|
deepseek: {
|
|
42
94
|
name: 'DeepSeek (DeepSeek V3/V3.1)',
|
|
43
95
|
baseUrl: 'https://api.deepseek.com/anthropic',
|
|
44
96
|
models: [
|
|
45
|
-
'deepseek-chat'
|
|
97
|
+
'deepseek-chat',
|
|
98
|
+
'deepseek-reasoner'
|
|
46
99
|
],
|
|
47
100
|
authTokenFormat: 'sk-...',
|
|
48
101
|
description: 'DeepSeek AI - Anthropic-compatible endpoint',
|
|
@@ -55,11 +108,12 @@ const providers = {
|
|
|
55
108
|
note: 'Requires extended timeout for complex reasoning tasks'
|
|
56
109
|
},
|
|
57
110
|
zhipu: {
|
|
58
|
-
name: 'ZhiPu AI (GLM-4.5/4.6) - 智谱清言',
|
|
111
|
+
name: 'ZhiPu AI (GLM-4.5/4.6/4.7) - 智谱清言',
|
|
59
112
|
baseUrl: 'https://open.bigmodel.cn/api/anthropic',
|
|
60
113
|
models: [
|
|
61
114
|
'glm-4.5',
|
|
62
|
-
'glm-4.6'
|
|
115
|
+
'glm-4.6',
|
|
116
|
+
'glm-4.7'
|
|
63
117
|
],
|
|
64
118
|
authTokenFormat: 'sk-...',
|
|
65
119
|
description: 'ZhiPu AI (智谱清言) - Anthropic-compatible API for mainland China',
|
|
@@ -72,11 +126,12 @@ const providers = {
|
|
|
72
126
|
note: 'Requires extended timeout for large responses'
|
|
73
127
|
},
|
|
74
128
|
zai: {
|
|
75
|
-
name: 'Z.ai (GLM-4.5/4.6) - ZhiPu Global',
|
|
129
|
+
name: 'Z.ai (GLM-4.5/4.6/4.7) - ZhiPu Global',
|
|
76
130
|
baseUrl: 'https://api.z.ai/api/anthropic',
|
|
77
131
|
models: [
|
|
78
132
|
'glm-4.5',
|
|
79
|
-
'glm-4.6'
|
|
133
|
+
'glm-4.6',
|
|
134
|
+
'glm-4.7'
|
|
80
135
|
],
|
|
81
136
|
authTokenFormat: 'sk-...',
|
|
82
137
|
description: 'Z.ai (ZhiPu AI Global) - Anthropic-compatible API for international users',
|
package/lib/ui/prompts.js
CHANGED
|
@@ -314,7 +314,7 @@ async function promptForThirdPartyApi() {
|
|
|
314
314
|
// For all known providers, show the recommended URL in the prompt
|
|
315
315
|
let prompt;
|
|
316
316
|
if (selectedProvider.id === 'anthropic' || selectedProvider.id === 'deepseek' ||
|
|
317
|
-
selectedProvider.id === 'moonshot' || selectedProvider.id === 'zhipu' || selectedProvider.id === 'zai') {
|
|
317
|
+
selectedProvider.id === 'moonshot' || selectedProvider.id === 'kimi_for_coding' || selectedProvider.id === 'zhipu' || selectedProvider.id === 'zai') {
|
|
318
318
|
prompt = colors.green + i18n.tSync('ui.general.press_enter_default_url') + `${colors.yellow}${baseUrl}${colors.green}` + colors.reset;
|
|
319
319
|
console.log(colors.gray + ' ' + i18n.tSync('ui.general.edit_url_hint') + colors.reset);
|
|
320
320
|
} else {
|