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 --treechataction --tree-brief 输出;
  • CLI 测试;
  • README、MkDocs 和 CHANGELOG。

依赖窗口:chatstyle>=0.2.0,<0.3.0chatenv>=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

chataction-0.1.3.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chataction-0.1.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for chataction-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3447751fdb8a89c9e3cef4537aefcdd2cff5ed9ea2e37223aee64eb674a63a03
MD5 ddec8a0119ec73722f435826d7487654
BLAKE2b-256 44ef92e6e87d8cf111df6c4ea60fa0934ea8fbeeadc7c8b6952a46134ba62050

See more details on using hashes here.

Provenance

The following attestation bundles were made for chataction-0.1.3.tar.gz:

Publisher: publish.yml on ChatArch/ChatAction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for chataction-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4fd305dfb31ceabfdab2a170f7f48c9099618e1329e26e7cfd2fa2ec3694c3bf
MD5 fbdd462e1f0e772d0c09610df4c591ae
BLAKE2b-256 668a26c6196b232b5f31b4624f13f94c32824a050c7aff0cabf165bdcd34701b

See more details on using hashes here.

Provenance

The following attestation bundles were made for chataction-0.1.3-py3-none-any.whl:

Publisher: publish.yml on ChatArch/ChatAction

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page