This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
"""States package."""
|
||||
|
||||
from .state import GCPArchitectureState
|
||||
|
||||
__all__ = ["GCPArchitectureState"]
|
||||
|
||||
BIN
app/states/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
app/states/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
app/states/__pycache__/state.cpython-312.pyc
Normal file
BIN
app/states/__pycache__/state.cpython-312.pyc
Normal file
Binary file not shown.
27
app/states/state.py
Normal file
27
app/states/state.py
Normal file
@@ -0,0 +1,27 @@
|
||||
"""State definition for GCP Solution Architecture Agent workflow."""
|
||||
|
||||
from typing import Any, Dict, List, Optional, TypedDict
|
||||
|
||||
|
||||
class GCPArchitectureState(TypedDict, total=False):
|
||||
"""LangGraph State tracking state across all 4 workflow phases."""
|
||||
|
||||
# Workflow Request / Input Intent
|
||||
workflow_request: str
|
||||
target_dir: str
|
||||
|
||||
# Phase Outputs
|
||||
requirements_doc: Optional[str]
|
||||
architecture_doc: Optional[str]
|
||||
mermaid_diagram: Optional[str]
|
||||
terraform_code: Optional[str]
|
||||
validation_results: Optional[str]
|
||||
solution_guide: Optional[str]
|
||||
|
||||
# Workflow Metadata & Dynamic Skill Context
|
||||
product_selection_deferred: bool
|
||||
current_phase: str
|
||||
active_skills: List[str]
|
||||
errors: List[str]
|
||||
validation_passed: bool
|
||||
status_summary: Dict[str, Any]
|
||||
Reference in New Issue
Block a user