Vibe.Session.CommandHandler (vibe v0.2.1)

Copy Markdown View Source

Interprets session command intents into semantic session events.

Summary

Types

context()

@type context() :: %{emit: function(), emit_opts: function()}

session_state()

@type session_state() :: map()

Functions

handle(command, state, caller, context)

metadata(command, state)

@spec metadata(Vibe.Session.Command.Intent.t(), session_state()) :: map()

normalize(command)