Table of Contents

Class FooterSettings

Namespace
JD.AI.Core.Config
Assembly
JD.AI.Core.dll

Controls the TUI status footer rendered at the bottom of the interactive session.

public sealed record FooterSettings : IEquatable<FooterSettings>
Inheritance
FooterSettings
Implements
Inherited Members

Properties

Enabled

When false, the footer bar is hidden entirely.

public bool Enabled { get; init; }

Property Value

bool

Lines

Number of rows the footer occupies (1–3).

public int Lines { get; init; }

Property Value

int

Segments

Per-segment visibility overrides, keyed by segment name.

public Dictionary<string, SegmentVisibilityOverride> Segments { get; init; }

Property Value

Dictionary<string, SegmentVisibilityOverride>

Template

Mustache-style template that controls which segments appear and in what order. Segment tokens are wrapped in braces; append ? to make a segment optional.

public string Template { get; init; }

Property Value

string

WarnThresholdPercent

Percentage of the context window remaining at which the context segment switches to warn styling (1–50). Default: 15.

public int WarnThresholdPercent { get; init; }

Property Value

int

Methods

Normalize(FooterSettings?)

Returns a normalised copy of settings, applying defaults and clamping out-of-range values. Passing null returns a fully-defaulted instance.

public static FooterSettings Normalize(FooterSettings? settings)

Parameters

settings FooterSettings

Returns

FooterSettings