Remove CDN workflow and add MIT license info
Some checks are pending
Docs / Build (push) Waiting to run
Docs / Deploy (push) Blocked by required conditions

This commit is contained in:
musistudio 2026-06-28 21:45:45 +08:00
parent ac39e702b3
commit 1b0c481376
9 changed files with 36 additions and 33 deletions

View file

@ -1,33 +0,0 @@
name: CDN
on:
push:
branches:
- main
paths:
- "cdn/**"
- ".github/workflows/cdn.yml"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: cdn
cancel-in-progress: false
jobs:
deploy:
name: Deploy Cloudflare Pages
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Deploy CDN assets
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: cdn
command: pages deploy public --project-name=claude-code-router-cdn --branch=${{ github.ref_name }}

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2025 musistudio
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -4,6 +4,7 @@
<a href="README_zh.md"><img alt="Chinese README" src="https://img.shields.io/badge/%F0%9F%87%A8%F0%9F%87%B3-%E4%B8%AD%E6%96%87%E7%89%88-ff0000?style=flat" /></a> <a href="README_zh.md"><img alt="Chinese README" src="https://img.shields.io/badge/%F0%9F%87%A8%F0%9F%87%B3-%E4%B8%AD%E6%96%87%E7%89%88-ff0000?style=flat" /></a>
<a href="https://discord.gg/rdftVMaUcS"><img alt="Discord" src="https://img.shields.io/badge/Discord-%235865F2.svg?&logo=discord&logoColor=white" /></a> <a href="https://discord.gg/rdftVMaUcS"><img alt="Discord" src="https://img.shields.io/badge/Discord-%235865F2.svg?&logo=discord&logoColor=white" /></a>
<a href="https://github.com/musistudio/claude-code-router/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/musistudio/claude-code-router" /></a> <a href="https://github.com/musistudio/claude-code-router/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/musistudio/claude-code-router" /></a>
<a href="https://ccrdesk.top/"><img alt="Documentation" src="https://img.shields.io/badge/Docs-ccrdesk.top-0ea5e9?style=flat" /></a>
</p> </p>
<p align="center"> <p align="center">
@ -281,3 +282,7 @@ A huge thank you to all our sponsors for their generous support.
- @x\*g - @x\*g
(If your name is masked, please contact me via my homepage email to update it with your GitHub username.) (If your name is masked, please contact me via my homepage email to update it with your GitHub username.)
## License
This project is licensed under the [MIT License](LICENSE).

View file

@ -4,6 +4,7 @@
<a href="README.md"><img alt="English README" src="https://img.shields.io/badge/%F0%9F%87%AC%F0%9F%87%A7-English-000aff?style=flat" /></a> <a href="README.md"><img alt="English README" src="https://img.shields.io/badge/%F0%9F%87%AC%F0%9F%87%A7-English-000aff?style=flat" /></a>
<a href="https://discord.gg/rdftVMaUcS"><img alt="Discord" src="https://img.shields.io/badge/Discord-%235865F2.svg?&logo=discord&logoColor=white" /></a> <a href="https://discord.gg/rdftVMaUcS"><img alt="Discord" src="https://img.shields.io/badge/Discord-%235865F2.svg?&logo=discord&logoColor=white" /></a>
<a href="https://github.com/musistudio/claude-code-router/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/musistudio/claude-code-router" /></a> <a href="https://github.com/musistudio/claude-code-router/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/musistudio/claude-code-router" /></a>
<a href="https://ccrdesk.top/"><img alt="文档" src="https://img.shields.io/badge/%E6%96%87%E6%A1%A3-ccrdesk.top-0ea5e9?style=flat" /></a>
</p> </p>
<p align="center"> <p align="center">
@ -281,3 +282,7 @@ macOS 打包 hook 会在产物生成前验证代码签名、公证票据 staplin
- @x\*g - @x\*g
(如果你的名字被打码,请通过我的主页邮箱联系我更新为 GitHub 用户名。) (如果你的名字被打码,请通过我的主页邮箱联系我更新为 GitHub 用户名。)
## 许可证
本项目基于 [MIT License](LICENSE) 发布。

View file

@ -2,6 +2,7 @@
"name": "claude-code-router-cdn", "name": "claude-code-router-cdn",
"private": true, "private": true,
"version": "0.1.0", "version": "0.1.0",
"license": "MIT",
"type": "module", "type": "module",
"scripts": { "scripts": {
"deploy": "wrangler pages deploy public --project-name=claude-code-router-cdn", "deploy": "wrangler pages deploy public --project-name=claude-code-router-cdn",

View file

@ -7,6 +7,7 @@
"": { "": {
"name": "claude-code-router-docs", "name": "claude-code-router-docs",
"version": "0.1.0", "version": "0.1.0",
"license": "MIT",
"devDependencies": { "devDependencies": {
"astro": "7.0.0", "astro": "7.0.0",
"lucide-astro": "^0.556.0" "lucide-astro": "^0.556.0"

View file

@ -2,6 +2,7 @@
"name": "claude-code-router-docs", "name": "claude-code-router-docs",
"private": true, "private": true,
"version": "0.1.0", "version": "0.1.0",
"license": "MIT",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",

1
package-lock.json generated
View file

@ -7,6 +7,7 @@
"": { "": {
"name": "claude-code-router", "name": "claude-code-router",
"version": "3.0.2", "version": "3.0.2",
"license": "MIT",
"dependencies": { "dependencies": {
"@the-next-ai/ai-gateway": "^1.0.1", "@the-next-ai/ai-gateway": "^1.0.1",
"@the-next-ai/bot-gateway-sdk": "^0.1.0", "@the-next-ai/bot-gateway-sdk": "^0.1.0",

View file

@ -2,6 +2,7 @@
"name": "claude-code-router", "name": "claude-code-router",
"private": true, "private": true,
"version": "3.0.2", "version": "3.0.2",
"license": "MIT",
"description": "Desktop scaffold for Claude Code Router.", "description": "Desktop scaffold for Claude Code Router.",
"main": "dist/main/main.js", "main": "dist/main/main.js",
"bin": { "bin": {