Commit Graph

55 Commits

Author SHA1 Message Date
DEV_DSW
2eaa8951f6 feat(api): generate and update API client modules
Add new API client modules for various endpoints including authentication, orders, events, and configuration management. Update existing modules to use the standardized request utility. Add post-generation script to restore request.ts after openapi-ts generation to prevent file deletion issues.

The API client generation now includes comprehensive TypeScript types and proper request handling for all endpoints. The request utility has been enhanced to handle query parameters and response parsing consistently across all API calls.
2026-04-20 16:42:04 +08:00
duanshuwen
38bea97197 feat: Enhance Marketplace and Skill Management UI with improved error handling and user feedback
- Updated MarketplaceDrawer to include security notes and manual installation hints.
- Refactored SkillDetailDrawer to display default icons for skills.
- Simplified SkillListItem to use default icons for better readability.
- Integrated gateway status checks and warnings in SkillsPage for improved user awareness.
- Enhanced error handling for skill installation and fetching, providing clearer feedback to users.
- Added new translations for error messages and gateway warnings to improve localization support.
2026-04-19 20:33:44 +08:00
duanshuwen
ef46c73c3e Add unit tests for channel utilities and configure testing environment
- Created a new test file `channels.test.ts` to cover utilities related to channel configurations and targets.
- Implemented tests for normalizing and grouping selected channels by type, as well as building channel targets from account data and cron history.
- Mocked necessary dependencies to isolate tests and ensure accurate results.
- Updated `vite.config.ts` to set up the testing environment with jsdom and enable global variables for tests.
2026-04-18 16:12:49 +08:00
duanshuwen
ee72cf7261 feat: refactor HomePage to integrate agents store and update related components
feat: add runtime event handling for providers in ProvidersSection

feat: update routing to include Channels and Agents pages

feat: extend route types and navigation items for Channels and Agents

feat: implement agents store for managing agent data and interactions

fix: update chat store to utilize agents store for agent-related functionality

chore: export agents store from index

fix: enhance runtime types for better event handling

fix: update Vite config to handle dev server URL correctly
2026-04-18 14:56:32 +08:00
DEV_DSW
79bea4f107 Refactor UUID generation, remove unused logger and encryption utilities, and clean up request handling
- Updated `generateUUID` function for improved readability and performance.
- Deleted `logger.ts`, `other.ts`, `request.ts`, `storage.ts`, `tansParams.ts`, and `validate.ts` as they were no longer needed.
- Simplified TypeScript configuration by removing unnecessary paths and aliases.
- Enhanced Vite configuration for better project structure and maintainability.
2026-04-17 15:38:08 +08:00
duanshuwen
b1dea9a5c2 feat: implement task management store with IPC integration
- Added a new task store in `src-react/stores/task.ts` to manage tasks and their statuses.
- Implemented functions for creating, executing, and retrying tasks, along with handling task progress and completion.
- Introduced persistence for tasks using IPC.
- Created utility functions for normalizing room types and building subtasks.
- Added a new CSS file for global styles in `src-react/styles.css`.
- Created runtime types in `src-react/types/runtime.ts` and exported them.
- Updated the main entry points for Vue and React applications to support dynamic framework loading.
- Refactored chat model interfaces and utility functions into `src/shared/chat-model.ts`.
- Updated TypeScript configuration to include paths for React components and types.
- Enhanced Vite configuration to support both Vue and React frameworks.
2026-04-17 07:09:56 +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
duanshuwen
c16fc93685 feat: 新增脚本录制功能 2026-04-12 15:46:28 +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
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
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
e152ac4625 feat: 新增打包配置 2026-04-01 23:10:33 +08:00
duanshuwen
7c3f0f393d feat: 新增DMG打包配置 2026-03-25 22:17:39 +08:00
DEV_DSW
0dc7f39db2 fix: 修复打包编译自动化异常问题 2026-03-19 16:55:31 +08:00
duanshuwen
c4a0e4f9a4 feat: 编译exe问题调试 2026-03-19 08:45:07 +08:00
duanshuwen
15a7d115cb feat: 开关房功能开发 2026-03-09 07:39:14 +08:00
DEV_DSW
20e825215f feat: 浏览器自动化操作开发 2026-03-03 17:05:13 +08:00
DEV_DSW
d99f1dd98e feat: 新增任务操作功能 2026-03-02 16:55:16 +08:00
DEV_DSW
b701c419d1 feat: 任务中心模块代码调整 2026-03-02 11:40:37 +08:00
zoujing
acc3d24f78 feat: 将对话消息使用markdown 渲染 2026-01-21 15:39:59 +08:00
zoujing
dad2c7a5da feat: 改名字 2026-01-14 14:27:37 +08:00
DEV_DSW
a7ef9ec8ad feat: 登录接口联调 2025-12-23 10:49:04 +08:00
kongbeiwu
e07ad476dd Merge branch 'main' of https://git.nianxx.cn/duanshuwen/zn-ai into feature/lishaohua
# Conflicts:
#	package-lock.json
#	src/renderer/router/index.ts
2025-12-22 01:41:31 +08:00
kongbeiwu
021b09768a feat: 修改内容 2025-12-22 00:03:31 +08:00
duanshuwen
7d6b07e092 feat: 合并代码 2025-12-21 20:25:38 +08:00
duanshuwen
c9a96f1b06 feat: 新增路由鉴权 2025-12-16 21:24:42 +08:00
DEV_DSW
a7b4c23155 feat: 新增api自动生成配置 2025-12-16 11:30:08 +08:00
duanshuwen
bfc602c420 feat: 新增依赖 2025-12-14 20:44:09 +08:00
duanshuwen
aab6ffb174 feat: 语法错误修复 2025-12-09 22:18:36 +08:00
DEV_DSW
760ee8c83e feat: 新增插件依赖 2025-12-09 14:21:17 +08:00
DEV_DSW
15f69bc36c feat: 新增unplugin-auto-import 2025-12-09 11:07:52 +08:00
DEV_DSW
7a8bd433de feat: 新增@vueuse/core 2025-12-09 11:04:16 +08:00
duanshuwen
84300791a0 feat: 调整布局 2025-12-07 16:29:57 +08:00
duanshuwen
0fe4dbe2ab feat: 新增组件 2025-12-06 23:42:48 +08:00
duanshuwen
6596106da9 feat: 新增UI组件插件 2025-12-05 10:53:27 +08:00
duanshuwen
aaed2abfd8 feat: 登录页面布局 2025-11-27 22:12:03 +08:00
duanshuwen
62efe40359 feat: 登录也布局调整 2025-11-25 23:24:24 +08:00
duanshuwen
0b1e7a6679 feat: 语法错误修复 2025-11-23 15:12:15 +08:00
duanshuwen
6013c38fe7 feat: 项目结构调整|新增依赖 2025-11-22 21:17:40 +08:00
duanshuwen
38b6a4b4a3 feat: 安装bytenode插件 2025-11-20 22:34:09 +08:00
duanshuwen
a0d8b07f67 feat: 更新配置文件 2025-11-18 20:38:03 +08:00
duanshuwen
5e15a55596 feat: 新增登录跳转逻辑 2025-11-17 20:52:45 +08:00
DEV_DSW
292f7230bc feat: 移除依赖@vueuse/electron 2025-10-20 08:20:09 +08:00
duanshuwen
ac9078aa01 feat: 安装新依赖 2025-10-19 19:43:46 +08:00
duanshuwen
ebac04b786 feat: 更换应用框架为ElectronFofge 2025-10-12 14:12:29 +08:00
DEV_DSW
3aa8e85054 feat: 新增playwright 2025-09-29 17:00:51 +08:00
DEV_DSW
950b85e1e9 feat: 新增环境配置文件 2025-09-25 17:07:31 +08:00
DEV_DSW
bf83e95b7b feat: 调整项目目录结构 2025-09-24 17:15:02 +08:00