feat(agent-office): AI 토큰 사용량 뱃지 표시

- api.js: getAgentTokenUsage 헬퍼 추가
- AgentColumn: 헤더에 오늘 토큰 사용량 뱃지 (🧮 N,NNN)
- 30초 폴링 + state 변경 시 즉시 갱신

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-13 01:44:37 +09:00
parent a165d6271f
commit cfc45fc43f
3 changed files with 39 additions and 1 deletions

View File

@@ -89,6 +89,18 @@
.ao-col-state--break { background: #4c1d95; color: #c4b5fd; }
.ao-col-state--offline { background: #1f1f1f; color: #555; }
.ao-col-tokens {
font-size: 0.7rem;
color: #8b5cf6;
background: rgba(139, 92, 246, 0.12);
padding: 2px 8px;
border-radius: 8px;
margin-left: 6px;
cursor: help;
font-family: 'Courier New', monospace;
white-space: nowrap;
}
.ao-col-badge {
background: #f43f5e;
color: #fff;