Interface: SkillArtifactRegistry
Defined in: src/batteries/skills/artifacts.ts:9
Resolved artifact kinds plus the consumer-owned skill/tool binding table.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
bindings | readonly | Readonly<Record<string, Readonly<Record<string, string>>>> | Explicit skill-to-tool-to-kind mappings; these override descriptor advice. | src/batteries/skills/artifacts.ts:13 |
kinds | readonly | ReadonlyMap<string, SpooledArtifactConstructor> | Constructors keyed by the kind name accepted in bindings and descriptors. | src/batteries/skills/artifacts.ts:11 |
Methods
resolve()
ts
resolve(
skillId: string,
toolName: string,
descriptor?: Pick<SkillDescriptor, "artifactKind">): SpooledArtifactConstructor;Defined in: src/batteries/skills/artifacts.ts:15
Selects the binding, then descriptor advice, then the raw built-in kind.
Parameters
| Parameter | Type |
|---|---|
skillId | string |
toolName | string |
descriptor? | Pick<SkillDescriptor, "artifactKind"> |