Raxol.AgentClientProtocol.Schema.Unstable.SessionInfo (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

Information about a session returned by session/list. (Unstable)

Ported from the MIT f1729/agent_client_protocol (c) 2025 f1729; see NOTICE.md.

Summary

Types

t()

@type t() :: %Raxol.AgentClientProtocol.Schema.Unstable.SessionInfo{
  _meta: map(),
  cwd: String.t(),
  session_id: String.t(),
  title: String.t() | nil,
  updated_at: String.t() | nil
}

Functions

from_json(map)

@spec from_json(term()) :: {:ok, t()} | {:error, term()}

new(session_id, cwd)

@spec new(String.t(), String.t()) :: t()

to_json(s)

@spec to_json(t()) :: map()