Vibe.TUI.Presentation.Tool (vibe v0.2.2)

Copy Markdown View Source

Terminal projection for tool presentations.

Summary

Functions

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Intentional facade for the public Vibe API boundary.

Types

tool()

@type tool() :: map()

Functions

block(tool, width, theme, opts \\ [])

@spec block(tool(), pos_integer(), Vibe.Terminal.Theme.t(), keyword()) :: [
  IO.chardata()
]

compact_summary(tool)

error_lines(error, width, theme)

Intentional facade for the public Vibe API boundary.

format_error(error)

Intentional facade for the public Vibe API boundary.

format_value(value)

generic_lines(tool, width, theme)

inspect_line(line, width, theme)

Intentional facade for the public Vibe API boundary.

inspect_lines(value, width, theme)

Intentional facade for the public Vibe API boundary.

output(tool)

output_line(line, width)

Intentional facade for the public Vibe API boundary.

params(tool)

plain_line(line, width, theme, opts \\ [])

Intentional facade for the public Vibe API boundary.

plain_lines(value, width, theme, opts \\ [])

Intentional facade for the public Vibe API boundary.

render(display, width, theme)

render_display(display, width, theme)

single_line(value)

Intentional facade for the public Vibe API boundary.

source_lines(lines, language, width, theme)

Intentional facade for the public Vibe API boundary.

status(tool)

Intentional facade for the public Vibe API boundary.

status_bg(text, status, theme)

Intentional facade for the public Vibe API boundary.

status_icon(status, theme)

Intentional facade for the public Vibe API boundary.

summarize_value(value, limit)

title(tool, theme, opts \\ [])

@spec title(tool(), Vibe.Terminal.Theme.t(), keyword()) :: IO.chardata()

Intentional facade for the public Vibe API boundary.

title(tool, width, theme, opts)

@spec title(tool(), pos_integer() | nil, Vibe.Terminal.Theme.t(), keyword()) ::
  IO.chardata()

Intentional facade for the public Vibe API boundary.