feat: add all application source code

- apps/api: FastAPI backend with Dockerfile
- apps/web: Next.js frontend with Dockerfile
- apps/sensor: Signal collection agent
- packages: shared packages

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
OG T
2026-03-22 18:57:44 +08:00
parent a840bf975b
commit 196d269b92
245 changed files with 42207 additions and 6 deletions

View File

@@ -0,0 +1,68 @@
"""
AWOOOI Models Package
=====================
核心資料模型匯出:
- Approval: 簽核相關模型 (Phase 2 HITL)
- Incident: 事件相關模型 (Phase 6 認知覺醒)
- AI: AI 相關模型
"""
# Approval Models (Phase 2)
from src.models.approval import (
ApprovalRequest,
ApprovalRequestCreate,
ApprovalRequestResponse,
ApprovalStatus,
BlastRadius,
DataImpact,
DryRunCheck,
PendingApprovalsResponse,
RejectRequest,
RiskLevel,
SignRequest,
SignResponse,
Signature,
SignatureSource,
)
# Incident Models (Phase 6 - 認知覺醒)
from src.models.incident import (
AIDecisionChain,
Incident,
IncidentCreate,
IncidentOutcome,
IncidentResponse,
IncidentStatus,
IncidentUpdate,
Severity,
Signal,
)
__all__ = [
# Approval
"ApprovalRequest",
"ApprovalRequestCreate",
"ApprovalRequestResponse",
"ApprovalStatus",
"BlastRadius",
"DataImpact",
"DryRunCheck",
"PendingApprovalsResponse",
"RejectRequest",
"RiskLevel",
"SignRequest",
"SignResponse",
"Signature",
"SignatureSource",
# Incident
"AIDecisionChain",
"Incident",
"IncidentCreate",
"IncidentOutcome",
"IncidentResponse",
"IncidentStatus",
"IncidentUpdate",
"Severity",
"Signal",
]