mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
refactor(skill): remove skillsPath configuration (#310)
Remove the skillsPath field from SkillRepo and Skill structs since recursive scanning now automatically discovers skills in all directories. Simplify the UI by removing the path input field.
This commit is contained in:
@@ -33,7 +33,6 @@ export interface DeepLinkImportRequest {
|
||||
repo?: string;
|
||||
directory?: string;
|
||||
branch?: string;
|
||||
skillsPath?: string;
|
||||
|
||||
// Config file fields
|
||||
config?: string;
|
||||
|
||||
@@ -10,7 +10,6 @@ export interface Skill {
|
||||
repoOwner?: string;
|
||||
repoName?: string;
|
||||
repoBranch?: string;
|
||||
skillsPath?: string; // 技能所在的子目录路径,如 "skills"
|
||||
}
|
||||
|
||||
export interface SkillRepo {
|
||||
@@ -18,7 +17,6 @@ export interface SkillRepo {
|
||||
name: string;
|
||||
branch: string;
|
||||
enabled: boolean;
|
||||
skillsPath?: string; // 可选:技能所在的子目录路径,如 "skills"
|
||||
}
|
||||
|
||||
export const skillsApi = {
|
||||
|
||||
Reference in New Issue
Block a user