cp adapted to 2026 poweron
This commit is contained in:
parent
26dd8f6f3f
commit
4a60086c80
707 changed files with 940 additions and 854 deletions
4
app.py
4
app.py
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
@ -917,4 +917,4 @@ if __name__ == "__main__":
|
||||||
], check=True)
|
], check=True)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import uvicorn
|
import uvicorn
|
||||||
uvicorn.run("app:app", host="0.0.0.0", port=port, workers=1, timeout_graceful_shutdown=2)
|
uvicorn.run("app:app", host="0.0.0.0", port=port, workers=1, timeout_graceful_shutdown=2)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Base connector interface for AI connectors.
|
Base connector interface for AI connectors.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Dynamic model registry that collects models from all AI connectors.
|
Dynamic model registry that collects models from all AI connectors.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Simplified model selection based on model properties and priority-based sorting.
|
Simplified model selection based on model properties and priority-based sorting.
|
||||||
|
|
@ -323,4 +323,4 @@ class ModelSelector:
|
||||||
|
|
||||||
|
|
||||||
# Global model selector instance
|
# Global model selector instance
|
||||||
modelSelector = ModelSelector()
|
modelSelector = ModelSelector()
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
import base64
|
import base64
|
||||||
import json
|
import json
|
||||||
|
|
@ -862,4 +862,4 @@ def _convertToolsToAnthropicFormat(openaiTools: List[Dict[str, Any]]) -> List[Di
|
||||||
"description": fn.get("description", ""),
|
"description": fn.get("description", ""),
|
||||||
"input_schema": fn.get("parameters", {"type": "object", "properties": {}})
|
"input_schema": fn.get("parameters", {"type": "object", "properties": {}})
|
||||||
})
|
})
|
||||||
return anthropicTools
|
return anthropicTools
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
import logging
|
import logging
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
import logging
|
import logging
|
||||||
import json
|
import json
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
import logging
|
import logging
|
||||||
import json
|
import json
|
||||||
|
|
@ -730,4 +730,4 @@ class AiOpenai(BaseConnectorAi):
|
||||||
content="",
|
content="",
|
||||||
success=False,
|
success=False,
|
||||||
error=f"Error during image generation: {str(e)}",
|
error=f"Error during image generation: {str(e)}",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
import logging
|
import logging
|
||||||
import httpx
|
import httpx
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
AI Connector for PowerOn Private-LLM Service.
|
AI Connector for PowerOn Private-LLM Service.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Tavily web search class.
|
"""Tavily web search class.
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Authentication and authorization modules for routes and services.
|
Authentication and authorization modules for routes and services.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Authentication module for backend API.
|
Authentication module for backend API.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CSRF Protection Middleware for PowerOn Gateway
|
CSRF Protection Middleware for PowerOn Gateway
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
JWT Service
|
JWT Service
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
MFA (Multi-Factor Authentication) Service.
|
MFA (Multi-Factor Authentication) Service.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Short-lived signed tickets for OAuth data-connection popups.
|
Short-lived signed tickets for OAuth data-connection popups.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""OAuth scope sets for split Auth- vs Data-apps (Google / Microsoft)."""
|
"""OAuth scope sets for split Auth- vs Data-apps (Google / Microsoft)."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Token Manager Service
|
Token Manager Service
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Token Refresh Middleware for PowerOn Gateway
|
Token Refresh Middleware for PowerOn Gateway
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Token Refresh Service for PowerOn Gateway
|
Token Refresh Service for PowerOn Gateway
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
import contextvars
|
import contextvars
|
||||||
import copy
|
import copy
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Azure Communication Services Email Connector
|
Azure Communication Services Email Connector
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Twilio SMS Connector
|
Twilio SMS Connector
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Preprocessor connector for executing SQL queries via HTTP API.
|
Preprocessor connector for executing SQL queries via HTTP API.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Abstract base classes for the Provider-Connector architecture (1:n).
|
"""Abstract base classes for the Provider-Connector architecture (1:n).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""ClickUp ProviderConnector — virtual paths for teams → lists → tasks (table rows).
|
"""ClickUp ProviderConnector — virtual paths for teams → lists → tasks (table rows).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""FTP/SFTP ProviderConnector stub.
|
"""FTP/SFTP ProviderConnector stub.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Google ProviderConnector -- Drive and Gmail via Google OAuth."""
|
"""Google ProviderConnector -- Drive and Gmail via Google OAuth."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Infomaniak ProviderConnector -- kDrive + Calendar + Contacts via PAT.
|
"""Infomaniak ProviderConnector -- kDrive + Calendar + Contacts via PAT.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Microsoft ProviderConnector -- one MSFT connection serves SharePoint, Outlook, Teams, OneDrive.
|
"""Microsoft ProviderConnector -- one MSFT connection serves SharePoint, Outlook, Teams, OneDrive.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""ConnectorResolver -- resolves a connectionId to the correct ProviderConnector and ServiceAdapter.
|
"""ConnectorResolver -- resolves a connectionId to the correct ProviderConnector and ServiceAdapter.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""ClickUp connector for CRUD operations (compatible with TicketInterface).
|
"""ClickUp connector for CRUD operations (compatible with TicketInterface).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Jira connector for CRUD operations (neutralized to generic ticket interface).
|
"""Jira connector for CRUD operations (neutralized to generic ticket interface).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2026 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Redmine REST connector.
|
"""Redmine REST connector.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Google Cloud Speech-to-Text and Translation Connector
|
Google Cloud Speech-to-Text and Translation Connector
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Unified modules.datamodels package.
|
Unified modules.datamodels package.
|
||||||
|
|
@ -14,4 +14,4 @@ from . import datamodelChat as chat
|
||||||
from . import datamodelFiles as files
|
from . import datamodelFiles as files
|
||||||
from . import datamodelVoice as voice
|
from . import datamodelVoice as voice
|
||||||
from . import datamodelUtils as utils
|
from . import datamodelUtils as utils
|
||||||
from . import jsonContinuation
|
from . import jsonContinuation
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
from typing import Optional, List, Dict, Any, Callable, TYPE_CHECKING, Tuple
|
from typing import Optional, List, Dict, Any, Callable, TYPE_CHECKING, Tuple
|
||||||
from pydantic import BaseModel, Field, ConfigDict
|
from pydantic import BaseModel, Field, ConfigDict
|
||||||
|
|
@ -351,4 +351,4 @@ class CodeContentPromptArgs(BaseModel):
|
||||||
class CodeStructurePromptArgs(BaseModel):
|
class CodeStructurePromptArgs(BaseModel):
|
||||||
"""Type-safe arguments for code structure prompt builder."""
|
"""Type-safe arguments for code structure prompt builder."""
|
||||||
userPrompt: str
|
userPrompt: str
|
||||||
contentParts: List[ContentPart] = Field(default_factory=list)
|
contentParts: List[ContentPart] = Field(default_factory=list)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""AI Audit Log data model for Compliance & AI-Datenfluss tracking.
|
"""AI Audit Log data model for Compliance & AI-Datenfluss tracking.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Audit Log Data Model for database-based audit logging.
|
Audit Log Data Model for database-based audit logging.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Background job models: generic, reusable infrastructure for long-running tasks.
|
"""Background job models: generic, reusable infrastructure for long-running tasks.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Base Pydantic model with system-managed fields (DB + API + UI metadata)."""
|
"""Base Pydantic model with system-managed fields (DB + API + UI metadata)."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Billing models: BillingAccount, BillingTransaction, BillingSettings, UsageStatistics."""
|
"""Billing models: BillingAccount, BillingTransaction, BillingSettings, UsageStatistics."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Chat models: ChatWorkflow, ChatMessage, ChatLog, ChatDocument."""
|
"""Chat models: ChatWorkflow, ChatMessage, ChatLog, ChatDocument."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Content Object data models for the container and content extraction pipeline.
|
"""Content Object data models for the container and content extraction pipeline.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""DataSource and ExternalEntry models for external data integration.
|
"""DataSource and ExternalEntry models for external data integration.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Document reference models for typed document references in workflows.
|
Document reference models for typed document references in workflows.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
from typing import Any, Dict, List, Optional, Literal, Union
|
from typing import Any, Dict, List, Optional, Literal, Union
|
||||||
from pydantic import BaseModel, Field, field_serializer
|
from pydantic import BaseModel, Field, field_serializer
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
from typing import Any, Dict, List, Optional, Literal
|
from typing import Any, Dict, List, Optional, Literal
|
||||||
from pydantic import BaseModel, Field
|
from pydantic import BaseModel, Field
|
||||||
|
|
@ -112,4 +112,4 @@ class ExtractionOptions(BaseModel):
|
||||||
|
|
||||||
# Additional processing options
|
# Additional processing options
|
||||||
enableParallelProcessing: bool = Field(default=True, description="Enable parallel processing of chunks")
|
enableParallelProcessing: bool = Field(default=True, description="Enable parallel processing of chunks")
|
||||||
maxConcurrentChunks: int = Field(default=5, ge=1, le=20, description="Maximum number of chunks to process concurrently")
|
maxConcurrentChunks: int = Field(default=5, ge=1, le=20, description="Maximum number of chunks to process concurrently")
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Feature models: Feature definitions, instances, data sources, and shared feature types."""
|
"""Feature models: Feature definitions, instances, data sources, and shared feature types."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""File-related datamodels: FileItem, FilePreview, FileData."""
|
"""File-related datamodels: FileItem, FilePreview, FileData."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Invitation model for self-service onboarding.
|
Invitation model for self-service onboarding.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Unified JSON document schema and helpers used by both generation prompts and renderers.
|
Unified JSON document schema and helpers used by both generation prompts and renderers.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Knowledge Store data models: FileContentIndex, ContentChunk, WorkflowMemory.
|
"""Knowledge Store data models: FileContentIndex, ContentChunk, WorkflowMemory.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Membership models: UserMandate, FeatureAccess, and Junction Tables.
|
Membership models: UserMandate, FeatureAccess, and Junction Tables.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Messaging models: MessagingSubscription, MessagingSubscriptionRegistration, MessagingDelivery."""
|
"""Messaging models: MessagingSubscription, MessagingSubscriptionRegistration, MessagingDelivery."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Navigation structure data (Layer L1 - datamodels).
|
Navigation structure data (Layer L1 - datamodels).
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Notification model for in-app notifications.
|
Notification model for in-app notifications.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Pagination models for server-side pagination, sorting, and filtering.
|
Pagination models for server-side pagination, sorting, and filtering.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Port type catalog and primitive types for the Graphical Editor workflow system."""
|
"""Port type catalog and primitive types for the Graphical Editor workflow system."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
RBAC models: AccessRule, AccessRuleContext, Role.
|
RBAC models: AccessRule, AccessRuleContext, Role.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Security models: Token and AuthEvent.
|
Security models: Token and AuthEvent.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Subscription models: SubscriptionPlan (catalog), MandateSubscription (instance per mandate),
|
"""Subscription models: SubscriptionPlan (catalog), MandateSubscription (instance per mandate),
|
||||||
StripePlanPrice (persisted Stripe IDs per plan).
|
StripePlanPrice (persisted Stripe IDs per plan).
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Ticket datamodels used across Jira/ClickUp connectors."""
|
"""Ticket datamodels used across Jira/ClickUp connectors."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Utility data models and classes for common tools and mappings.
|
Utility data models and classes for common tools and mappings.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
UAM models: User, Mandate, UserConnection.
|
UAM models: User, Mandate, UserConnection.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Unified Document Model (UDM) — hierarchical document tree and ContentPart bridge."""
|
"""Unified Document Model (UDM) — hierarchical document tree and ContentPart bridge."""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""UI language sets: structured i18n entries (context, key, value)."""
|
"""UI language sets: structured i18n entries (context, key, value)."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Utility datamodels: Prompt, TextMultilingual."""
|
"""Utility datamodels: Prompt, TextMultilingual."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
View models for the /api/attributes/ endpoint.
|
View models for the /api/attributes/ endpoint.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Voice settings datamodel — re-exported from UAM for central voice preferences."""
|
"""Voice settings datamodel — re-exported from UAM for central voice preferences."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Workflow execution models for action definitions, AI responses, and workflow-level structures.
|
Workflow execution models for action definitions, AI responses, and workflow-level structures.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Workflow Action models: WorkflowActionParameter, WorkflowActionDefinition."""
|
"""Workflow Action models: WorkflowActionParameter, WorkflowActionDefinition."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Workflow Automation models: AutoWorkflow, AutoVersion, AutoRun, AutoStepLog, AutoTask.
|
"""Workflow Automation models: AutoWorkflow, AutoVersion, AutoRun, AutoStepLog, AutoTask.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Shared service exception classes.
|
Shared service exception classes.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""AI Audit Logger — records every AI provider call for compliance reporting.
|
"""AI Audit Logger — records every AI provider call for compliance reporting.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Audit Logging System for PowerOn Gateway
|
Audit Logging System for PowerOn Gateway
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Database optimizations for Multi-Tenant model.
|
Database optimizations for Multi-Tenant model.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Dynamic database registry — each interface self-registers its DB on import.
|
Dynamic database registry — each interface self-registers its DB on import.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
FK label resolution: resolve foreign-key IDs to human-readable labels.
|
FK label resolution: resolve foreign-key IDs to human-readable labels.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
FK-Discovery — scans the Model-Registry for `fk_target` annotations and
|
FK-Discovery — scans the Model-Registry for `fk_target` annotations and
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Pagination, filtering and sorting helpers for paginated record sets.
|
Pagination, filtering and sorting helpers for paginated record sets.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CommCoach Feature - Data Models.
|
CommCoach Feature - Data Models.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Interface to CommCoach database.
|
Interface to CommCoach database.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CommCoach Feature Container - Main Module.
|
CommCoach Feature Container - Main Module.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CommCoach routes for the backend API.
|
CommCoach routes for the backend API.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CommCoach Service - Coaching Orchestration.
|
CommCoach Service - Coaching Orchestration.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CommCoach AI Service.
|
CommCoach AI Service.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CommCoach Context Retrieval.
|
CommCoach Context Retrieval.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CommCoach Export Service.
|
CommCoach Export Service.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CommCoach Gamification - Badge definitions and award logic.
|
CommCoach Gamification - Badge definitions and award logic.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CommCoach Session Indexer.
|
CommCoach Session Indexer.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CommCoach Personas - Built-in roleplay persona definitions.
|
CommCoach Personas - Built-in roleplay persona definitions.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
CommCoach Scheduler Service.
|
CommCoach Scheduler Service.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Tests for CommCoach context retrieval (intent detection, session lookup)."""
|
"""Tests for CommCoach context retrieval (intent detection, session lookup)."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Tests for CommCoach data models.
|
Tests for CommCoach data models.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Tests for CommCoach feature registration module.
|
Tests for CommCoach feature registration module.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Tests for CommCoach AI service (prompt building and response parsing).
|
Tests for CommCoach AI service (prompt building and response parsing).
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""Neutralizer models: DataNeutraliserConfig and DataNeutralizerAttributes."""
|
"""Neutralizer models: DataNeutraliserConfig and DataNeutralizerAttributes."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (c) 2025 Patrick Motsch
|
# Copyright (c) 2026 PowerOn AG
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
"""
|
"""
|
||||||
Database interface for the Neutralizer feature.
|
Database interface for the Neutralizer feature.
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue