feat(runtime): add talk mode and capture tools
This commit is contained in:
@@ -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 ──────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user