From 1e7d955efbaad905e995a135955951f1a9dfd070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E5=8F=AA=E5=B0=8F=E5=8C=85=E5=AD=90?= <1601302408@qq.com> Date: Sun, 10 May 2026 03:04:33 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=B0=8F?= =?UTF-8?q?=E7=B1=B3token=20plan=E6=B8=A0=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/popup.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/popup.ts b/src/popup.ts index 5cce2cd..fac33f1 100644 --- a/src/popup.ts +++ b/src/popup.ts @@ -54,6 +54,7 @@ const SDK_PRESETS: Record = { { name: '智谱 AI', baseUrl: 'https://open.bigmodel.cn/api/anthropic', actionLabel: '注册', actionUrl: 'https://www.bigmodel.cn/glm-coding?ic=NZ1MQISIX0' }, { name: 'MiniMax', baseUrl: 'https://api.minimaxi.com/anthropic', actionLabel: '注册', actionUrl: 'https://platform.minimaxi.com/subscribe/token-plan?code=FapfOonxo7&source=link' }, { name: 'Anthropic', baseUrl: 'https://api.anthropic.com', actionLabel: '注册', actionUrl: 'https://console.anthropic.com/settings/keys' }, + { name: '小米 Token Plan', baseUrl: 'https://token-plan-cn.xiaomimimo.com/anthropic', actionLabel: '注册', actionUrl: 'https://platform.xiaomimimo.com?ref=HFFE2V' }, { name: '腾讯云 Coding Plan', baseUrl: 'https://api.lkeap.cloud.tencent.com/plan/anthropic', actionLabel: '注册', actionUrl: 'https://curl.qcloud.com/xyTqcIlB' }, { name: '阿里云 Coding Plan', baseUrl: 'https://coding.dashscope.aliyuncs.com/apps/anthropic', actionLabel: '注册', actionUrl: 'https://www.aliyun.com/minisite/goods?userCode=e9b0x8ku' }, { name: '火山 Coding Plan', baseUrl: 'https://ark.cn-beijing.volces.com/api/coding', actionLabel: '注册', actionUrl: 'https://volcengine.com/L/8ziM51O_5WU/' }, From 3c8e9aa5038af3534bb99925229da4bf22a6ebc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E5=8F=AA=E5=B0=8F=E5=8C=85=E5=AD=90?= <1601302408@qq.com> Date: Sun, 10 May 2026 03:38:37 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat:=20=E5=88=87=E6=8D=A2=E7=8B=AC?= =?UTF-8?q?=E7=AB=8B=E4=BA=91=E7=AB=AF=E7=BC=93=E5=AD=98=E8=B4=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLAUDE.md | 4 ++-- src/services/cloud-cache.ts | 2 +- worker/wrangler.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 02cba90..18aa1ce 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -22,7 +22,7 @@ cd worker npx wrangler deploy ``` -部署地址:`https://videoadguard-api.xiaobaozi.cn` +部署地址:`https://videoadguard-api.0100320.xyz` 当你完成一项完整的修改后,运行构建命令,确认构建正确后便于我测试。 @@ -87,7 +87,7 @@ Webpack 通过别名替换 `./services/audio`: - Rate Limiting(GET 2次/秒,POST 10次/分) - 云端服务异常时静默降级,不影响本地检测 -**Worker 部署:** `https://videoadguard-api.xiaobaozi.cn` +**Worker 部署:** `https://videoadguard-api.0100320.xyz` ### 关键技术细节 - **AV to BV 转换**:`BilibiliService.convertAvToBv()` 本地算法 diff --git a/src/services/cloud-cache.ts b/src/services/cloud-cache.ts index 1d9ed72..8b5f479 100644 --- a/src/services/cloud-cache.ts +++ b/src/services/cloud-cache.ts @@ -3,7 +3,7 @@ import { RemoteAdRecord } from '../types/cloud-cache'; const CLIENT_VERSION = '1.4.0'; // 默认云端端点 -const DEFAULT_WORKER_URL = 'https://videoadguard-api.xiaobaozi.cn'; +const DEFAULT_WORKER_URL = 'https://videoadguard-api.0100320.xyz'; interface WorkerResponse { success: boolean; diff --git a/worker/wrangler.toml b/worker/wrangler.toml index b6a0b99..9ab347d 100644 --- a/worker/wrangler.toml +++ b/worker/wrangler.toml @@ -9,4 +9,4 @@ invocation_logs = true [[kv_namespaces]] binding = "VIDEO_AD_GUARD_KV" -id = "d9e25787b49047bd99a0d7287324bcfd" +id = "08a99ada656045448949a9c1c91fad37" From 008536ee917629d64661373f0c63a10d6c4cfc87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E5=8F=AA=E5=B0=8F=E5=8C=85=E5=AD=90?= <1601302408@qq.com> Date: Sun, 10 May 2026 03:39:09 +0800 Subject: [PATCH 3/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=97=A0=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E5=86=85=E5=AE=B9=E9=87=8D=E5=A4=8D=E8=BE=93=E5=87=BA?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/content.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/content.ts b/src/content.ts index 471641b..152b9a9 100644 --- a/src/content.ts +++ b/src/content.ts @@ -624,7 +624,6 @@ class AdDetector { } else { console.log('【VideoAdGuard】无广告内容'); - this.adDetectionResult = (this.adDetectionResult ? this.adDetectionResult + ' | ' : '') + '无广告内容'; this.removeAutoSkipListener(); await CacheService.saveDetectionResult(bvid, false, [], [], false); From 50e66198fe28487f441d9588f7efe886f0a59d1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E5=8F=AA=E5=B0=8F=E5=8C=85=E5=AD=90?= <1601302408@qq.com> Date: Sun, 10 May 2026 03:39:31 +0800 Subject: [PATCH 4/4] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E8=87=B31.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifests/manifest-chrome.json | 2 +- manifests/manifest-firefox.json | 2 +- package.json | 2 +- src/services/cloud-cache.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/manifest-chrome.json b/manifests/manifest-chrome.json index 6f4bb70..11c5155 100644 --- a/manifests/manifest-chrome.json +++ b/manifests/manifest-chrome.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "__MSG_extensionName__", - "version": "1.4.0", + "version": "1.4.1", "description": "__MSG_extensionDescription__", "default_locale": "zh_CN", "icons": { diff --git a/manifests/manifest-firefox.json b/manifests/manifest-firefox.json index e84f027..a5da727 100644 --- a/manifests/manifest-firefox.json +++ b/manifests/manifest-firefox.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "__MSG_extensionName__", - "version": "1.4.0", + "version": "1.4.1", "description": "__MSG_extensionDescription__", "default_locale": "zh_CN", "browser_specific_settings": { diff --git a/package.json b/package.json index 93399cb..d7e26f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "video-ad-guard", - "version": "1.4.0", + "version": "1.4.1", "license": "GPL-2.0-or-later", "scripts": { "build": "node scripts/build.js", diff --git a/src/services/cloud-cache.ts b/src/services/cloud-cache.ts index 8b5f479..2349472 100644 --- a/src/services/cloud-cache.ts +++ b/src/services/cloud-cache.ts @@ -1,6 +1,6 @@ import { RemoteAdRecord } from '../types/cloud-cache'; -const CLIENT_VERSION = '1.4.0'; +const CLIENT_VERSION = '1.4.1'; // 默认云端端点 const DEFAULT_WORKER_URL = 'https://videoadguard-api.0100320.xyz';