feat(plugins): merge Skill management into plugins
This commit is contained in:
@@ -226,7 +226,6 @@ async function resolveSkillEntryPath(
|
||||
const roots = entry.packageRoot
|
||||
? [path.resolve(entry.packageRoot)]
|
||||
: [
|
||||
path.resolve(bundledSkillsDir),
|
||||
...resolveBundledCodingPluginRootPaths(path.join(
|
||||
path.dirname(path.resolve(bundledSkillsDir)),
|
||||
'coding-plugins',
|
||||
@@ -243,7 +242,7 @@ async function resolveSkillEntryPath(
|
||||
if ((error as NodeJS.ErrnoException).code !== 'ENOENT') throw error;
|
||||
}
|
||||
}
|
||||
throw new Error(`Bundled coding Skill entry is not a file: ${entry.entryPath}`);
|
||||
throw new Error(`Plugin Skill entry is not a file: ${entry.entryPath}`);
|
||||
}
|
||||
|
||||
export async function resolveExplicitCodingSkillPaths(
|
||||
|
||||
Reference in New Issue
Block a user