fix(api): use generic mosaic-* naming in OpenClawGateway schema and tests
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

Replaces all jarvis-* references with mosaic-* for generic multi-user deployment.
This commit is contained in:
2026-03-01 08:04:55 -06:00
parent c847b74bda
commit b13ff68e22
4 changed files with 27 additions and 35 deletions

View File

@@ -1409,10 +1409,10 @@ model Instance {
model OpenClawAgent {
id String @id @default(cuid())
name String @unique // "jarvis-main", "jarvis-projects", etc.
displayName String // "Jarvis (Main)", etc.
name String @unique // "mosaic-main", "mosaic-projects", etc.
displayName String // "Main Orchestrator", "Projects", etc.
role String // "orchestrator" | "developer" | "researcher" | "operations"
gatewayUrl String // "http://jarvis-main:18789"
gatewayUrl String // "http://mosaic-main:18789"
agentId String @default("main") // OpenClaw agent id within that instance
model String // "zai/glm-5", "ollama/cogito"
isActive Boolean @default(true)