Skip to content

Latest commit

 

History

History
107 lines (81 loc) · 4.14 KB

File metadata and controls

107 lines (81 loc) · 4.14 KB

cjdrift Open-Source Compliance Statement

适配必填 / Required for central-registry adaptation.

This document fulfils the open-source compliance disclosure required by the Cangjie central-registry submission checklist and by the 仓颉生态创新开发挑战赛 (Cangjie Ecosystem Innovation Challenge) administrative rules.

1. Project identity

Field Value
Project name cjdrift
First public version 0.1.0
Repository https://gitcode.com/jiangzeyu-2026/cjdrift
License Apache License, Version 2.0
Author Chongli (jiangzeyu-2026)
Contact chongli@jiangzeyu-2026.gitcode.io

2. License

The project is distributed under the Apache License, Version 2.0 ("Apache-2.0"). The full text is in the LICENSE file at the root of the repository.

The Apache-2.0 license was chosen because:

  • It is the license used by the official Cangjie compiler and the Cangjie-SIG organisation, so the ecosystem already understands it.
  • It is permissive, with an explicit patent grant that protects both the project and its downstream users.
  • It requires preservation of copyright notices, which makes it possible to track the provenance of every patch in the codebase.

3. Third-party components

cjdrift is a self-contained Cangjie 1.1.3 project. It does not vendor any third-party source code, and it has no runtime dependencies beyond the standard library that ships with the Cangjie SDK. At runtime it shells out to:

  • cjpm (part of the Cangjie SDK, Apache-2.0)
  • cjlint (part of the Cangjie SDK, Apache-2.0)
  • cjfmt (part of the Cangjie SDK, Apache-2.0)
  • cjc (part of the Cangjie SDK, Apache-2.0)
  • diff (POSIX, used in cjfmt to build a unified diff)
  • mkdir, rm (POSIX, used for temp directory management)
  • the Cangjie central registry at pkg.cangjie-lang.cn (read-only search)

Each of these is either a system utility or an Apache-2.0 licensed component distributed by the Cangjie project.

4. Generated / vendored assets

assets/cangjie_apis.json is a hand-curated index of the Cangjie 1.1.3 standard library. Each entry is original commentary written by the author; no third-party text is included. The file is licensed under Apache-2.0 along with the rest of the project.

The tools/cjapi.cj and tools/cjdoc.cj source files embed a small built-in snapshot of the same index in src/knowledge/api_index.cj::builtinIndex(). That snapshot is also authored from scratch and is licensed under Apache-2.0.

5. Build & runtime environment

Component Version Notes
Cangjie SDK 1.1.3 (STS) cjc-version = "1.1.3" in cjpm.toml.
OS any Built and tested on Linux x86-64, macOS aarch64, Windows x86-64.
Network optional cangjie_pkg_search falls back to a local seed if the registry is unreachable.
cjpm bundled Ships with the SDK.
cjc bundled Ships with the SDK.

6. Security disclosure

Security issues can be reported privately to the maintainer at chongli@jiangzeyu-2026.gitcode.io. Please do not file public issues for suspected vulnerabilities until a fix is available.

7. Trademarks

"仓颉" and "Cangjie" are trademarks of Huawei Technologies Co., Ltd. Use of the marks in cjdrift is descriptive only and does not imply endorsement by Huawei.

"Model Context Protocol" and "MCP" are trademarks of Anthropic PBC. cjdrift is an independent implementation of the MCP wire protocol and is not affiliated with Anthropic.

8. Declaration

I, the author of cjdrift, declare that:

  • The work is original and does not infringe on the intellectual property rights of any third party.
  • No part of the work is generated by an AI assistant in violation of the Cangjie ecosystem competition rules.
  • All third-party components are attributed above and used in accordance with their respective licenses.
  • I understand that the Cangjie central registry may reject the submission if any of the above is found to be inaccurate.

Signed: Chongli (jiangzeyu-2026) Date: 2026-08-23