nexus-agents - v2.80.0
    Preparing search index...

    Interface IPluginRegistry

    Plugin registry — manages plugin lifecycle and resolution.

    Registry is frozen after startup — no runtime registration.

    interface IPluginRegistry {
        register(plugin: PipelinePlugin): Result<void, RegistrationError>;
        resolve(pluginId: string): PipelinePlugin | undefined;
        listEnabled(): readonly {
            id: string;
            version: string;
            description: string;
            stages: (
                "analyze"
                | "validate"
                | "aggregate"
                | "execute"
                | "gate"
                | "route"
            )[];
            requiredCapabilities: string[];
            trustLevel: "external" | "standard" | "core" | "experimental";
            experimental: boolean;
        }[];
        isEnabled(pluginId: string): boolean;
        freeze(): void;
        frozen: boolean;
    }

    Implemented by

    Index

    Properties

    frozen: boolean

    Whether the registry is frozen.

    Methods

    • List all enabled plugins with their manifests.

      Returns readonly {
          id: string;
          version: string;
          description: string;
          stages: (
              "analyze"
              | "validate"
              | "aggregate"
              | "execute"
              | "gate"
              | "route"
          )[];
          requiredCapabilities: string[];
          trustLevel: "external" | "standard" | "core" | "experimental";
          experimental: boolean;
      }[]