Raxol.AgentClientProtocol.Schema.LifecycleExtras.SessionNotification (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

The session/update notification envelope: {sessionId, update, _meta}, where update is the Raxol.AgentClientProtocol.Schema.SessionUpdate discriminated union (ported separately, session_update.ex). Oracle-derived (schema.json SessionNotification); not a port of any upstream f1729 module — upstream's ACP.SessionNotification envelope was explicitly left unported by agent_types.ex's and session_update.ex's own moduledocs pending whoever wired the routing union it belongs to.

Summary

Types

t()

@type t() :: %Raxol.AgentClientProtocol.Schema.LifecycleExtras.SessionNotification{
  _meta: map(),
  session_id: String.t(),
  update: Raxol.AgentClientProtocol.Schema.SessionUpdate.t()
}

Functions

from_json(map)

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

new(session_id, update)

to_json(r)

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