Prometheus Entity Management API
    Preparing search index...

    Interface CreatePrometheusA2uiRuntimeOptions

    interface CreatePrometheusA2uiRuntimeOptions {
        actionPolicy?: A2uiActionPolicy;
        catalogs?: readonly Catalog<PrometheusA2uiComponentImplementation>[];
        onActionDecision?: (decision: A2uiActionDecision) => void | Promise<void>;
        onFunctionCall?: (
            call: {
                callFunction: {
                    args?: Record<string, unknown>;
                    call: string;
                    catalogId?: string;
                } & { [k: string]: unknown };
                functionCallId: string;
                version: "v1.0";
                wantResponse?: boolean;
            },
        ) => unknown;
        onRendererMessage?: (
            message: PrometheusA2uiRendererMessage,
        ) => void | Promise<void>;
    }
    Index
    actionPolicy?: A2uiActionPolicy

    Defaults to a deny-all policy; applications must install authority.

    Explicit catalogs advertised to and accepted from agents.

    onActionDecision?: (decision: A2uiActionDecision) => void | Promise<void>

    Receives the auditable outcome of every official client action.

    onFunctionCall?: (
        call: {
            callFunction: {
                args?: Record<string, unknown>;
                call: string;
                catalogId?: string;
            } & { [k: string]: unknown };
            functionCallId: string;
            version: "v1.0";
            wantResponse?: boolean;
        },
    ) => unknown

    Application-owned implementation for v1.0 agent-initiated function calls.

    onRendererMessage?: (
        message: PrometheusA2uiRendererMessage,
    ) => void | Promise<void>

    Receives A2UI v1.0 renderer-to-agent action/function/error messages.