Commit Graph

275 Commits

Author SHA1 Message Date
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
66bb07faf2 feat: 移除渠道md文件 2026-04-11 23:41:33 +08:00
duanshuwen
67808a459e feat: 新增定时任务功能 2026-04-11 23:17:54 +08:00
duanshuwen
37ed157e4a feat: 修复Mac打包编译 2026-04-11 17:22:29 +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
90a3ff6f77 feat: 修复ts语法报错 2026-04-10 21:32:41 +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
f0e3c12da6 feat: 更新gitignore配置 2026-04-08 09:19:24 +08:00
DEV_DSW
804a49036b feat: 更新icon 2026-04-08 09:14:37 +08:00
duanshuwen
eb9acae071 feat(build): add icon generation and external binary bundling
- Add scripts to generate application icons in multiple formats (ICO, ICNS, PNG)
- Implement download scripts for uv and Node.js binaries for cross-platform support
- Update build configuration to use new icon resources and bundled binaries
- Remove old loading screen and unused build configurations
- Fix application icon path resolution to use app resources directory
2026-04-08 07:25:25 +08:00
duanshuwen
49a8c0c1d6 chore: update gitignore for electron forge output directories
Replace outdated 'out/' directory with current Electron Forge output directories:
- dist/ for packaged applications
- release/ for release artifacts
- dist-electron/ for built Electron main process
2026-04-06 22:07:51 +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
e76b034d50 feat: 新增Mac打包配置 2026-04-03 20:30:37 +08:00
duanshuwen
e93d0ab0b1 feat: 调整配置打包 2026-04-03 20:04:40 +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
duanshuwen
2a5114a370 Merge branch 'feature/dsw' of https://git.nianxx.cn/duanshuwen/zn-ai into feature/dsw 2026-04-01 23:10:40 +08:00
duanshuwen
e152ac4625 feat: 新增打包配置 2026-04-01 23:10:33 +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
7c3f0f393d feat: 新增DMG打包配置 2026-03-25 22:17:39 +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