PARACOSM AGENTOS | API Reference v0.9.1202
Home Simulation API Docs GitHub npm
Home Simulation API Docs GitHub npm AgentOS Discord
paracosm - v0.9.1202
    Preparing search index...

    Interface CompiledHookSources

    The hook sources of one compiled scenario.

    interface CompiledHookSources {
        hooks: Partial<Record<HookName, string>>;
        model: string;
        schemaVersion: number;
    }
    Index
    hooks: Partial<Record<HookName, string>>

    Each hook's source by hook name. A hook the compile left on its fallback has none, so a compile that kept every hook on its fallback has a record that names no hook.

    model: string

    The model that generated them.

    schemaVersion: number

    The compile schema version (COMPILE_SCHEMA_VERSION, ./cache.ts) the sources were generated under.