Briyah SDK - v2.0.6
    Preparing search index...

    Interface PackAgentTemplate

    One agent a pack ships, as a reference to a prompt folder plus overrides.

    Not a trimmed AgentConfig. createAgentFromFolder already exists so callers stop transcribing a folder's recipe, and defaults_config.json is the list prompt-folders.spec.ts treats as authoritative — a template with its own copy of toolNames would be a second list that drifts from it.

    interface PackAgentTemplate {
        key: string;
        label?: string;
        modelRole?: "primary" | "economy";
        overrides?: Partial<PromptFolderDefaults>;
        promptFolder: string;
    }
    Index
    key: string

    Stable within the pack. Room templates reference agents by this.

    label?: string

    Shown in the pack listing and the pickers. Falls back to the key.

    modelRole?: "primary" | "economy"

    Which model tier this agent wants.

    A pack cannot name a model: the id goes stale and assumes the host's keys. But the split matters — the dnd5e pack exists partly so combat runs on a cheap agent — so the template says which tier it wants and instantiation supplies the models.

    overrides?: Partial<PromptFolderDefaults>

    Anything the folder's own defaults should not decide, e.g. a witness's name.

    promptFolder: string

    A folder in this pack, or a <pack>:<folder> reference to another.