Commit Graph

12 Commits

Author SHA1 Message Date
paisley
19b5b2d540 fix(ui): prevent render crashes on malformed backend arrays (#384) 2026-03-10 14:43:19 +08:00
DigHuang
905ce02b0b feat(ui): refactor style ui & add Models page with provider settings (#379) 2026-03-10 11:39:56 +08:00
Lingxuan Zuo
3d804a9f5e refactor IPC (#341) 2026-03-08 11:54:49 +08:00
paisley
5049709c5d fix(ui): use custom ConfirmDialog for deletions to prevent input blocking on Windows (#282) 2026-03-04 11:38:16 +08:00
Haze
4d948347ea fix(cron): remove cron task channel config (#222)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
2026-02-28 15:14:02 +08:00
paisley
6e09a69f4f feat(app): i18n (#48) 2026-02-11 15:34:53 +08:00
paisley
905b828e9b fix crontab task (#19) 2026-02-09 18:59:21 +08:00
Haze
e6317cafd6 chore(frontend): fix corn task (#3) 2026-02-07 01:28:38 +08:00
Haze
9fe27e3510 chore(lint): remove ESLint configuration file and update lint scripts
- Deleted the .eslintrc.cjs file to simplify configuration management.
- Updated lint scripts in package.json to remove unnecessary extensions for linting.
- Added new devDependencies for ESLint and globals to enhance linting capabilities.
2026-02-06 05:50:20 +08:00
Haze
a04aaf54e3 feat(cron): Enhance scheduled tasks with create/edit dialog and presets
- Add TaskDialog component for creating/editing cron jobs
- Implement schedule presets (every minute, hourly, daily, weekly, monthly)
- Add human-readable cron schedule parsing
- Enhance CronJobCard with run now, edit, delete actions
- Add failed tasks counter to statistics
- Show last run success/failure with timestamps
- Integrate channel selection for task targets
- Add gateway connection status awareness
- Update process.md to reflect project completion
2026-02-05 23:48:48 +08:00
Haze
1646536e40 feat(gateway): enhance gateway process management with auto-reconnection
Improve Gateway lifecycle management with the following features:

- Add exponential backoff reconnection (1s-30s delay, max 10 attempts)
- Add health check monitoring every 30 seconds
- Add proper restart method with graceful shutdown
- Handle server-initiated notifications (channel status, chat messages)
- Add 'reconnecting' state for better UI feedback
- Enhance IPC handlers with isConnected and health check endpoints
- Update preload script with new event channels
- Improve type safety and error handling throughout

Also fixes several TypeScript errors and unused variable warnings.
2026-02-05 23:15:07 +08:00
Haze
b8ab0208d0 feat(core): initialize project skeleton with Electron + React + TypeScript
Set up the complete project foundation for ClawX, a graphical AI assistant:

- Electron main process with IPC handlers, menu, tray, and gateway management
- React renderer with routing, layout components, and page scaffolding
- Zustand state management for gateway, settings, channels, skills, chat, and cron
- shadcn/ui components with Tailwind CSS and CSS variable theming
- Build tooling with Vite, electron-builder, and TypeScript configuration
- Testing setup with Vitest and Playwright
- Development configurations (ESLint, Prettier, gitignore, env example)
2026-02-05 23:09:17 +08:00