18 lines
1.1 KiB
Markdown
18 lines
1.1 KiB
Markdown
# EveryPublish Web-only 技术栈
|
||
|
||
| 层 | V1 选型 | 说明 |
|
||
|---|---|---|
|
||
| 前端 | React 18 + TypeScript + TDesign React + Vite | 当前工程保留,统一表单/表格/上传/弹窗 |
|
||
| API | Go + Gin | JWT、工作区隔离、素材、任务、挑战 |
|
||
| 实时 | Browser WebSocket + REST 兜底 | 不依赖 Agent WSS |
|
||
| 数据库 | MySQL 8 + GORM | 任务、账号、素材、挑战、审计持久化 |
|
||
| 队列 | Redis + 进程内 dispatcher(V1) | V1 先保证本机可重复,后续可换持久队列 |
|
||
| 执行器 | `WebExecutor` + `PlatformAdapter` | mock 先行,真实平台逐个接入 |
|
||
| 浏览器自动化 | Patchright/Playwright adapter | 借鉴三个 MIT 参考仓库,隔离 profile/cookie |
|
||
| 存储 | 本地 StorageDriver | 保留 OSS 接口,不让大文件走 WebSocket |
|
||
| 测试 | Go test/vet + TypeScript + Playwright 浏览器冒烟 | 前端不能再以空 test 脚本代替测试 |
|
||
|
||
## 暂停技术
|
||
|
||
SwiftUI/AppKit、WinUI/Electron、Agent core、Agent WSS、设备 Ed25519 配对和客户端安装包全部移出 V1 验收。旧代码保留但不再由 `make build/test` 默认构建。
|