ChatUp
ChatUp 是 ChatArch 的独立环境与工具安装 CLI。它承接原来 chattool setup 的职责,把常用开发环境、Agent CLI、工作区脚手架和本地服务安装整理成一级命令,例如 chattool setup workspace 对应 chatup workspace。
- 文档站:https://arch.gh.wzhecnu.cn/ChatUp/
- English README: README.en.md
- Source: https://github.com/ChatArch/ChatUp
按场景选择文档:
| 场景 | 文档 |
|---|---|
| 从空机器验证 ChatUp、Python runtime 和 workspace | docs/quickstart.md |
| 阅读完整顶层 CLI 树和独立 CFT/ChromeDriver/Playwright contract | docs/cli-tree.md |
| 查看命令分组、参数边界和服务默认路径 | docs/commands.md |
| 校对哪些 ChatArch setup 流程已经有一等命令 | docs/capability-map.md |
理解 chatup workspace 创建的目录和项目记录约定 |
docs/workspace.md |
| 安装 ChatTea-compatible Gitea、Discourse/Zulip 社区服务配置、ChatData-compatible MySQL、user-level NGINX 和 CRS | docs/commands.md |
快速开始
chatup --help
chatup --version
chatup --tree
chatup --tree-brief
chatup doctor
chatup uv
chatup chrome-for-testing install --channel stable -I
chatup playwright install 1.61.1 -I
chatup workspace default ~/Playground
chatup uv 默认更新已有 ~/.bashrc、~/.zshrc 的自动激活块;使用 chatup uv --no-activate 可保持启动配置不变。不会创建缺失的 rc 文件,Windows 跳过此项。
常见安装命令:
chatup gitea --force
chatup discourse -e discourse-prod --hostname discourse.public.wzhecnu.cn
chatup zulip -e zulip-prod --external-host zulip.public.wzhecnu.cn --port 3095
chatup mysql
chatup nginx
chatup nginx proxy-pass ./gitea-local.conf --set SERVER_NAME=gitea.local.example.invalid --set PROXY_PASS=http://127.0.0.1:3000
chatup crs --install-dir ~/.chatarch/crs/local --port 12392 --redis-port 6379
ChatGPT / Codex 桌面应用
chatup chatgpt --dry-run
chatup chatgpt
chatup chatgpt --yes # Windows 首次安装时接受 Store 协议
安装包含 Codex 的新版官方 ChatGPT 桌面应用。macOS 需要 Homebrew,Windows 需要 WinGet;Linux preview 暂按官方说明手动安装。现有 chatup codex 仍安装/配置 Codex CLI。不会自动启动、登录或升级已有应用;完整约定。
chatup codex、chatup hermes 未配置模型时默认使用 gpt-5.6-terra;用户指定的模型和已有配置仍优先。
当前能力
| 能力组 | 命令 |
|---|---|
| 基础运行环境 | doctor、uv、nodejs、docker、zsh、chrome-for-testing、chromedriver、playwright、frp |
| 工作区脚手架 | workspace |
| 官方桌面应用 | chatgpt(含 Codex) |
| 本地服务安装 | gitea、discourse、zulip、mysql、nginx、crs |
| Agent 工具链 | cc-connect、claude、codex、cursor-agent、opencode、hermes、lark-cli |
桌面应用使用系统包管理器的原生目录;ChatArch 自管安装项默认目录收敛到 ~/.chatarch/...,例如 ~/.chatarch/chrome-for-testing、~/.chatarch/chromedriver、~/.chatarch/playwright、~/.chatarch/chattea、~/.chatarch/discourse、~/.chatarch/zulip、~/.chatarch/chatdata、~/.chatarch/nginx 和 ~/.chatarch/crs/local。cursor-agent 额外注册 ChatEnv CursorAgent profile,discourse/zulip 注册管理员凭据 profile,并支持 -e/--env 从 env 文件或 profile 快速配置;显式选择 profile 时不会混入进程环境中的其他账号凭据。CLI 树由 ChatStyle 的注册表渲染。更完整的能力边界见 docs/capability-map.md。
开发
python -m pytest -q
python -m build
python -m twine check dist/*
mkdocs build --strict
chatup --version
chatup --tree
chatup --tree-brief
更多使用说明见文档站的 快速开始、命令参考 和 CLI 能力地图。
发布
发布由 tag 驱动。vX.Y.Z tag 必须与 src/chatup/__init__.py::__version__ 一致;发布 workflow 会通过 PyPI Trusted Publishing/OIDC 构建并发布到 PyPI。
Metadata
Release files for chatup 0.2.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chatup-0.2.16.tar.gz | 202.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chatup-0.2.16-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 411.3 kB
Release files / chatup-0.2.16.tar.gz
| Download URL | chatup-0.2.16.tar.gz |
|---|---|
| Size | 202.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d42a935aa86d7da2673ef40d62a8dbdaacfd2341bbeb9cd09dba740941837f2c
|
|
BLAKE2b-256 checksum How to use checksums |
6054b19868b98db42ed457e9c3129af13c6b0e7af859851472030bedebd8e4fb
|
| 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 Sep 21, 2026.
Transparency logRelease files / chatup-0.2.16-py3-none-any.whl
| Download URL | chatup-0.2.16-py3-none-any.whl |
|---|---|
| Size | 208.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17554e650aa7af12279799d9cc8b22c0c57a5413bf678e4619807edce3ee99ba
|
|
BLAKE2b-256 checksum How to use checksums |
296b9b2354b87fa3c5a9aade3e17dd2becac7c4fe6c32c97043a263aaa0552d8
|
| 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 Sep 21, 2026.
Transparency log