@vestra-player/sdk - v1.11.3
    Preparing search index...

    Interface PackageInfo

    One plugin as packages.list and the event packages.changed report it: what PluginInfo (plugin.packages) is made from.

    The player's wire shape (packages.list, packages.changed), part of the protocol, which is not semver: it can gain fields with a player version.

    1.7.0

    interface PackageInfo {
        id: string;
        version: string | null;
        origin: "installed" | "development";
        state: "failed" | "starting" | "running" | "disabled" | "stopped";
        error: string | null;
        directory: string;
        builtin?: boolean;
        source?: WireSource | null;
        dataDirectory?: string | null;
        warnings?: { code: string; slot?: string; owner?: string }[];
        display?: {
            name: string | null;
            punchline: string | null;
            description: string | null;
            tags: string[];
        };
        process?: "running"
        | "idle";
    }
    Index
    id: string

    The manifest id.

    version: string | null

    The installed version; null for a development directory without one.

    origin: "installed" | "development"

    Installed from a package, or loaded from a development directory.

    state: "failed" | "starting" | "running" | "disabled" | "stopped"

    Its lifecycle state.

    error: string | null

    Why it failed, when state is failed; else null.

    directory: string

    Its directory on disk.

    builtin?: boolean

    One of the player's built-in plugins.

    source?: WireSource | null

    Where an installed package came from; null for a development directory.

    dataDirectory?: string | null

    Its data directory, null when it has none.

    warnings?: { code: string; slot?: string; owner?: string }[]

    What the plugin was refused because another plugin holds it.

    Type Declaration

    • code: string

      Why: slot-occupied, sequence-taken or resolver-taken; a newer player may add codes.

    • Optionalslot?: string

      The panel position concerned, if any.

    • Optionalowner?: string

      The manifest id of the plugin holding it, if any.

    display?: {
        name: string | null;
        punchline: string | null;
        description: string | null;
        tags: string[];
    }

    The manifest's display texts in the interface language.

    Type Declaration

    • name: string | null

      The display name, or null.

    • punchline: string | null

      The one-line pitch, or null.

    • description: string | null

      The description, or null.

    • tags: string[]

      The store tags.

    process?: "running" | "idle"

    Whether it has a process now (state: "running").