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.
This commit is contained in:
wizardchen
2026-02-05 16:29:56 +08:00
committed by lyingbug
parent 5ab20a9148
commit c806eaf7f9
22 changed files with 1668 additions and 964 deletions
+1
View File
@@ -114,6 +114,7 @@ func BuildContainer(container *dig.Container) *dig.Container {
must(container.Provide(repository.NewOrganizationRepository))
must(container.Provide(repository.NewKBShareRepository))
must(container.Provide(repository.NewAgentShareRepository))
must(container.Provide(repository.NewTenantDisabledSharedAgentRepository))
must(container.Provide(service.NewWebSearchStateService))
// MCP manager for managing MCP client connections