CUB-122: Scaffold Control Center React frontend
All checks were successful
Dev Build / build-test (pull_request) Successful in 1m57s

This commit is contained in:
2026-05-07 20:15:30 -04:00
parent cce3e061a7
commit 8da593c450
116 changed files with 10724 additions and 6611 deletions

View File

@@ -0,0 +1,64 @@
export type AgentStatus = 'active' | 'idle' | 'thinking' | 'error'
export interface Agent {
id: string
displayName: string
role: string
status: AgentStatus
currentTask?: string
taskProgress?: number
taskElapsed?: string
sessionKey: string
channel: string
lastActivity: string
errorMessage?: string
}
export interface Session {
id: string
sessionKey: string
agentId: string
channel: string
status: string
contextTokens: number
totalTokens: number
estimatedCost: number
model: string
startedAt: string
lastActivityAt: string
}
export interface Task {
id: string
agentId: string
title: string
description: string
status: string
progress?: number
sessionKey: string
createdAt: string
updatedAt: string
}
export interface Project {
id: string
name: string
description: string
status: string
agentIds: string[]
createdAt: string
updatedAt: string
}
export interface PaginatedResponse<T> {
data: T[]
totalCount: number
page: number
pageSize: number
hasMore: boolean
}
export interface ApiError {
error: string
details?: Record<string, string>
}