Files
JARVIS/frontend/src/api/system.ts
DESKTOP-72TV0V4\caoxiaozhu 7d80a6e2ec Add brain and chat workspace views
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>
2026-03-22 13:48:16 +08:00

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')
},
}