struct
ACP::Protocol::SessionInfo
- ACP::Protocol::SessionInfo
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/types.crConstructors
- .new(session_id : String, cwd : String, title : String | Nil = nil, updated_at : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#cwd : String
Absolute path to the working directory (required).
-
#cwd=(cwd : String)
Absolute path to the working directory (required).
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#session_id : String
Unique session identifier (required).
-
#session_id=(session_id : String)
Unique session identifier (required).
-
#title : String | Nil
Human-readable session title.
-
#title=(title : String | Nil)
Human-readable session title.
-
#updated_at : String | Nil
ISO 8601 timestamp of last activity.
-
#updated_at=(updated_at : String | Nil)
ISO 8601 timestamp of last activity.
Constructor Detail
def self.new(session_id : String, cwd : String, title : String | Nil = nil, updated_at : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
#