ReqManagedAgents.Profile (ReqManagedAgents v0.1.0)

Copy Markdown View Source

Server wire-compat profile. :anthropic is identity (Anthropic cloud shape). :jido encodes the 4 remaps proven by the jido_managed_agents handshake spike: (1) tool-use name/input nested under content[0]/payload; (2) end_turn signalled as status_idle + null stop_reason (gate on "agent seen"); (3) /events/stream path; (4) pagination cursor (after vs next_page — handled in the paging layer).

Summary

Functions

Terminal verdict for an idle/terminal event. Returns a terminal atom or false. For :jido, a creation-time status_idle (before any agent event) is NOT terminal.

Types

t()

@type t() :: :anthropic | :jido

Functions

events_stream_path(atom, sid)

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

terminal?(atom, event, arg3)

@spec terminal?(t(), map(), boolean()) :: ReqManagedAgents.Event.terminal() | false

Terminal verdict for an idle/terminal event. Returns a terminal atom or false. For :jido, a creation-time status_idle (before any agent event) is NOT terminal.

tool_use(atom, map)

@spec tool_use(t(), map()) :: {String.t(), map()}