Member Junction
    Preparing search index...

    Interface ActionResultCrushConfig

    Resolved per-run configuration for structurally compressing inline action-result payloads via @memberjunction/context-crush. Undefined means crushing is disabled for the run (the agent opted out via crushActionResults: false).

    interface ActionResultCrushConfig {
        codeLang: CodeLang;
        maxChars: number;
        threshold: number;
    }
    Index

    Properties

    codeLang: CodeLang

    When set, large string output params are reduced with CrushCode for this language. Undefined (default) means code-string crushing is off — only structural JSON crushing applies. Opt in per agent type via the crushCodeLang prompt param or a subclass override.

    maxChars: number

    Optional character budget passed to CrushJSON (undefined = no row truncation).

    threshold: number

    Minimum stringified length of an object/array (or code string) value before crushing.