SharedSetting enum

Every shared settings concept that must exist on both platforms unless explicitly exempted.

Inheritance
Available extensions

Values

approvalMode → const SharedSetting

Tool-approval mode (always-ask / write / yolo / unattended).

modelDefault → const SharedSetting

The default chat model (provider, modelId, baseUrl, apiKey).

modelSmol → const SharedSetting

Fast/cheap model for compaction and subagents.

mediaSlots → const SharedSetting

Per-modality media model overrides (image/TTS/music/video/vision/transcription).

customProviders → const SharedSetting

Saved custom provider endpoints.

apiKeys → const SharedSetting

API key store (env / keychain).

mcpServers → const SharedSetting

External MCP tool servers.

ttsrRules → const SharedSetting

Time-traveling stream rules.

promptOverrides → const SharedSetting

Prompt template overrides (system prompt, mode prompts, compaction prompts).

skillsAccess → const SharedSetting

Consent for reading third-party skill roots (Claude/Copilot/Codex).

cubeSandbox → const SharedSetting

fa_cube sandbox profiles (declarative fs/shell/network clamps).

dapHub → const SharedSetting

DAP/1 hub connection (URL, agent name/identity, channels).

tools → const SharedSetting

Capability-gated tool availability (hide unavailable/disabled tools).

compactionEngine → const SharedSetting

Compaction engine choice (structured 2.0 default, issue #287; the classic 1.0 prefix summary stays as the in-settings rollback).

agentMode → const SharedSetting

The agent mode preset (code / ask / plan …) that picks the system prompt of the coding REPL.

memoryStores → const SharedSetting

Long-term memory store locations (memory.projectPath / memory.userPath).

spillHooks → const SharedSetting

The automatic tool-result spilling (spills: section, issue #678): boot wiring for the CLI host process's agent loop — hook attach + boot notes, not an interactive preference on any surface.

redactionPolicy → const SharedSetting

The layered redaction pipeline's redact: section (enabled/blockMode, per-layer toggles, allowlist regexes, entropy knobs, per-tool policy, issue #391).

imageRegistry → const SharedSetting

The session image registry's images: section — the registry kill switch (registry: false reproduces the legacy request shape byte-for-byte) and the per-request unique-image cap (maxPerRequest, default 20), issue #395.

sleepPrevention → const SharedSetting

The host machine's sleep-prevention (power: section — the sleepPrevention level and the hold lifecycle, issues #325/#326): the assertion the long run holds so the machine does not sleep under it, issue #397.

contextWindowCap → const SharedSetting

The owner-side context cap (agent.contextWindowCap, issue #273) clamping the EFFECTIVE window for the compaction thresholds, the ctx meter and the loop's over-window guard (issue #394).

loadMode → const SharedSetting

The tool-load preset (agent.mode: default|pi|omp, issue #680): the essential/discoverable schema curation (omp after oh-my-pi; pi is #679's exact benchmark shape).

resiliencePolicy → const SharedSetting

Provider failure resilience: the watchdog timeouts (providerTimeouts.connectTimeoutMs/streamIdleTimeoutMs) and the chain retry policy (retry:, issue #393).

tuiTheme → const SharedSetting

TUI color palette (tui.theme + ~/.fah/themes/*.json, issue #279).

providersQueue → const SharedSetting

The main-model provider queue (providersQueue: yaml sections + the FA_PROVIDERS_QUEUE env, issue #418): the ordered failover chain, edited by the same list/add/remove/reorder editor on the CLI (/providers queue) and in the app Settings; the env scope is read-only everywhere.

harnessMode → const SharedSetting

The harness benchmark mode (agent.mode: default | pi, issue #679): fa --pi runs pi's exact benchmark shape — the 4-tool surface, the bare prompt profile, the token-parity gate.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<SharedSetting>
A constant List of the values in this enum, in order of their declaration.