Commit Graph

246 Commits

Author SHA1 Message Date
wizardchen 2979f9764a fix(i18n): update shared agents knowledge base hint for clarity 2026-02-09 14:32:08 +08:00
wizardchen cbe66aba56 feat(api): integrate per-organization resource counts into organization listing
- Added `resource_counts` to the `ListOrganizationsResponse` to include per-organization knowledge base and agent counts, enhancing the sidebar display.
- Removed the deprecated `getMeResourceCounts` API endpoint, consolidating resource count retrieval into the organization listing.
- Updated the organization store to manage and utilize the new resource counts effectively.
- Adjusted UI components to leverage the new resource counts structure, improving data retrieval and display for agents and knowledge bases.

This update streamlines resource count management and enhances the user experience by providing relevant data in a single API call.
2026-02-09 11:40:25 +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 1bdd9a4693 feat(ui): unify card styles and improve layout consistency across agent, knowledge base, and organization components
- Standardized card dimensions and padding across AgentList, KnowledgeBaseList, and OrganizationList for a cohesive appearance.
- Adjusted font sizes and line heights in card descriptions to enhance readability and maintain uniformity.
- Enhanced card content layout with flex properties to improve visual structure and spacing.

This update improves the user interface by ensuring consistent styling and layout across multiple components, enhancing the overall user experience.
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 5ab20a9148 feat(i18n): update localization for knowledge bases and organization features
- Added new localization strings for 'Mine' in English and Chinese.
- Enhanced organization subtitles to include agents in shared spaces.
- Updated permission descriptions to clarify roles related to knowledge bases and agents.
- Improved UI components to reflect new labels and permissions for better user experience.

This update strengthens the localization support, ensuring clarity in knowledge base and organization functionalities across multiple languages.
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 d854083c70 feat(organization): enhance invite preview with height transition
- Added a shared height transition container for the invite preview body to improve user experience during step transitions.
- Implemented a resize observer to dynamically adjust the height of the invite body based on content changes, ensuring smooth transitions.
- Updated the template structure for invite preview steps to enhance readability and maintainability.
- Enhanced styles for the invite preview body to support the new height transition feature.

This update improves the visual experience when navigating through the invite process, making it more fluid and user-friendly.
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 72173432c9 feat(organization): enhance searchable organizations with member limit and search by ID
- Added a member limit field to the SearchableOrganizationItem interface, allowing organizations to specify a maximum number of members.
- Updated API and service layers to support searching organizations by name, description, or ID.
- Enhanced UI components to display member limits and updated localization strings in English and Chinese for new features.
- Included migration files to add the searchable column to the organizations table.

This update improves the organization search functionality and membership management, enhancing user experience and administrative control.
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 2818a4fe8f feat(organization): implement searchable organizations feature
- Added a 'searchable' flag to organizations, allowing them to be discoverable and joinable by ID without an invite code.
- Introduced API endpoints for searching and joining searchable organizations.
- Updated UI components to support searching for organizations and displaying results.
- Enhanced localization for new search-related features in both English and Chinese.

This update improves user experience by enabling easier discovery and joining of organizations.
2026-02-09 11:40:25 +08:00
wizardchen 760bbffafe refactor(i18n): remove unused feature strings from English and Chinese locales 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
wizardchen 2d6efec84f feat: enhance agent skills sandbox configuration and availability
- Updated .env.example to set default sandbox mode to 'docker' and added timeout and docker image variables.
- Modified docker-compose files to include a sandbox service for building and pulling the sandbox image.
- Adjusted frontend API to reflect sandbox availability for skills, ensuring UI elements are conditionally displayed based on sandbox status.
- Implemented backend logic to disable skills when the sandbox is not enabled, improving error handling and user experience.
2026-02-04 20:58:24 +08:00
nullkey 3f21345546 feat: adapt preloaded skills to smart-reasoning agent 2026-02-04 20:08:49 +08:00
ChenRussell 0e1d08a14d fix: clear tag selection state when re-entering knowledge base 2026-02-03 10:41:08 +08:00
ice 98049ef091 style(ollama): optimize retest button icon alignment using #icon slot 2026-01-27 18:15:54 +08:00
wizardchen fcaad914ea fix: escape @ symbol in i18n strings 2026-01-27 11:09:53 +08:00
ice 7f39d28a33 fix(frontend): hide upload mask when drag leaves window
Use dragCounter to track drag enter/leave events properly.
The mask now hides when user drags file out of the browser window.

- Add dragleave event listener
- Use counter to handle nested element drag events
- Reset counter on drop and unmount

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 16:33:09 +08:00
wizardchen faf1c9a37b feat: add matched question field to FAQ search results 2026-01-26 16:32:18 +08:00
wizardchen 7d272cc92c feat: add retrieve KB only when mentioned option 2026-01-26 10:44:09 +08:00
wizardchen aa4af5365e feat: add thinking mode support for agents 2026-01-20 18:19:44 +08:00
begoniezhao 15f98d214b refactor: Simplify content merging and align with backend logic 2026-01-16 16:50:54 +08:00
wizardchen 0ea9acfc2f feat: 支持删除文档类型标签 2026-01-15 19:38:16 +08:00
wizardchen 57d6fea8bc fix: 禁用 stdio 传输以防止命令注入风险 2026-01-15 14:49:19 +08:00
wizardchen 48a0f9b508 Merge remote-tracking branch 'github_public/main' 2026-01-15 14:39:35 +08:00
Xia Dong b648bd472c feat(knowledge): Enhance delete functionality with success callback
- Updated the delKnowledge function to accept an optional onSuccess callback for post-deletion actions.
- Modified the delCardConfirm function to refresh the document list and tag counts upon successful deletion.
2026-01-15 10:57:06 +08:00
Xia Dong 928d1c3d44 refactor(knowledge): Standardize formatting and improve code readability
- Reformatted the API functions in the knowledge base module for consistent indentation and spacing.
- Enhanced overall code readability without altering functionality.
2026-01-14 19: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 6c9d31496f feat: 添加FAQ导入成功条目详情展示 2026-01-14 17:16:53 +08:00
wizardchen 0f35ffccc6 feat: 优化FAQ导入结果卡片UI与功能 2026-01-14 17:14:50 +08:00
wizardchen 25247c67e5 fix: 修正删除标签使用正确的ID字段 2026-01-14 17:14:39 +08:00
wizardchen 8702cab035 refactor: 移除重复的导入结果统计卡片 2026-01-14 17:14:29 +08:00
wizardchen 6399d6ba0b fix: 修正FAQ标签过滤使用seq_id而非id的类型问题 2026-01-14 17:14:18 +08:00
wizardchen 14d7d3d995 feat: 为 FAQ 和标签引入 seq_id 支持 2026-01-14 17:13:44 +08:00
wizardchen 84a4ec62de refactor: 简化FAQ导入结果获取逻辑
将导入结果字段合并到FAQImportProgress结构体中,当状态为completed时自动填充。删除了独立的GetLastFAQImportResult接口和相关方法,客户端改为通过进度接口获取已完成任务的结果,并使用localStorage记录最后完成的任务ID。
2026-01-14 17:09:19 +08:00
wizardchen 9215c82d3b feat: 添加FAQ导入结果持久化展示功能 2026-01-14 17:09:19 +08:00
wizardchen 953e0c1a55 feat: 支持租户ID和关键词同时搜索 2026-01-14 17:09:19 +08:00
nullkey 37b2899f9d feat:add several mainstream model providers 2026-01-14 17:08:26 +08:00
nullkey 4f74e141e6 feat:add model provider GPUStack 2026-01-14 17:08:26 +08:00