@shortcut/client
    Preparing search index...

    Function isShortcutSessionEventPayload

    • True for a v1 agent-session delivery with a recognized type and the session snapshot, plus the prompt context that session.created carries or the human prompt that session.prompted requires. Enum-like fields only have to be strings; see the note above ShortcutAgentSessionStatus.

      Parameters

      • payload: unknown

      Returns payload is ShortcutSessionEventPayload