feat(workbench): route actionable notifications
This commit is contained in:
@@ -198,7 +198,18 @@ const operationalTaskSchema = taskSummarySchema.extend({
|
||||
const notificationSchema = z.object({
|
||||
notification_id: z.string().uuid(),
|
||||
task_id: z.string().uuid(),
|
||||
kind: z.enum(["task_created", "action_pending", "report_updated", "task_completed", "task_failed", "run_delivery_degraded"]),
|
||||
kind: z.enum([
|
||||
"task_created",
|
||||
"action_pending",
|
||||
"report_updated",
|
||||
"task_completed",
|
||||
"task_failed",
|
||||
"run_delivery_degraded",
|
||||
"access_approval_pending",
|
||||
"action_approval_pending",
|
||||
"human_input_required",
|
||||
"external_coordination_failed"
|
||||
]),
|
||||
title: z.string().min(1),
|
||||
description: z.string().min(1),
|
||||
status: z.enum(["unread", "read"]),
|
||||
|
||||
Reference in New Issue
Block a user