refactor: 将 apps 重命名为 containers 并同步 harness 默认路径

example-project 与占位符/安装器默认改为 containers/backend|frontend,探测仍兼容旧 apps/。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ning-inspire
2026-11-17 13:46:59 +08:00
parent 26ebadc3ca
commit 28f0490dbf
74 changed files with 102 additions and 79 deletions

View File

@@ -40,7 +40,7 @@ harness-installer/
## 脚本做了什么
1. 探测项目结构:`apps/backend/`(`pom.xml`)、`apps/frontend/`(`package.json`)、`e2e/`、`docs/`
1. 探测项目结构:`containers/backend/`(`pom.xml`)、`containers/frontend/`(`package.json`)、`e2e/`、`docs/`
2. 渲染 `templates/AGENTS.md.template` → `<项目>/AGENTS.md`
3. 复制 `templates/docs/**` → `<项目>/docs/**`
4. 缺失时创建 `<项目>/opencode.jsonc`