AppFahSections class final
The parsed config sections the Flutter app applies (issue #1078).
Absent sections are null/empty; a present-but-invalid section carries a warnings entry naming file + section and reads as absent (defaults).
Constructors
-
AppFahSections({Object? userDoc, ModelRolesConfig? roles, TtsrConfig? ttsr, ToolsConfig userTools = const ToolsConfig(), ToolsConfig projectTools = const ToolsConfig(), RedactionConfig? redact, ProviderTimeoutsOverride? providerTimeouts, AgentLoadMode loadMode = AgentLoadMode.defaultMode, bool mcpConfigured = false, List<
String> warnings = const []}) -
Creates the resolved sections.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadMode → AgentLoadMode
-
The resolved tool-load preset:
FA_AGENT_MODEenv >agent.modeconfig (the app has no--ompflag; the CLI's flag rung is its own).final - mcpConfigured → bool
-
Whether a user
mcp:section exists. The app does not consume it yet (CLI-only transport, inventory #2) — the loader surfaces a dead-config warning so the setting stops being silently ignored.final - projectTools → ToolsConfig
-
The project-scope
tools:section of<project>/.fah/config.yaml.final - providerTimeouts → ProviderTimeoutsOverride?
-
The
providerTimeouts:overrides, or null (defaults).final - redact → RedactionConfig?
-
The
redact:section, or null (defaults).final - roles → ModelRolesConfig?
-
The
roles:section (roles:/modelOverrides:/retry:), or null.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ttsr → TtsrConfig?
-
The merged
ttsr:config: user~/.fah/config.yamlsettings + rules with project.fah/rules.yamlrules registered FIRST (name clashes: project wins — the manager dedupes first-wins), or null.final - userDoc → Object?
-
The raw user doc (exposed for the parity guard to compare parser
inputs); null when the file was absent/unreadable/malformed.
final
- userTools → ToolsConfig
-
The user-scope
tools:section (the stack's global scope).final -
warnings
→ List<
String> -
One line per skipped/malformed section: names the file + section
(AC7). The host logs these once at boot.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited