diagram-to-iac 1.11.0__py3-none-any.whl → 1.12.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -101,12 +101,12 @@ class PersistentFileMemory(MemoryInterface):
101
101
 
102
102
  def __init__(self, file_path: Optional[str] = None):
103
103
  if file_path is None:
104
- # Get workspace base from config with fallback
105
- workspace_base = get_config_value("system.workspace_base", "/workspace")
104
+ # Get workspace base from environment variable first, then config with fallback
105
+ workspace_base = os.environ.get("WORKSPACE_BASE") or get_config_value("system.workspace_base", "/workspace")
106
106
 
107
107
  # Default to workspace or /tmp directory for container safety
108
108
  try:
109
- # Try workspace first (from config)
109
+ # Try workspace first (from environment or config)
110
110
  base_dir = Path(workspace_base) if Path(workspace_base).exists() else Path.cwd()
111
111
  data_dir = base_dir / "data" / "db"
112
112
  data_dir.mkdir(parents=True, exist_ok=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diagram-to-iac
3
- Version: 1.11.0
3
+ Version: 1.12.0
4
4
  Summary: Convert architecture diagrams into IaC modules
5
5
  Author-email: vindpro <admin@vindpro.com>
6
6
  Description-Content-Type: text/markdown
@@ -34,7 +34,7 @@ diagram_to_iac/agents/terraform_langgraph/parser.py,sha256=J56CPlpIEIPuDHeAOL3sz
34
34
  diagram_to_iac/core/__init__.py,sha256=VjXPYLIS2SAPIDniBkeA2EDK0VHJvdaKIC8dzVneaTM,140
35
35
  diagram_to_iac/core/agent_base.py,sha256=DjZjcfzDpEhfIOki00XwQ-4lPli3OBcQ_7RNKsT7JSI,505
36
36
  diagram_to_iac/core/config_loader.py,sha256=6WWOp6G7_xYUhm1x62sVa-7kFlCthcthbppmeGz1YsM,9276
37
- diagram_to_iac/core/enhanced_memory.py,sha256=fJ8r-MREZRnm6Rg01CDCicMEx-dDxDEjJgrk8rnVc5Y,11761
37
+ diagram_to_iac/core/enhanced_memory.py,sha256=PI7GPpgo4APeRZ7b9t0MqWKqthRI4_iAg-GLCykDhtU,11845
38
38
  diagram_to_iac/core/errors.py,sha256=gZwZocnIcBlS4YccIBdjG8XztRCtMe4Cu6KWxLzebDM,115
39
39
  diagram_to_iac/core/issue_tracker.py,sha256=0eo289hn94yCoFCkLaYiDOIJBjk33i2dk6eLeYe_9YE,1659
40
40
  diagram_to_iac/core/memory.py,sha256=P9URX8m2nab65ZPF36uf6Z9hEXQGXrjrXa8dPXG7pm8,4444
@@ -63,8 +63,8 @@ diagram_to_iac/tools/llm_utils/router.py,sha256=ga8xfmPMl_SGINDwazeAAFYTAx9L_IQc
63
63
  diagram_to_iac/tools/shell/__init__.py,sha256=6UZjBcnbPabA6Qy7t4j-dCi3S2sE6sB2bTE9PIL98bA,292
64
64
  diagram_to_iac/tools/shell/shell.py,sha256=ZOJ7Vo3l_R2Gm6Ml2FL0RX__-C_JOsUrLJVvBMwAy9E,21122
65
65
  diagram_to_iac/tools/tf/terraform.py,sha256=j1boWRo6JKpNGf1OwnWoWboO0gMYTizCOHDSxozoFZw,37343
66
- diagram_to_iac-1.11.0.dist-info/METADATA,sha256=oUVHnfKjHzEHlJQlPgAy0I20q2hPPoZFBo7U_wpE7Wo,10690
67
- diagram_to_iac-1.11.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
68
- diagram_to_iac-1.11.0.dist-info/entry_points.txt,sha256=DfGCnmgWWGHtQpqU8VqcUWs5k_be-bfO67z1vOuTitA,277
69
- diagram_to_iac-1.11.0.dist-info/top_level.txt,sha256=k1cV0YODiCUU46qlmbQaquMcbMXhNm05NZLxsinDUBA,15
70
- diagram_to_iac-1.11.0.dist-info/RECORD,,
66
+ diagram_to_iac-1.12.0.dist-info/METADATA,sha256=gGbCo0fGsBfPtBduANnDl2iLG7bURx7sT1i9gdwJR8w,10690
67
+ diagram_to_iac-1.12.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
68
+ diagram_to_iac-1.12.0.dist-info/entry_points.txt,sha256=DfGCnmgWWGHtQpqU8VqcUWs5k_be-bfO67z1vOuTitA,277
69
+ diagram_to_iac-1.12.0.dist-info/top_level.txt,sha256=k1cV0YODiCUU46qlmbQaquMcbMXhNm05NZLxsinDUBA,15
70
+ diagram_to_iac-1.12.0.dist-info/RECORD,,