Expand the frontend with brain, graph, and chat workspace updates so the new backend orchestration and memory features have matching screens. These changes also wire the new APIs into routing and add focused view and routing tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
257 B
TypeScript
15 lines
257 B
TypeScript
import api from './index'
|
|
|
|
export interface SystemStatus {
|
|
cpu_percent: number
|
|
memory_percent: number
|
|
disk_percent: number
|
|
timestamp: string
|
|
}
|
|
|
|
export const systemApi = {
|
|
getStatus() {
|
|
return api.get<SystemStatus>('/api/system/status')
|
|
},
|
|
}
|