Commit Graph
271 Commits
Author SHA1 Message Date
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 12e43f5983 feat: add idle furniture interaction and doorway entrance animation
Idle characters now have a 40% chance to walk to nearby furniture
(water cooler, bookshelf, whiteboard, fridge) and linger for 5-15s.
Agents spawning from offline walk in from doorway tiles instead of
appearing directly at their seat.
2026-02-25 13:53:07 +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 a497240ee7 feat: add camera emoji furniture with flash effect on right room desk
Add emoji-based furniture rendering support. Camera placed at center of
right room desk with a radial flash effect every 10 seconds. Fix surface
item z-sorting for fractional positions.
2026-02-25 05:41:59 +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 bc4a2f1abc feat: add back-facing PC and rearrange left room for face-to-face desk layout
- Add PC_BACK sprite and furniture type for rear-view monitor
- Top 2 desks: benches above, back-facing PCs
- Bottom 2 desks: benches below, front-facing PCs
2026-02-25 04:48:37 +08:00
xmanrui 55a123a659 feat: add horizontal wood table, rearrange left room layout, fix fractional seat pathfinding
- Add TABLE_WOOD_SM_HORIZONTAL type with transposed sprite
- Left room: 4 horizontal desks in 2x2 grid with benches and PCs
- Support fractional furniture positions (half-tile offset for centering)
- Round seat coords for pathfinding while keeping fractional x/y for visual alignment
2026-02-25 04:42:00 +08:00
xmanrui e6dec3623c style: improve agent label visibility with larger gold text and darker shadow 2026-02-25 03:49:07 +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 9775828a05 style: add alternating dotted horizontal grid lines for ceramic tile effect 2026-02-25 03:31:06 +08:00
xmanrui 3cef998727 style: thicken floor grid lines for better ceramic tile effect 2026-02-25 03:19:58 +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 5f36288eb4 docs: update features list and add Chinese README 2026-02-24 17:03:41 +08:00
xmanrui f071d6b616 docs: update README background to reflect current project features 2026-02-24 16:57:18 +08:00
xmanrui 3dd2ad461b update README.md 2026-02-24 16:37:20 +08:00
xmanrui 0c8baf27a7 update README.md 2026-02-24 15:58:24 +08:00
xmanrui 78f22aafad update README.md 2026-02-24 15:55:31 +08:00
xmanrui 3757072f57 fix: rename Agent status label to DM Session in platform test results v1.0.0 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