mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
chore: bump version to v0.31.0
- Fix ProviderType::from_str to support 'anthropic' and 'gemini_api_key' mappings - Fix ChatNavbar provider selection to respect server default provider - Fix duplicate KeyRound export in plugin-components 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "proxycast",
|
||||
"private": true,
|
||||
"version": "0.30.0",
|
||||
"version": "0.31.0",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Generated
+1
-1
@@ -3674,7 +3674,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "proxycast"
|
||||
version = "0.30.0"
|
||||
version = "0.31.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"arboard",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "proxycast"
|
||||
version = "0.30.0"
|
||||
version = "0.31.0"
|
||||
description = "AI API Proxy Desktop App"
|
||||
authors = ["you"]
|
||||
edition = "2021"
|
||||
|
||||
@@ -36,10 +36,10 @@ impl ProviderType {
|
||||
/// 从字符串解析 provider 类型
|
||||
pub fn from_str(s: &str) -> Self {
|
||||
match s.to_lowercase().as_str() {
|
||||
"claude" => Self::Claude,
|
||||
"claude" | "anthropic" => Self::Claude,
|
||||
"claude_oauth" => Self::ClaudeOauth,
|
||||
"kiro" => Self::Kiro,
|
||||
"gemini" => Self::Gemini,
|
||||
"gemini" | "gemini_api_key" => Self::Gemini,
|
||||
"openai" => Self::OpenAI,
|
||||
"qwen" => Self::Qwen,
|
||||
"codex" => Self::Codex,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "ProxyCast",
|
||||
"version": "0.30.0",
|
||||
"version": "0.31.0",
|
||||
"identifier": "com.proxycast.app",
|
||||
"build": {
|
||||
"beforeDevCommand": "npm run dev",
|
||||
|
||||
@@ -173,6 +173,24 @@ const recommendedOAuthPlugins: RecommendedOAuthPlugin[] = [
|
||||
recommended: false,
|
||||
available: true,
|
||||
},
|
||||
{
|
||||
id: "codex-provider",
|
||||
name: "Codex Provider",
|
||||
description: "Codex OAuth Provider - 支持 OpenAI 模型 (GPT-*, O1-*, O3-*)",
|
||||
icon: Bot,
|
||||
targetProtocol: "openai",
|
||||
source: {
|
||||
type: "git_hub",
|
||||
owner: "aiclientproxy",
|
||||
repo: "codex-provider",
|
||||
version: "v0.1.0",
|
||||
},
|
||||
downloadUrl:
|
||||
"https://github.com/aiclientproxy/codex-provider/releases/download/v0.1.0/codex-provider-plugin.zip",
|
||||
tags: ["openai", "免费"],
|
||||
recommended: false,
|
||||
available: true,
|
||||
},
|
||||
];
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -41,6 +41,7 @@ const PLUGIN_GLOBAL_NAMES: Record<string, string> = {
|
||||
"claude-provider": "ClaudeProviderPlugin",
|
||||
"gemini-provider": "GeminiProviderPlugin",
|
||||
"antigravity-provider": "AntigravityProviderPlugin",
|
||||
"codex-provider": "CodexProviderPlugin",
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user