6cbdf95596
fix(agent-office): critical bug fixes from code review — wall pathfinding, drag/click, DPR, culling
...
- Pathfinder.setBlocked: remove blocked.clear() to preserve wall tiles set by setWalls()
- Pathfinder.findPath: fix dead-code goal exception — remove redundant isBlocked check, keep goal-tile exception in single guard
- OfficeRenderer: track mouseDownPos/_wasDragging; expose wasDragging() method for click-after-drag suppression
- OfficeRenderer._render: track _lastDpr to detect monitor DPR changes; use setTransform instead of scale to avoid accumulation
- TileMap.render: use clientWidth/clientHeight for viewport culling (CSS space, not buffer pixels)
- TaskTab: wrap JSON.parse in try/catch to prevent crash on malformed result_data
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-27 09:40:08 +09:00
3e4f2e0934
chore(agent-office): remove legacy dashboard components replaced by v2 UI
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-27 08:38:18 +09:00
31fc2dfb0d
refactor(agent-office): rewrite CSS for full-screen canvas layout with mobile bottom sheet
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-27 08:38:15 +09:00
403046c4d0
refactor(agent-office): rewrite AgentOffice with full-screen canvas and side panel
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-27 08:38:11 +09:00
b03f438935
refactor(agent-office): rewrite useOfficeCanvas hook for new renderer API
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-27 08:38:07 +09:00
22a37cf6d9
refactor(agent-office): extend useAgentManager with lotto agent and refresh triggers
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-27 08:38:04 +09:00
6bd6cbd635
feat(agent-office): add SidePanel container with 4-tab layout
2026-04-27 08:35:00 +09:00
4c930c2cf8
feat(agent-office): add LogTab with auto-scroll and level coloring
2026-04-27 08:34:56 +09:00
efeecadbef
feat(agent-office): add TokenTab with usage stats and cache hit rate
2026-04-27 08:34:53 +09:00
a712a2f43b
feat(agent-office): add TaskTab component with expandable task history
2026-04-27 08:34:50 +09:00
ce245609f9
feat(agent-office): add CommandTab with quick actions, params, and approval UI
2026-04-27 08:34:48 +09:00
43904d033a
feat(agent-office): add TopBar component with theme and zoom controls
2026-04-27 08:34:45 +09:00
379ad41e32
feat(agent-office): add overlay renderer with labels, badges, and speech bubbles
2026-04-27 08:33:36 +09:00
f3de315272
refactor(agent-office): wire real AgentSprite import, remove Phase 1 stub
2026-04-27 08:32:22 +09:00
71fe91cc85
feat(agent-office): add SpriteLoader with procedural fallback for Phase 2
2026-04-27 08:32:19 +09:00
7dd2cc9793
refactor(agent-office): rewrite AgentSprite with BFS movement and idle wandering
2026-04-27 08:32:16 +09:00
f01a432329
feat(agent-office): add 16x32 procedural sprite with 5 states and 4 directions
2026-04-27 08:32:13 +09:00
d4279f2e3b
refactor(agent-office): rewrite OfficeRenderer with game loop, zoom/pan, Y-sorting
2026-04-27 08:29:02 +09:00
8207205418
feat(agent-office): add procedural furniture renderer with theme support
2026-04-27 08:28:59 +09:00
95b3f2b37c
refactor(agent-office): rewrite TileMap with theme support and viewport culling
2026-04-27 08:28:56 +09:00
eab8ef295b
feat(agent-office): add BFS pathfinder for agent movement
2026-04-27 08:28:53 +09:00
f11f9c529e
feat(agent-office): expand office map to 32x20 with 5 agents and break room
2026-04-27 08:28:49 +09:00
d24c04f9fa
feat(agent-office): add theme data definitions (modern/retro/minimal)
2026-04-27 08:28:46 +09:00
28a80b5bd7
feat(agent-office): 모바일 반응형 — 바텀시트 에이전트 상세
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-23 14:55:40 +09:00
104a34912f
feat(agent-office): 모바일 반응형 세로 스택 + 작업 시간 표기 개선
...
- 768px 이하에서 대시보드 세로 스택 + 에이전트 카드 아코디언 토글
- waiting/알림 있을 때 자동 펼침 및 좌측 강조 바
- 픽셀 오피스 캔버스 모바일 높이 140px로 축소 후 상단 배치
- 최근 작업 시간: completed_at 우선 + 오늘/어제/MM-DD HH:MM 포맷
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-15 00:19:32 +09:00
6728b2269e
feat(agent-office): Blog + Realestate 에이전트 UI 추가
...
- AGENT_META/IDS에 blog/realestate 추가 (4 컬럼 대시보드)
- SpriteSheet: 블로그(노트북 액센트)/청약(서류가방 액센트) 픽셀 캐릭터
- office-map: 사무실 책상 4개로 확장, blog_desk/realestate_desk waypoint 추가
- AgentColumn/ChatPanel: 에이전트별 퀵 명령 버튼 (키워드 리서치, 매칭 리포트 등)
- CommandColumn: 타겟 선택지 4명, 빠른 명령 6개, 아이콘 맵핑
- DocumentPanel: 에이전트별 탭 4개
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-13 03:06:19 +09:00
cfc45fc43f
feat(agent-office): AI 토큰 사용량 뱃지 표시
...
- api.js: getAgentTokenUsage 헬퍼 추가
- AgentColumn: 헤더에 오늘 토큰 사용량 뱃지 (🧮 N,NNN)
- 30초 폴링 + state 변경 시 즉시 갱신
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-13 01:44:37 +09:00
a165d6271f
refactor(agent-office): dashboard layout with agent columns + CEO command panel
...
- Restructure layout: dashboard (top, 3 columns) + office canvas (bottom, 280px)
- AgentColumn: per-agent status, quick commands, approval UI, task history
- CommandColumn: CEO command input with agent selector, quick shortcuts, history
- Remove overlay panels (ChatPanel/DocumentPanel) - integrated into dashboard
- Office canvas shrunk to compact strip at bottom
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-11 15:32:07 +09:00
deb285695a
feat(agent-office): notification badges + CEO desk document panel + telegram test
...
- Add notification state management with badge counts in useAgentManager
- Render exclamation badge on agent sprites (separate from status icons)
- Add CEO desk document icon with click-to-open activity panel
- Create DocumentPanel with unified activity feed + per-agent detail tabs
- Add telegram test button to stock agent ChatPanel
- Remove TaskHistory + bottom toolbar (replaced by DocumentPanel)
- Add getActivityFeed API helper
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-11 15:19:14 +09:00
25715a2198
feat: Agent Office — AI 에이전트 가상 오피스 ( #2 )
...
## Summary
- Canvas 2D 픽셀아트 오피스 렌더링 (SpriteSheet + TileMap + AgentSprite)
- WebSocket 실시간 에이전트 상태 동기화 (useAgentManager)
- ChatPanel (명령/승인) + TaskHistory (작업 이력) UI
- 다크 테마 + glassmorphism 패널
## Changes (7 commits)
- API helpers + route + Lab entry
- Canvas engine: SpriteSheet, TileMap, AgentSprite, OfficeRenderer
- React hooks: useAgentManager, useOfficeCanvas
- Components: ChatPanel, TaskHistory
- Main page + CSS
- Code review fixes: claude agent 참조 제거, rejected 배지 추가
Reviewed-on: #2
2026-04-11 13:35:35 +09:00