feat: add filesystem resource layout and docs query tool; replace NEW_FEAT with FEAT
This commit is contained in:
@@ -9,6 +9,7 @@ Yonexus 是一个用于 OpenClaw 的组织结构与 Agent 身份管理插件。
|
||||
## 功能特性
|
||||
|
||||
- 组织层级:`Organization -> Department -> Team -> Agent`
|
||||
- 基于文件系统的资源目录:`${openclaw dir}/yonexus`
|
||||
- Agent 注册与多身份(Identity)管理
|
||||
- 上下级关系(Supervisor,**不自动赋权**)
|
||||
- 基于角色的权限控制
|
||||
@@ -71,6 +72,7 @@ npm run demo
|
||||
## 已实现 API
|
||||
|
||||
核心 API:
|
||||
- `createOrganization(actor, name)`
|
||||
- `createDepartment(actor, name, orgId)`
|
||||
- `createTeam(actor, name, deptId)`
|
||||
- `registerAgent(actor, agentId, name, roles?)`
|
||||
@@ -86,6 +88,9 @@ npm run demo
|
||||
- `deleteDepartment(actor, deptId)`
|
||||
- `deleteTeam(actor, teamId, deptId?)`
|
||||
|
||||
文档检索:
|
||||
- `getDocs(scope, topic, keyword)`
|
||||
|
||||
数据与审计:
|
||||
- `exportData(actor)`
|
||||
- `importData(actor, state)`
|
||||
|
||||
Reference in New Issue
Block a user