mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-02 18:13:27 +02:00
Wires the frontend onto the PR1 webhook delivery layer. Adds a Deliveries section to the autopilot detail page that lists recent deliveries (queued / dispatched / rejected / ignored / failed) with provider, event, attempt count, and timestamp. Clicking a row opens a detail dialog with raw body, headers subset, response body, signature status, and a Replay button. Replay is disabled client-side for signature-invalid / rejected / still-queued deliveries to mirror the server's 400. Backend contract is locked behind a lenient zod schema via parseWithFallback — unknown future status / signature_status values degrade to a generic row instead of dropping the whole list. Co-authored-by: multica-agent <github@multica.ai>
21 lines
510 B
TypeScript
21 lines
510 B
TypeScript
export {
|
|
autopilotKeys,
|
|
autopilotListOptions,
|
|
autopilotDetailOptions,
|
|
autopilotRunsOptions,
|
|
autopilotDeliveriesOptions,
|
|
autopilotDeliveryOptions,
|
|
} from "./queries";
|
|
export {
|
|
useCreateAutopilot,
|
|
useUpdateAutopilot,
|
|
useDeleteAutopilot,
|
|
useTriggerAutopilot,
|
|
useCreateAutopilotTrigger,
|
|
useUpdateAutopilotTrigger,
|
|
useDeleteAutopilotTrigger,
|
|
useRotateAutopilotTriggerWebhookToken,
|
|
useReplayAutopilotDelivery,
|
|
} from "./mutations";
|
|
export { buildAutopilotWebhookUrl } from "./webhook";
|