ActionRegistry

The central deterministic registry of supported system/settings actions (§12). Tier-0 routing resolves these from natural language with zero model calls and no app-list search; the LLM never produces them. Free of Android imports so it stays unit-testable in isolation.

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Looks up the definition for a settings key.

Link copied to clipboard

Pipe-joined keys for the "setting" action schema in the prompt.

Link copied to clipboard

Compact key: alias, alias… reference for grounding the model on a semantic settings request (e.g. mapping "usb debugging" → developer) — SoT §16.

Link copied to clipboard
fun settingKey(phrase: String): String?

Resolves a normalized phrase to a settings key, or null if it isn't a system action.