@archastro/sdk
    Preparing search index...

    Interface ScriptRunResult

    Schema for the result of executing a script in the editor

    interface ScriptRunResult {
        error?: string;
        findings?: Record<string, unknown>[];
        output?: Record<string, unknown>[];
        result?: unknown;
    }
    Index

    Properties

    error?: string

    Error message when script execution failed

    findings?: Record<string, unknown>[]

    Structured diagnostics with position info for editor markers (severity, message, line, column, end_line, end_column)

    output?: Record<string, unknown>[]

    Output lines from println calls, each with :line (source line number), :text, and optional :values

    result?: unknown

    The evaluated JSON-safe result (null when execution failed)