gongxiangp2/README.md

31 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 共享素材库与小壹桌面端(gongxiangp2)
两条产品线:共享素材库主站(Web:素材资产、下载分发、组织权限、品牌中心)和小壹桌面客户端(Windows:原生画布、智能体制作、企业模板、在线更新)。
## 本地开发
```bash
npm ci --legacy-peer-deps
npm --prefix apps/detail-agent-pi ci
npm run prisma:generate
npm run dev
```
## 校验
```bash
npm run typecheck
npm run test:all # Web Jest + 根仓 Node 脚本测试 + 小壹智能体单测
npm run test:agent # 仅小壹智能体
```
Node 24.22.1;Rust 工具链与客户端构建见 `apps/detail-photocraft/JIANSUN.md`。
## 目录
`app/` 页面与 API · `components/` `hooks/` 组件 · `lib/` 业务逻辑 · `prisma/` Schema 与迁移 · `apps/detail-photocraft` 客户端 · `apps/detail-agent-pi` 智能体 · `workers/` 独立子进程 · `scripts/` 运维与校验脚本 · `evals/` 交付评测 · `docs/` 接口、部署与验收记录。
## 协作
开发在独立分支,验证后合入 `main`。用户反馈 Issue 标签:`feedback`、`status:triage`、`status:investigating`、`status:needs-owner`、`status:ready-to-release`、`status:fixed`、`severity:p0`。
## 红线
- 不提交 `.env`、凭据文件、密钥和内网敏感配置。
- 改 `prisma/` 或迁移脚本前先评估影响,做备份与灰度验证。