feat: add new stores for cron, locale, providers, script, shared data, skills, and user info

- Implemented `cron` store to manage scheduled tasks with CRUD operations.
- Created `locale` store for language settings with persistence and system language detection.
- Added `providers` store to handle provider accounts and configurations with API interactions.
- Developed `script` store for managing automation scripts, including recording and execution.
- Introduced `sharedStore` for managing shared data across components.
- Established `skills` store for fetching, installing, and managing skills from a marketplace.
- Created `userinfo` store for user authentication and session management.

chore: update path aliases from `@store` to `@stores` in TypeScript configuration and Vite config
This commit is contained in:
duanshuwen
2026-04-15 21:49:25 +08:00
parent 364db041eb
commit e77c815a86
32 changed files with 192 additions and 128 deletions

View File

@@ -192,7 +192,7 @@ import { ref, computed, onMounted } from 'vue';
import { useI18n } from 'vue-i18n';
import { Plus, Loading, Check, Warning, Close, TopRight } from '@element-plus/icons-vue';
import { ElMessage } from 'element-plus';
import { useProviderStore } from '@src/store/providers';
import { useProviderStore } from '@src/stores/providers';
import { PROVIDER_TYPE_INFO, type ProviderTypeInfo } from '@lib/providers';
import type { ProviderListItem } from '@lib/provider-accounts';