336 lines
8.3 KiB
JSON
336 lines
8.3 KiB
JSON
{
|
|
"contracts": [
|
|
{
|
|
"name": "ContractError",
|
|
"file": "app/plugins/builtins/contracts.py",
|
|
"attributes": []
|
|
},
|
|
{
|
|
"name": "PluginContract",
|
|
"file": "app/plugins/builtins/contracts.py",
|
|
"attributes": [
|
|
"contract_name"
|
|
]
|
|
},
|
|
{
|
|
"name": "ContractRegistry",
|
|
"file": "app/plugins/builtins/contracts.py",
|
|
"attributes": [
|
|
"_instance"
|
|
]
|
|
},
|
|
{
|
|
"name": "McpClientContract",
|
|
"file": "app/plugins/builtins/mcp_client/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"McpServerConfig",
|
|
"McpClient",
|
|
"McpServerExecuteRequest",
|
|
"McpServerExecuteResponse",
|
|
"McpServerToolInfo",
|
|
"McpServerToolsResponse"
|
|
]
|
|
},
|
|
{
|
|
"name": "ForgejoErrorReporterContract",
|
|
"file": "app/plugins/builtins/forgejo_error_reporter/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"report_error_to_forgejo",
|
|
"ReportedError"
|
|
]
|
|
},
|
|
{
|
|
"name": "AutomationContract",
|
|
"file": "app/plugins/builtins/automation/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"AgentDefinition",
|
|
"Automation",
|
|
"CronJob",
|
|
"AgentRun",
|
|
"AgentVersion",
|
|
"AutomationRun",
|
|
"AutomationVersion",
|
|
"AgentService",
|
|
"AutomationService",
|
|
"CronJobService",
|
|
"RunLogService",
|
|
"run_agent",
|
|
"run_automation",
|
|
"calculate_next_run",
|
|
"scheduler_tick",
|
|
"send_agent_message"
|
|
]
|
|
},
|
|
{
|
|
"name": "DmsContract",
|
|
"file": "app/plugins/builtins/dms/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"DmsFile",
|
|
"Folder"
|
|
]
|
|
},
|
|
{
|
|
"name": "MailContract",
|
|
"file": "app/plugins/builtins/mail/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"Mail"
|
|
]
|
|
},
|
|
{
|
|
"name": "TestContractRegistry",
|
|
"file": "app/plugins/builtins/tests/test_contracts.py",
|
|
"attributes": []
|
|
},
|
|
{
|
|
"name": "TestKommunikationContract",
|
|
"file": "app/plugins/builtins/tests/test_contracts.py",
|
|
"attributes": []
|
|
},
|
|
{
|
|
"name": "TestAIAssistantContract",
|
|
"file": "app/plugins/builtins/tests/test_contracts.py",
|
|
"attributes": []
|
|
},
|
|
{
|
|
"name": "TestMailContract",
|
|
"file": "app/plugins/builtins/tests/test_contracts.py",
|
|
"attributes": []
|
|
},
|
|
{
|
|
"name": "ContactsContract",
|
|
"file": "app/plugins/builtins/contacts/contracts.py",
|
|
"attributes": [
|
|
"contract_name"
|
|
]
|
|
},
|
|
{
|
|
"name": "TasksContract",
|
|
"file": "app/plugins/builtins/tasks/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"list_tasks",
|
|
"get_task",
|
|
"create_task",
|
|
"update_task",
|
|
"delete_task",
|
|
"assign_task",
|
|
"update_task_status",
|
|
"get_due_tasks",
|
|
"Task"
|
|
]
|
|
},
|
|
{
|
|
"name": "CalendarContract",
|
|
"file": "app/plugins/builtins/calendar/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"Calendar",
|
|
"CalendarEntry",
|
|
"CalendarEntryLink"
|
|
]
|
|
},
|
|
{
|
|
"name": "UnifiedSearchContract",
|
|
"file": "app/plugins/builtins/unified_search/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"generate_embedding",
|
|
"hybrid_search",
|
|
"find_similar_all_types",
|
|
"get_search_registry",
|
|
"llm_analyze_query",
|
|
"simple_search",
|
|
"BaseSearchProvider"
|
|
]
|
|
},
|
|
{
|
|
"name": "GraphRagContract",
|
|
"file": "app/plugins/builtins/graph_rag/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"GraphRAGSearchProvider"
|
|
]
|
|
},
|
|
{
|
|
"name": "ReportGeneratorContract",
|
|
"file": "app/plugins/builtins/report_generator/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"ReportTemplate",
|
|
"ReportInstance",
|
|
"generate_pdf",
|
|
"generate_print_pdf",
|
|
"generate_preset_report",
|
|
"generate_pdf_from_template_content",
|
|
"render_template_file",
|
|
"render_template_string",
|
|
"get_preset_list",
|
|
"PRESET_META",
|
|
"PRESET_TEMPLATES"
|
|
]
|
|
},
|
|
{
|
|
"name": "SystemNotifContract",
|
|
"file": "app/plugins/builtins/system_notif/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"SystemParticipantHandler"
|
|
]
|
|
},
|
|
{
|
|
"name": "EntityLinksContract",
|
|
"file": "app/plugins/builtins/entity_links/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"EntityLink"
|
|
]
|
|
},
|
|
{
|
|
"name": "KommunikationContract",
|
|
"file": "app/plugins/builtins/kommunikation/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"parse_mentions",
|
|
"get_conversation",
|
|
"get_messages",
|
|
"send_message",
|
|
"create_plugin_room",
|
|
"find_locked_room_id",
|
|
"get_participant_registry",
|
|
"ParticipantHandler",
|
|
"MiniAppRegistry",
|
|
"MiniAppDef",
|
|
"get_miniapp_registry",
|
|
"reset_miniapp_registry",
|
|
"post_system_message",
|
|
"CommConversation",
|
|
"CommMessage",
|
|
"CommParticipant"
|
|
]
|
|
},
|
|
{
|
|
"name": "AiProactiveContract",
|
|
"file": "app/plugins/builtins/ai_proactive/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"ProactiveSuggestion",
|
|
"ContextLog",
|
|
"ProactiveSettings",
|
|
"handle_context_change",
|
|
"get_active_suggestions",
|
|
"get_sse_queue",
|
|
"get_stats",
|
|
"get_user_settings",
|
|
"mark_dismissed",
|
|
"push_suggestion",
|
|
"register_context_tools",
|
|
"deep_analysis",
|
|
"heartbeat"
|
|
]
|
|
},
|
|
{
|
|
"name": "AIAssistantContract",
|
|
"file": "app/plugins/builtins/ai_assistant/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"get_tool_registry",
|
|
"ToolRegistry",
|
|
"AITool",
|
|
"get_default_provider"
|
|
]
|
|
},
|
|
{
|
|
"name": "TagsContract",
|
|
"file": "app/plugins/builtins/tags/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"Tag",
|
|
"TagAssignment"
|
|
]
|
|
},
|
|
{
|
|
"name": "PermissionsContract",
|
|
"file": "app/plugins/builtins/permissions/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"Permission",
|
|
"ShareLink"
|
|
]
|
|
},
|
|
{
|
|
"name": "McpServerContract",
|
|
"file": "app/plugins/builtins/mcp_server/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"ToolDefinitions",
|
|
"ToolHandlers",
|
|
"get_tool_definition",
|
|
"get_all_tool_names",
|
|
"McpToolDefinition",
|
|
"McpToolExecuteRequest",
|
|
"McpToolExecuteResponse",
|
|
"McpToolListResponse",
|
|
"McpToolParameter",
|
|
"McpServerConfig"
|
|
]
|
|
},
|
|
{
|
|
"name": "AiUiControlContract",
|
|
"file": "app/plugins/builtins/ai_ui_control/contracts.py",
|
|
"attributes": [
|
|
"contract_name",
|
|
"AIUIControlWSManager",
|
|
"UICommand",
|
|
"UICommandCreate",
|
|
"UICommandFeedback",
|
|
"UICommandResponse",
|
|
"UICommandStatus",
|
|
"UICommandStatusResponse",
|
|
"UICommandType"
|
|
]
|
|
}
|
|
],
|
|
"accesses": [
|
|
{
|
|
"contract": "AIAssistantContract",
|
|
"attribute": "get_tool_registry",
|
|
"file": "app/plugins/builtins/automation/agent_coordinator.py"
|
|
},
|
|
{
|
|
"contract": "AIAssistantContract",
|
|
"attribute": "get_tool_registry",
|
|
"file": "app/plugins/builtins/automation/agent_coordinator.py"
|
|
},
|
|
{
|
|
"contract": "GraphRagContract",
|
|
"attribute": "GraphRAGSearchProvider",
|
|
"file": "app/plugins/builtins/unified_search/provider_registry.py"
|
|
},
|
|
{
|
|
"contract": "AutomationContract",
|
|
"attribute": "AgentRun",
|
|
"file": "app/plugins/builtins/ai_assistant/external_api.py"
|
|
},
|
|
{
|
|
"contract": "AutomationContract",
|
|
"attribute": "AgentRun",
|
|
"file": "app/plugins/builtins/ai_assistant/external_api.py"
|
|
},
|
|
{
|
|
"contract": "AutomationContract",
|
|
"attribute": "AgentRun",
|
|
"file": "app/plugins/builtins/ai_assistant/external_api.py"
|
|
},
|
|
{
|
|
"contract": "DmsContract",
|
|
"attribute": "DmsFile",
|
|
"file": "app/plugins/builtins/permissions/public_routes.py"
|
|
}
|
|
],
|
|
"mismatches": []
|
|
} |