Skip to main content

ChatSage

ChatSage 是 ChatArch 的 Python CLI package scaffold。当前公开 CLI 保持最小的 root-only 命令面;只有真实 Sage 能力实现后才会注册业务子命令。

快速开始

pip install ChatSage
chatsage --help
chatsage --version
chatsage --tree
chatsage --tree-brief

当前 CLI 树

当前没有业务命令参数,因此完整树和简洁树相同:

chatsage
├── --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.

CLI 规范

  • 根命令显式命名为 chatsage,并暴露 --version--tree--tree-brief
  • --tree / --tree-briefchatstyle>=0.2.0,<0.3.0 从真实 Click 注册面生成,不维护包内 renderer。
  • 模板遗留的 hello demo 命令已移除,不作为公开兼容面保留。
  • 当前包没有 env/profile/config 行为,因此不依赖 ChatEnv;未来需要配置时,应注册 typed provider,并使用 ChatEnv 管理的存储路径。

目录结构

  • src/:包源码
  • tests/code-tests/:代码测试和历史测试迁移
  • tests/cli-tests/:真实 CLI 测试,doc-first
  • tests/mock-cli-tests/:mock/fake CLI 测试,doc-first
  • docs/:长期维护文档,由 mkdocs 构建

开发说明

扩展脚手架前,先阅读 DEVELOP.mdAGENTS.mdCLI 树文档

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatsage-0.1.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

chatsage-0.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file chatsage-0.1.1.tar.gz.

File metadata

  • Download URL: chatsage-0.1.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatsage-0.1.1.tar.gz
Algorithm Hash digest
SHA256 15322cfa9858dd5008f1afa03a5ab879f5670115e9a52f86410ee42d950ecd4f
MD5 75ae2d4b0bd78c50733ec24c8bbcda4f
BLAKE2b-256 49cfdd0dd02a421db6c7f1b3fbb8a34db5058c8b420d04980baede5c6f658c03

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatsage-0.1.1.tar.gz:

Publisher: publish.yml on ChatArch/ChatSage

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

File details

Details for the file chatsage-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: chatsage-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatsage-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7498dafe6f27bfe81cdda5cf3a76904acbd490fe8b7e7d878bc7d19ff7b5589
MD5 ee94455f9adeb9ae343ccc44d0be9421
BLAKE2b-256 17624fea9b5e54953f9139dd38428bedcb76e11ccc775dcf7f4021dac6b8e194

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatsage-0.1.1-py3-none-any.whl:

Publisher: publish.yml on ChatArch/ChatSage

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.1 This release

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