mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 20:23:36 +00:00
feat: Update feature list and add project initialization utilities
- Removed obsolete feature from feature_list.json related to context file deletion. - Added new features for keyboard shortcuts in Kanban and context management. - Introduced project initialization utilities to create necessary .automaker directory structure and files when opening a new project. - Updated the AgentOutputModal and other components to reference the new agents-context directory. - Enhanced Playwright tests for context file management and project initialization. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -281,9 +281,18 @@ export const getElectronAPI = (): ElectronAPI => {
|
||||
},
|
||||
|
||||
exists: async (filePath: string) => {
|
||||
return mockFileSystem[filePath] !== undefined ||
|
||||
filePath.endsWith("feature_list.json") ||
|
||||
filePath.endsWith("app_spec.txt");
|
||||
// Check if file exists in mock file system (including newly created files)
|
||||
if (mockFileSystem[filePath] !== undefined) {
|
||||
return true;
|
||||
}
|
||||
// Legacy mock files for backwards compatibility
|
||||
if (filePath.endsWith("feature_list.json") && !filePath.includes(".automaker")) {
|
||||
return true;
|
||||
}
|
||||
if (filePath.endsWith("app_spec.txt") && !filePath.includes(".automaker")) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
||||
stat: async () => {
|
||||
|
||||
Reference in New Issue
Block a user