feat(runtime): add talk mode and capture tools

This commit is contained in:
William Valentin
2026-02-16 10:17:24 -08:00
parent a9b38150c0
commit 83b8e38b11
12 changed files with 391 additions and 4 deletions
+8
View File
@@ -472,9 +472,17 @@ const audioProviderSchema = z.object({
model: z.string().optional(),
});
const talkModeSchema = z.object({
enabled: z.boolean().default(false),
wake_phrase: z.string().default('hey flynn'),
timeout_ms: z.number().min(1000).max(60 * 60 * 1000).default(120000),
allow_manual_toggle: z.boolean().default(true),
}).default({});
const audioSchema = z.object({
enabled: z.boolean().default(false),
provider: audioProviderSchema.optional(),
talk_mode: talkModeSchema,
}).default({});
// ── Tool policy schemas ──────────────────────────────────────────────