diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fbe531..2763751 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -137,7 +137,7 @@ jobs: exit 1 fi - echo "stem=Easy_CLIProxyAPI-${version}-${{ matrix.display_os }}-${{ matrix.arch }}" >> "$GITHUB_OUTPUT" + echo "stem=EasyCLIProxyAPI-${version}-${{ matrix.display_os }}-${{ matrix.arch }}" >> "$GITHUB_OUTPUT" - name: Install Linux dependencies if: matrix.os == 'linux' run: | @@ -223,7 +223,7 @@ jobs: fi prerelease="$MANUAL_PRERELEASE" - release_args=(--title "Easy_CLIProxyAPI $RELEASE_TAG" --generate-notes) + release_args=(--title "EasyCLIProxyAPI $RELEASE_TAG" --generate-notes) if [[ "$GITHUB_REF_TYPE" == "tag" ]]; then release_args+=(--verify-tag) if [[ "$RELEASE_TAG" == *-* ]]; then diff --git a/README.ja.md b/README.ja.md index d3677c4..b45111c 100644 --- a/README.ja.md +++ b/README.ja.md @@ -5,21 +5,19 @@

- Easy_CLIProxyAPI Logo + EasyCLIProxyAPI Logo

-

Easy_CLIProxyAPI

+

EasyCLIProxyAPI

私たちの目標は、トークンを free(無料ではなく、自由という意味)にすることです。

-> [!IMPORTANT] -> このリポジトリは正式版です。より先進的で実験的な機能については、[lzt404/Easy_CLIProxyAPI](https://github.com/lzt404/Easy_CLIProxyAPI) をご覧ください。 ## 概要 -Easy_CLIProxyAPI は、[CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI) をベースにしたポータブルツールです。コア、OAuth アカウント、API 接続、モデルルーティング、認証ファイル、クォータ情報、使用履歴、エージェントクライアント設定をグラフィカルなインターフェースから管理できます。 +EasyCLIProxyAPI は、[CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI) をベースにしたポータブルツールです。コア、OAuth アカウント、API 接続、モデルルーティング、認証ファイル、クォータ情報、使用履歴、エージェントクライアント設定をグラフィカルなインターフェースから管理できます。 本アプリケーションは Tauri、React、Rust で構築されています。 diff --git a/README.md b/README.md index d193992..7083208 100644 --- a/README.md +++ b/README.md @@ -5,21 +5,19 @@

- Easy_CLIProxyAPI Logo + EasyCLIProxyAPI Logo

-

Easy_CLIProxyAPI

+

EasyCLIProxyAPI

Our goal is to make tokens free—as in freedom.

-> [!IMPORTANT] -> This repository contains the official release. For more aggressive experimental features, visit [lzt404/Easy_CLIProxyAPI](https://github.com/lzt404/Easy_CLIProxyAPI). ## Overview -Easy_CLIProxyAPI is a portable tool built on [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI). It provides a graphical interface for managing the core, OAuth accounts, API providers, model routing, authentication files, quota information, usage records, and agent client configurations. +EasyCLIProxyAPI is a portable tool built on [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI). It provides a graphical interface for managing the core, OAuth accounts, API providers, model routing, authentication files, quota information, usage records, and agent client configurations. The application is built with Tauri, React, and Rust. diff --git a/README.zh-CN.md b/README.zh-CN.md index 466b744..b3e6e7e 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -5,21 +5,19 @@

- Easy_CLIProxyAPI Logo + EasyCLIProxyAPI Logo

-

Easy_CLIProxyAPI

+

EasyCLIProxyAPI

我们的目标是实现 token free(free 在这里的意思是自由)。

-> [!IMPORTANT] -> 当前仓库为正式版本,如需更为激进的实验性功能,请前往 [lzt404/Easy_CLIProxyAPI](https://github.com/lzt404/Easy_CLIProxyAPI)。 ## 项目简介 -Easy_CLIProxyAPI 是基于 [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI) 的便携工具,提供图形化界面管理内核、OAuth 账号、API 接入、模型路由、认证文件、配额查询、使用记录和智能体客户端配置。 +EasyCLIProxyAPI 是基于 [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI) 的便携工具,提供图形化界面管理内核、OAuth 账号、API 接入、模型路由、认证文件、配额查询、使用记录和智能体客户端配置。 软件基于 Tauri、React 和 Rust 构建。 diff --git a/build.ps1 b/build.ps1 index 7f7226d..498ba48 100644 --- a/build.ps1 +++ b/build.ps1 @@ -9,7 +9,7 @@ $ErrorActionPreference = 'Stop' $RootDir = $PSScriptRoot $AppBin = Join-Path $RootDir 'src-tauri\target\release\cpa-gui.exe' $BinDir = Join-Path $RootDir 'bin-work' -$BinOut = Join-Path $BinDir 'Easy_CLIProxyAPI.exe' +$BinOut = Join-Path $BinDir 'EasyCLIProxyAPI.exe' $PreparePortable = Join-Path $RootDir 'scripts\prepare-portable.mjs' Set-Location -LiteralPath $RootDir diff --git a/build.sh b/build.sh index 3d8b668..7e9ee50 100755 --- a/build.sh +++ b/build.sh @@ -7,7 +7,7 @@ cd "$ROOT_DIR" BUILD_JOBS="${CARGO_BUILD_JOBS:-20}" APP_BIN="$ROOT_DIR/src-tauri/target/release/cpa-gui" BIN_DIR="$ROOT_DIR/bin-work" -BIN_OUT="$BIN_DIR/Easy_CLIProxyAPI" +BIN_OUT="$BIN_DIR/EasyCLIProxyAPI" if ! command -v bun >/dev/null 2>&1; then echo "bun is not installed or not in PATH." diff --git a/index.html b/index.html index de6f754..c609686 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - Easy_CLIProxyAPI + EasyCLIProxyAPI
diff --git a/run.ps1 b/run.ps1 index 0f2a362..5577991 100644 --- a/run.ps1 +++ b/run.ps1 @@ -6,7 +6,7 @@ $ErrorActionPreference = 'Stop' $RootDir = $PSScriptRoot $BinDir = Join-Path $RootDir 'bin-work' -$AppBin = Join-Path $BinDir 'Easy_CLIProxyAPI.exe' +$AppBin = Join-Path $BinDir 'EasyCLIProxyAPI.exe' if (-not (Test-Path -LiteralPath $AppBin -PathType Leaf)) { Write-Host "Executable not found: $AppBin" diff --git a/run.sh b/run.sh index 02fe33e..c66e929 100755 --- a/run.sh +++ b/run.sh @@ -2,7 +2,7 @@ set -euo pipefail ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -APP_BIN="$ROOT_DIR/bin-work/Easy_CLIProxyAPI" +APP_BIN="$ROOT_DIR/bin-work/EasyCLIProxyAPI" if [ ! -x "$APP_BIN" ]; then echo "Executable not found: $APP_BIN" diff --git a/scripts/prepare-portable.mjs b/scripts/prepare-portable.mjs index 1fcc2d5..8b0b96f 100644 --- a/scripts/prepare-portable.mjs +++ b/scripts/prepare-portable.mjs @@ -53,7 +53,7 @@ if (existsSync(checksumsPath)) { } await mkdir(output, { recursive: true }); -const outputBinary = join(output, targetOS === 'windows' ? 'Easy_CLIProxyAPI.exe' : 'Easy_CLIProxyAPI'); +const outputBinary = join(output, targetOS === 'windows' ? 'EasyCLIProxyAPI.exe' : 'EasyCLIProxyAPI'); const legacyOutputBinary = join(output, targetOS === 'windows' ? 'cpa-gui.exe' : 'cpa-gui'); await rm(legacyOutputBinary, { force: true }); await copyFile(binary, outputBinary); diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 92f9b26..fbc9051 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -1,7 +1,7 @@ { "$schema": "../gen/schemas/desktop-schema.json", "identifier": "default", - "description": "Default permissions for the main Easy_CLIProxyAPI window.", + "description": "Default permissions for the main EasyCLIProxyAPI window.", "windows": ["main"], "permissions": ["core:event:allow-listen", "core:event:allow-unlisten"] } diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 61cf1f1..6803661 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -26,7 +26,8 @@ const RELEASE_PAGE_URL: &str = "https://github.com/router-for-me/CLIProxyAPI/rel const RELEASE_ATOM_URL: &str = "https://github.com/router-for-me/CLIProxyAPI/releases.atom"; const RELEASE_DOWNLOAD_PREFIX: &str = "https://github.com/router-for-me/CLIProxyAPI/releases/download/"; -const APP_RELEASE_PAGE_URL: &str = "https://github.com/lzt404/Easy_CLIProxyAPI/releases/latest"; +const APP_RELEASE_PAGE_URL: &str = + "https://github.com/router-for-me/EasyCLIProxyAPI/releases/latest"; const CORE_INSTALL_PROGRESS_EVENT: &str = "core-install-progress"; const CORE_STATUS_EVENT: &str = "core-status-changed"; const CORE_METADATA_FILE: &str = "cpa-gui-meta.json"; @@ -56,9 +57,9 @@ const USER_AGENT: &str = concat!( " (+https://github.com/router-for-me/CLIProxyAPI)" ); const APP_USER_AGENT: &str = concat!( - "Easy_CLIProxyAPI/", + "EasyCLIProxyAPI/", env!("CARGO_PKG_VERSION"), - " (+https://github.com/lzt404/Easy_CLIProxyAPI)" + " (+https://github.com/router-for-me/EasyCLIProxyAPI)" ); static CORE_CONFIG_FILE_LOCK: Mutex<()> = Mutex::new(()); static AGENT_CONFIG_FILE_LOCK: Mutex<()> = Mutex::new(()); @@ -823,7 +824,7 @@ struct GithubAsset { #[tauri::command] fn health_check() -> &'static str { - "Easy_CLIProxyAPI Rust backend is ready" + "EasyCLIProxyAPI Rust backend is ready" } #[tauri::command] @@ -2932,7 +2933,7 @@ fn build_claude_desktop_meta(existing: Option<&str>) -> Result { }); entries.push(serde_json::json!({ "id": CLAUDE_DESKTOP_PROFILE_ID, - "name": "Easy CLIProxyAPI" + "name": "EasyCLIProxyAPI" })); root.insert( "appliedId".to_string(), @@ -2969,7 +2970,7 @@ fn build_codex_agent_config( .and_then(Item::as_table) .cloned() .unwrap_or_default(); - provider["name"] = value("Easy CLIProxyAPI"); + provider["name"] = value("EasyCLIProxyAPI"); provider["base_url"] = value(base_url); provider["wire_api"] = value("responses"); provider["experimental_bearer_token"] = value(api_key); @@ -3088,7 +3089,7 @@ fn build_opencode_agent_config( MANAGED_AGENT_PROVIDER_ID.to_string(), serde_json::json!({ "npm": "@ai-sdk/openai-compatible", - "name": "Easy CLIProxyAPI", + "name": "EasyCLIProxyAPI", "options": { "baseURL": base_url, "apiKey": api_key @@ -5444,7 +5445,7 @@ fn configure_child_lifetime(command: &mut Command) { if libc::getppid() != parent_process_id { return Err(io::Error::other( - "Easy_CLIProxyAPI exited before the core process started", + "EasyCLIProxyAPI exited before the core process started", )); } diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index c720c26..d9dfaa2 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,6 +1,6 @@ { "$schema": "https://schema.tauri.app/config/2", - "productName": "Easy_CLIProxyAPI", + "productName": "EasyCLIProxyAPI", "version": "0.2.0", "identifier": "com.cpa.gui", "build": { @@ -13,7 +13,7 @@ "windows": [ { "label": "main", - "title": "Easy_CLIProxyAPI", + "title": "EasyCLIProxyAPI", "width": 1200, "height": 810, "minWidth": 900, diff --git a/src/App.tsx b/src/App.tsx index bfc0ead..a07d734 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -128,7 +128,7 @@ function AppContent() {
- Easy CLIProxyAPI + EasyCLIProxyAPI Desktop Console
diff --git a/src/AppErrorBoundary.tsx b/src/AppErrorBoundary.tsx index 0d6c5b3..b9facdf 100644 --- a/src/AppErrorBoundary.tsx +++ b/src/AppErrorBoundary.tsx @@ -11,7 +11,7 @@ export class AppErrorBoundary extends Component { } componentDidCatch(error: Error, info: ErrorInfo) { - console.error('Easy_CLIProxyAPI 渲染异常', error, info.componentStack); + console.error('EasyCLIProxyAPI 渲染异常', error, info.componentStack); } render() { diff --git a/src/pages/Kernel.tsx b/src/pages/Kernel.tsx index 86a0b59..e7a2178 100644 --- a/src/pages/Kernel.tsx +++ b/src/pages/Kernel.tsx @@ -63,7 +63,7 @@ type AppUpdateInfo = { releaseUrl: string; }; -const APP_RELEASE_URL = 'https://github.com/lzt404/Easy_CLIProxyAPI/releases/latest'; +const APP_RELEASE_URL = 'https://github.com/router-for-me/EasyCLIProxyAPI/releases/latest'; let latestAutoCheckStarted = false; let cachedLatest: CoreLatest | null = null;