Get the config directory: ~/.autoforge/ Automatically migrates from ~/.autocoder/ if needed. Returns: Path to ~/.autoforge/ (created if it doesn't exist)
()
| 135 | |
| 136 | |
| 137 | def get_config_dir() -> Path: |
| 138 | """ |
| 139 | Get the config directory: ~/.autoforge/ |
| 140 | |
| 141 | Automatically migrates from ~/.autocoder/ if needed. |
| 142 | |
| 143 | Returns: |
| 144 | Path to ~/.autoforge/ (created if it doesn't exist) |
| 145 | """ |
| 146 | _migrate_registry_dir() |
| 147 | config_dir = Path.home() / ".autoforge" |
| 148 | config_dir.mkdir(parents=True, exist_ok=True) |
| 149 | return config_dir |
| 150 | |
| 151 | |
| 152 | def get_registry_path() -> Path: |
no test coverage detected