feat(infra): naver-fetch 워커 2D 표시 — fetcher 라벨·수집 상태·Naver Fetch 타이틀
BE가 /api/agent-office/nodes에 등재한 naver-fetch(kind=fetcher) 워커 카드가
데이터 구동 2D 패널에 자동 표시되도록 statusVisual 매핑 보강.
- kindLabel('fetcher') → '수집 워커'
- workerStateLabel state:'fetching' → '수집 중'
- WORKER_TITLES 'naver-fetch' → 'Naver Fetch'
TDD: statusVisual.test.js 3케이스 추가(RED→GREEN).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UHXzpsZQxKG9hQmNRfZjRS
This commit is contained in:
@@ -29,6 +29,8 @@ export function workerStateLabel(w) {
|
||||
return '장중';
|
||||
case 'market_closed':
|
||||
return '휴장';
|
||||
case 'fetching':
|
||||
return '수집 중';
|
||||
default:
|
||||
return '온라인';
|
||||
}
|
||||
@@ -54,6 +56,7 @@ export const WORKER_TITLES = {
|
||||
'insta-render': 'Insta Render',
|
||||
'task-watcher': 'Task Watcher',
|
||||
ai_trade: 'AI Trade',
|
||||
'naver-fetch': 'Naver Fetch',
|
||||
};
|
||||
|
||||
export function workerTitle(name) {
|
||||
@@ -65,5 +68,6 @@ export function kindLabel(kind) {
|
||||
if (kind === 'render') return '렌더 워커';
|
||||
if (kind === 'watcher') return '작업 감시';
|
||||
if (kind === 'trader') return '트레이딩';
|
||||
if (kind === 'fetcher') return '수집 워커';
|
||||
return kind || '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user