英文版 | 简体中文
ChatTree
ChatTree 是 ChatArch tree-oriented workflows 的 Python CLI 包壳。当前公开 CLI 只提供真实 root-only 包信息入口;后续新增 tree 能力时,必须同步 Python API、CLI 树、文档和测试。
快速开始
pip install ChatTree
chattree --help
chattree --version
chattree --tree
chattree --tree-brief
开发环境:
pip install -e ".[dev,docs]"
python -m pytest -q
mkdocs build --strict
python -m build
CLI 树
ChatTree 使用共享的 chatstyle.add_tree_option() 从真实注册的 Click command surface 生成完整和简洁命令树。当前 CLI 是 root-only,因此两个视图的节点相同。
chattree
├── --help # Show this message and exit.
├── --version # Show the version and exit.
├── --tree # Print the registered CLI tree and exit.
└── --tree-brief # Print the registered CLI tree without parameter signatures and exit.
chattree hello 不是公开 CLI;它属于脚手架示例残留,必须失败。
CLI 规范
- 根命令显式命名为
chattree,并暴露--version、--tree和--tree-brief。 --tree/--tree-brief由chatstyle>=0.2.0,<0.3.0从真实 Click 注册面生成,不维护包内 renderer。- 当前包没有 env/profile/config 行为,因此不依赖 ChatEnv;未来需要配置时,应注册 typed provider,并使用
chatenv>=0.2.10,<0.3.0与 ChatEnv 管理的存储路径。 - 当前 root-only 入口只输出包与命令元数据,不读取或修改项目树,也不处理敏感值。
文档
- 文档首页:https://arch.gh.wzhecnu.cn/ChatTree/
- CLI 树:https://arch.gh.wzhecnu.cn/ChatTree/cli-tree/
- 英文文档:https://arch.gh.wzhecnu.cn/ChatTree/en/
开发说明
扩展命令前先阅读 DEVELOP.md 和 AGENTS.md,并保持 --tree、--tree-brief、README、MkDocs、测试与 changelog 同步。
Metadata
Release files for ChatTree 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chattree-0.1.2.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chattree-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / chattree-0.1.2.tar.gz
| Download URL | chattree-0.1.2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d48e89ae477d781a8c696a7b0472f58be76b95273902b8e94c7ed508cf91f88b
|
|
BLAKE2b-256 checksum How to use checksums |
25f046a50b5145653274f08dced162623dd9b99173ac980b3e334198aa7af6ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / chattree-0.1.2-py3-none-any.whl
| Download URL | chattree-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c61f9d2b4341a12c259113bba4bb3bd37e72e7bdc306d90eb03cef604692a5aa
|
|
BLAKE2b-256 checksum How to use checksums |
543dae5f27e132ecd1ee1c60697846a0d9aecc898ff97a743e4ded50e20aca47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency log