添加深色模式,添加mimo渠道#41
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
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 on lines
10
to
+12
| [[kv_namespaces]] | ||
| binding = "VIDEO_AD_GUARD_KV" | ||
| id = "d9e25787b49047bd99a0d7287324bcfd" | ||
| id = "08a99ada656045448949a9c1c91fad37" |
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 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 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' }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.