ChatCRS
ChatCRS 是 ChatArch 的 CRS 远程运维 CLI,提供远程 CRS 管理员/API-key 查询、受控 CRS service 生命周期管理、health 和只读拓扑摘要。Web edge、正式切换、图片能力验收和隔离调试 runtime 不作为包内注册命令;需要时按当前任务 runbook 由模型操作。
安装与开发
python -m pip install -e '.[dev,docs]'
chatcrs --help
chatcrs --version
python -m pytest -q
python -m mkdocs build --strict
python -m build
完整文档使用 MkDocs,本地预览:
python -m mkdocs serve
线上文档:https://arch.gh.wzhecnu.cn/ChatCRS/
CLI 树
chatcrs
├── health
├── inspect
├── admin login
├── admin accounts usage / refresh-status
├── admin keys list / show
├── key info
├── service install / update / start / stop / restart
└── service status / switch-branch / update-pricing
远程管理员与 API key
chatcrs admin login --json-output
chatcrs admin accounts usage --json-output
chatcrs admin accounts refresh-status <account_id> --json-output
chatcrs admin accounts refresh-status <account_id> --execute --json-output
chatcrs admin keys list --include-stats --json-output
chatcrs admin keys show <key_id_or_name> --json-output
chatcrs key info --json-output
Service 生命周期
chatcrs service update --ssh-alias tencent.am --app-dir /home/zhihong/claude-relay-service/app --json-output
chatcrs service update --ssh-alias tencent.am --app-dir /home/zhihong/claude-relay-service/app --execute --json-output
chatcrs service install/update/start/stop/restart/switch-branch/update-pricing 吸收官方 crs 管理语义;默认只输出远程执行计划,只有显式 --execute 才通过 SSH 在目标 app 目录执行官方 crs ...。stdout/stderr 会做敏感信息脱敏。
生产安全
ChatCRS 当前不直接执行生产切流或 edge 配置变更。生产更新继续使用经过审核、默认 dry-run 的独立 release/cutover 流程。
更多内容见:
docs/cli.mddocs/configuration.mddocs/production-maintenance.md
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 chatcrs-0.2.1.tar.gz.
File metadata
- Download URL: chatcrs-0.2.1.tar.gz
- Upload date:
- Size: 41.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4493335a18060b2cf0fe899d84f05a118213416c6d81de5ea0a04ee96fc4b365
|
|
| MD5 |
04665b16fa6f203b21dbd3705bb58ddf
|
|
| BLAKE2b-256 |
f575420e5e078ac93b5e93262ef35539b95f3eadf58516fce7609ee187e280b5
|
Provenance
The following attestation bundles were made for chatcrs-0.2.1.tar.gz:
Publisher:
publish.yml on ChatArch/ChatCRS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chatcrs-0.2.1.tar.gz -
Subject digest:
4493335a18060b2cf0fe899d84f05a118213416c6d81de5ea0a04ee96fc4b365 - Sigstore transparency entry: 2341943278
- Sigstore integration time:
-
Permalink:
ChatArch/ChatCRS@1a1d49deea05523bec92e231f7fbad7a9cb7c14c -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/ChatArch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1a1d49deea05523bec92e231f7fbad7a9cb7c14c -
Trigger Event:
push
-
Statement type:
File details
Details for the file chatcrs-0.2.1-py3-none-any.whl.
File metadata
- Download URL: chatcrs-0.2.1-py3-none-any.whl
- Upload date:
- Size: 27.8 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 |
983bc3378d635a47231574d1d360fffa032265a96e6b54fcdbb1e59e2598711d
|
|
| MD5 |
ff0ab772759cb19c95afe4a830cd06fa
|
|
| BLAKE2b-256 |
87c313d436f676c1b53f63817cc7156cdab56bfa413c0c22da2eef36fb344247
|
Provenance
The following attestation bundles were made for chatcrs-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on ChatArch/ChatCRS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chatcrs-0.2.1-py3-none-any.whl -
Subject digest:
983bc3378d635a47231574d1d360fffa032265a96e6b54fcdbb1e59e2598711d - Sigstore transparency entry: 2341943286
- Sigstore integration time:
-
Permalink:
ChatArch/ChatCRS@1a1d49deea05523bec92e231f7fbad7a9cb7c14c -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/ChatArch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1a1d49deea05523bec92e231f7fbad7a9cb7c14c -
Trigger Event:
push
-
Statement type: