@squidcloud/backend
    Preparing search index...

    Class SecureLangGraphContext

    Provides context to the security rules of a LangGraph invocation.

    Index
    graphContext?: Record<string, unknown>

    The context the caller passed for the run (invoke and resume), which nodes read as runtime.context.

    graphId: string
    input?: Record<string, unknown>

    The input of the run (invoke).

    resumePayload?: unknown

    The value the run resumes with (resume).

    session?: UpsertSessionRequest

    The session the call asks to attach (invoke and resume). Without the app API key, a new id creates it with the caller's data, and a live one is attached as it is: a rule that rejects it refuses the call.

    storedSession?: Session

    The live session stored under session.id, which a caller without the app API key attaches as it is: check that the caller may use it. Absent with the API key, which skips the rules.

    threadId?: string