getCurrentProjectConfig method
Implementation
ProjectConfig getCurrentProjectConfig() {
final path = getProjectPathForConfig();
final config = getGlobalConfig();
if (config.projects == null) return ProjectConfig.defaultConfig();
final pc = config.projects![path];
if (pc == null) return ProjectConfig.defaultConfig();
// Fix allowedTools if it was somehow a string
return pc;
}