Add a managed feature gate for in-app voice (#49683)

## What changed

Register `in_app_voice` as a stable, default-enabled feature and add it to the configuration schema. The gate is intended for managed requirements to control permission for voice in desktop apps; permission does not establish voice availability or provider support.

## Testing

Add app-server coverage for reporting `in_app_voice = false` from `requirements.toml` in both requirements and feature-list responses. Extend the CLI feature-list test to verify that cloud-managed requirements disable the gate despite a user-configured `true` value, without rewriting the user configuration.

GitOrigin-RevId: 6ec3bc0176fdb3e1714b0136bf812bd56591f6a1
This commit is contained in:
vishnu-oai
2026-09-30 17:20:35 +00:00
committed by copyberry
parent fcbed044c8
commit 6996cde697
4 changed files with 74 additions and 2 deletions
+11
View File
@@ -272,6 +272,11 @@ pub enum Feature {
///
/// Requirements-only gate: this should be set from requirements, not user config.
InAppDictation,
/// Allow in-app Voice in desktop apps.
///
/// Requirements-only gate: this should be set from requirements, not user config.
/// Permission does not establish Voice availability or provider support.
InAppVoice,
/// Allow desktop apps to run local automations.
///
/// Requirements-only gate: this should be set from requirements, not user config.
@@ -1524,6 +1529,12 @@ pub const FEATURES: &[FeatureSpec] = &[
stage: Stage::Stable,
default_enabled: true,
},
FeatureSpec {
id: Feature::InAppVoice,
key: "in_app_voice",
stage: Stage::Stable,
default_enabled: true,
},
FeatureSpec {
id: Feature::InAppLocalAutomation,
key: "in_app_local_automation",