Skip to content

添加深色模式,添加mimo渠道#41

Merged
Warma10032 merged 5 commits into
mainfrom
dev
May 9, 2026
Merged

添加深色模式,添加mimo渠道#41
Warma10032 merged 5 commits into
mainfrom
dev

Conversation

@Warma10032

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 9, 2026 19:48
@vercel

vercel Bot commented May 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
video-ad-guard Ready Ready Preview, Comment May 9, 2026 7:54pm

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

该 PR 主要更新扩展与云端缓存(Worker)相关配置:切换默认 Worker 域名、更新 KV 命名空间绑定,并在弹窗设置中新增一个 Anthropic 兼容的“小米 Token Plan”预设,同时将版本号从 1.4.0 升级到 1.4.1。

Changes:

  • 将云端缓存默认端点切换为 https://videoadguard-api.0100320.xyz,并更新相关文档说明
  • 新增 Anthropic 兼容的“小米 Token Plan”预设入口(popup 端 SDK 预设)
  • 版本号升级到 1.4.1(package.json + Chrome/Firefox manifest),并调整一次“无广告内容”的状态拼接逻辑

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
worker/wrangler.toml 更新 Cloudflare Worker 绑定的 KV namespace id
src/services/cloud-cache.ts 升级客户端版本标识并切换默认 Worker URL
src/popup.ts 在 Anthropic 预设中新增“小米 Token Plan”渠道
src/content.ts 避免在“无广告”分支重复拼接状态文本(依赖 applyDetectionResult 统一设置)
package.json 版本号升级到 1.4.1
manifests/manifest-firefox.json 扩展版本号升级到 1.4.1
manifests/manifest-chrome.json 扩展版本号升级到 1.4.1
CLAUDE.md 更新 Worker 部署地址文档为新域名

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread worker/wrangler.toml
Comment on lines 10 to +12
[[kv_namespaces]]
binding = "VIDEO_AD_GUARD_KV"
id = "d9e25787b49047bd99a0d7287324bcfd"
id = "08a99ada656045448949a9c1c91fad37"
Comment thread package.json
Comment on lines 1 to 4
{
"name": "video-ad-guard",
"version": "1.4.0",
"version": "1.4.1",
"license": "GPL-2.0-or-later",
Comment thread src/popup.ts
Comment on lines 53 to 59
anthropic: [
{ 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' },
Comment thread src/popup.ts
Comment on lines 54 to 58
{ 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' },
@Warma10032 Warma10032 merged commit d266371 into main May 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants