Commit Graph

124 Commits

Author SHA1 Message Date
wizardchen 4a9977b11f feat: enhance document loading and state management in doc-content component
- Introduced a loading state (`loadingChunks`) to manage document chunk loading more effectively.
- Updated the scroll handling logic to prevent multiple requests while loading chunks.
- Adjusted the pagination logic to ensure correct page increments based on the total document count.

This update improves the user experience by ensuring smoother document loading and better state management during scrolling interactions.
2026-03-02 21:21:49 +08:00
wizardchen 469f320d10 feat: enhance storage engine configuration and UI updates
- Updated `.air.toml` to include additional CGO flags for improved build settings.
- Expanded `StorageEngineConfig` interface to support "tos" (火山引擎 TOS) as a new storage provider.
- Modified related components and views to accommodate the new storage engine, including updates to `ListSpaceSidebar`, `AgentList`, `KnowledgeBaseList`, and `OrganizationList`.
- Improved UI elements for batch management in the menu and sidebar components.
- Added internationalization support for new memory features and storage engine descriptions across multiple languages.

This update enhances the flexibility of storage options and improves user experience with better UI interactions.
2026-03-02 21:21:49 +08:00
wizardchen 397689d2f3 feat: introduce WeKnora Lite edition with lightweight configuration and deployment
- Added a new `.env.lite.example` file for the Lite version, providing a minimal configuration template.
- Updated `.env.example` to remove deprecated variables and include new Docreader settings.
- Enhanced Docker configurations to support the Lite version, including a new Dockerfile for the Docreader service.
- Introduced a Makefile target for building and running the Lite version, along with packaging capabilities.
- Created GitHub workflows for building and releasing Lite binaries, including Homebrew formula support.
- Implemented a new service file for managing the Lite version as a system service.

This update enables a streamlined, single-binary deployment of WeKnora, reducing external dependencies and simplifying setup.
2026-03-02 21:21:49 +08:00
Li Xianggang d28a370931 feat: add fullscreen mermaid viewer with zoom, pan, toolbar and export 2026-03-02 21:04:51 +08:00
Li Xianggang db21694dd5 feat: support mermaid display 2026-03-02 21:04:51 +08:00
Andy Yang 92e95b19ed fix: batch manage dialog now loads all sessions independently from API 2026-03-02 20:42:39 +08:00
Andy Yang c989c57812 fix: prevent modal from closing when text selection extends beyond dialog boundary 2026-03-02 20:42:39 +08:00
AndyYang 172bf797ee feat(chat): add batch management for conversations 2026-02-25 14:23:05 +08:00
wizardchen 10b6c98078 feat(ui): enhance resource management in ListSpaceSidebar and KnowledgeBaseList
- Added support for displaying shared knowledge bases in the ListSpaceSidebar, allowing users to see resources shared with them.
- Updated the KnowledgeBaseList to include a section for shared knowledge bases, improving visibility and access to collaborative resources.
- Enhanced internationalization support by adding relevant translations for shared knowledge bases in both English and Chinese.
- Refactored the agent editor modal to categorize knowledge bases into 'My Knowledge Bases' and 'Collaborative Knowledge Bases', streamlining user selection and interaction.

This update improves the user experience by providing clearer access to shared resources and enhancing the overall functionality of the knowledge management system.
2026-02-10 13:11:52 +08:00
wizardchen 9a073d62bf feat(api): enhance organization shared knowledge base and agent functionalities
- Introduced new interfaces for handling shared knowledge bases and agents, including visibility and selection modes for agents.
- Added API functions to list shared knowledge bases and agents within an organization, improving data retrieval for UI components.
- Updated existing components to utilize the new API endpoints and interfaces, ensuring accurate representation of shared resources.
- Enhanced error handling in API calls to provide clearer feedback on failures.

This update improves the functionality and user experience by providing better access to shared resources and enhancing the overall data structure within the application.
2026-02-09 11:40:25 +08:00
wizardchen d3324d4592 feat(ui): enhance styling and layout consistency across components
- Updated background colors and margins in ListSpaceSidebar, KnowledgeBase, OrganizationList, and other components for a unified visual experience.
- Improved padding, font sizes, and hover effects in various UI elements to enhance readability and user interaction.
- Introduced scrollbar styling and box shadows for better aesthetics and functionality in sidebar components.

This update improves the overall user interface by ensuring consistent styling and enhancing the usability of components across the application.
2026-02-09 11:40:25 +08:00
wizardchen 4aef8938f2 feat(ui): update icon usage and enhance styling in share settings and knowledge base components
- Replaced organization icons with a new control platform icon in AgentShareSettings, ShareKnowledgeBaseDialog, and KBShareSettings for consistency.
- Added new styles for the agent icon to improve visual representation.
- Adjusted padding, margins, and layout in various components including ListSpaceSidebar, KnowledgeBase, and OrganizationList to enhance overall UI consistency and readability.
- Introduced hover effects and popover details for knowledge cards to improve user interaction and information accessibility.

This update enhances the user interface by ensuring consistent iconography and improving the layout and interaction design across components.
2026-02-09 11:40:25 +08:00
wizardchen c88cf5fc63 feat(ui): enhance styling and layout across various components
- Updated button and icon colors in ListSpaceSidebar and OrganizationList for improved visual consistency.
- Adjusted font sizes, line heights, and letter spacing in AgentList, KnowledgeBase, KnowledgeBaseList, and OrganizationList to enhance readability.
- Modified card styles in KnowledgeBase to improve layout and responsiveness, including grid adjustments and hover effects.
- Replaced organization icons with updated SVGs for better visual representation in OrganizationList.

This update improves the overall user interface by ensuring consistent styling and enhancing the readability of text elements across components.
2026-02-09 11:40:25 +08:00
wizardchen ab1f15c97d feat(input-field): enhance knowledge base selection and UI components
- Updated the logic for cleaning invalid knowledge base IDs to include checks for shared agent knowledge bases, ensuring accurate selection retention.
- Refactored the mention chip component styles and structure for improved clarity and usability, including updated class names and enhanced visual elements.
- Introduced a new context key for session tenant ID to streamline tenant context handling in message and session services, improving the accuracy of operations in shared agent scenarios.

This update enhances the user experience by ensuring correct knowledge base selections and improving the visual representation of selected items.
2026-02-09 11:40:25 +08:00
wizardchen c806eaf7f9 feat(agent): enhance agent and skill management features
- Updated the API to include disabled agent IDs for better management of user-specific agent visibility.
- Introduced a new function to set the disabled state for shared agents, allowing users to manage their shared agent preferences.
- Added a new Skills API to retrieve available skills, enhancing the overall agent capabilities.
- Improved the AgentSelector and related components to filter out disabled agents, ensuring a cleaner user experience.
- Updated localization strings to reflect new features and improve clarity in agent and skill management.

This update enhances the user experience by providing better control over agent visibility and introducing new skill management functionalities.
2026-02-09 11:40:25 +08:00
wizardchen dfaf862bc0 feat(agent): enhance agent sharing and selection features
- Updated the AgentSelector component to improve agent selection logic, ensuring accurate representation of selected agents.
- Introduced new AgentShareSettings component for managing agent sharing with organizations, including UI for selecting organizations and displaying shared agents.
- Enhanced API interactions for sharing agents, including new methods for listing and managing agent shares.
- Improved localization support for agent sharing features across multiple languages.
- Updated various components to reflect changes in agent capabilities and sharing status, enhancing user experience and clarity.

This update strengthens the agent management features, providing users with better tools for sharing and selecting agents within organizations.
2026-02-09 11:40:25 +08:00
wizardchen faa4e9e7b5 feat(input-field): enhance session creation with agent readiness checks
- Updated the createSession function to be asynchronous, allowing for pre-validation of the selected agent's configuration before session initiation.
- Implemented checks for both built-in and custom agents to ensure they are properly configured, displaying appropriate messages if not ready.
- This update improves user experience by preventing session creation with unconfigured agents, ensuring smoother interactions.
2026-02-09 11:40:25 +08:00
wizardchen 2db1f1e707 feat(knowledge): enhance UI components with improved icons and metadata
- Replaced static organization icons with the SpaceAvatar component for better visual representation in organization selection and sharing settings.
- Updated organization metadata display to include user and knowledge base share counts with new icons for clarity.
- Enhanced access information in knowledge base and FAQ entry views with improved iconography and tooltips for better user guidance.
- Adjusted styles for consistency and improved readability across various components.

This update enhances the user experience by providing clearer visuals and more informative displays related to organizations and knowledge sharing.
2026-02-09 11:40:25 +08:00
wizardchen ffbb8e1b02 feat(organization): enhance organization selection and sharing UI
- Updated organization selection dropdowns to include new SVG icons for better visual representation.
- Improved organization option layout with additional metadata display, including member count and share count.
- Enhanced share item display with organization icons and improved action buttons for better user interaction.
- Adjusted styles for organization-related components to improve usability and aesthetics.

This update enhances the user experience by providing clearer organization visuals and more intuitive sharing options.
2026-02-09 11:40:25 +08:00
wizardchen 06bb652fb5 feat(organization): add organization badge and enhance file display with organization details
- Introduced a new SVG icon for organization representation in the UI.
- Updated Input-field component to include organization names in file selections.
- Enhanced MentionSelector component to display organization badges for knowledge bases and files.
- Added localization strings for organization-related details in multiple languages.
- Improved styling for organization badges to enhance visual clarity.

This update improves the user experience by clearly indicating the organization associated with knowledge bases and files, fostering better organization management and visibility.
2026-02-09 11:40:25 +08:00
wizardchen 342e56735f feat(avatar): enhance SpaceAvatar component with emoji support
- Updated SpaceAvatar component to allow emoji-based avatars, enabling users to select emojis as their space avatar.
- Added new props and computed properties to handle emoji logic and display.
- Enhanced UI to include an emoji picker and clear option for avatars.
- Updated localization strings in English and Chinese for new avatar features.
- Adjusted styles for emoji display and interaction.

This update improves user personalization options for avatars, enhancing the overall user experience in the application.
2026-02-09 11:40:25 +08:00
wizardchen ca1b3da1df feat(organization): add member limit feature
- Introduced a new member limit feature for organizations, allowing a maximum number of members to be set (default is 50; 0 means unlimited).
- Updated API endpoints to handle member limit during organization creation and updates.
- Implemented validation to prevent adding members when the limit is reached.
- Enhanced UI components to display and manage member limits, including localization updates for English and Chinese.
- Added migration files to support the new member limit column in the organizations table.

This update improves organization management by allowing administrators to control membership size.
2026-02-09 11:40:25 +08:00
wizardchen 4158773849 feat: add organization management features
- Introduced a new API for organization management, including creation, updating, and deletion of organizations.
- Implemented organization sharing functionality for knowledge bases, allowing users to share knowledge bases with specific organizations and set permissions.
- Added UI components for organization selection and sharing dialogs.
- Enhanced existing components to support organization-related features, including shared knowledge base handling and organization role management.

This update enhances collaboration capabilities within the application by allowing users to manage and share knowledge bases across different organizations.
2026-02-09 11:40:25 +08:00
liweijie 53669876d2 docs: fix api link 2026-02-05 20:02:47 +08:00
begoniezhao 15f98d214b refactor: Simplify content merging and align with backend logic 2026-01-16 16:50:54 +08:00
wizardchen 48a0f9b508 Merge remote-tracking branch 'github_public/main' 2026-01-15 14:39:35 +08:00
Xia Dong cec722aa43 feat(knowledge): Add tag_id support for knowledge creation and file uploads
- Introduced tag_id parameter in various knowledge-related API functions to allow categorization of knowledge entries.
- Updated frontend components to handle tag_id during knowledge creation and file uploads.
- Enhanced UI store to manage the selected tag ID for better user experience in categorizing knowledge.
2026-01-14 19:39:35 +08:00
wizardchen 953e0c1a55 feat: 支持租户ID和关键词同时搜索 2026-01-14 17:09:19 +08:00
wizardchen 8c5263aef9 refactor: 统一智能体未就绪消息处理逻辑 2025-12-31 19:43:11 +08:00
wizardchen d72b6997cb feat: 添加智能体文件类型限制,内置数据分析师智能体 2025-12-31 18:25:58 +08:00
wizardchen 884153aeb8 feat: 增强模型选择和错误处理机制
优化模型ID传递逻辑,支持请求级别的模型覆盖;完善流式响应的错误处理
2025-12-31 15:36:20 +08:00
wizardchen ffd83951ff feat: 新增全文合并视图模式
支持将重叠文档块智能合并为完整文档,优化Markdown渲染,新增全文/分块视图切换,移除代码块复制按钮
2025-12-31 15:36:20 +08:00
wizardchen 8832d70e19 refactor: 移除模型锁定逻辑允许自由切换 2025-12-30 19:44:53 +08:00
wizardchen 89e75bb6fe feat: 优化内置智能体配置同步机制
改进内置智能体与自定义智能体的配置合并逻辑,确保内置智能体能正确应用API配置和默认值,同时优化了系统提示词的分离管理。
2025-12-30 14:35:10 +08:00
wizardchen 6583861586 fix: 优化菜单删除逻辑并更新总数 2025-12-30 14:35:10 +08:00
wizardchen c9a6c3134a Merge branch 'custom_agent' 2025-12-29 17:01:23 +08:00
nullkey e9a2a7b3e5 feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00
wizardchen 6bc19ab082 feat: 统一系统提示词并优化智能体选择器界面
- 将系统提示词从分离的网络搜索开/关状态合并为统一提示词,使用 {{web_search_status}} 占位符动态控制行为
- 重构智能体选择器,从简单tooltip升级为内容丰富的popup,显示智能体详细信息、类型和能力
- 新增FAQ优先策略配置,支持FAQ答案优先于普通文档
- 优化知识库选择逻辑,智能体切换时自动同步配置的知识库
- 更新相关接口类型定义和国际化文本
2025-12-28 21:46:42 +08:00
wizardchen 0ca947981a refactor: 调整智能体配置,增强智能体选择与状态管理 2025-12-26 21:31:02 +08:00
wizardchen abfe87eaed feat: 重构提示词模板系统,新增多场景模板配置支持;优化智能体知识库选择模式,支持全部/指定/禁用三种模式 2025-12-25 18:22:36 +08:00
wizardchen d0c5c4f6b0 feat: 新增智能体功能模块,支持自定义智能体创建、配置和选择 2025-12-24 10:34:41 +08:00
wizardchen 1ac663fc3f feat: 优化输入框placeholder动态显示逻辑,支持基于知识库和网络搜索状态的个性化提示 2025-12-22 13:11:31 +08:00
wizardchen 58ae0d8350 feat: 支持在消息流中展示@的知识库和文件 2025-12-22 13:11:31 +08:00
wizardchen a20541cd9d feat: 新增用户对话模型选择状态管理,支持store双向绑定 2025-12-22 13:11:31 +08:00
wizardchen de1ffa7f7c feat: 支持输入框内选择知识库和文件,优化选择交互体验 2025-12-22 13:11:31 +08:00
wizardchen 7576f08ad5 fix: 模型管理中禁用ReRank模型Ollama选项并添加提示信息 2025-12-22 13:11:31 +08:00
wizardchen ad6bd157fd feat: 新增FAQ条目导出功能,支持CSV格式导出 2025-12-17 22:04:18 +08:00
comqx b8a6367df2 feat: Enhance document viewer with original file support and code block copying functionality 2025-12-08 19:37:38 +08:00
wizardchen a50f53d205 feat: Implement delete functionality for generated questions in knowledge base, including API and UI updates 2025-12-04 01:26:30 +08:00
wizardchen 7ca66d5c1d feat: Update Input-field component with new SVG icon design for improved visual clarity 2025-12-04 00:32:35 +08:00