refactor: enhance skills and subagents settings management

- Updated useSkillsSettings and useSubagents hooks to improve state management and error handling.
- Added new settings API methods for skills configuration and agent discovery.
- Refactored app-store to include enableSkills and skillsSources state management.
- Enhanced settings migration to sync skills configuration with the server.

These changes streamline the management of skills and subagents, ensuring better integration and user experience.
This commit is contained in:
Shirone
2026-01-06 23:43:31 +01:00
parent 236989bf6e
commit 33acf502ed
5 changed files with 129 additions and 60 deletions

View File

@@ -234,6 +234,8 @@ export async function syncSettingsToServer(): Promise<boolean> {
keyboardShortcuts: state.keyboardShortcuts,
aiProfiles: state.aiProfiles,
mcpServers: state.mcpServers,
enableSkills: state.enableSkills,
skillsSources: state.skillsSources,
promptCustomization: state.promptCustomization,
projects: state.projects,
trashedProjects: state.trashedProjects,