refactor: split backend into center and guild modules
This commit is contained in:
10
.gitmodules
vendored
10
.gitmodules
vendored
@@ -2,9 +2,13 @@
|
||||
path = Fabric.OpenclawPlugin
|
||||
url = https://git.hangman-lab.top/nav/Fabric.OpenclawPlugin.git
|
||||
branch = main
|
||||
[submodule "Fabric.Backend"]
|
||||
path = Fabric.Backend
|
||||
url = https://git.hangman-lab.top/nav/Fabric.Backend.git
|
||||
[submodule "Fabric.Backend.Center"]
|
||||
path = Fabric.Backend.Center
|
||||
url = https://git.hangman-lab.top/nav/Fabric.Backend.Center.git
|
||||
branch = main
|
||||
[submodule "Fabric.Backend.Guild"]
|
||||
path = Fabric.Backend.Guild
|
||||
url = https://git.hangman-lab.top/nav/Fabric.Backend.Guild.git
|
||||
branch = main
|
||||
[submodule "Fabric.Frontend"]
|
||||
path = Fabric.Frontend
|
||||
|
||||
18
PLAN.md
18
PLAN.md
@@ -55,11 +55,15 @@
|
||||
- Guild 服务注册时需证明持有中心服务 secret(共享密钥握手)
|
||||
|
||||
## 5. 模块拆分(对应仓库)
|
||||
- `Fabric.Backend`
|
||||
- Auth/Workspace(Guild)
|
||||
- Chat Core(Channel、DM、消息;不含 Thread)
|
||||
- `Fabric.Backend.Center`
|
||||
- 用户身份与登录(Identity Hub)
|
||||
- Guild Node 注册与鉴权(共享密钥握手)
|
||||
- 中心级配置与审计
|
||||
- `Fabric.Backend.Guild`
|
||||
- Workspace/Guild/Channel/DM
|
||||
- Chat Core(消息、回复、编辑、删除、@;不含 Thread)
|
||||
- Integration Surface(Webhook、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`
|
||||
|
||||
Reference in New Issue
Block a user