fix: declare case-status webhook endpoint in manifest

Add webhooks[] array to plugin.json and manifest.ts with the
'case-status' endpointKey. Without this declaration, Paperclip
registers 0 webhooks even when onWebhook() is implemented, so
POST /api/plugins/marcusgroup.legal-ai/webhooks/case-status would
return 501 and never reach the handler.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-16 17:29:56 +00:00
parent f5a4cd1c62
commit 9633617e26
2 changed files with 15 additions and 0 deletions

View File

@@ -64,5 +64,12 @@
"description": "סנכרון סטטוס בין legal-ai ל-Paperclip כל 15 דקות", "description": "סנכרון סטטוס בין legal-ai ל-Paperclip כל 15 דקות",
"schedule": "*/15 * * * *" "schedule": "*/15 * * * *"
} }
],
"webhooks": [
{
"endpointKey": "case-status",
"displayName": "עדכון סטטוס תיק",
"description": "מקבל עדכוני סטטוס מ-legal-ai ומפרסם תגובה על ה-issue המקושר"
}
] ]
} }

View File

@@ -159,4 +159,12 @@ export default {
schedule: "*/15 * * * *", schedule: "*/15 * * * *",
}, },
], ],
webhooks: [
{
endpointKey: "case-status",
displayName: "עדכון סטטוס תיק",
description:
"מקבל עדכוני סטטוס מ-legal-ai ומפרסם תגובה על ה-issue המקושר",
},
],
}; };