Pure slash-command parsing helpers for the Codex ACP adapter.
@spec init_input_items() :: [map()]
@spec parse([map()]) :: {:ok, {atom(), String.t()}} | :error