CoAgent8
    Preparing search index...

    Function formatSessionHistoryText

    • Formats human-readable Markdown text for a paginated session history page.

      Parameters

      • handle: string

        Session handle.

      • history: { events: ConversationEvent[]; nextCursor?: string | null }

        History page containing events and optional continuation cursor.

      • turnNumberMap: Map<string, number>

        Map from turnId UUIDs to 1-based chronological turn numbers.

      Returns string

      Formatted Markdown text.