CompositeSkillStore
Presents several skill stores as one, with later stores winning a name collision.
Delegates rather than flattening on purpose: flattening would force every body and
resource to load up front, which is exactly what progressive disclosure exists to avoid.
Only list() (Level 1 — names and descriptions) is eager; bodies and resources stay
behind their own calls.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CompositeSkillStore(stores): CompositeSkillStore;Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
readonly |
In precedence order, lowest first. |
Returns
Section titled “Returns”CompositeSkillStore
Methods
Section titled “Methods”list()
Section titled “list()”list(): Promise<SkillMeta[]>;Returns
Section titled “Returns”Promise<SkillMeta[]>
Implementation of
Section titled “Implementation of”listResources()
Section titled “listResources()”listResources(name): Promise<string[]>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<string[]>
Implementation of
Section titled “Implementation of”loadAllSkills()
Section titled “loadAllSkills()”loadAllSkills(): Promise<object[]>;Returns
Section titled “Returns”Promise<object[]>
Implementation of
Section titled “Implementation of”loadBody()
Section titled “loadBody()”loadBody(name): Promise<string>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<string>
Implementation of
Section titled “Implementation of”loadResource()
Section titled “loadResource()”loadResource(name, path): Promise<string | Uint8Array<ArrayBufferLike>>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<string | Uint8Array<ArrayBufferLike>>