Raxol.UI.Components.Harness.StatusBar (Raxol v2.6.1)

View Source

Harness status line: model, turn-state, context budget, and running cost for one agent turn.

This does not reimplement status-bar rendering -- it shapes harness fields into the item list Raxol.UI.Components.Display.StatusBar already understands and delegates the actual render to it, so separator/key/value styling stays defined in exactly one place.

Summary

Types

t()

@type t() :: %{
  id: String.t() | atom(),
  model: String.t(),
  turn_state: turn_state(),
  context_pct: number(),
  cost: number(),
  separator: String.t(),
  style: map(),
  theme: map()
}

turn_state()

@type turn_state() :: :working | :idle

Functions

broadcast(msg)

command(cmd)

handle_event(event, state, context)

Callback implementation for Raxol.UI.Components.Base.Component.handle_event/3.

mount(state)

Callback implementation for Raxol.UI.Components.Base.Component.mount/1.

schedule(msg, delay)

unmount(state)

Callback implementation for Raxol.UI.Components.Base.Component.unmount/1.

update(props, state)

Callback implementation for Raxol.UI.Components.Base.Component.update/2.