@salesforce/agents
    Preparing search index...

    Function listCachedPreviewSessions

    • List all cached preview sessions in the project, grouped by agent ID. displayName (when present in session-meta.json) is the authoring bundle name or production agent API name for display. Use this to show users which sessions exist so they can end or clean up.

      Parameters

      • project: SfProject

      Returns Promise<CachedPreviewSessionEntry[]>