Commit Graph
101 Commits
Author SHA1 Message Date
xmanrui 487b081d44 perf: compress photograph from PNG (1.9MB) to WebP (206KB)
90% size reduction with cwebp quality 80.
2026-02-25 19:58:44 +08:00
xmanrui 274c19db6f feat: display photograph on right room wall
Load photograph.png and render it on the right work room's top wall,
scaled 4/3x with bottom-anchored positioning.
2026-02-25 18:49:41 +08:00
xmanrui 0e36beb073 feat: add GitHub-style contribution heatmap on left room top wall
Mock 52×7 green heatmap rendered on the top wall of the left room,
using GitHub's 5-level color scheme. Follows zoom and pan.
2026-02-25 16:32:20 +08:00
xmanrui f820792b41 feat: add page title, PC emoji with rotation support
- Add i18n title "OpenClaw Agents 两室一厅办公室" to pixel office page
- Replace PC sprites with 💻 emoji, camera-only flash effect
- Add rotation field to PlacedFurniture/FurnitureInstance for emoji rotation
- Adjust PC positions for better visual alignment with desks
2026-02-25 15:42:08 +08:00
xmanrui 5dda9ba96b fix: align alert config types and fix minor issues
- Add checkInterval and default rules to check/route.ts AlertConfig
- Add directory creation in check/route.ts saveAlertConfig
- Make POST /api/alerts accept body and save config like PUT
2026-02-25 14:22:36 +08:00
xmanrui 74b50975b9 fix: resolve pre-existing TypeScript errors in alerts and page
Add missing checkInterval to AlertConfig, targetAgents to AlertRule,
and replace invalid SVG title prop with aria-label.
2026-02-25 13:54:08 +08:00
xmanrui 2391038f27 style: move theme and language switchers below logo in sidebar header
Prevents sidebar header buttons from overlapping pixel-office agent tags.
2026-02-25 05:49:36 +08:00
xmanrui 1de7fa6a2b feat: add i18n agent status labels, color-coded tags, and working state effects
- Add i18n for agent states (working/idle/offline/waiting) in zh/en
- Working tag: green with pulse animation
- Idle tag: yellow with pulse animation
- Offline tag: slate gray, clearly visible
- Working character label: green with breathing blink effect
2026-02-25 05:21:56 +08:00
xmanrui 4105b9dd6d fix: extend agent working/idle/offline time thresholds
- Working: 30s → 2min, Idle: 5min → 10min, Offline: >10min
2026-02-25 03:42:02 +08:00
xmanrui 4f8e73bfae fix: improve floor rendering with seamless tiles and ceramic grid effect
- Use fillRect for floor tiles to eliminate hairline seams between tiles
- Add subtle half-tile grid overlay for ceramic tile floor effect
- Auto-fit zoom uses 0.5-step floor for pixel-perfect screen fit
2026-02-25 03:17:19 +08:00
xmanrui 6204ec899a feat: enrich Pixel Office with tileset sprites, PNG character/wall loading, and richer default layout
- Add 15 tileset furniture sprites recovered from git history
- Extend FurnitureType with 15 new types (tables, chairs, bench, decor, paintings)
- Expand furniture catalog with all new entries
- Load character sprites from PNG sheets (6 characters) and wall tiles from walls.png
- Redesign default layout to 21x17 multi-room office with 40 furniture pieces
- Auto-fit zoom to screen with pixel-perfect integer scaling
2026-02-25 02:46:52 +08:00
xmanrui eebe431560 feat: implement Pixel Office Phase 2 - layout editor, persistence, sound, sub-agent visualization
- Add layout editor with floor/wall paint, erase, furniture place/move/rotate/delete tools
- Add editor state management (undo/redo, selection, drag, ghost preview)
- Add EditorToolbar and EditActionBar UI components
- Add layout persistence API (GET/POST to ~/.openclaw/pixel-office/layout.json)
- Add notification sound system (Web Audio API ascending chime on agent completion)
- Add sub-agent visualization via session JSONL parsing
- Fix agent activity API to read from agents.list config and correct session paths
- Add agent name labels above character sprites in canvas renderer
- Add i18n translations for editor features (zh/en)
2026-02-25 01:39:44 +08:00
xmanrui 7b8e5affc3 feat: add weekly token usage sparkline and total token tooltip in agent cards 2026-02-24 20:03:51 +08:00
xmanrui 4701d6ad87 fix: move trend arrow next to response time value with matching color 2026-02-24 19:34:42 +08:00
xmanrui 4030eafa61 feat: add weekly response time sparkline with trend color and arrow in agent cards 2026-02-24 19:26:18 +08:00
xmanrui 01e10ca5af fix: increase working threshold to 3min, enlarge status dot icon 2026-02-24 19:10:16 +08:00
xmanrui 295020f549 feat: add real-time agent status indicator (working/online/idle/offline) with 30s polling 2026-02-24 19:01:31 +08:00
xmanrui 86057ba1d4 fix: reduce page and card spacing to fit 6 agent cards in viewport 2026-02-24 18:27:08 +08:00
xmanrui 12d24431f8 feat: add alert interval options, today avg response time with color coding, message count in agent cards 2026-02-24 18:18:45 +08:00
xmanrui 69c7966a31 fix: remove 1 minute interval option 2026-02-24 17:43:54 +08:00
xmanrui 0b828cfa98 feat: persist checkInterval to server config 2026-02-24 17:33:46 +08:00
xmanrui eec4d7a7ae feat: show default model and fallback models at top of models page 2026-02-24 17:27:57 +08:00
xmanrui 2dd557f637 refactor: move card click to agent ID badge, style as platform-like badge 2026-02-24 17:19:47 +08:00
xmanrui 3757072f57 fix: rename Agent status label to DM Session in platform test results 2026-02-24 15:44:37 +08:00
xmanrui 5778f64899 fix: improve layout for bot_no_response rule options 2026-02-24 15:23:43 +08:00
xmanrui 7d41f38701 feat: add targetAgents selection for bot_no_response rule 2026-02-24 15:20:17 +08:00
xmanrui a174cae75d fix: show gateway status placeholder '--' immediately on page load 2026-02-24 15:12:18 +08:00
xmanrui 09dfd72fe8 refactor: move alerts to monitor section in sidebar 2026-02-24 15:07:57 +08:00
xmanrui f14d9ca5ae fix: remove auto-check on page load, only check on button click 2026-02-24 15:05:04 +08:00
xmanrui 9298838cf5 feat: add gateway health status indicator on bot dashboard
- Add /api/gateway-health endpoint to check gateway service status
- Add GatewayStatus component with 10s auto-polling
- Show green checkmark when healthy, red cross with error details when down
- Click gateway badge to open OpenClaw web chat page
- Fix variable name collision in alert-monitor.tsx (setInterval shadowing)
- Add i18n translations for gateway status (zh/en)
2026-02-24 14:54:41 +08:00
xmanrui 5ea1d38e43 fix: correct sessions.json path and use open_id for feishu messages 2026-02-24 14:35:49 +08:00
xmanrui 8d1a0f3b60 fix: use agent's own feishu account to send alerts and add debug logs 2026-02-24 13:19:57 +08:00
xmanrui a93aa871a3 fix: use correct sendAlertViaFeishu function and fix sessions.json path 2026-02-24 13:00:10 +08:00
xmanrui 7579cf5609 feat: add i18n support for alert center 2026-02-23 22:56:07 +08:00
xmanrui 348f02a7c4 fix: actually test models for model_unavailable alert check 2026-02-23 22:41:26 +08:00
xmanrui 411f759dbb feat: add background alert monitoring on service startup 2026-02-23 21:22:14 +08:00
xmanrui fe146257da fix: change default check interval to 10 minutes 2026-02-23 21:03:49 +08:00
xmanrui a02a5e980f feat: add auto-check timer and interval settings for alerts 2026-02-23 21:01:26 +08:00
xmanrui 1a9029cf02 fix: send alerts via Gateway API with proper headers 2026-02-23 19:43:44 +08:00
xmanrui eefb0f29f5 fix: send alerts via Feishu API instead of Gateway 2026-02-23 19:36:42 +08:00
xmanrui 8f9e21d295 fix: use fire-and-forget for sending alert messages 2026-02-23 19:29:12 +08:00
xmanrui 4b1be9067a fix: add timeout to alert message sending 2026-02-23 19:27:43 +08:00
xmanrui d890a24f13 fix: actually send alert messages via Gateway API 2026-02-23 19:27:00 +08:00
xmanrui a03b676174 feat: add alert check API for simulating alerts 2026-02-23 19:25:08 +08:00
xmanrui d05949fd3c feat: add alert center with configurable rules 2026-02-23 19:20:49 +08:00
xmanrui cb9390eeaf fix: use consistent formatTokens function for unit display 2026-02-23 18:21:16 +08:00
xmanrui fa58f1d801 fix: calculate token usage from jsonl files instead of sessions.json 2026-02-23 18:17:42 +08:00
xmanrui 9aa643a596 fix: persist session test results across page navigation 2026-02-23 18:02:42 +08:00
xmanrui 5185741744 fix: 保持模型测试状态不随页面切换丢失 (localStorage) 2026-02-23 17:51:22 +08:00
xmanrui 811223edbe fix: 保持测试状态不随页面切换丢失 (localStorage) 2026-02-23 17:48:07 +08:00