Skip to content

chore: 移除 Rust/cargo czdev 死文档,新增 ./czdev wrapper + Python czdev 文档 - #16

Merged
eggfly merged 1 commit into
mainfrom
chore/drop-cargo-python-czdev-docs
Jul 23, 2026
Merged

chore: 移除 Rust/cargo czdev 死文档,新增 ./czdev wrapper + Python czdev 文档#16
eggfly merged 1 commit into
mainfrom
chore/drop-cargo-python-czdev-docs

Conversation

@eggfly

@eggfly eggfly commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

背景

Rust 版 czdev CLI 与桌面 emulator(crates/sdk/、emulator 子模块)其实早已从仓库删除,但 README 和 docs 里还在讲 cargo run -p czdev -- run/watch/deploy/doctor 这套已失效的流程。现在 czdev 就是 scripts/czdev/ 里的纯 Python 发布 CLI。

保留:examples 下的 Rust 示例 app(按需求保留),因此 Dockerfile/CI 里为它服务的 Rust 工具链不动。

改动

  • 新增可执行 ./czdev wrapper(chmod +x,git 记录为 100755):内部跑 python3 -m czdev(把 scripts/ 放到 PYTHONPATH),让文档里的 ./czdev … 真正可用。
  • 重写 README.md:围绕 Python czdev(login/logout/bump/publish/unpublish)、在线 CI 构建、先到先得归属、禁止 root 策略;删掉全部 cargo/emulator 内容。
  • 重写 QUICKSTART.md / _ZH / _JA:改成 Python czdev 发布快速上手(中/英/日)。
  • 删除死文档:EMULATOR.mdarchitecture.md(从未实现的 Tauri IDE 设计稿)、DESKTOP_DEV.md,以及孤立的 emulator 截图。
  • APP_BUILDER_JSON.md:补充 czdev publish/网页端使用的 store 段;把旧的 emulator 字段(runtime/entry/…)标注为遗留、不再消费(仅向后兼容保留)。

验证

  • ./czdev --help 正常输出子命令;./czdev(无参)退出码 0。
  • docs 内无残留指向已删文件的链接;除 APP_BUILDER_JSON.md 里有意的「遗留字段」说明外,无 cargo/emulator/czdev-run 引用。

Made with Cursor

… docs

The Rust czdev CLI and the desktop emulator (crates/, sdk/, emulator submodule)
are already gone from the repo, but README and docs still documented a
`cargo run -p czdev -- run/watch/deploy/doctor` flow that no longer exists.
czdev is now the pure-Python publish CLI in scripts/czdev.

- Add an executable ./czdev wrapper (chmod +x) that runs `python3 -m czdev`
  with scripts/ on PYTHONPATH, so `./czdev …` (as the docs say) actually works.
- Rewrite README.md around the Python czdev CLI (login/logout/bump/publish/
  unpublish), the online CI build, ownership model, and the no-root policy;
  remove all cargo/emulator content.
- Rewrite QUICKSTART.md / _ZH / _JA into a Python czdev publish quickstart.
- Delete dead docs describing removed subsystems: EMULATOR.md, architecture.md
  (Tauri IDE that was never built), DESKTOP_DEV.md, and the orphaned emulator
  screenshots.
- APP_BUILDER_JSON.md: document the `store` listing section used by
  `czdev publish`/portal; mark the old emulator fields (runtime/entry/…) as
  legacy/no-longer-consumed (kept for back-compat).

The Rust example app under examples/ is intentionally kept, so the Rust
toolchain stays in the Dockerfile/CI to build it.

Co-authored-by: Cursor <cursoragent@cursor.com>
@eggfly
eggfly merged commit 853c750 into main Jul 23, 2026
1 check passed
@eggfly
eggfly deleted the chore/drop-cargo-python-czdev-docs branch July 23, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant