Skip to content

locateSkillRoots(root, options?): Promise<SkillLocation[]>

在下载/解包出来的目录里定位技能:根目录有 SKILL.md 就用它, 否则向下(深度受限)找所有含 SKILL.md 的目录,供安装时挑选。

Parameters ​

root ​

string

options? ​

LocateOptions = {}

Returns ​

Promise<SkillLocation[]>

Released under the MIT License with love.