prepareSkillStore
function prepareSkillStore( source, fs?, resolver?): Promise<{ contentHash: string; metas: SkillMeta[]; resolvedSkillsByIndex?: Record<string, SkillLike[]>; skills: SkillLike[]; store: SkillStoreLike;}>;Turns whatever the author wrote in AgentConfig.skills into one store.
fs is the agent’s workspace filesystem, needed only to resolve string entries. A path
without a workspace is an authoring mistake, so it throws rather than silently yielding no
skills — a missing skill is invisible at runtime and looks like the model ignoring it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<{
contentHash: string;
metas: SkillMeta[];
resolvedSkillsByIndex?: Record<string, SkillLike[]>;
skills: SkillLike[];
store: SkillStoreLike;
}>