chore: initial commit of ai site platform

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
whm
2026-07-31 10:31:17 +08:00
commit 4ca82fb58a
203 changed files with 45745 additions and 0 deletions

27
docs/README.md Normal file
View File

@@ -0,0 +1,27 @@
# 文档目录
本目录为智能体「生成 / 发布 / 灌数」相关说明(中文)。
| 文档 | 说明 |
|------|------|
| [智能体-生成发布-能力说明.md](./智能体-生成发布-能力说明.md) | **需求 / 能力边界**(做什么、不做什么、工作流、验收) |
| [智能体-生成发布-API.md](./智能体-生成发布-API.md) | **接口契约**(路径、请求/响应、宿主回执字段) |
| [数据同步-中间件.md](./数据同步-中间件.md) | 跨库实时同步SQLite/MySQL/Postgres |
> 业务用语称「**模块**」。HTTP 路径仍为 `/api/v1/apps/...`。智能体默认无需配置模块白名单即可自建发布。
## Linux 部署
本仓库根目录提供 `start.sh` / `restart.sh` / `stop.sh` / `pull-and-restart.sh`
与宇恒 Web 合并的交互菜单见同级目录 [`../ops/README.md`](../../ops/README.md)`./deploy-menu.sh`)。
**配置热重载**(改域名/Nginx/yaml 不必整栈 rebuild[`../nginx/README.md`](../nginx/README.md),执行 `./reload-config.sh`
| 改什么 | 文件 | 命令 |
|--------|------|------|
| 容器反代 | `web/nginx.conf` | `./reload-config.sh web` |
| 公开 URL / 发布回执 | `.env``AIJZ_PUBLIC_BASE_URL` + `platform/etc/platform.docker.yaml` | `./reload-config.sh platform` |
| Gateway | `gateway/etc/gateway.docker.yaml` | `./reload-config.sh gateway` |
| LLM Key | `.env` | `./reload-config.sh ai` |
| 供应商 / 模型列表 | `ai-service/etc/llm.yaml` | `./reload-config.sh ai` |
| 域名 HTTPS | `nginx/aijz.host.conf` + 证书 | `./reload-config.sh host-nginx` |