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-brief 由 chatstyle>=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.md、AGENTS.md 和 CLI 树文档。

Metadata

Release files for ChatSage 0.1.1

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

Source distribution (sdist)

Source distribution for ChatSage 0.1.1
File Size Uploaded
chatsage-0.1.1.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ChatSage 0.1.1
File Interpreter ABI Platform
chatsage-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / chatsage-0.1.1.tar.gz

Download URL chatsage-0.1.1.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
15322cfa9858dd5008f1afa03a5ab879f5670115e9a52f86410ee42d950ecd4f
BLAKE2b-256 checksum
How to use checksums
49cfdd0dd02a421db6c7f1b3fbb8a34db5058c8b420d04980baede5c6f658c03
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 / chatsage-0.1.1-py3-none-any.whl

Download URL chatsage-0.1.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7498dafe6f27bfe81cdda5cf3a76904acbd490fe8b7e7d878bc7d19ff7b5589
BLAKE2b-256 checksum
How to use checksums
17624fea9b5e54953f9139dd38428bedcb76e11ccc775dcf7f4021dac6b8e194
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.1 This release

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