AIRI Server API - v0.10.2
    Preparing search index...

    Interface ModuleDependency

    Module dependency declaration.

    Use this during prepare/probe to describe what a module needs before it can decide its dynamic contributions. Dependencies can change at runtime if peers go offline.

    Example: { role: "llm:orchestrator", min: "v1", optional: true }

    interface ModuleDependency {
        role: string;
        optional?: boolean;
        version?: string;
        min?: string;
        max?: string;
        constraints?: Record<string, unknown>;
    }
    Index

    Properties

    role: string

    Logical dependency role (preferred over hard-coded plugin ids). Example: "llm:orchestrator"

    optional?: boolean

    Optional dependency flag.

    version?: string

    Version constraint hints.

    min?: string
    max?: string
    constraints?: Record<string, unknown>

    Additional constraint metadata (JSON-serializable).