2025-08-23 19:57:42 +08:00
|
|
|
{
|
|
|
|
|
"$schema": "https://schema.tauri.app/config/2",
|
2025-08-23 20:05:50 +08:00
|
|
|
"productName": "CC Switch",
|
2025-11-11 23:57:21 +08:00
|
|
|
"version": "3.6.2",
|
2025-08-27 11:00:53 +08:00
|
|
|
"identifier": "com.ccswitch.desktop",
|
2025-08-23 19:57:42 +08:00
|
|
|
"build": {
|
2025-08-23 20:41:14 +08:00
|
|
|
"frontendDist": "../dist",
|
2025-08-23 21:00:50 +08:00
|
|
|
"devUrl": "http://localhost:3000",
|
2025-08-23 20:41:14 +08:00
|
|
|
"beforeDevCommand": "pnpm run dev:renderer",
|
|
|
|
|
"beforeBuildCommand": "pnpm run build:renderer"
|
2025-08-23 19:57:42 +08:00
|
|
|
},
|
|
|
|
|
"app": {
|
|
|
|
|
"windows": [
|
|
|
|
|
{
|
2025-09-05 10:19:14 +08:00
|
|
|
"label": "main",
|
2025-08-25 23:30:25 +08:00
|
|
|
"title": "",
|
Feat/claude skills management (#237)
* feat(skills): add Claude Skills management feature
Implement complete Skills management system with repository discovery,
installation, and lifecycle management capabilities.
Backend:
- Add SkillService with GitHub integration and installation logic
- Implement skill commands (list, install, uninstall, check updates)
- Support multiple skill repositories with caching
Frontend:
- Add Skills management page with repository browser
- Create SkillCard and RepoManager components
- Add badge, card, table UI components
- Integrate Skills API with Tauri commands
Files: 10 files changed, 1488 insertions(+)
* feat(skills): integrate Skills feature into application
Integrate Skills management feature with complete dependency updates,
configuration structure extensions, and internationalization support.
Dependencies:
- Add @radix-ui/react-visually-hidden for accessibility
- Add anyhow, zip, serde_yaml, tempfile for Skills backend
- Enable chrono serde feature for timestamp serialization
Backend Integration:
- Extend MultiAppConfig with SkillStore field
- Implement skills.json migration from legacy location
- Register SkillService and skill commands in main app
- Export skill module in commands and services
Frontend Integration:
- Add Skills page route and dialog in App
- Integrate Skills UI with main navigation
Internationalization:
- Add complete Chinese translations for Skills UI
- Add complete English translations for Skills UI
Code Quality:
- Remove redundant blank lines in gemini_mcp.rs
- Format log statements in mcp.rs
Tests:
- Update import_export_sync tests for SkillStore
- Update mcp_commands tests for new structure
Files: 16 files changed, 540 insertions(+), 39 deletions(-)
* style(skills): improve SkillsPage typography and spacing
Optimize visual hierarchy and readability of Skills page:
- Reduce title size from 2xl to lg with tighter tracking
- Improve description spacing and color contrast
- Enhance empty state with better text hierarchy
- Use explicit gray colors for better dark mode support
* feat(skills): support custom subdirectory path for skill scanning
Add optional skillsPath field to SkillRepo to enable scanning skills
from subdirectories (e.g., "skills/") instead of repository root.
Changes:
- Backend: Add skillsPath field with subdirectory scanning logic
- Frontend: Add skillsPath input field and display in repo list
- Presets: Add cexll/myclaude repo with skills/ subdirectory
- Code quality: Fix clippy warnings (dedup logic, string formatting)
Backward compatible: skillsPath is optional, defaults to root scanning.
* refactor(skills): improve repo manager dialog layout
Optimize dialog structure with fixed header and scrollable content:
- Add flexbox layout with fixed header and scrollable body
- Remove outer border wrapper for cleaner appearance
- Match SkillsPage design pattern for consistency
- Improve UX with better content hierarchy
2025-11-18 22:05:54 +08:00
|
|
|
"width": 1000,
|
2025-08-23 20:05:50 +08:00
|
|
|
"height": 650,
|
Feat/claude skills management (#237)
* feat(skills): add Claude Skills management feature
Implement complete Skills management system with repository discovery,
installation, and lifecycle management capabilities.
Backend:
- Add SkillService with GitHub integration and installation logic
- Implement skill commands (list, install, uninstall, check updates)
- Support multiple skill repositories with caching
Frontend:
- Add Skills management page with repository browser
- Create SkillCard and RepoManager components
- Add badge, card, table UI components
- Integrate Skills API with Tauri commands
Files: 10 files changed, 1488 insertions(+)
* feat(skills): integrate Skills feature into application
Integrate Skills management feature with complete dependency updates,
configuration structure extensions, and internationalization support.
Dependencies:
- Add @radix-ui/react-visually-hidden for accessibility
- Add anyhow, zip, serde_yaml, tempfile for Skills backend
- Enable chrono serde feature for timestamp serialization
Backend Integration:
- Extend MultiAppConfig with SkillStore field
- Implement skills.json migration from legacy location
- Register SkillService and skill commands in main app
- Export skill module in commands and services
Frontend Integration:
- Add Skills page route and dialog in App
- Integrate Skills UI with main navigation
Internationalization:
- Add complete Chinese translations for Skills UI
- Add complete English translations for Skills UI
Code Quality:
- Remove redundant blank lines in gemini_mcp.rs
- Format log statements in mcp.rs
Tests:
- Update import_export_sync tests for SkillStore
- Update mcp_commands tests for new structure
Files: 16 files changed, 540 insertions(+), 39 deletions(-)
* style(skills): improve SkillsPage typography and spacing
Optimize visual hierarchy and readability of Skills page:
- Reduce title size from 2xl to lg with tighter tracking
- Improve description spacing and color contrast
- Enhance empty state with better text hierarchy
- Use explicit gray colors for better dark mode support
* feat(skills): support custom subdirectory path for skill scanning
Add optional skillsPath field to SkillRepo to enable scanning skills
from subdirectories (e.g., "skills/") instead of repository root.
Changes:
- Backend: Add skillsPath field with subdirectory scanning logic
- Frontend: Add skillsPath input field and display in repo list
- Presets: Add cexll/myclaude repo with skills/ subdirectory
- Code quality: Fix clippy warnings (dedup logic, string formatting)
Backward compatible: skillsPath is optional, defaults to root scanning.
* refactor(skills): improve repo manager dialog layout
Optimize dialog structure with fixed header and scrollable content:
- Add flexbox layout with fixed header and scrollable body
- Remove outer border wrapper for cleaner appearance
- Match SkillsPage design pattern for consistency
- Improve UX with better content hierarchy
2025-11-18 22:05:54 +08:00
|
|
|
"minWidth": 900,
|
2025-08-23 20:05:50 +08:00
|
|
|
"minHeight": 600,
|
2025-08-23 19:57:42 +08:00
|
|
|
"resizable": true,
|
2025-11-17 23:25:13 +08:00
|
|
|
"fullscreen": false,
|
|
|
|
|
"center": true
|
2025-08-23 19:57:42 +08:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"security": {
|
2025-11-18 02:06:10 +08:00
|
|
|
"csp": "default-src 'self'; img-src 'self' data:; script-src 'self'; style-src 'self' 'unsafe-inline'; connect-src 'self' ipc: http://ipc.localhost https: http:",
|
|
|
|
|
"assetProtocol": {
|
|
|
|
|
"enable": true,
|
|
|
|
|
"scope": []
|
|
|
|
|
}
|
2025-08-23 19:57:42 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"bundle": {
|
|
|
|
|
"active": true,
|
2025-08-29 14:40:40 +08:00
|
|
|
"targets": "all",
|
2025-09-08 16:58:41 +08:00
|
|
|
"createUpdaterArtifacts": true,
|
2025-08-23 19:57:42 +08:00
|
|
|
"icon": [
|
|
|
|
|
"icons/32x32.png",
|
|
|
|
|
"icons/128x128.png",
|
|
|
|
|
"icons/128x128@2x.png",
|
|
|
|
|
"icons/icon.icns",
|
|
|
|
|
"icons/icon.ico"
|
2025-09-23 14:41:28 +08:00
|
|
|
],
|
|
|
|
|
"windows": {
|
|
|
|
|
"wix": {
|
|
|
|
|
"template": "wix/per-user-main.wxs"
|
|
|
|
|
}
|
2025-11-18 02:06:10 +08:00
|
|
|
},
|
|
|
|
|
"macOS": {
|
|
|
|
|
"minimumSystemVersion": "10.15"
|
2025-09-23 14:41:28 +08:00
|
|
|
}
|
|
|
|
|
},
|
2025-09-08 16:58:41 +08:00
|
|
|
"plugins": {
|
2025-11-18 02:06:10 +08:00
|
|
|
"deep-link": {
|
|
|
|
|
"desktop": {
|
|
|
|
|
"schemes": ["ccswitch"]
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-09-08 16:58:41 +08:00
|
|
|
"updater": {
|
2025-09-09 22:26:37 +08:00
|
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEM4MDI4QzlBNTczOTI4RTMKUldUaktEbFhtb3dDeUM5US9kT0FmdGR5Ti9vQzcwa2dTMlpibDVDUmQ2M0VGTzVOWnd0SGpFVlEK",
|
2025-09-09 15:13:06 +08:00
|
|
|
"endpoints": [
|
2025-09-10 15:26:21 +08:00
|
|
|
"https://github.com/farion1231/cc-switch/releases/latest/download/latest.json"
|
2025-09-09 15:13:06 +08:00
|
|
|
]
|
2025-09-08 16:58:41 +08:00
|
|
|
}
|
|
|
|
|
}
|
2025-08-23 19:57:42 +08:00
|
|
|
}
|