Raxol.AgentClientProtocol.Schema.AgentTypes.SessionCapabilities (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

Session-lifecycle capabilities the agent supports, including the unstable list/fork/resume extensions.

delete/close (SessionDeleteCapabilities/SessionCloseCapabilities) are not in f1729; ported from the pinned v1.19.0 oracle schema (priv/schema-oracle/v1/schema.json, $defs/SessionCapabilities.delete + .close) so that session/delete and session/close gate on a real struct leaf (see MethodTable's ORACLE-DIVERGENCE note). No upstream attribution for delete/close/SessionDeleteCapabilities/ SessionCloseCapabilities.

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

Summary

Types

Functions

from_json(map)

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

new()

@spec new() :: t()

to_json(c)

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