ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    Preparing search index...

    Type Alias ListSessionsRequestExperimental

    Request parameters for listing existing sessions.

    type ListSessionsRequest = {
        cwd?: AbsolutePath | null;
        cursor?: SessionListCursor | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    cwd?: AbsolutePath | null

    Filter sessions by working directory. Must be an absolute path.

    cursor?: SessionListCursor | null

    Opaque cursor token from a previous response's nextCursor field for cursor-based pagination

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility