Raxol.AgentClientProtocol.Schema.Ext.ExtNotification (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

An arbitrary _-prefixed extension notification, not part of the core ACP spec. No reply is expected.

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

Summary

Functions

Decode an ExtNotification from a raw wire map. Total: never raises, unknown fields fold into _meta.

Build an ExtNotification from a method name and its params.

Types

t()

@type t() :: %Raxol.AgentClientProtocol.Schema.Ext.ExtNotification{
  _meta: Raxol.AgentClientProtocol.Schema.Ext.meta(),
  method: String.t(),
  params: term()
}

Functions

from_map(map)

@spec from_map(map()) :: {:ok, t()} | {:error, :invalid_ext_notification}

Decode an ExtNotification from a raw wire map. Total: never raises, unknown fields fold into _meta.

new(method, params)

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

Build an ExtNotification from a method name and its params.