refactor: split backend into center and guild modules

This commit is contained in:
nav
2026-05-12 08:26:28 +00:00
parent 3b11fe0d31
commit 3910c0da9f
2 changed files with 19 additions and 9 deletions

18
PLAN.md
View File

@@ -55,11 +55,15 @@
- Guild 服务注册时需证明持有中心服务 secret共享密钥握手
## 5. 模块拆分(对应仓库)
- `Fabric.Backend`
- Auth/WorkspaceGuild
- Chat CoreChannel、DM、消息不含 Thread
- `Fabric.Backend.Center`
- 用户身份与登录Identity Hub
- Guild Node 注册与鉴权(共享密钥握手
- 中心级配置与审计
- `Fabric.Backend.Guild`
- Workspace/Guild/Channel/DM
- Chat Core消息、回复、编辑、删除、@;不含 Thread
- Integration SurfaceWebhook、Bot Token、扩展回调
- Permission & Audit
- Guild 级权限与审计
- `Fabric.Frontend`
- 工作区/频道 UI
- 消息流、输入框、回复/编辑/删除/@
@@ -81,7 +85,8 @@
- 架构图、数据模型、接口草案
### Week 2基础业务 API
- 登录注册、工作区、频道、消息 REST API
- Center登录注册、Guild Node 注册鉴权 API
- Guild工作区、频道、消息 REST API
- 基础前端页面(频道列表 + 消息流)
### Week 3实时通信
@@ -108,7 +113,8 @@
- `Fabric`(主仓库)
- 挂载子模块:
- `Fabric.OpenclawPlugin`
- `Fabric.Backend`
- `Fabric.Backend.Center`
- `Fabric.Backend.Guild`
- `Fabric.Frontend`
- `Fabric.Desktop`
- `Fabric.Android`