mirror of
https://gitcode.com/JianFeeeee/homeagent-sdk.git
synced 2026-10-03 15:44:11 +00:00
原 LICENSE 是 2026-09-12(93ab794)引入的 AGPL-3.0-only 全文,README 据此 声明「插件静态链接 SDK,故必须以相同许可发布,闭源只能另取商业授权」。 这堵死了闭源插件,与第三方插件生态的目标相反。 ## 为什么 MIT 才自洽 SDK 会随插件一起静态链接(源码进入插件二进制)。用传染许可,插件作者就被 强制开源;用 MIT,插件作者可自由选择许可(闭源 / 商业 / 私有均可),无需 回馈、无需任何例外或商业授权。这是刻意的宽松,也是插件生态安全的基础。 MIT 在这里**不会与任何许可冲突**:SDK 完全自包含 —— go.mod 零外部依赖, sdk/ 只 import Go 标准库(sync),不引用核心仓任何代码(已实测确认)。 ## 改动 - LICENSE:AGPL-3.0-only 全文(661 行)→ MIT 正文(21 行,版权人 JianFeeeee) - README.md / README_EN.md:许可章节重写,把「必须同许可」改为「可自选许可」, 并写明自包含这一前提 内核仓仍为 AGPL-3.0-only(其 README 的对应论述与本提交同批更新)。 验证:go build ./sdk/... ./meta/... 通过。
22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
MIT License
|
|
|
|
Copyright (c) 2026 JianFeeeee
|
|
|
|
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.
|