Add event handler that intercepts user comments on issues and wakes the CEO agent (instead of only the assigned agent). The CEO reads the comment, checks for attachments, and routes to the appropriate agent. - Add issue.comment.created event subscription - Add agents.read, agents.invoke, issue.comments.read capabilities - CEO receives comment body + issue context in the invoke prompt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
68 lines
2.6 KiB
JSON
68 lines
2.6 KiB
JSON
{
|
||
"id": "marcusgroup.legal-ai",
|
||
"apiVersion": 1,
|
||
"version": "0.2.0",
|
||
"displayName": "Ezer Mishpati - Legal AI",
|
||
"description": "Integration with legal decision drafting system — case management, semantic search, workflow tracking, QA validation, and learning loop",
|
||
"author": "Marcus Group",
|
||
"categories": ["integration"],
|
||
"minimumHostVersion": "2026.325.0",
|
||
"capabilities": [
|
||
"events.subscribe",
|
||
"issues.read",
|
||
"issues.create",
|
||
"issues.update",
|
||
"issue.comments.create",
|
||
"issue.comments.read",
|
||
"agents.read",
|
||
"agents.invoke",
|
||
"agent.tools.register",
|
||
"http.outbound",
|
||
"plugin.state.read",
|
||
"plugin.state.write",
|
||
"jobs.schedule",
|
||
"activity.log.write",
|
||
"companies.read",
|
||
"projects.read"
|
||
],
|
||
"entrypoints": {
|
||
"worker": "dist/worker.js"
|
||
},
|
||
"instanceConfigSchema": {
|
||
"type": "object",
|
||
"properties": {
|
||
"legalApiBaseUrl": {
|
||
"type": "string",
|
||
"default": "http://localhost:8085",
|
||
"description": "Base URL for the Ezer Mishpati API"
|
||
}
|
||
}
|
||
},
|
||
"tools": [
|
||
{ "toolKey": "legal_case_list", "displayName": "רשימת תיקי ערר" },
|
||
{ "toolKey": "legal_case_get", "displayName": "פרטי תיק ערר" },
|
||
{ "toolKey": "legal_case_create", "displayName": "יצירת תיק ערר" },
|
||
{ "toolKey": "legal_case_update", "displayName": "עדכון תיק ערר" },
|
||
{ "toolKey": "legal_case_status", "displayName": "סטטוס תהליך עבודה" },
|
||
{ "toolKey": "legal_search", "displayName": "חיפוש תקדימים" },
|
||
{ "toolKey": "legal_case_template", "displayName": "תבנית החלטה" },
|
||
{ "toolKey": "legal_processing_status", "displayName": "סטטוס עיבוד כללי" },
|
||
{ "toolKey": "legal_document_list", "displayName": "רשימת מסמכים בתיק" },
|
||
{ "toolKey": "legal_set_outcome", "displayName": "הזנת תוצאת ערר" },
|
||
{ "toolKey": "legal_get_claims", "displayName": "טענות מחולצות" },
|
||
{ "toolKey": "legal_search_case", "displayName": "חיפוש בתוך תיק" },
|
||
{ "toolKey": "legal_find_similar", "displayName": "תקדימים דומים" },
|
||
{ "toolKey": "legal_run_qa", "displayName": "בדיקת איכות" },
|
||
{ "toolKey": "legal_trigger_learning", "displayName": "לולאת למידה" },
|
||
{ "toolKey": "legal_style_guide", "displayName": "מדריך סגנון" }
|
||
],
|
||
"jobs": [
|
||
{
|
||
"jobKey": "sync-case-status",
|
||
"displayName": "סנכרון סטטוס תיקים",
|
||
"description": "סנכרון סטטוס בין legal-ai ל-Paperclip כל 15 דקות",
|
||
"schedule": "*/15 * * * *"
|
||
}
|
||
]
|
||
}
|