feat(api): add OpenClawGatewayModule with agent registry (MS22-P1b)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
This commit is contained in:
@@ -1407,6 +1407,19 @@ model Instance {
|
||||
@@map("instances")
|
||||
}
|
||||
|
||||
model OpenClawAgent {
|
||||
id String @id @default(cuid())
|
||||
name String @unique // "jarvis-main", "jarvis-projects", etc.
|
||||
displayName String // "Jarvis (Main)", etc.
|
||||
role String // "orchestrator" | "developer" | "researcher" | "operations"
|
||||
gatewayUrl String // "http://jarvis-main:18789"
|
||||
agentId String @default("main") // OpenClaw agent id within that instance
|
||||
model String // "zai/glm-5", "ollama/cogito"
|
||||
isActive Boolean @default(true)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
model FederationConnection {
|
||||
id String @id @default(uuid()) @db.Uuid
|
||||
workspaceId String @map("workspace_id") @db.Uuid
|
||||
|
||||
Reference in New Issue
Block a user