struct ACP::Protocol::SessionListParams

Overview

Params for the session/list method (Client → Agent).

Included Modules

Defined in:

acp/protocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(cwd : String | Nil = nil, cursor : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]

Instance Method Detail

def cursor : String | Nil #

Optional pagination cursor from a previous nextCursor response.


[View source]
def cursor=(cursor : String | Nil) #

Optional pagination cursor from a previous nextCursor response.


[View source]
def cwd : String | Nil #

Optional filter: only return sessions with this working directory.


[View source]
def cwd=(cwd : String | Nil) #

Optional filter: only return sessions with this working directory.


[View source]
def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]