Class FooterState
Immutable snapshot of all data required to render the TUI footer.
public sealed record FooterState : IEquatable<FooterState>
- Inheritance
-
FooterState
- Implements
- Inherited Members
Constructors
FooterState(string, string?, string?, long, long, string, string, int, PermissionMode, double, IReadOnlyList<PluginSegment>)
Immutable snapshot of all data required to render the TUI footer.
public FooterState(string WorkingDirectory, string? GitBranch, string? PrLink, long ContextTokensUsed, long ContextWindowSize, string Provider, string Model, int TurnCount, PermissionMode Mode, double WarnThresholdPercent, IReadOnlyList<PluginSegment> PluginSegments)
Parameters
WorkingDirectorystringGitBranchstringPrLinkstringContextTokensUsedlongContextWindowSizelongProviderstringModelstringTurnCountintModePermissionModeWarnThresholdPercentdoublePluginSegmentsIReadOnlyList<PluginSegment>
Properties
ContextTokensUsed
public long ContextTokensUsed { get; init; }
Property Value
ContextWindowSize
public long ContextWindowSize { get; init; }
Property Value
GitBranch
public string? GitBranch { get; init; }
Property Value
Mode
public PermissionMode Mode { get; init; }
Property Value
Model
public string Model { get; init; }
Property Value
PluginSegments
public IReadOnlyList<PluginSegment> PluginSegments { get; init; }
Property Value
PrLink
public string? PrLink { get; init; }
Property Value
Provider
public string Provider { get; init; }
Property Value
TurnCount
public int TurnCount { get; init; }
Property Value
WarnThresholdPercent
public double WarnThresholdPercent { get; init; }
Property Value
WorkingDirectory
public string WorkingDirectory { get; init; }
Property Value
Methods
ToSegments()
Resolves this state into a flat dictionary of named segments. Keys whose value is null should be hidden by the renderer.
public IDictionary<string, string?> ToSegments()