Jidoka.Browser (Jidoka v0.8.0-beta.1)

Copy Markdown View Source

Constrained browser tool source backed by jido_browser actions.

Jidoka keeps this surface read-only. The DSL exposes search/page-read capabilities as normal Jido action modules, while this module owns source selection and shared runtime policy.

Summary

Functions

Normalizes browser DSL mode values into the runtime mode enum.

Returns the Jido action modules exposed for a browser mode.

Types

mode()

@type mode() :: :search | :read_only

Functions

normalize_mode(mode)

@spec normalize_mode(term()) :: {:ok, mode()} | {:error, String.t()}

Normalizes browser DSL mode values into the runtime mode enum.

tool_modules(mode)

@spec tool_modules(mode() | String.t()) :: [module()]

Returns the Jido action modules exposed for a browser mode.