From 348dc826123c306999b511d8c0417e4642ea82eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jim=20Liu=20=E5=AE=9D=E7=8E=89?= Date: Fri, 19 Jun 2026 23:01:11 -0500 Subject: [PATCH] Add explicit MIT license --- LICENSE | 21 +++++++++++++++++++++ README.md | 4 +++- README.zh.md | 4 +++- package-lock.json | 5 +++++ package.json | 1 + packages/baoyu-chrome-cdp/package.json | 1 + packages/baoyu-codex-imagegen/package.json | 1 + packages/baoyu-fetch/package.json | 1 + packages/baoyu-md/package.json | 1 + 9 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9f2cc0d --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Jim Liu + +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. diff --git a/README.md b/README.md index ae468cb..eb7cdd1 100644 --- a/README.md +++ b/README.md @@ -1387,7 +1387,9 @@ This project was inspired by and builds upon the following open source projects: ## License -MIT +Unless otherwise noted, this repository is licensed under the [MIT License](./LICENSE). + +Published ClawHub skills follow ClawHub registry rules and are distributed under `MIT-0`. Third-party code and assets retain their original licenses where noted. ## Star History diff --git a/README.zh.md b/README.zh.md index da20914..93a2eac 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1388,7 +1388,9 @@ HTTP_PROXY=http://127.0.0.1:7890 HTTPS_PROXY=http://127.0.0.1:7890 /baoyu-danger ## 许可证 -MIT +除另有说明外,本仓库采用 [MIT License](./LICENSE) 授权。 + +发布到 ClawHub 的 skill 根据 ClawHub registry 规则以 `MIT-0` 分发。第三方代码和素材按其注明的原始许可授权。 ## Star History diff --git a/package-lock.json b/package-lock.json index cea024e..901a2bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "packages": { "": { "name": "baoyu-skills", + "license": "MIT", "workspaces": [ "packages/*" ], @@ -5018,12 +5019,14 @@ }, "packages/baoyu-chrome-cdp": { "version": "0.1.1", + "license": "MIT", "engines": { "bun": ">=1.2.0" } }, "packages/baoyu-codex-imagegen": { "version": "0.1.0", + "license": "MIT", "bin": { "codex-imagegen": "src/main.ts" }, @@ -5033,6 +5036,7 @@ }, "packages/baoyu-fetch": { "version": "0.1.2", + "license": "MIT", "dependencies": { "@mozilla/readability": "^0.6.0", "chrome-launcher": "^1.2.1", @@ -5061,6 +5065,7 @@ }, "packages/baoyu-md": { "version": "0.1.1", + "license": "MIT", "dependencies": { "fflate": "^0.8.2", "front-matter": "^4.0.2", diff --git a/package.json b/package.json index 5768f58..9fdd02c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "baoyu-skills", "private": true, + "license": "MIT", "type": "module", "workspaces": [ "packages/*" diff --git a/packages/baoyu-chrome-cdp/package.json b/packages/baoyu-chrome-cdp/package.json index 90a45b8..d86e5f9 100644 --- a/packages/baoyu-chrome-cdp/package.json +++ b/packages/baoyu-chrome-cdp/package.json @@ -1,6 +1,7 @@ { "name": "baoyu-chrome-cdp", "version": "0.1.1", + "license": "MIT", "type": "module", "files": [ "dist", diff --git a/packages/baoyu-codex-imagegen/package.json b/packages/baoyu-codex-imagegen/package.json index cb5411c..6b4f1ca 100644 --- a/packages/baoyu-codex-imagegen/package.json +++ b/packages/baoyu-codex-imagegen/package.json @@ -1,6 +1,7 @@ { "name": "baoyu-codex-imagegen", "version": "0.1.0", + "license": "MIT", "type": "module", "description": "Generate images via Codex CLI's built-in image_gen tool from non-Codex runtimes (Claude Code, Hermes, …).", "bin": { diff --git a/packages/baoyu-fetch/package.json b/packages/baoyu-fetch/package.json index ffe4f7e..9a1c626 100644 --- a/packages/baoyu-fetch/package.json +++ b/packages/baoyu-fetch/package.json @@ -1,6 +1,7 @@ { "name": "baoyu-fetch", "version": "0.1.2", + "license": "MIT", "description": "Read URLs into high-quality Markdown or JSON with Chrome CDP and site adapters.", "type": "module", "bin": { diff --git a/packages/baoyu-md/package.json b/packages/baoyu-md/package.json index 355c013..8675175 100644 --- a/packages/baoyu-md/package.json +++ b/packages/baoyu-md/package.json @@ -1,6 +1,7 @@ { "name": "baoyu-md", "version": "0.1.1", + "license": "MIT", "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js",