chore: relicense under MIT

This commit is contained in:
程序员阿江(Relakkes) 2026-07-29 09:23:05 +08:00
parent 600712e61a
commit 9e9b5eeeae

51
LICENSE
View File

@ -1,38 +1,21 @@
DISCLAIMER AND LICENSE
MIT License
Copyright (c) 2026 Anthropic, PBC. All rights reserved for the original source code.
Copyright (c) 2026 cc-haha
This repository is based on the Claude Code source code leaked from the Anthropic
npm registry on 2026-03-31. All original source code copyrights belong to Anthropic.
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:
THIS SOFTWARE IS PROVIDED FOR EDUCATIONAL AND RESEARCH PURPOSES ONLY.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The purpose of this repository is to facilitate the study and research of AI Agent
engineering, including but not limited to:
- Agent architecture and design patterns
- Tool use and function calling mechanisms
- Multi-agent orchestration
- Terminal UI (TUI) implementation for AI applications
- MCP (Model Context Protocol) integration
RESTRICTIONS:
1. This software SHALL NOT be used for any commercial purposes.
2. This software SHALL NOT be used to compete with or replicate Anthropic's
commercial products or services.
3. This software SHALL NOT be redistributed, sublicensed, or sold in any form.
4. Users SHALL comply with all applicable laws and regulations in their jurisdiction.
NO WARRANTY:
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.
By using this software, you acknowledge that:
- You understand this is leaked source code and all original rights belong to Anthropic.
- You will use it solely for learning and research of Agent engineering.
- You assume all legal risks and responsibilities arising from the use of this 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.