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

Copy Markdown View Source

Payload for the session/update notification's session_info_update variant: a partial update to session metadata. The variant wiring itself lives in SessionUpdate (ported from client_types.ex, not this file).

Uses Raxol.AgentClientProtocol.Schema.MaybeUndefined for its fields to support partial-update semantics:

  • :undefined — field not included on the wire (no change)
  • nil — explicitly null on the wire (clear the value)
  • {:value, v} — set to v

(Unstable)

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

Summary

Types

t()

@type t() :: %Raxol.AgentClientProtocol.Schema.Unstable.SessionInfoUpdate{
  _meta: map(),
  title: Raxol.AgentClientProtocol.Schema.MaybeUndefined.t(String.t()),
  updated_at: Raxol.AgentClientProtocol.Schema.MaybeUndefined.t(String.t())
}

Functions

from_json(map)

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

new()

@spec new() :: t()

to_json(s)

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