Skip to content

Add support for listing past sessions #165

@TylerLeonhardt

Description

@TylerLeonhardt

I'm looking for an API that allows me to list sessions in the CWD.

Copilot SDK has something similar with:
https://github.com/github/copilot-sdk/blob/main/nodejs/README.md#listsessions-promisesessionmetadata

An important detail is that this lists metadata about a session, not the session content itself (loading everything will be tough on memory).

I saw this item in the release notes:

Added listSessions function to discover resumable sessions by project, repo, or globally

but I haven't been able to figure out how to invoke it. That API doesn't appear to be exposed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions