refactor: fix security hardcode, dead code, resource leaks, operator bugs

This commit is contained in:
2026-05-06 12:31:58 +09:00
parent 0c9def0241
commit 17e6503ccd
8 changed files with 134 additions and 59 deletions
+1 -2
View File
@@ -147,10 +147,9 @@ export const SECURITY_POLICY = {
maxContextFiles: 200,
};
export const MAX_CONTEXT_SIZE = 12_000;
export const EXCLUDED_DIRS = new Set([
'node_modules', '.git', '.vscode', 'out', 'dist', 'build',
'.next', '.cache', '__pycache__', '.DS_Store', 'coverage',
'.turbo', '.nuxt', '.output', 'vendor', 'target'
'.turbo', '.nuxt', '.output', 'vendor', 'target', '.astra'
]);