Skip to main content

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.md
  • docs/configuration.md
  • docs/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

chatcrs-0.2.1.tar.gz (41.8 kB view details)

Uploaded Source

Built Distribution

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

chatcrs-0.2.1-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

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

Hashes for chatcrs-0.2.1.tar.gz
Algorithm Hash digest
SHA256 4493335a18060b2cf0fe899d84f05a118213416c6d81de5ea0a04ee96fc4b365
MD5 04665b16fa6f203b21dbd3705bb58ddf
BLAKE2b-256 f575420e5e078ac93b5e93262ef35539b95f3eadf58516fce7609ee187e280b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatcrs-0.2.1.tar.gz:

Publisher: publish.yml on ChatArch/ChatCRS

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

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

Hashes for chatcrs-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 983bc3378d635a47231574d1d360fffa032265a96e6b54fcdbb1e59e2598711d
MD5 ff0ab772759cb19c95afe4a830cd06fa
BLAKE2b-256 87c313d436f676c1b53f63817cc7156cdab56bfa413c0c22da2eef36fb344247

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatcrs-0.2.1-py3-none-any.whl:

Publisher: publish.yml on ChatArch/ChatCRS

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

Release history Release notifications | RSS feed

0.2.15

2 files

0.2.14

2 files

0.2.13

2 files

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

This release

0.2.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