HostCapability enum

A host-wiring capability: one row of the issue #1079 capability × platform matrix.

The set is closed on purpose (E2): adding a value breaks the matrix-completeness contract until every built-in profile declares it — "CLI got X, app didn't" dies at compile+construct time, not in a sweep.

Inheritance
Available extensions

Values

configSections → const HostCapability

roles:/tools:/ttsr:/redact:/providerTimeouts:/agent: config sections.

compaction → const HostCapability

Compaction wiring: roles.smol judge, overWindowRelief, contextWindowCap.

loadModes → const HostCapability

Load modes + discover_tools demotion.

mcp → const HostCapability

MCP servers.

messagingFabric → const HostCapability

Messaging fabric transports (file / hub / A2A).

approvalGate → const HostCapability

Approval gate (modes, unattended, always-allow).

skills → const HostCapability

Skills + project context.

sandboxEnv → const HostCapability

Sandbox env (cube / platform / WasiSandbox / MemoryShell).

backgroundShellJobs → const HostCapability

Background shell jobs (the bash_job board).

sqliteLspDap → const HostCapability

sqlite reader, lsp, dap tool families.

onDeviceProviders → const HostCapability

On-device providers (webllm / gemma in-process inference).

jsApps → const HostCapability

JS apps (jsr) + dynamic_message — the browser-API surface.

checkpointRewind → const HostCapability

Checkpoint / rewind.

hostExtensionApi → const HostCapability

Host extension API: registering host tools / prompt sections / bridges through the builder. Core behaviors stay SDK-invariant.

webSearch → const HostCapability

web_search/web_fetch tools over the WebSearchConfig secrets. Beyond the issue matrix — inventory-driven (AC10, bin/fah.dart).

visionTranscribe → const HostCapability

Vision + transcribe: inspect_image/transcribe_audio/image generation over the host visionConfig/transcribeConfig. Beyond the issue matrix — inventory-driven (AC10, bin/fah.dart).

subagents → const HostCapability

Subagents + task system: subagents: config, SubagentManager, task*/agent_* tools. Beyond the issue matrix — inventory-driven (AC10, agent_cli.dart:481-605).

browserBridge → const HostCapability

The browser tool family over the loopback bridge handle (browser_navigate, browser_click, …). Distinct from jsApps: this is the automation surface the CLI wires today (bin/fah.dart). Beyond the issue matrix — inventory-driven (AC10).

jsExtensions → const HostCapability

The QuickJS extension host (extRuntimeFactory, initJsExtensions, jsr_runtime) — the CLI's process-based JS extension mechanism. Distinct from jsApps (the browser-API app surface, matrix-pinned off on the VM): QuickJS runs without a browser. Beyond the issue matrix — inventory-driven (AC10, bin/fah.dart).

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
Stable catalog id (snake_case, matches the matrix row).
no setter
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<HostCapability>
A constant List of the values in this enum, in order of their declaration.