ChatAction
ChatAction 是 ChatArch 的 action 编排命令面。当前版本提供稳定的基础 CLI 合同:--version,以及由 ChatStyle 共享运行时从真实 Click 注册树生成的 --tree / --tree-brief。
快速开始
pip install ChatAction
chataction --version
chataction --tree
chataction --tree-brief
开发验证:
pip install -e ".[dev,docs]"
python -m pytest -q
mkdocs build --strict
python -m build
CLI 树
chataction
├── --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.
--tree 默认保留已注册子命令的参数签名;--tree-brief 省略参数签名,但保留命令节点和描述。当前包尚无业务子命令,因此两个模式的当前树都只包含相同的顶层选项节点。
CLI 规范
当前包没有模板 hello 命令,也没有文档-only 的伪 action 命令。后续新增真实 action 时应同步更新:
- 可复用 Python API;
- Click 命令注册;
chataction --tree和chataction --tree-brief输出;- CLI 测试;
- README、MkDocs 和 CHANGELOG。
依赖窗口:chatstyle>=0.2.0,<0.3.0、chatenv>=0.2.10,<0.3.0。
文档
目录结构
src/:包源码tests/:CLI 与版本测试docs/:MkDocs 文档源
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chataction-0.1.3.tar.gz.
File metadata
- Download URL: chataction-0.1.3.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3447751fdb8a89c9e3cef4537aefcdd2cff5ed9ea2e37223aee64eb674a63a03
|
|
| MD5 |
ddec8a0119ec73722f435826d7487654
|
|
| BLAKE2b-256 |
44ef92e6e87d8cf111df6c4ea60fa0934ea8fbeeadc7c8b6952a46134ba62050
|
Provenance
The following attestation bundles were made for chataction-0.1.3.tar.gz:
Publisher:
publish.yml on ChatArch/ChatAction
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chataction-0.1.3.tar.gz -
Subject digest:
3447751fdb8a89c9e3cef4537aefcdd2cff5ed9ea2e37223aee64eb674a63a03 - Sigstore transparency entry: 2547962761
- Sigstore integration time:
-
Permalink:
ChatArch/ChatAction@42a4c1d9a32a2d5035e47b498141e3befd74414c -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/ChatArch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@42a4c1d9a32a2d5035e47b498141e3befd74414c -
Trigger Event:
push
-
Statement type:
File details
Details for the file chataction-0.1.3-py3-none-any.whl.
File metadata
- Download URL: chataction-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fd305dfb31ceabfdab2a170f7f48c9099618e1329e26e7cfd2fa2ec3694c3bf
|
|
| MD5 |
fbdd462e1f0e772d0c09610df4c591ae
|
|
| BLAKE2b-256 |
668a26c6196b232b5f31b4624f13f94c32824a050c7aff0cabf165bdcd34701b
|
Provenance
The following attestation bundles were made for chataction-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on ChatArch/ChatAction
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chataction-0.1.3-py3-none-any.whl -
Subject digest:
4fd305dfb31ceabfdab2a170f7f48c9099618e1329e26e7cfd2fa2ec3694c3bf - Sigstore transparency entry: 2547963682
- Sigstore integration time:
-
Permalink:
ChatArch/ChatAction@42a4c1d9a32a2d5035e47b498141e3befd74414c -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/ChatArch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@42a4c1d9a32a2d5035e47b498141e3befd74414c -
Trigger Event:
push
-
Statement type: