Member Junction
    Preparing search index...

    Variable RuntimeActionConfigurationSchemaConst

    RuntimeActionConfigurationSchema: ZodObject<
        {
            limits: ZodOptional<
                ZodObject<
                    {
                        maxBridgeCalls: ZodOptional<ZodNumber>;
                        maxMemoryMB: ZodOptional<ZodNumber>;
                    },
                    "strict",
                    ZodTypeAny,
                    { maxBridgeCalls?: number; maxMemoryMB?: number },
                    { maxBridgeCalls?: number; maxMemoryMB?: number },
                >,
            >;
            permissions: ZodObject<
                {
                    allowAnyAction: ZodOptional<ZodBoolean>;
                    allowAnyAgent: ZodOptional<ZodBoolean>;
                    allowAnyEntity: ZodOptional<ZodBoolean>;
                    allowedActions: ZodArray<
                        ZodObject<
                            { id: ZodString; name: ZodString },
                            "strict",
                            ZodTypeAny,
                            { id?: string; name?: string },
                            { id?: string; name?: string },
                        >,
                        "many",
                    >;
                    allowedAgents: ZodArray<
                        ZodObject<
                            { id: ZodString; name: ZodString },
                            "strict",
                            ZodTypeAny,
                            { id?: string; name?: string },
                            { id?: string; name?: string },
                        >,
                        "many",
                    >;
                    allowedEntities: ZodArray<
                        ZodObject<
                            { id: ZodString; name: ZodString },
                            "strict",
                            ZodTypeAny,
                            { id?: string; name?: string },
                            { id?: string; name?: string },
                        >,
                        "many",
                    >;
                },
                "strict",
                ZodTypeAny,
                {
                    allowAnyAction?: boolean;
                    allowAnyAgent?: boolean;
                    allowAnyEntity?: boolean;
                    allowedActions?: { id?: string; name?: string }[];
                    allowedAgents?: { id?: string; name?: string }[];
                    allowedEntities?: { id?: string; name?: string }[];
                },
                {
                    allowAnyAction?: boolean;
                    allowAnyAgent?: boolean;
                    allowAnyEntity?: boolean;
                    allowedActions?: { id?: string; name?: string }[];
                    allowedAgents?: { id?: string; name?: string }[];
                    allowedEntities?: { id?: string; name?: string }[];
                },
            >;
            previousVersionId: ZodOptional<ZodString>;
            sandbox: ZodOptional<
                ZodObject<
                    {
                        additionalLibraries: ZodOptional<
                            ZodArray<
                                ZodObject<
                                    { name: ZodString; version: ZodOptional<ZodString> },
                                    "strict",
                                    ZodTypeAny,
                                    { name?: string; version?: string },
                                    { name?: string; version?: string },
                                >,
                                "many",
                            >,
                        >;
                        debugMode: ZodOptional<ZodBoolean>;
                    },
                    "strict",
                    ZodTypeAny,
                    {
                        additionalLibraries?: { name?: string; version?: string }[];
                        debugMode?: boolean;
                    },
                    {
                        additionalLibraries?: { name?: string; version?: string }[];
                        debugMode?: boolean;
                    },
                >,
            >;
            version: ZodOptional<ZodString>;
        },
        "strict",
        ZodTypeAny,
        {
            limits?: { maxBridgeCalls?: number; maxMemoryMB?: number };
            permissions?: {
                allowAnyAction?: boolean;
                allowAnyAgent?: boolean;
                allowAnyEntity?: boolean;
                allowedActions?: { id?: string; name?: string }[];
                allowedAgents?: { id?: string; name?: string }[];
                allowedEntities?: { id?: string; name?: string }[];
            };
            previousVersionId?: string;
            sandbox?: {
                additionalLibraries?: { name?: string; version?: string }[];
                debugMode?: boolean;
            };
            version?: string;
        },
        {
            limits?: { maxBridgeCalls?: number; maxMemoryMB?: number };
            permissions?: {
                allowAnyAction?: boolean;
                allowAnyAgent?: boolean;
                allowAnyEntity?: boolean;
                allowedActions?: { id?: string; name?: string }[];
                allowedAgents?: { id?: string; name?: string }[];
                allowedEntities?: { id?: string; name?: string }[];
            };
            previousVersionId?: string;
            sandbox?: {
                additionalLibraries?: { name?: string; version?: string }[];
                debugMode?: boolean;
            };
            version?: string;
        },
    > = ...

    Strict validator for the full RuntimeActionConfiguration blob. Use safeParse() at Runtime-action authoring time (inside ActionSmith) and again in ActionEngine.runRuntimeAction() before sandbox dispatch.