Go to file
sp mac bookpro 2605 cf4791b34d feat(chat): refactor chat page layout with secondary agent list sidebar
- 聊天页移至 /chat 路由,不再强制依赖 URL id
- 左侧增加二级侧边栏:展示用户所有 Agent 列表
- 当未选择 Agent 时显示空白状态占位
- 历史会话迁移至顶部栏『历史对话』Drawer 内
2026-05-24 19:13:40 +08:00
public chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
src feat(chat): refactor chat page layout with secondary agent list sidebar 2026-05-24 19:13:40 +08:00
.env.example chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
.gitignore chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
Dockerfile chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
README.md chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
docker-compose.yml chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
index.html fix(auth): keep mock login and update title 2026-05-24 17:37:45 +08:00
nginx.conf chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
package-lock.json chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
package.json chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
tsconfig.json chore: migrate from my-content-site (Next.js) to Vite-based aura-web 2026-05-24 16:19:15 +08:00
vite.config.ts chore(vite): change dev server port from 5173 to 3000 2026-05-24 16:24:35 +08:00

README.md

aura-web

Aura Agent Platform 前端项目React + Vite + TypeScript

rh-agent-platform/web/ 拆分独立而来。后端代码现位于平级项目 aura-server

本地开发

npm install
npm run dev          # http://localhost:5173

默认 /api 代理到 http://localhost:4001(即 aura-server 的 Go 服务)。 如需切换:

VITE_API_TARGET=http://localhost:4000 npm run dev

构建

npm run build        # 产物输出至 dist/
npm run preview      # 本地预览

Docker

cp .env.example .env
docker compose up -d --build
# 浏览器访问 http://localhost:8080

目录结构

src/
├── components/   公共组件
├── pages/        路由页面
├── store/        Zustand 状态
├── api.ts        REST/SSE 客户端
└── main.tsx      入口