Vibe.Plugin.Context (vibe v0.2.1)

Copy Markdown View Source

Context passed to plugins and plugin workers.

Summary

Types

t()

@type t() :: %{
  optional(:session_id) => String.t(),
  optional(:cwd) => String.t(),
  optional(:model) => String.t(),
  optional(:ui) => module(),
  optional(:bus) => module()
}

Functions

from_opts(opts)

@spec from_opts(keyword() | map()) :: t()