loadPromptPacks
@fleetforge/sdk / loadPromptPacks
Function: loadPromptPacks()
loadPromptPacks(
dir):PromptPackMap
Defined in: sdk/typescript/src/prompt.ts:35
Load all YAML prompt packs from a directory into a map keyed by the file reference.
Parameters
dir
string
Returns
Throws
If dir does not exist or contains invalid YAML.