Commit Graph

243 Commits

Author SHA1 Message Date
DEV_DSW
7bd5a1aa20 feat: update language storage key and enhance theme button styles 2026-04-16 09:49:24 +08:00
duanshuwen
ad898b757a feat: add AddChannelDialog component and integrate channel settings in TaskCenter 2026-04-15 23:02:43 +08:00
duanshuwen
0191969a1b feat: enhance dialog styles and structure in ChatHistory and TaskOperationDialog components 2026-04-15 22:36:25 +08:00
duanshuwen
d8c99ce38d feat: enhance TaskOperationDialog with improved form labels and structure 2026-04-15 22:30:19 +08:00
duanshuwen
83015e388e feat: enhance dialog titles and layout in ChatHistory component 2026-04-15 22:20:34 +08:00
duanshuwen
e77c815a86 feat: add new stores for cron, locale, providers, script, shared data, skills, and user info
- Implemented `cron` store to manage scheduled tasks with CRUD operations.
- Created `locale` store for language settings with persistence and system language detection.
- Added `providers` store to handle provider accounts and configurations with API interactions.
- Developed `script` store for managing automation scripts, including recording and execution.
- Introduced `sharedStore` for managing shared data across components.
- Established `skills` store for fetching, installing, and managing skills from a marketplace.
- Created `userinfo` store for user authentication and session management.

chore: update path aliases from `@store` to `@stores` in TypeScript configuration and Vite config
2026-04-15 21:49:25 +08:00
duanshuwen
364db041eb feat: enhance dark mode support across various components
- Updated styles in AccountSetting, SystemConfig, Version, and other components to improve dark mode visibility.
- Added dark mode classes for text and background colors to ensure better contrast and readability.
- Modified CSS variables in dark.css for consistent theming.
- Improved accessibility by ensuring all text elements are legible in dark mode.
2026-04-15 21:17:08 +08:00
duanshuwen
43801ba51b feat: refactor settings page by removing unused components and updating Task component integration 2026-04-15 19:31:15 +08:00
duanshuwen
9769856fe0 feat: remove unused components and related files from rate and order pages 2026-04-15 19:17:41 +08:00
DEV_DSW
78d3235ab6 feat: enhance token usage tracking and history management
- Updated HTML assets for improved loading.
- Integrated token usage tracking in chat processing, appending usage details to transcripts.
- Enhanced OpenAIProvider to include usage data in chat completion responses.
- Implemented asynchronous retrieval of recent token usage history.
- Added utility functions for managing transcript files and parsing usage data.
- Updated UI components to reflect changes in usage status handling.
- Ensured consistent usage status definitions across the application.
2026-04-15 11:45:33 +08:00
DEV_DSW
9afb518a19 feat: update TitleBar component for platform-specific styling and integrate into login page 2026-04-15 10:31:43 +08:00
duanshuwen
b5a67ff650 feat: implement custom window controls and replace header bar with title bar
- Add window handlers for minimize, maximize, close, and check if maximized in ipcMain.
- Update preload script to use new window control IPC events.
- Refactor window service to remove old IPC event handlers and use new handlers.
- Remove old HeaderBar and DragRegion components, replacing them with a new TitleBar component.
- Update Layout component to use TitleBar instead of HeaderBar.
- Remove useWinManager hook as its functionality is now integrated into TitleBar.
- Update login page to remove HeaderBar and adjust layout accordingly.
- Update constants to remove old window IPC events.
- Update package dependencies to replace @iconify/vue with @lucide/vue.
2026-04-14 23:38:42 +08:00
DEV_DSW
6fd51d04dd feat: 移除对销售任务项的处理逻辑 2026-04-14 20:56:11 +08:00
DEV_DSW
fbec7088c6 feat: 完善对话功能,自动设置默认模型账户并优化界面布局 2026-04-14 20:54:54 +08:00
DEV_DSW
c61e41049f feat: 重构对话功能 2026-04-14 17:02:20 +08:00
duanshuwen
b3f07c4cfe feat: 新增开发规划 2026-04-14 07:36:40 +08:00
duanshuwen
66db6c462e feat: 脚本录制功能完善 2026-04-12 22:12:57 +08:00
duanshuwen
6432634d17 feat: 调整脚本功能 2026-04-12 17:01:04 +08:00
duanshuwen
c16fc93685 feat: 新增脚本录制功能 2026-04-12 15:46:28 +08:00
duanshuwen
67808a459e feat: 新增定时任务功能 2026-04-11 23:17:54 +08:00
duanshuwen
b1ca06bb07 feat: 新增技能功能 2026-04-11 10:55:11 +08:00
duanshuwen
825fe36967 feat: 新增技能相关功能 2026-04-10 23:03:56 +08:00
duanshuwen
d2d6ecaa68 feat: 修改侧边菜单样式 2026-04-10 21:32:41 +08:00
duanshuwen
b0539c895a feat: add skills file 2026-04-10 21:32:41 +08:00
duanshuwen
5f542715cb feat(models): add models configuration page with provider management and token usage
- Replace "Task Center" with "Models" in sidebar and routing
- Add new models configuration page with AI provider account management
- Implement token usage history with filtering, grouping, and visualization
- Create provider store with Pinia for state management
- Add internationalization support for models feature
- Include development analysis documentation for feature implementation
2026-04-09 21:49:52 +08:00
duanshuwen
6d2991e595 feat(i18n): add internationalization support for knowledge module
- Add English, Chinese, and Japanese translations for knowledge management UI
- Update knowledge page and components to use i18n strings
- Fix menu ID inconsistency in sidebar component
- Improve sidebar active state handling with route watcher
- Update text color binding in sidebar to use style binding
2026-04-09 20:05:51 +08:00
DEV_DSW
064856ab2d feat(i18n): add internationalization support for settings pages
- Initialize locale store in App.vue alongside theme store
- Replace hardcoded menu labels with i18n keys in system-config.ts
- Add English, Chinese, and Japanese translations for settings content
- Integrate vue-i18n in SystemConfig, AccountSetting, and Version components
- Update UI components to use translated strings for all user-facing text
- Implement language switching functionality in settings page
2026-04-09 16:52:54 +08:00
DEV_DSW
1aa28a7808 feat: add auto-update functionality with settings UI
- Implement electron-updater integration with IPC handlers for update operations
- Add Pinia store for managing update state and user preferences
- Create settings UI with version display, update controls, and auto-update toggles
- Update IPC constants and preload API for update-related communication
- Refactor preload invoke methods to use async IPC consistently
- Add rounded corners to settings page layout for better visual consistency
2026-04-09 15:15:23 +08:00
duanshuwen
a8bfbff0e9 feat(theme): implement comprehensive theme management system
Add full theme support with light, dark, and system modes, including:
- Theme store using Pinia for state management
- useTheme composable for reactive theme handling
- Theme setting UI in settings page
- Enhanced CSS variable system with Tailwind integration
- IPC communication for theme persistence
- Internationalization support for theme texts
- System theme detection and auto-switching

The implementation follows ClawX's architecture while adapting to Vue 3 and zn-ai's existing infrastructure.
2026-04-08 23:46:41 +08:00
duanshuwen
3ef3392808 Merge branch 'feature/package' of https://git.nianxx.cn/duanshuwen/zn-ai into feature/package 2026-04-08 21:24:57 +08:00
duanshuwen
c3825e6d43 feat(ui): add hover effects to window control buttons
Add hover background and text color changes to minimize, maximize, and close buttons in the header bar for better visual feedback. The close button now turns red on hover for clearer destructive action indication.

Remove backup package.json file and add comprehensive agent system development plan document (agents.md) detailing architecture analysis and implementation roadmap.
2026-04-08 21:24:51 +08:00
DEV_DSW
804a49036b feat: 更新icon 2026-04-08 09:14:37 +08:00
duanshuwen
2f627d6705 style(ui): enhance hover states for interactive elements
Improve user experience by adding consistent hover effects to clickable elements:
- ChatHistory "New Conversation" button now shows background and border color changes
- TaskCenter task items get subtle background change on hover
Both changes maintain visual consistency with the application's color scheme.
2026-04-06 21:56:57 +08:00
duanshuwen
6062120105 chore(deps): update electron to ^40.8.5 and reorder devDependencies
feat(home): add task operation dialog and improve UI interactions

- Add TaskOperationDialog component to home page and connect via event emitter
- Enhance ChatBox "智能问数" button with hover styles and cursor pointer
- Improve ChatInputArea button hover states and cursor styling
- Fix selector logic in fg_trace.js to handle date column bounds checking
- Reorder package.json dependencies for consistency
2026-04-06 21:03:31 +08:00
duanshuwen
6615d11dd6 chore: restructure project and add i18n support
- Reorganize project structure with new electron and shared directories
- Add comprehensive i18n support with Chinese, English, and Japanese locales
- Update build configurations and TypeScript paths for new structure
- Add various UI components including chat interface and task management
- Include Windows release binaries and localization files
- Update dependencies and fix import paths throughout the codebase
2026-04-06 14:39:06 +08:00
duanshuwen
218c21bddc Merge branch 'feature/zoujing' of https://git.nianxx.cn/duanshuwen/zn-ai into feature/dsw 2026-04-03 10:15:49 +08:00
DEV_DSW
242a77856e Merge branch 'feature/dsw' of https://git.nianxx.cn/duanshuwen/zn-ai into feature/dsw 2026-04-01 10:41:55 +08:00
DEV_DSW
134d299857 feat: 新增DB文件 2026-04-01 10:41:48 +08:00
duanshuwen
20bf7ad7da feat: 修改运行时窗口图标配置 2026-03-28 16:19:45 +08:00
duanshuwen
280abcecbe fix: 修复脚本依次执行问题 2026-03-25 22:03:51 +08:00
duanshuwen
15139bd606 feat: 新增打包属性配置 2026-03-25 21:06:17 +08:00
848e8a6271 Merge branch 'feature/dsw' of https://git.nianxx.cn/duanshuwen/zn-ai
# Conflicts:
#	src/renderer/views/home/ChatBox.vue
#	src/renderer/views/home/index.vue

合并代码
2026-03-19 19:43:10 +08:00
DEV_DSW
0dc7f39db2 fix: 修复打包编译自动化异常问题 2026-03-19 16:55:31 +08:00
DEV_DSW
37be5e8ba7 feat: 修改脚本文件后缀名为.js 2026-03-19 14:54:13 +08:00
DEV_DSW
8902e59c2a fix: 修复一键打开渠道出现无关标签 2026-03-19 11:14:52 +08:00
duanshuwen
c4a0e4f9a4 feat: 编译exe问题调试 2026-03-19 08:45:07 +08:00
duanshuwen
67850c63f7 feat: 打包配置问题修复 2026-03-16 22:07:59 +08:00
duanshuwen
2fc8ad3140 feat: 完成美团|抖音自动化脚本 2026-03-14 22:47:15 +08:00
duanshuwen
a6f010a1f4 feat: 一键打开渠道|渠道开关房脚本问题修复 2026-03-13 22:49:15 +08:00
duanshuwen
792746bfb2 feat: 新增一键打开渠道脚本 2026-03-12 22:31:18 +08:00