Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32a2ba5ef6 | ||
|
|
4502b2f973 | ||
|
|
6cb930b4ec |
@@ -3,6 +3,7 @@
|
|||||||
# Claude Code & Codex Provider Switcher
|
# Claude Code & Codex Provider Switcher
|
||||||
|
|
||||||
[](https://github.com/farion1231/cc-switch/releases)
|
[](https://github.com/farion1231/cc-switch/releases)
|
||||||
|
[](https://github.com/trending/typescript)
|
||||||
[](https://github.com/farion1231/cc-switch/releases)
|
[](https://github.com/farion1231/cc-switch/releases)
|
||||||
[](https://tauri.app/)
|
[](https://tauri.app/)
|
||||||
|
|
||||||
@@ -340,7 +341,7 @@ Before submitting PRs, please ensure:
|
|||||||
- Pass type check: `pnpm typecheck`
|
- Pass type check: `pnpm typecheck`
|
||||||
- Pass format check: `pnpm format:check`
|
- Pass format check: `pnpm format:check`
|
||||||
- Pass unit tests: `pnpm test:unit`
|
- Pass unit tests: `pnpm test:unit`
|
||||||
- Functional PRs should be discussed in the issue area first
|
- 💡 For new features, please open an issue for discussion before submitting a PR
|
||||||
|
|
||||||
## Star History
|
## Star History
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
# Claude Code & Codex 供应商管理器
|
# Claude Code & Codex 供应商管理器
|
||||||
|
|
||||||
[](https://github.com/farion1231/cc-switch/releases)
|
[](https://github.com/farion1231/cc-switch/releases)
|
||||||
|
[](https://github.com/trending/typescript)
|
||||||
[](https://github.com/farion1231/cc-switch/releases)
|
[](https://github.com/farion1231/cc-switch/releases)
|
||||||
[](https://tauri.app/)
|
[](https://tauri.app/)
|
||||||
|
|
||||||
@@ -340,7 +341,7 @@ pnpm test:unit --coverage
|
|||||||
- 通过类型检查:`pnpm typecheck`
|
- 通过类型检查:`pnpm typecheck`
|
||||||
- 通过格式检查:`pnpm format:check`
|
- 通过格式检查:`pnpm format:check`
|
||||||
- 通过单元测试:`pnpm test:unit`
|
- 通过单元测试:`pnpm test:unit`
|
||||||
- 功能性 PR 请先经过 issue 区讨论
|
- 💡 新功能开发前,欢迎先开 issue 讨论实现方案
|
||||||
|
|
||||||
## Star History
|
## Star History
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cc-switch",
|
"name": "cc-switch",
|
||||||
"version": "3.6.1",
|
"version": "3.6.2",
|
||||||
"description": "Claude Code & Codex 供应商切换工具",
|
"description": "Claude Code & Codex 供应商切换工具",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "pnpm tauri dev",
|
"dev": "pnpm tauri dev",
|
||||||
|
|||||||
2
src-tauri/Cargo.lock
generated
2
src-tauri/Cargo.lock
generated
@@ -563,7 +563,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cc-switch"
|
name = "cc-switch"
|
||||||
version = "3.6.1"
|
version = "3.6.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"dirs 5.0.1",
|
"dirs 5.0.1",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cc-switch"
|
name = "cc-switch"
|
||||||
version = "3.6.1"
|
version = "3.6.2"
|
||||||
description = "Claude Code & Codex 供应商配置管理工具"
|
description = "Claude Code & Codex 供应商配置管理工具"
|
||||||
authors = ["Jason Young"]
|
authors = ["Jason Young"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "CC Switch",
|
"productName": "CC Switch",
|
||||||
"version": "3.6.1",
|
"version": "3.6.2",
|
||||||
"identifier": "com.ccswitch.desktop",
|
"identifier": "com.ccswitch.desktop",
|
||||||
"build": {
|
"build": {
|
||||||
"frontendDist": "../dist",
|
"frontendDist": "../dist",
|
||||||
|
|||||||
@@ -139,6 +139,21 @@ export const providerPresets: ProviderPreset[] = [
|
|||||||
},
|
},
|
||||||
category: "cn_official",
|
category: "cn_official",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Kimi For Coding",
|
||||||
|
websiteUrl: "https://www.kimi.com/coding/docs/",
|
||||||
|
settingsConfig: {
|
||||||
|
env: {
|
||||||
|
ANTHROPIC_BASE_URL: "https://api.kimi.com/coding/",
|
||||||
|
ANTHROPIC_AUTH_TOKEN: "",
|
||||||
|
ANTHROPIC_MODEL: "kimi-for-coding",
|
||||||
|
ANTHROPIC_DEFAULT_HAIKU_MODEL: "kimi-for-coding",
|
||||||
|
ANTHROPIC_DEFAULT_SONNET_MODEL: "kimi-for-coding",
|
||||||
|
ANTHROPIC_DEFAULT_OPUS_MODEL: "kimi-for-coding",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
category: "cn_official",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "ModelScope",
|
name: "ModelScope",
|
||||||
websiteUrl: "https://modelscope.cn",
|
websiteUrl: "https://modelscope.cn",
|
||||||
@@ -215,6 +230,21 @@ export const providerPresets: ProviderPreset[] = [
|
|||||||
},
|
},
|
||||||
category: "cn_official",
|
category: "cn_official",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "BaiLing",
|
||||||
|
websiteUrl: "https://alipaytbox.yuque.com/sxs0ba/ling/get_started",
|
||||||
|
settingsConfig: {
|
||||||
|
env: {
|
||||||
|
ANTHROPIC_BASE_URL: "https://api.tbox.cn/api/anthropic",
|
||||||
|
ANTHROPIC_AUTH_TOKEN: "",
|
||||||
|
ANTHROPIC_MODEL: "Ling-1T",
|
||||||
|
ANTHROPIC_DEFAULT_HAIKU_MODEL: "Ling-1T",
|
||||||
|
ANTHROPIC_DEFAULT_SONNET_MODEL: "Ling-1T",
|
||||||
|
ANTHROPIC_DEFAULT_OPUS_MODEL: "Ling-1T",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
category: "cn_official",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "AiHubMix",
|
name: "AiHubMix",
|
||||||
websiteUrl: "https://aihubmix.com",
|
websiteUrl: "https://aihubmix.com",
|
||||||
|
|||||||
Reference in New Issue
Block a user