feat: add common config snippet management system

- Add settings module for managing common configuration snippets
- Implement UI for creating, editing, and deleting snippets
- Add tauri-plugin-fs for file operations
- Replace co-authored setting with flexible snippet system
- Enable users to define custom config snippets for frequently used settings
This commit is contained in:
Jason
2025-09-17 12:25:05 +08:00
parent 2b59a5d51b
commit 36b78d1b4b
14 changed files with 710 additions and 28 deletions

1
src/vite-env.d.ts vendored
View File

@@ -28,6 +28,7 @@ declare global {
getClaudeCodeConfigPath: () => Promise<string>;
getClaudeConfigStatus: () => Promise<ConfigStatus>;
getConfigStatus: (app?: AppType) => Promise<ConfigStatus>;
getConfigDir: (app?: AppType) => Promise<string>;
selectConfigFile: () => Promise<string | null>;
openConfigFolder: (app?: AppType) => Promise<void>;
openExternal: (url: string) => Promise<void>;