ExMCP.ACP.Adapters.Codex.Events (ex_mcp v1.0.0-rc.1)

View Source

Pure event-mapping helpers for the Codex ACP adapter.

Summary

Functions

command_title(command)

@spec command_title(any()) :: String.t()

dynamic_tool_content(items)

@spec dynamic_tool_content(any()) :: [map()]

dynamic_tool_title(arg1)

@spec dynamic_tool_title(map()) :: String.t()

file_change_content(change)

@spec file_change_content(map()) :: map()

format_raw(value)

@spec format_raw(any()) :: String.t()

format_web_search_results(results)

@spec format_web_search_results(any()) :: String.t()

item_id(params, item)

@spec item_id(map(), map()) :: any()

item_type(arg1)

@spec item_type(map()) :: String.t() | nil

mark_replay(message)

@spec mark_replay(map()) :: map()

mcp_tool_title(arg1)

@spec mcp_tool_title(map()) :: String.t()

normalize_tool_status(status, fallback)

@spec normalize_tool_status(any(), String.t()) :: String.t()

tool_call_started(session_id, item)

@spec tool_call_started(String.t() | nil, map()) :: map()

tool_diff_content(path, new_text)

@spec tool_diff_content(any(), any()) :: map()

tool_kind(name)

@spec tool_kind(any()) :: String.t()

tool_text_content(text)

@spec tool_text_content(any()) :: map()