fix: add discord exec approval channel targeting (#16051) (thanks @leonnardo)

This commit is contained in:
Shadow
2026-02-14 12:04:01 -06:00
committed by Shadow
parent 4b9cb46c6e
commit 5ba72bd9bf
6 changed files with 631 additions and 91 deletions

View File

@@ -314,6 +314,7 @@ export const DiscordAccountSchema = z
agentFilter: z.array(z.string()).optional(),
sessionFilter: z.array(z.string()).optional(),
cleanupAfterResolve: z.boolean().optional(),
target: z.enum(["dm", "channel", "both"]).optional(),
})
.strict()
.optional(),