Skip to content

smelt.mode

Tier: Host — Available in every runtime, including headless mode.

Agent-mode selector. smelt.mode() reads the active mode; smelt.mode(v) sets it (overridden by the TUI to apply the change). smelt.mode.cycle_list() lists the configured cycle.

smelt.mode.cycle_list

fun(): smelt.mode.Mode[]

Types: smelt.mode.Mode

Return the configured agent-mode cycle; falls back to all known modes when the user has not customized one.