refactor: remove ~750 lines of dead code across 12 files

- Delete 4 dead files: pre-recon.ts, tool-checker.ts, input-validator.ts, environment.ts
- Remove runClaudePromptWithRetry() and its now-unused imports from claude-executor.ts
- De-export unused symbols: AGENT_ORDER, getParallelGroups, logError, isRouterMode, showHelp, displayTimingSummary
- De-export unused types: ProcessingState, ProcessingResult, SdkMessage, MessageDispatchResult, MessageDispatchContext
- Remove dead import (path from zx) in session-manager.ts and deprecated comment in config.ts
This commit is contained in:
ajmallesh
2026-02-16 11:30:00 -08:00
parent 3a07f8a81f
commit 13731f5ebf
12 changed files with 10 additions and 754 deletions
+1 -2
View File
@@ -42,8 +42,7 @@ export class PentestError extends Error {
}
}
// Centralized error logging function
export async function logError(
async function logError(
error: Error & { type?: PentestErrorType; retryable?: boolean; context?: PentestErrorContext },
contextMsg: string,
sourceDir: string | null = null