Skip to content

Extends ​

Properties ​

botRoot? ​

optional botRoot?: string

机器人根目录,默认 process.cwd()

Inherited from ​

SkillRootOptions.botRoot


extraRoots? ​

optional extraRoots?: string[]

额外扫描根,可写 ~/ 简写

Inherited from ​

SkillRootOptions.extraRoots


home? ​

optional home?: string

用户主目录,默认 os.homedir()

Inherited from ​

SkillRootOptions.home


logger? ​

optional logger?: SkillLogger


maxResourceFiles? ​

optional maxResourceFiles?: number


rescanIntervalMs? ​

optional rescanIntervalMs?: number

两次全量扫描之间的最小间隔,毫秒;0 表示每次都扫


roots? ​

optional roots?: SkillRoot[]

直接指定根,忽略 botRoot/home/extraRoots

Released under the MIT License with love.