Skip to content

Doubao-powered voice input for Linux, Wayland and Omarchy

test(e2e): trim flash model setup work

quanrud63b8cb8103a
diff --git a/tests/e2e/cases/onboarding-regressions.yaml b/tests/e2e/cases/onboarding-regressions.yaml
index 90d6d82..2a959f0 100644
--- a/tests/e2e/cases/onboarding-regressions.yaml
+++ b/tests/e2e/cases/onboarding-regressions.yaml
@@ -3,7 +3,7 @@ cases:
tags: [shard-1]
steps:
- aiAssert: The current step is Sign in and both left-arrow Previous and right-arrow Next in the fixed top navigation are disabled.
- - aiAct: In the Sign in content panel, open the CI-only Doubao sign-in window exactly once.
+ - aiAct: Open the CI-only Doubao sign-in window.
- aiWaitFor:
prompt: The CI-only Synthetic Doubao sign-in window is visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
@@ -17,7 +17,7 @@ cases:
- aiWaitFor:
prompt: The CI-only Synthetic Doubao sign-in window is visible again.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- - aiAct: In the Synthetic Doubao sign-in window, simulate a successful sign-in exactly once.
+ - aiAct: Simulate a successful sign-in.
- aiWaitFor:
prompt: The sign-in window is closed and Doubao Say has advanced to the Microphone step.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
@@ -27,21 +27,21 @@ cases:
tags: [shard-4]
steps:
- aiAssert: The visible Doubao Say window starts on the Sign in step and says the user is not signed in.
- - aiAct: In the Sign in content panel, open the CI-only Doubao sign-in window exactly once.
+ - aiAct: Open the CI-only Doubao sign-in window.
- aiWaitFor:
prompt: The CI-only Synthetic Doubao sign-in window is visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The synthetic sign-in window says it makes no network request and uses no real credentials.
- - aiAct: In the Synthetic Doubao sign-in window, simulate a successful sign-in exactly once.
+ - aiAct: Simulate a successful sign-in.
- aiWaitFor:
prompt: The sign-in window is closed and Doubao Say has advanced to the Microphone step.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- - aiAct: Use the left-arrow Previous button once to return to Sign in, then reveal the signed-in account status in the content panel.
+ - aiAct: Return to the Sign in step.
- aiWaitFor:
prompt: The Sign in step shows the signed-in account status and Sign in again or change account.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The Sign in step shows the heading Your voice, wherever you type; left-arrow Previous is disabled, right-arrow Next is enabled, and the account status says Signed in.
- - aiAct: Use the right-arrow Next button once to return to Microphone.
+ - aiAct: Continue to the Microphone step.
- aiWaitFor:
prompt: The Microphone step shows Let's make sure we can hear you.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
@@ -50,26 +50,19 @@ cases:
- name: Require an enabled trigger and retain the replacement
tags: [shard-4]
steps:
- - aiAssert: The visible Doubao Say window starts on the Sign in step and says the user is not signed in.
- - aiAct: Complete the CI-only synthetic Doubao sign-in successfully. Do not change any onboarding setting afterward.
- - aiWaitFor:
- prompt: Doubao Say has advanced to the Microphone step and the sign-in window is closed.
- options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- - aiAct: Use the right-arrow Next button once to open Trigger key.
- - aiWaitFor:
- prompt: The Trigger key step shows Choose how to start speaking.
- options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- - aiAct: In the trigger selection dropdown, choose Disabled. Do not change Voice polishing.
+ - fixture.prepare: { mode: trigger-settings }
+ - aiAssert: The Trigger key step shows Choose how to start speaking and Voice polishing is enabled.
+ - aiAct: Choose Disabled in the trigger selection dropdown.
- aiAssert: Active trigger says Disabled and Voice polishing has not changed.
- - aiAct: Use the right-arrow Next button once, then stop.
+ - aiAct: Try to continue to the next step.
- aiAssert: The current step is still Trigger key and the message Choose an enabled trigger to continue is visible.
- - aiAct: In the trigger selection dropdown, choose F8.
+ - aiAct: Choose F8 in the trigger selection dropdown.
- aiAssert: Active trigger shows F8 and F8 is selected in the trigger dropdown.
- - aiAct: Use the right-arrow Next button once to open Voice test.
+ - aiAct: Continue to Voice test.
- aiWaitFor:
prompt: Voice test shows Try a sentence. Nothing gets pasted and the right-arrow Next button is disabled.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- - aiAct: Use the left-arrow Previous button once to return to Trigger key.
+ - aiAct: Return to Trigger key.
- aiWaitFor:
prompt: The Trigger key step is visible again.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
@@ -78,45 +71,34 @@ cases:
- name: Toggle polishing without losing configuration
tags: [shard-3]
steps:
- - aiAssert: The visible Doubao Say window starts on the Sign in step and says the user is not signed in.
- - aiAct: Complete the CI-only synthetic Doubao sign-in successfully. Do not change any onboarding setting afterward.
- - aiWaitFor:
- prompt: Doubao Say has advanced to the Microphone step and the sign-in window is closed.
- options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- - aiAct: Use the right-arrow Next button once to open Trigger key, then reveal the Voice polishing controls.
+ - fixture.prepare: { mode: trigger-settings }
+ - aiAct: Reveal the Voice polishing controls.
- aiWaitFor:
prompt: The Trigger key step and the Voice polishing switch are visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- - aiAct: Turn Voice polishing off exactly once.
+ - aiAct: Turn Voice polishing off.
- aiAssert: Voice polishing disabled is visible, the switch is off, and the polishing Base URL and Model fields are hidden.
- - aiAct: Turn Voice polishing on exactly once, then reveal its Model input.
+ - aiAct: Turn Voice polishing on and reveal its Model input.
- aiWaitFor:
prompt: Voice polishing is enabled and its Model input is visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The Voice polishing switch is on and the Model input contains exactly synthetic-model.
- name: Recover from an endpoint failure
- tags: [shard-1]
+ tags: [shard-2]
steps:
- - aiAssert: The visible Doubao Say window starts on the Sign in step and says the user is not signed in.
- - aiAct: Complete the CI-only synthetic Doubao sign-in successfully. Do not change any onboarding setting afterward.
- - aiWaitFor:
- prompt: Doubao Say has advanced to the Microphone step and the sign-in window is closed.
- options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- - aiAct: Use the right-arrow Next button once to open Trigger key.
- - aiWaitFor:
- prompt: The Trigger key step shows Choose how to start speaking.
- options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- - aiAct: In Voice polishing, replace the Model value with ci-fail-model. Do not activate Test endpoint.
+ - fixture.prepare: { mode: trigger-settings }
+ - aiAssert: The Trigger key step shows Choose how to start speaking and Voice polishing is enabled.
+ - aiAct: Replace the Voice polishing Model value with ci-fail-model.
- aiAssert: The Voice polishing Model input contains exactly ci-fail-model.
- - aiAct: Activate Test endpoint once and leave the failure result visible.
+ - aiAct: Test the Voice polishing endpoint.
- aiWaitFor:
prompt: The endpoint feedback contains Synthetic endpoint unavailable and the retry button says Test failed — try again.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The endpoint failure and its enabled retry button are both visible.
- - aiAct: Replace the Voice polishing Model value with ci-ok-model. Do not activate the retry button yet.
+ - aiAct: Replace the Voice polishing Model value with ci-ok-model.
- aiAssert: The Voice polishing Model input contains exactly ci-ok-model, without the word fail.
- - aiAct: Activate Test failed — try again exactly once and leave the new result visible.
+ - aiAct: Retry the Voice polishing endpoint test.
- aiWaitFor:
prompt: The endpoint result contains Synthetic endpoint response and the button says Endpoint works.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
@@ -127,17 +109,17 @@ cases:
steps:
- fixture.prepare: { mode: microphone-gate }
- aiAssert: The visible Doubao Say window starts on the Microphone step, shows Synthetic microphone one, and offers Check microphone · 3 seconds.
- - aiAct: Without running the microphone check, use the right-arrow Next button on Microphone and then on Trigger key to reach Voice test. Reveal Finish setup but do not activate it.
+ - aiAct: Continue to Voice test without checking the microphone, then reveal Finish setup.
- aiWaitFor:
prompt: Voice test is visible and Finish setup is fully visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The Finish setup button is visibly disabled.
- - aiAct: Return to Microphone with the left-arrow Previous button on Voice test and then on Trigger key. Run Check microphone · 3 seconds exactly once.
+ - aiAct: Return to Microphone and run Check microphone · 3 seconds.
- aiWaitFor:
prompt: The visible feedback says Microphone is working and instructs the user to continue to the trigger key step.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The microphone result says Microphone is working and Synthetic microphone one remains selected.
- - aiAct: Use the right-arrow Next button on Microphone and then on Trigger key to return to Voice test. Reveal Finish setup but do not activate it.
+ - aiAct: Continue to Voice test and reveal Finish setup.
- aiWaitFor:
prompt: Voice test is visible and Finish setup is fully visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
@@ -147,32 +129,31 @@ cases:
tags: [shard-3]
steps:
- fixture.prepare: { mode: voice-test }
- - aiAssert: The visible Doubao Say window starts on the Microphone step and the microphone is already configured.
- - aiAct: Use the right-arrow Next button on Microphone and then on Trigger key to reach Voice test. Reveal Finish setup but do not activate it or start the voice test.
+ - aiAct: Reveal Finish setup.
- aiWaitFor:
prompt: Voice test is visible and the disabled Finish setup control is fully visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The setup control is disabled before any voice test passes.
- - aiAct: Start the voice test exactly once.
+ - aiAct: Start the voice test.
- aiWaitFor:
prompt: Synthetic voice test transcript is visible, and both Finish & check result and Cancel test are available.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The listening voice test has a synthetic transcript and offers both finish and cancel actions.
- - aiAct: Cancel the active voice test exactly once.
+ - aiAct: Cancel the active voice test.
- aiWaitFor:
prompt: The Listening overlay is gone and the visible feedback says Voice test cancelled and nothing was pasted or sent.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: Start voice test is available again, the transcript is empty, and the visible feedback says Voice test cancelled and nothing was pasted or sent.
- - aiAct: Reveal the voice-test result and Finish setup control without starting another test or activating Finish setup.
+ - aiAct: Reveal the voice-test result and Finish setup control.
- aiWaitFor:
prompt: The cancelled voice-test result and the disabled Finish setup control are fully visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The setup control is disabled and says Voice test cancelled and nothing pasted or sent.
- - aiAct: Start a second voice test exactly once.
+ - aiAct: Start another voice test.
- aiWaitFor:
prompt: Synthetic voice test transcript is visible and Finish & check result is available again.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- - aiAct: Finish the active voice test and check its result exactly once.
+ - aiAct: Finish the active voice test and check its result.
- aiWaitFor:
prompt: The Listening overlay is gone and the visible feedback says Voice test passed and nothing was pasted or sent.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
@@ -183,22 +164,22 @@ cases:
steps:
- fixture.prepare: { mode: volcengine }
- aiAssert: The visible Doubao Say window starts on Sign in with Doubao account selected and right-arrow Next disabled.
- - aiAct: In Recognition service, choose Volcengine API exactly once.
+ - aiAct: Choose Volcengine API as the Recognition service.
- aiWaitFor:
prompt: The page title is Recognition and the empty API Key field is visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: Open Doubao sign-in is hidden, and both Test API key and right-arrow Next are disabled while the API Key is empty.
- - aiAct: Enter synthetic-ci-key in the API Key field. Do not activate Test API key yet.
+ - aiAct: Enter synthetic-ci-key in the API Key field.
- aiWaitFor:
prompt: The API Key field has a non-empty masked value and Test API key is enabled.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The API Key is visibly saved as a masked non-empty value.
- - aiAct: Activate Test API key exactly once and leave its result visible.
+ - aiAct: Test the API key.
- aiWaitFor:
prompt: The result says API key accepted by synthetic endpoint and the page reports that the official API is ready.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The accepted API key result and official API ready state are both visible.
- - aiAct: Use the right-arrow Next button once to open Microphone.
+ - aiAct: Continue to Microphone.
- aiWaitFor:
prompt: The Microphone step shows Let's make sure we can hear you.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
@@ -209,22 +190,22 @@ cases:
steps:
- fixture.prepare: { mode: microphone-change }
- aiAssert: The visible Doubao Say window starts on the Microphone step with Synthetic microphone one selected.
- - aiAct: In the microphone dropdown, choose Synthetic microphone two exactly once.
+ - aiAct: Choose Synthetic microphone two in the microphone dropdown.
- aiWaitFor:
prompt: The visible feedback says Microphone saved and requires a new three-second check.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: Synthetic microphone two is selected and a new microphone check is required.
- - aiAct: Without running the new microphone check, use the right-arrow Next button on Microphone and then on Trigger key to reach Voice test. Reveal Finish setup but do not activate it.
+ - aiAct: Continue to Voice test without running the new microphone check, then reveal Finish setup.
- aiWaitFor:
prompt: Voice test is visible and Finish setup is fully visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The Finish setup button is visibly disabled.
- - aiAct: Return to Microphone with the left-arrow Previous button on Voice test and then on Trigger key. Run Check microphone · 3 seconds exactly once.
+ - aiAct: Return to Microphone and run Check microphone · 3 seconds.
- aiWaitFor:
prompt: The visible feedback says Microphone is working and Synthetic microphone two remains selected.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The microphone result says Microphone is working and Synthetic microphone two remains selected.
- - aiAct: Use the right-arrow Next button on Microphone and then on Trigger key to return to Voice test. Reveal Finish setup but do not activate it.
+ - aiAct: Continue to Voice test and reveal Finish setup.
- aiWaitFor:
prompt: Voice test is visible and Finish setup is fully visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
@@ -234,16 +215,13 @@ cases:
tags: [shard-2]
steps:
- fixture.prepare: { mode: shortcut-capture }
- - aiAct: Use the right-arrow Next button once to open Trigger key.
- - aiWaitFor:
- prompt: Trigger key shows Active trigger fn and its trigger selection dropdown.
- options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- - aiAct: In the trigger selection dropdown, choose Record a shortcut… exactly once and allow the synthetic shortcut capture to finish.
+ - aiAssert: Trigger key shows Active trigger fn and its trigger selection dropdown.
+ - aiAct: Choose Record a shortcut… in the trigger selection dropdown.
- aiWaitFor:
prompt: The active trigger and trigger dropdown both show the control symbol ⌃ plus F8.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The active and selected trigger is the custom shortcut ⌃ plus F8.
- - aiAct: Use the right-arrow Next button once to open Voice test, then use the left-arrow Previous button once to return to Trigger key.
+ - aiAct: Continue to Voice test and then return to Trigger key.
- aiWaitFor:
prompt: Trigger key is visible again and still shows the custom shortcut.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
diff --git a/tests/e2e/cases/onboarding.yaml b/tests/e2e/cases/onboarding.yaml
index 5204996..a55f1e2 100644
--- a/tests/e2e/cases/onboarding.yaml
+++ b/tests/e2e/cases/onboarding.yaml
@@ -1,44 +1,44 @@
cases:
- name: Complete Doubao Say onboarding on a real desktop
- tags: [shard-2]
+ tags: [shard-1]
steps:
- aiAssert: The visible Doubao Say window is on Sign in and says the user is not signed in.
- - aiAct: In the Sign in content panel, open the CI-only Doubao sign-in window exactly once.
+ - aiAct: Open the CI-only Doubao sign-in window.
- aiWaitFor:
prompt: The CI-only Synthetic Doubao sign-in window is visible.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The Synthetic Doubao sign-in window explicitly says it is CI-only, makes no network request, and uses no real credentials.
- - aiAct: In the Synthetic Doubao sign-in window, simulate a successful sign-in exactly once.
+ - aiAct: Simulate a successful sign-in.
- aiWaitFor:
prompt: The synthetic sign-in window is closed and Doubao Say is on the Microphone step.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The Microphone step shows Check microphone · 3 seconds and the right-arrow Next button in the fixed top navigation.
- - aiAct: On the Microphone step, run Check microphone · 3 seconds exactly once.
+ - aiAct: Run Check microphone · 3 seconds.
- aiWaitFor:
prompt: The visible feedback says Microphone is working and instructs the user to continue to the trigger key step.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The visible microphone result says Microphone is working.
- - aiAct: Use the right-arrow Next button once to open Trigger key, then reveal the complete Voice polishing model guidance in the central content panel. Do not change any trigger or polishing setting.
+ - aiAct: Continue to Trigger key and reveal the Voice polishing model guidance.
- aiWaitFor:
prompt: The Trigger key page is visible and the complete Voice polishing model guidance can be read.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The model guidance recommends a small, fast model with thinking off, names DeepSeek Flash and Gemini 2.5 Flash-Lite, and warns that large reasoning models may exceed five seconds and fall back to the original text.
- - aiAct: In the Voice polishing section, activate Test endpoint exactly once and leave its result visible.
+ - aiAct: Test the Voice polishing endpoint.
- aiWaitFor:
prompt: The Voice polishing result says Endpoint works and includes Synthetic endpoint response.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The visible endpoint result says Endpoint works and includes Synthetic endpoint response.
- - aiAct: Use the right-arrow Next button once to open Voice test. Do not start the voice test yet.
+ - aiAct: Continue to Voice test.
- aiWaitFor:
prompt: The Voice test page is visible and Start voice test is available.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The Voice test heading and introductory text are clearly visible, and Start voice test is available.
- - aiAct: Start the voice test exactly once.
+ - aiAct: Start the voice test.
- aiWaitFor:
prompt: Synthetic voice test transcript is visible, and both Finish & check result and Cancel test are available.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
- aiAssert: The Voice test shows Synthetic voice test transcript and offers both Finish & check result and Cancel test.
- - aiAct: Finish the active voice test and check its result exactly once.
+ - aiAct: Finish the active voice test and check its result.
- aiWaitFor:
prompt: The Listening overlay is gone and the visible feedback says Voice test passed and nothing was pasted or sent.
options: { timeoutMs: 30000, checkIntervalMs: 1000 }
diff --git a/tests/e2e/cases/polishing.yaml b/tests/e2e/cases/polishing.yaml
index 6e81b6b..aeaa4f2 100644
--- a/tests/e2e/cases/polishing.yaml
+++ b/tests/e2e/cases/polishing.yaml
@@ -1,19 +1,19 @@
cases:
- name: Polishing status stays separate from synthetic transcript
steps:
- - aiAct: Click Start English polishing once in the Polishing overlay test controls window.
+ - aiAct: Start English polishing in the test controls window.
- aiAssert: A separate dark overlay shows Polishing at the upper left and three stars at the upper right. The transcript Please send the notes tomorrow. is below with clear space separating it from the status. No horizontal divider line appears inside the overlay.
- aiWaitFor:
prompt: The overlay displays Press shortcut again to use original as a smaller secondary hint below the transcript.
options: { timeoutMs: 10000, checkIntervalMs: 1000 }
- aiAssert: The overlay displays Press shortcut again to use original as a smaller secondary hint below the transcript.
- - aiAct: Click Stream revised text once in the test controls window.
+ - aiAct: Stream the revised text in the test controls window.
- aiAssert: The overlay transcript now reads Please send the meeting notes tomorrow. The Polishing status and stars remain in their own row above the transcript.
- - aiAct: Click Start Chinese polishing once in the test controls window.
+ - aiAct: Start Chinese polishing in the test controls window.
- aiAssert: The dark overlay displays 润色中 in its status row and 请明天发送会议纪要。 as separate text below, with three stars at the upper right and no horizontal divider.
- - aiAct: Click Start reduced motion once in the test controls window.
+ - aiAct: Start reduced motion in the test controls window.
- aiAssert: The overlay shows English Polishing status, three clearly visible stars, and the separate transcript Please send the notes tomorrow.
- - aiAct: Click Finish polishing once in the test controls window.
+ - aiAct: Finish polishing in the test controls window.
- aiAssert: Within the dark transcript overlay, the status reads Polished - Sending text and its top-right status row no longer contains the three small polishing star icons. Ignore the desktop wallpaper and any system logo outside the dark overlay.
- - aiAct: Click Hide overlay once in the test controls window.
+ - aiAct: Hide the overlay in the test controls window.
- aiAssert: The dark transcript overlay is gone. The Polishing overlay test controls window remains visible.
diff --git a/tests/e2e/gtk_onboarding_fixture.py b/tests/e2e/gtk_onboarding_fixture.py
index b23879c..8b75bcb 100644
--- a/tests/e2e/gtk_onboarding_fixture.py
+++ b/tests/e2e/gtk_onboarding_fixture.py
@@ -20,6 +20,7 @@ MICROPHONES = [
]
LOGGED_IN_MODES = {
"microphone-gate",
+ "trigger-settings",
"voice-test",
"microphone-change",
"shortcut-capture",
@@ -297,6 +298,10 @@ def build_onboarding_fixture(mode):
)
holder["control"] = control
control.show()
+ if mode in {"trigger-settings", "shortcut-capture"}:
+ control._set_page("trigger", forward=True)
+ elif mode == "voice-test":
+ control._set_page("voice", forward=True)
def cleanup():
cancel_key_capture()
diff --git a/tests/e2e/midscene.config.ts b/tests/e2e/midscene.config.ts
index 7748943..35ce810 100644
--- a/tests/e2e/midscene.config.ts
+++ b/tests/e2e/midscene.config.ts
@@ -195,6 +195,7 @@ const empty = z.strictObject({});
const fixtureMode = z.strictObject({
mode: z.enum([
'microphone-gate',
+ 'trigger-settings',
'voice-test',
'volcengine',
'microphone-change',