Skip to main content

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 文档源

Metadata

Release files for ChatAction 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ChatAction 0.1.3
File Size Uploaded
chataction-0.1.3.tar.gz 10.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ChatAction 0.1.3
File Interpreter ABI Platform
chataction-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / chataction-0.1.3.tar.gz

Download URL chataction-0.1.3.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3447751fdb8a89c9e3cef4537aefcdd2cff5ed9ea2e37223aee64eb674a63a03
BLAKE2b-256 checksum
How to use checksums
44ef92e6e87d8cf111df6c4ea60fa0934ea8fbeeadc7c8b6952a46134ba62050
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

Release files / chataction-0.1.3-py3-none-any.whl

Download URL chataction-0.1.3-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fd305dfb31ceabfdab2a170f7f48c9099618e1329e26e7cfd2fa2ec3694c3bf
BLAKE2b-256 checksum
How to use checksums
668a26c6196b232b5f31b4624f13f94c32824a050c7aff0cabf165bdcd34701b
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

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page