erosolar-cli 2.1.249 → 2.1.252
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agents/general.rules.json +10 -133
- package/agents/general.rules.json.bak +278 -0
- package/agents/general.rules.json.bak2 +306 -0
- package/dist/bin/erosolar.js +9 -5
- package/dist/bin/erosolar.js.map +1 -1
- package/dist/capabilities/bidirectionalAuditCapability.d.ts +26 -0
- package/dist/capabilities/bidirectionalAuditCapability.d.ts.map +1 -0
- package/dist/capabilities/bidirectionalAuditCapability.js +44 -0
- package/dist/capabilities/bidirectionalAuditCapability.js.map +1 -0
- package/dist/capabilities/globCapability.d.ts +3 -6
- package/dist/capabilities/globCapability.d.ts.map +1 -1
- package/dist/capabilities/globCapability.js +6 -10
- package/dist/capabilities/globCapability.js.map +1 -1
- package/dist/capabilities/index.d.ts +1 -18
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/index.js +1 -18
- package/dist/capabilities/index.js.map +1 -1
- package/dist/capabilities/orchestrationCapability.d.ts +2 -0
- package/dist/capabilities/orchestrationCapability.d.ts.map +1 -1
- package/dist/capabilities/orchestrationCapability.js +980 -2
- package/dist/capabilities/orchestrationCapability.js.map +1 -1
- package/dist/capabilities/searchCapability.d.ts +8 -2
- package/dist/capabilities/searchCapability.d.ts.map +1 -1
- package/dist/capabilities/searchCapability.js +11 -6
- package/dist/capabilities/searchCapability.js.map +1 -1
- package/dist/contracts/tools.schema.json +9 -133
- package/dist/core/aiErrorFixer.d.ts +1 -14
- package/dist/core/aiErrorFixer.d.ts.map +1 -1
- package/dist/core/aiErrorFixer.js +51 -239
- package/dist/core/aiErrorFixer.js.map +1 -1
- package/dist/core/alphaZeroEngine.d.ts +16 -256
- package/dist/core/alphaZeroEngine.d.ts.map +1 -1
- package/dist/core/alphaZeroEngine.js +22 -513
- package/dist/core/alphaZeroEngine.js.map +1 -1
- package/dist/core/completeAttackOrchestrator.d.ts +102 -0
- package/dist/core/completeAttackOrchestrator.d.ts.map +1 -0
- package/dist/core/completeAttackOrchestrator.js +293 -0
- package/dist/core/completeAttackOrchestrator.js.map +1 -0
- package/dist/core/defensiveSecurityToolkit.d.ts +373 -0
- package/dist/core/defensiveSecurityToolkit.d.ts.map +1 -0
- package/dist/core/defensiveSecurityToolkit.js +1304 -0
- package/dist/core/defensiveSecurityToolkit.js.map +1 -0
- package/dist/core/errors/errorTypes.d.ts +30 -57
- package/dist/core/errors/errorTypes.d.ts.map +1 -1
- package/dist/core/errors/errorTypes.js +51 -228
- package/dist/core/errors/errorTypes.js.map +1 -1
- package/dist/core/errors/safetyValidator.d.ts +19 -3
- package/dist/core/errors/safetyValidator.d.ts.map +1 -1
- package/dist/core/errors/safetyValidator.js +33 -71
- package/dist/core/errors/safetyValidator.js.map +1 -1
- package/dist/core/failureRecovery.d.ts +4 -100
- package/dist/core/failureRecovery.d.ts.map +1 -1
- package/dist/core/failureRecovery.js +16 -440
- package/dist/core/failureRecovery.js.map +1 -1
- package/dist/core/intelligentTargetResearcher.d.ts +142 -0
- package/dist/core/intelligentTargetResearcher.d.ts.map +1 -0
- package/dist/core/intelligentTargetResearcher.js +367 -0
- package/dist/core/intelligentTargetResearcher.js.map +1 -0
- package/dist/core/intelligentTestFlows.d.ts +26 -107
- package/dist/core/intelligentTestFlows.d.ts.map +1 -1
- package/dist/core/intelligentTestFlows.js +15 -659
- package/dist/core/intelligentTestFlows.js.map +1 -1
- package/dist/core/learningPersistence.d.ts +45 -132
- package/dist/core/learningPersistence.d.ts.map +1 -1
- package/dist/core/learningPersistence.js +32 -463
- package/dist/core/learningPersistence.js.map +1 -1
- package/dist/core/metricsTracker.d.ts +22 -139
- package/dist/core/metricsTracker.d.ts.map +1 -1
- package/dist/core/metricsTracker.js +51 -241
- package/dist/core/metricsTracker.js.map +1 -1
- package/dist/core/performanceMonitor.d.ts +15 -109
- package/dist/core/performanceMonitor.d.ts.map +1 -1
- package/dist/core/performanceMonitor.js +27 -184
- package/dist/core/performanceMonitor.js.map +1 -1
- package/dist/core/resultVerification.d.ts +6 -100
- package/dist/core/resultVerification.d.ts.map +1 -1
- package/dist/core/resultVerification.js +31 -400
- package/dist/core/resultVerification.js.map +1 -1
- package/dist/core/selfEvolution.d.ts +32 -126
- package/dist/core/selfEvolution.d.ts.map +1 -1
- package/dist/core/selfEvolution.js +24 -967
- package/dist/core/selfEvolution.js.map +1 -1
- package/dist/core/selfImprovement.d.ts +50 -109
- package/dist/core/selfImprovement.d.ts.map +1 -1
- package/dist/core/selfImprovement.js +14 -689
- package/dist/core/selfImprovement.js.map +1 -1
- package/dist/core/sourceCodeManager.d.ts +89 -0
- package/dist/core/sourceCodeManager.d.ts.map +1 -0
- package/dist/core/sourceCodeManager.js +332 -0
- package/dist/core/sourceCodeManager.js.map +1 -0
- package/dist/core/unifiedOrchestrator.d.ts +88 -0
- package/dist/core/unifiedOrchestrator.d.ts.map +1 -0
- package/dist/core/unifiedOrchestrator.js +284 -0
- package/dist/core/unifiedOrchestrator.js.map +1 -0
- package/dist/core/userDefenseOrchestrator.d.ts +202 -0
- package/dist/core/userDefenseOrchestrator.d.ts.map +1 -0
- package/dist/core/userDefenseOrchestrator.js +1006 -0
- package/dist/core/userDefenseOrchestrator.js.map +1 -0
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/index.js +36 -26
- package/dist/plugins/index.js.map +1 -1
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.d.ts +8 -0
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.js +17 -0
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.js.map +1 -0
- package/dist/plugins/tools/nodeDefaults.d.ts +14 -0
- package/dist/plugins/tools/nodeDefaults.d.ts.map +1 -1
- package/dist/plugins/tools/nodeDefaults.js +17 -54
- package/dist/plugins/tools/nodeDefaults.js.map +1 -1
- package/dist/plugins/tools/orchestration/orchestrationPlugin.d.ts +9 -0
- package/dist/plugins/tools/orchestration/orchestrationPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/orchestration/orchestrationPlugin.js +18 -0
- package/dist/plugins/tools/orchestration/orchestrationPlugin.js.map +1 -0
- package/dist/shell/interactiveShell.d.ts +97 -2
- package/dist/shell/interactiveShell.d.ts.map +1 -1
- package/dist/shell/interactiveShell.js +1001 -6
- package/dist/shell/interactiveShell.js.map +1 -1
- package/dist/tools/appleExposureTools.d.ts +108 -0
- package/dist/tools/appleExposureTools.d.ts.map +1 -0
- package/dist/tools/appleExposureTools.js +850 -0
- package/dist/tools/appleExposureTools.js.map +1 -0
- package/dist/tools/bidirectionalAuditTools.d.ts +104 -0
- package/dist/tools/bidirectionalAuditTools.d.ts.map +1 -0
- package/dist/tools/bidirectionalAuditTools.js +1280 -0
- package/dist/tools/bidirectionalAuditTools.js.map +1 -0
- package/dist/tools/defensiveSecurityTools.d.ts +152 -0
- package/dist/tools/defensiveSecurityTools.d.ts.map +1 -0
- package/dist/tools/defensiveSecurityTools.js +576 -0
- package/dist/tools/defensiveSecurityTools.js.map +1 -0
- package/dist/tools/forwardAttackChainTracer.d.ts +73 -0
- package/dist/tools/forwardAttackChainTracer.d.ts.map +1 -0
- package/dist/tools/forwardAttackChainTracer.js +604 -0
- package/dist/tools/forwardAttackChainTracer.js.map +1 -0
- package/dist/tools/localExplore.d.ts +12 -199
- package/dist/tools/localExplore.d.ts.map +1 -1
- package/dist/tools/localExplore.js +18 -1352
- package/dist/tools/localExplore.js.map +1 -1
- package/dist/tools/offensiveTransparencyTools.d.ts +188 -0
- package/dist/tools/offensiveTransparencyTools.d.ts.map +1 -0
- package/dist/tools/offensiveTransparencyTools.js +890 -0
- package/dist/tools/offensiveTransparencyTools.js.map +1 -0
- package/dist/tools/planningTools.d.ts +8 -17
- package/dist/tools/planningTools.d.ts.map +1 -1
- package/dist/tools/planningTools.js +31 -141
- package/dist/tools/planningTools.js.map +1 -1
- package/dist/tools/searchTools.d.ts +9 -0
- package/dist/tools/searchTools.d.ts.map +1 -1
- package/dist/tools/searchTools.js +305 -189
- package/dist/tools/searchTools.js.map +1 -1
- package/dist/tools/skillTools.d.ts +7 -5
- package/dist/tools/skillTools.d.ts.map +1 -1
- package/dist/tools/skillTools.js +13 -155
- package/dist/tools/skillTools.js.map +1 -1
- package/dist/tools/threatIntelligenceTools.d.ts +128 -0
- package/dist/tools/threatIntelligenceTools.d.ts.map +1 -0
- package/dist/tools/threatIntelligenceTools.js +712 -0
- package/dist/tools/threatIntelligenceTools.js.map +1 -0
- package/dist/ui/PromptController.d.ts +4 -0
- package/dist/ui/PromptController.d.ts.map +1 -1
- package/dist/ui/PromptController.js +32 -11
- package/dist/ui/PromptController.js.map +1 -1
- package/dist/ui/UnifiedUIRenderer.d.ts +20 -0
- package/dist/ui/UnifiedUIRenderer.d.ts.map +1 -1
- package/dist/ui/UnifiedUIRenderer.js +235 -28
- package/dist/ui/UnifiedUIRenderer.js.map +1 -1
- package/dist/ui/animatedStatus.d.ts +2 -0
- package/dist/ui/animatedStatus.d.ts.map +1 -1
- package/dist/ui/animatedStatus.js +36 -2
- package/dist/ui/animatedStatus.js.map +1 -1
- package/dist/ui/orchestration/StatusOrchestrator.d.ts +10 -0
- package/dist/ui/orchestration/StatusOrchestrator.d.ts.map +1 -1
- package/dist/ui/orchestration/StatusOrchestrator.js +36 -4
- package/dist/ui/orchestration/StatusOrchestrator.js.map +1 -1
- package/package.json +1 -1
- package/dist/capabilities/advancedTestGenerationCapability.d.ts +0 -17
- package/dist/capabilities/advancedTestGenerationCapability.d.ts.map +0 -1
- package/dist/capabilities/advancedTestGenerationCapability.js +0 -28
- package/dist/capabilities/advancedTestGenerationCapability.js.map +0 -1
- package/dist/capabilities/browserAutomationCapability.d.ts +0 -37
- package/dist/capabilities/browserAutomationCapability.d.ts.map +0 -1
- package/dist/capabilities/browserAutomationCapability.js +0 -49
- package/dist/capabilities/browserAutomationCapability.js.map +0 -1
- package/dist/capabilities/buildCapability.d.ts +0 -24
- package/dist/capabilities/buildCapability.d.ts.map +0 -1
- package/dist/capabilities/buildCapability.js +0 -25
- package/dist/capabilities/buildCapability.js.map +0 -1
- package/dist/capabilities/cloudCapability.d.ts +0 -13
- package/dist/capabilities/cloudCapability.d.ts.map +0 -1
- package/dist/capabilities/cloudCapability.js +0 -38
- package/dist/capabilities/cloudCapability.js.map +0 -1
- package/dist/capabilities/codeAnalysisCapability.d.ts +0 -13
- package/dist/capabilities/codeAnalysisCapability.d.ts.map +0 -1
- package/dist/capabilities/codeAnalysisCapability.js +0 -24
- package/dist/capabilities/codeAnalysisCapability.js.map +0 -1
- package/dist/capabilities/codeQualityCapability.d.ts +0 -13
- package/dist/capabilities/codeQualityCapability.d.ts.map +0 -1
- package/dist/capabilities/codeQualityCapability.js +0 -25
- package/dist/capabilities/codeQualityCapability.js.map +0 -1
- package/dist/capabilities/dependencySecurityCapability.d.ts +0 -13
- package/dist/capabilities/dependencySecurityCapability.d.ts.map +0 -1
- package/dist/capabilities/dependencySecurityCapability.js +0 -24
- package/dist/capabilities/dependencySecurityCapability.js.map +0 -1
- package/dist/capabilities/devCapability.d.ts +0 -13
- package/dist/capabilities/devCapability.d.ts.map +0 -1
- package/dist/capabilities/devCapability.js +0 -24
- package/dist/capabilities/devCapability.js.map +0 -1
- package/dist/capabilities/emailCapability.d.ts +0 -12
- package/dist/capabilities/emailCapability.d.ts.map +0 -1
- package/dist/capabilities/emailCapability.js +0 -22
- package/dist/capabilities/emailCapability.js.map +0 -1
- package/dist/capabilities/enhancedAnalysisCapability.d.ts +0 -13
- package/dist/capabilities/enhancedAnalysisCapability.d.ts.map +0 -1
- package/dist/capabilities/enhancedAnalysisCapability.js +0 -20
- package/dist/capabilities/enhancedAnalysisCapability.js.map +0 -1
- package/dist/capabilities/enhancedCodeIntelligenceCapability.d.ts +0 -17
- package/dist/capabilities/enhancedCodeIntelligenceCapability.d.ts.map +0 -1
- package/dist/capabilities/enhancedCodeIntelligenceCapability.js +0 -28
- package/dist/capabilities/enhancedCodeIntelligenceCapability.js.map +0 -1
- package/dist/capabilities/enhancedDevWorkflowCapability.d.ts +0 -17
- package/dist/capabilities/enhancedDevWorkflowCapability.d.ts.map +0 -1
- package/dist/capabilities/enhancedDevWorkflowCapability.js +0 -28
- package/dist/capabilities/enhancedDevWorkflowCapability.js.map +0 -1
- package/dist/capabilities/frontendTestingCapability.d.ts +0 -13
- package/dist/capabilities/frontendTestingCapability.d.ts.map +0 -1
- package/dist/capabilities/frontendTestingCapability.js +0 -28
- package/dist/capabilities/frontendTestingCapability.js.map +0 -1
- package/dist/capabilities/interactionCapability.d.ts +0 -12
- package/dist/capabilities/interactionCapability.d.ts.map +0 -1
- package/dist/capabilities/interactionCapability.js +0 -22
- package/dist/capabilities/interactionCapability.js.map +0 -1
- package/dist/capabilities/learnCapability.d.ts +0 -22
- package/dist/capabilities/learnCapability.d.ts.map +0 -1
- package/dist/capabilities/learnCapability.js +0 -37
- package/dist/capabilities/learnCapability.js.map +0 -1
- package/dist/capabilities/notebookCapability.d.ts +0 -17
- package/dist/capabilities/notebookCapability.d.ts.map +0 -1
- package/dist/capabilities/notebookCapability.js +0 -27
- package/dist/capabilities/notebookCapability.js.map +0 -1
- package/dist/capabilities/planningCapability.d.ts +0 -16
- package/dist/capabilities/planningCapability.d.ts.map +0 -1
- package/dist/capabilities/planningCapability.js +0 -26
- package/dist/capabilities/planningCapability.js.map +0 -1
- package/dist/capabilities/refactoringCapability.d.ts +0 -13
- package/dist/capabilities/refactoringCapability.d.ts.map +0 -1
- package/dist/capabilities/refactoringCapability.js +0 -25
- package/dist/capabilities/refactoringCapability.js.map +0 -1
- package/dist/capabilities/repoChecksCapability.d.ts +0 -10
- package/dist/capabilities/repoChecksCapability.d.ts.map +0 -1
- package/dist/capabilities/repoChecksCapability.js +0 -24
- package/dist/capabilities/repoChecksCapability.js.map +0 -1
- package/dist/capabilities/taskManagementCapability.d.ts +0 -12
- package/dist/capabilities/taskManagementCapability.d.ts.map +0 -1
- package/dist/capabilities/taskManagementCapability.js +0 -22
- package/dist/capabilities/taskManagementCapability.js.map +0 -1
- package/dist/capabilities/testingCapability.d.ts +0 -13
- package/dist/capabilities/testingCapability.d.ts.map +0 -1
- package/dist/capabilities/testingCapability.js +0 -25
- package/dist/capabilities/testingCapability.js.map +0 -1
- package/dist/capabilities/validationCapability.d.ts +0 -13
- package/dist/capabilities/validationCapability.d.ts.map +0 -1
- package/dist/capabilities/validationCapability.js +0 -24
- package/dist/capabilities/validationCapability.js.map +0 -1
- package/dist/capabilities/webCapability.d.ts +0 -12
- package/dist/capabilities/webCapability.d.ts.map +0 -1
- package/dist/capabilities/webCapability.js +0 -22
- package/dist/capabilities/webCapability.js.map +0 -1
- package/dist/core/deepBugAnalyzer.d.ts +0 -128
- package/dist/core/deepBugAnalyzer.d.ts.map +0 -1
- package/dist/core/deepBugAnalyzer.js +0 -406
- package/dist/core/deepBugAnalyzer.js.map +0 -1
- package/dist/core/hypothesisEngine.d.ts +0 -113
- package/dist/core/hypothesisEngine.d.ts.map +0 -1
- package/dist/core/hypothesisEngine.js +0 -264
- package/dist/core/hypothesisEngine.js.map +0 -1
- package/dist/core/productTestHarness.d.ts +0 -113
- package/dist/core/productTestHarness.d.ts.map +0 -1
- package/dist/core/productTestHarness.js +0 -351
- package/dist/core/productTestHarness.js.map +0 -1
- package/dist/core/validationRunner.d.ts +0 -106
- package/dist/core/validationRunner.d.ts.map +0 -1
- package/dist/core/validationRunner.js +0 -892
- package/dist/core/validationRunner.js.map +0 -1
- package/dist/plugins/tools/browser/browserAutomationPlugin.d.ts +0 -14
- package/dist/plugins/tools/browser/browserAutomationPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/browser/browserAutomationPlugin.js +0 -26
- package/dist/plugins/tools/browser/browserAutomationPlugin.js.map +0 -1
- package/dist/plugins/tools/checks/localRepoChecksPlugin.d.ts +0 -3
- package/dist/plugins/tools/checks/localRepoChecksPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/checks/localRepoChecksPlugin.js +0 -14
- package/dist/plugins/tools/checks/localRepoChecksPlugin.js.map +0 -1
- package/dist/plugins/tools/cloud/cloudPlugin.d.ts +0 -3
- package/dist/plugins/tools/cloud/cloudPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/cloud/cloudPlugin.js +0 -14
- package/dist/plugins/tools/cloud/cloudPlugin.js.map +0 -1
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.d.ts +0 -3
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.js +0 -14
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.js.map +0 -1
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.d.ts +0 -3
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.js +0 -14
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.js.map +0 -1
- package/dist/plugins/tools/dependency/dependencyPlugin.d.ts +0 -3
- package/dist/plugins/tools/dependency/dependencyPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/dependency/dependencyPlugin.js +0 -12
- package/dist/plugins/tools/dependency/dependencyPlugin.js.map +0 -1
- package/dist/plugins/tools/development/devPlugin.d.ts +0 -3
- package/dist/plugins/tools/development/devPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/development/devPlugin.js +0 -14
- package/dist/plugins/tools/development/devPlugin.js.map +0 -1
- package/dist/plugins/tools/email/emailPlugin.d.ts +0 -3
- package/dist/plugins/tools/email/emailPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/email/emailPlugin.js +0 -12
- package/dist/plugins/tools/email/emailPlugin.js.map +0 -1
- package/dist/plugins/tools/enhancedAnalysis/enhancedAnalysisPlugin.d.ts +0 -3
- package/dist/plugins/tools/enhancedAnalysis/enhancedAnalysisPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/enhancedAnalysis/enhancedAnalysisPlugin.js +0 -14
- package/dist/plugins/tools/enhancedAnalysis/enhancedAnalysisPlugin.js.map +0 -1
- package/dist/plugins/tools/enhancedCodeIntelligence/enhancedCodeIntelligencePlugin.d.ts +0 -3
- package/dist/plugins/tools/enhancedCodeIntelligence/enhancedCodeIntelligencePlugin.d.ts.map +0 -1
- package/dist/plugins/tools/enhancedCodeIntelligence/enhancedCodeIntelligencePlugin.js +0 -12
- package/dist/plugins/tools/enhancedCodeIntelligence/enhancedCodeIntelligencePlugin.js.map +0 -1
- package/dist/plugins/tools/enhancedDevWorkflow/enhancedDevWorkflowPlugin.d.ts +0 -3
- package/dist/plugins/tools/enhancedDevWorkflow/enhancedDevWorkflowPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/enhancedDevWorkflow/enhancedDevWorkflowPlugin.js +0 -12
- package/dist/plugins/tools/enhancedDevWorkflow/enhancedDevWorkflowPlugin.js.map +0 -1
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.d.ts +0 -3
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.js +0 -14
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.js.map +0 -1
- package/dist/plugins/tools/interaction/interactionPlugin.d.ts +0 -3
- package/dist/plugins/tools/interaction/interactionPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/interaction/interactionPlugin.js +0 -12
- package/dist/plugins/tools/interaction/interactionPlugin.js.map +0 -1
- package/dist/plugins/tools/learn/learnPlugin.d.ts +0 -3
- package/dist/plugins/tools/learn/learnPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/learn/learnPlugin.js +0 -14
- package/dist/plugins/tools/learn/learnPlugin.js.map +0 -1
- package/dist/plugins/tools/notebook/notebookPlugin.d.ts +0 -9
- package/dist/plugins/tools/notebook/notebookPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/notebook/notebookPlugin.js +0 -15
- package/dist/plugins/tools/notebook/notebookPlugin.js.map +0 -1
- package/dist/plugins/tools/planning/planningPlugin.d.ts +0 -9
- package/dist/plugins/tools/planning/planningPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/planning/planningPlugin.js +0 -15
- package/dist/plugins/tools/planning/planningPlugin.js.map +0 -1
- package/dist/plugins/tools/refactoring/refactoringPlugin.d.ts +0 -3
- package/dist/plugins/tools/refactoring/refactoringPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/refactoring/refactoringPlugin.js +0 -12
- package/dist/plugins/tools/refactoring/refactoringPlugin.js.map +0 -1
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.d.ts +0 -3
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.js +0 -12
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.js.map +0 -1
- package/dist/plugins/tools/testing/testingPlugin.d.ts +0 -3
- package/dist/plugins/tools/testing/testingPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/testing/testingPlugin.js +0 -12
- package/dist/plugins/tools/testing/testingPlugin.js.map +0 -1
- package/dist/plugins/tools/validation/validationPlugin.d.ts +0 -3
- package/dist/plugins/tools/validation/validationPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/validation/validationPlugin.js +0 -14
- package/dist/plugins/tools/validation/validationPlugin.js.map +0 -1
- package/dist/plugins/tools/web/webPlugin.d.ts +0 -3
- package/dist/plugins/tools/web/webPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/web/webPlugin.js +0 -12
- package/dist/plugins/tools/web/webPlugin.js.map +0 -1
- package/dist/tools/advancedTestGenerationTools.d.ts +0 -21
- package/dist/tools/advancedTestGenerationTools.d.ts.map +0 -1
- package/dist/tools/advancedTestGenerationTools.js +0 -304
- package/dist/tools/advancedTestGenerationTools.js.map +0 -1
- package/dist/tools/browserAutomationTools.d.ts +0 -23
- package/dist/tools/browserAutomationTools.d.ts.map +0 -1
- package/dist/tools/browserAutomationTools.js +0 -916
- package/dist/tools/browserAutomationTools.js.map +0 -1
- package/dist/tools/buildTools.d.ts +0 -9
- package/dist/tools/buildTools.d.ts.map +0 -1
- package/dist/tools/buildTools.js +0 -346
- package/dist/tools/buildTools.js.map +0 -1
- package/dist/tools/cloudTools.d.ts +0 -49
- package/dist/tools/cloudTools.d.ts.map +0 -1
- package/dist/tools/cloudTools.js +0 -1258
- package/dist/tools/cloudTools.js.map +0 -1
- package/dist/tools/codeAnalysisTools.d.ts +0 -74
- package/dist/tools/codeAnalysisTools.d.ts.map +0 -1
- package/dist/tools/codeAnalysisTools.js +0 -664
- package/dist/tools/codeAnalysisTools.js.map +0 -1
- package/dist/tools/codeGenerationTools.d.ts +0 -3
- package/dist/tools/codeGenerationTools.d.ts.map +0 -1
- package/dist/tools/codeGenerationTools.js +0 -439
- package/dist/tools/codeGenerationTools.js.map +0 -1
- package/dist/tools/codeQualityTools.d.ts +0 -3
- package/dist/tools/codeQualityTools.d.ts.map +0 -1
- package/dist/tools/codeQualityTools.js +0 -297
- package/dist/tools/codeQualityTools.js.map +0 -1
- package/dist/tools/dependencyTools.d.ts +0 -3
- package/dist/tools/dependencyTools.d.ts.map +0 -1
- package/dist/tools/dependencyTools.js +0 -284
- package/dist/tools/dependencyTools.js.map +0 -1
- package/dist/tools/devTools.d.ts +0 -10
- package/dist/tools/devTools.d.ts.map +0 -1
- package/dist/tools/devTools.js +0 -2126
- package/dist/tools/devTools.js.map +0 -1
- package/dist/tools/emailTools.d.ts +0 -21
- package/dist/tools/emailTools.d.ts.map +0 -1
- package/dist/tools/emailTools.js +0 -449
- package/dist/tools/emailTools.js.map +0 -1
- package/dist/tools/enhancedAnalysisTools.d.ts +0 -9
- package/dist/tools/enhancedAnalysisTools.d.ts.map +0 -1
- package/dist/tools/enhancedAnalysisTools.js +0 -370
- package/dist/tools/enhancedAnalysisTools.js.map +0 -1
- package/dist/tools/enhancedCodeIntelligenceTools.d.ts +0 -7
- package/dist/tools/enhancedCodeIntelligenceTools.d.ts.map +0 -1
- package/dist/tools/enhancedCodeIntelligenceTools.js +0 -540
- package/dist/tools/enhancedCodeIntelligenceTools.js.map +0 -1
- package/dist/tools/enhancedDevWorkflowTools.d.ts +0 -7
- package/dist/tools/enhancedDevWorkflowTools.d.ts.map +0 -1
- package/dist/tools/enhancedDevWorkflowTools.js +0 -432
- package/dist/tools/enhancedDevWorkflowTools.js.map +0 -1
- package/dist/tools/frontendTestingTools.d.ts +0 -35
- package/dist/tools/frontendTestingTools.d.ts.map +0 -1
- package/dist/tools/frontendTestingTools.js +0 -1258
- package/dist/tools/frontendTestingTools.js.map +0 -1
- package/dist/tools/globTools.d.ts +0 -15
- package/dist/tools/globTools.d.ts.map +0 -1
- package/dist/tools/globTools.js +0 -174
- package/dist/tools/globTools.js.map +0 -1
- package/dist/tools/grepTools.d.ts +0 -19
- package/dist/tools/grepTools.d.ts.map +0 -1
- package/dist/tools/grepTools.js +0 -411
- package/dist/tools/grepTools.js.map +0 -1
- package/dist/tools/interactionTools.d.ts +0 -6
- package/dist/tools/interactionTools.d.ts.map +0 -1
- package/dist/tools/interactionTools.js +0 -209
- package/dist/tools/interactionTools.js.map +0 -1
- package/dist/tools/learnTools.d.ts +0 -164
- package/dist/tools/learnTools.d.ts.map +0 -1
- package/dist/tools/learnTools.js +0 -2098
- package/dist/tools/learnTools.js.map +0 -1
- package/dist/tools/notebookEditTools.d.ts +0 -15
- package/dist/tools/notebookEditTools.d.ts.map +0 -1
- package/dist/tools/notebookEditTools.js +0 -197
- package/dist/tools/notebookEditTools.js.map +0 -1
- package/dist/tools/refactoringTools.d.ts +0 -3
- package/dist/tools/refactoringTools.d.ts.map +0 -1
- package/dist/tools/refactoringTools.js +0 -294
- package/dist/tools/refactoringTools.js.map +0 -1
- package/dist/tools/repoChecksTools.d.ts +0 -3
- package/dist/tools/repoChecksTools.d.ts.map +0 -1
- package/dist/tools/repoChecksTools.js +0 -276
- package/dist/tools/repoChecksTools.js.map +0 -1
- package/dist/tools/taskManagementTools.d.ts +0 -10
- package/dist/tools/taskManagementTools.d.ts.map +0 -1
- package/dist/tools/taskManagementTools.js +0 -133
- package/dist/tools/taskManagementTools.js.map +0 -1
- package/dist/tools/testingTools.d.ts +0 -3
- package/dist/tools/testingTools.d.ts.map +0 -1
- package/dist/tools/testingTools.js +0 -237
- package/dist/tools/testingTools.js.map +0 -1
- package/dist/tools/validationTools.d.ts +0 -7
- package/dist/tools/validationTools.d.ts.map +0 -1
- package/dist/tools/validationTools.js +0 -344
- package/dist/tools/validationTools.js.map +0 -1
- package/dist/tools/webTools.d.ts +0 -3
- package/dist/tools/webTools.d.ts.map +0 -1
- package/dist/tools/webTools.js +0 -502
- package/dist/tools/webTools.js.map +0 -1
|
@@ -1,344 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Validation tools for AI software engineering - validates all changes and provides
|
|
3
|
-
* intelligent error parsing with actionable fix suggestions.
|
|
4
|
-
*/
|
|
5
|
-
import { ValidationRunner, formatValidationResult, formatErrorsForAI, } from '../core/validationRunner.js';
|
|
6
|
-
export function createValidationTools(workingDir) {
|
|
7
|
-
// Keep track of last validation result for follow-up operations
|
|
8
|
-
let lastValidationResult = null;
|
|
9
|
-
return [
|
|
10
|
-
{
|
|
11
|
-
name: 'validate_all_changes',
|
|
12
|
-
description: `Comprehensive validation of all code changes - runs TypeScript type checking, build, and tests.
|
|
13
|
-
This is the Erosolar-CLI-style validation flow that should be run after making changes.
|
|
14
|
-
Returns structured errors with file locations, error codes, and suggested fixes.
|
|
15
|
-
Use this AFTER completing implementation work to verify everything compiles and tests pass.`,
|
|
16
|
-
parameters: {
|
|
17
|
-
type: 'object',
|
|
18
|
-
properties: {
|
|
19
|
-
phases: {
|
|
20
|
-
type: 'array',
|
|
21
|
-
items: {
|
|
22
|
-
type: 'string',
|
|
23
|
-
enum: ['typescript', 'build', 'test', 'lint'],
|
|
24
|
-
},
|
|
25
|
-
description: 'Validation phases to run (default: typescript, build, test)',
|
|
26
|
-
},
|
|
27
|
-
stopOnFirstFailure: {
|
|
28
|
-
type: 'boolean',
|
|
29
|
-
description: 'Stop after first failing phase (default: false)',
|
|
30
|
-
},
|
|
31
|
-
verbose: {
|
|
32
|
-
type: 'boolean',
|
|
33
|
-
description: 'Include raw output in results (default: false)',
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
additionalProperties: false,
|
|
37
|
-
},
|
|
38
|
-
handler: async (args) => {
|
|
39
|
-
const rawPhases = Array.isArray(args['phases']) ? args['phases'] : null;
|
|
40
|
-
const phases = rawPhases
|
|
41
|
-
? rawPhases.filter((p) => ['typescript', 'build', 'test', 'lint'].includes(p))
|
|
42
|
-
: ['typescript', 'build', 'test'];
|
|
43
|
-
const stopOnFirstFailure = args['stopOnFirstFailure'] === true;
|
|
44
|
-
const verbose = args['verbose'] === true;
|
|
45
|
-
const runner = new ValidationRunner({
|
|
46
|
-
workingDir,
|
|
47
|
-
phases,
|
|
48
|
-
stopOnFirstFailure,
|
|
49
|
-
verbose,
|
|
50
|
-
});
|
|
51
|
-
const result = await runner.runAll();
|
|
52
|
-
lastValidationResult = result;
|
|
53
|
-
return formatValidationResult(result);
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
name: 'get_validation_errors_for_fixing',
|
|
58
|
-
description: `Get the last validation errors in a format optimized for AI fixing.
|
|
59
|
-
Returns structured error information grouped by file, with specific line numbers,
|
|
60
|
-
error codes, and step-by-step fix instructions.
|
|
61
|
-
Use this after validate_all_changes fails to get detailed fix guidance.`,
|
|
62
|
-
parameters: {
|
|
63
|
-
type: 'object',
|
|
64
|
-
properties: {
|
|
65
|
-
includeWarnings: {
|
|
66
|
-
type: 'boolean',
|
|
67
|
-
description: 'Include warnings in addition to errors (default: false)',
|
|
68
|
-
},
|
|
69
|
-
maxErrors: {
|
|
70
|
-
type: 'number',
|
|
71
|
-
description: 'Maximum number of errors to return (default: 50)',
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
additionalProperties: false,
|
|
75
|
-
},
|
|
76
|
-
handler: async (args) => {
|
|
77
|
-
if (!lastValidationResult) {
|
|
78
|
-
return 'No validation has been run yet. Use validate_all_changes first.';
|
|
79
|
-
}
|
|
80
|
-
const includeWarnings = args['includeWarnings'] === true;
|
|
81
|
-
const maxErrorsArg = args['maxErrors'];
|
|
82
|
-
const maxErrors = typeof maxErrorsArg === 'number' && maxErrorsArg > 0 ? maxErrorsArg : 50;
|
|
83
|
-
let errors = lastValidationResult.errors.slice(0, maxErrors);
|
|
84
|
-
if (includeWarnings) {
|
|
85
|
-
errors = [...errors, ...lastValidationResult.warnings.slice(0, maxErrors - errors.length)];
|
|
86
|
-
}
|
|
87
|
-
if (errors.length === 0) {
|
|
88
|
-
return 'No errors to fix. Last validation passed.';
|
|
89
|
-
}
|
|
90
|
-
return formatErrorsForAI(errors, lastValidationResult.insights);
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
name: 'validation_recovery_plan',
|
|
95
|
-
description: `Summarize the last validation run into root-cause hints and a prioritized recovery plan.
|
|
96
|
-
Use this after validate_all_changes or validate_typescript to see the safest sequence to fix issues without thrashing.`,
|
|
97
|
-
parameters: {
|
|
98
|
-
type: 'object',
|
|
99
|
-
properties: {
|
|
100
|
-
maxSteps: {
|
|
101
|
-
type: 'number',
|
|
102
|
-
description: 'Limit number of recovery steps (default: 5)',
|
|
103
|
-
},
|
|
104
|
-
includeDetails: {
|
|
105
|
-
type: 'boolean',
|
|
106
|
-
description: 'Include dominant error codes and top files (default: true)',
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
additionalProperties: false,
|
|
110
|
-
},
|
|
111
|
-
handler: async (args) => {
|
|
112
|
-
if (!lastValidationResult) {
|
|
113
|
-
return 'No validation has been run yet. Use validate_all_changes first.';
|
|
114
|
-
}
|
|
115
|
-
const insights = lastValidationResult.insights;
|
|
116
|
-
if (!insights || (insights.rootCauseHints.length === 0 && insights.recoveryPlan.length === 0)) {
|
|
117
|
-
return 'No recovery guidance available. Last validation passed or produced no issues.';
|
|
118
|
-
}
|
|
119
|
-
const includeDetails = args['includeDetails'] !== false;
|
|
120
|
-
const maxStepsArg = args['maxSteps'];
|
|
121
|
-
const maxSteps = typeof maxStepsArg === 'number' && maxStepsArg > 0 ? maxStepsArg : 5;
|
|
122
|
-
const lines = [];
|
|
123
|
-
lines.push('# Validation Recovery Plan');
|
|
124
|
-
lines.push('');
|
|
125
|
-
if (insights.rootCauseHints.length > 0) {
|
|
126
|
-
lines.push('## Root Cause Hints');
|
|
127
|
-
insights.rootCauseHints.forEach(hint => lines.push(`- ${hint}`));
|
|
128
|
-
lines.push('');
|
|
129
|
-
}
|
|
130
|
-
if (insights.recoveryPlan.length > 0) {
|
|
131
|
-
lines.push('## Recommended Steps');
|
|
132
|
-
insights.recoveryPlan.slice(0, maxSteps).forEach((step, idx) => {
|
|
133
|
-
lines.push(`${idx + 1}. ${step}`);
|
|
134
|
-
});
|
|
135
|
-
lines.push('');
|
|
136
|
-
}
|
|
137
|
-
if (includeDetails) {
|
|
138
|
-
if (insights.dominantErrorCodes.length > 0) {
|
|
139
|
-
lines.push('## Dominant Errors');
|
|
140
|
-
insights.dominantErrorCodes.slice(0, 3).forEach(({ code, count }) => {
|
|
141
|
-
lines.push(`- ${code}: ${count} occurrence(s)`);
|
|
142
|
-
});
|
|
143
|
-
lines.push('');
|
|
144
|
-
}
|
|
145
|
-
if (insights.topFiles.length > 0) {
|
|
146
|
-
lines.push('## Files to Inspect First');
|
|
147
|
-
insights.topFiles.slice(0, 3).forEach(({ file, count }) => {
|
|
148
|
-
lines.push(`- ${file}: ${count} issue(s)`);
|
|
149
|
-
});
|
|
150
|
-
lines.push('');
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
if (lastValidationResult.autoFixableCount > 0) {
|
|
154
|
-
lines.push(`Auto-fixable issues detected: ${lastValidationResult.autoFixableCount}. Fix those first to reduce noise.`);
|
|
155
|
-
}
|
|
156
|
-
return lines.join('\n').trim();
|
|
157
|
-
},
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
name: 'validate_typescript',
|
|
161
|
-
description: `Run TypeScript type checking only (npx tsc --noEmit).
|
|
162
|
-
Faster than full validation when you only need to check types.
|
|
163
|
-
Returns structured TypeScript errors with file locations and fix suggestions.`,
|
|
164
|
-
parameters: {
|
|
165
|
-
type: 'object',
|
|
166
|
-
properties: {},
|
|
167
|
-
additionalProperties: false,
|
|
168
|
-
},
|
|
169
|
-
handler: async () => {
|
|
170
|
-
const runner = new ValidationRunner({
|
|
171
|
-
workingDir,
|
|
172
|
-
phases: ['typescript'],
|
|
173
|
-
});
|
|
174
|
-
const result = await runner.runPhase('typescript');
|
|
175
|
-
lastValidationResult = result;
|
|
176
|
-
return formatValidationResult(result);
|
|
177
|
-
},
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
name: 'suggest_fixes',
|
|
181
|
-
description: `Analyze validation errors and suggest specific fixes.
|
|
182
|
-
Provides detailed fix suggestions for each error type including:
|
|
183
|
-
- TypeScript errors: Type fixes, import suggestions, property additions
|
|
184
|
-
- Test failures: Assertion fixes, test updates
|
|
185
|
-
- Lint errors: Code style fixes, unused variable handling
|
|
186
|
-
|
|
187
|
-
This tool analyzes errors and provides actionable fix suggestions without making changes.`,
|
|
188
|
-
parameters: {
|
|
189
|
-
type: 'object',
|
|
190
|
-
properties: {
|
|
191
|
-
errorType: {
|
|
192
|
-
type: 'string',
|
|
193
|
-
enum: ['typescript', 'test', 'lint', 'build', 'all'],
|
|
194
|
-
description: 'Filter by error type (default: all)',
|
|
195
|
-
},
|
|
196
|
-
autoFixableOnly: {
|
|
197
|
-
type: 'boolean',
|
|
198
|
-
description: 'Only show auto-fixable errors (default: false)',
|
|
199
|
-
},
|
|
200
|
-
},
|
|
201
|
-
additionalProperties: false,
|
|
202
|
-
},
|
|
203
|
-
handler: async (args) => {
|
|
204
|
-
if (!lastValidationResult) {
|
|
205
|
-
return 'No validation has been run yet. Use validate_all_changes first.';
|
|
206
|
-
}
|
|
207
|
-
const errorTypeArg = args['errorType'];
|
|
208
|
-
const errorType = typeof errorTypeArg === 'string' ? errorTypeArg : 'all';
|
|
209
|
-
const autoFixableOnly = args['autoFixableOnly'] === true;
|
|
210
|
-
let errors = lastValidationResult.errors;
|
|
211
|
-
if (errorType !== 'all') {
|
|
212
|
-
errors = errors.filter(e => e.type === errorType);
|
|
213
|
-
}
|
|
214
|
-
if (autoFixableOnly) {
|
|
215
|
-
errors = errors.filter(e => e.suggestedFix?.autoFixable);
|
|
216
|
-
}
|
|
217
|
-
if (errors.length === 0) {
|
|
218
|
-
return autoFixableOnly
|
|
219
|
-
? 'No auto-fixable errors found.'
|
|
220
|
-
: 'No errors found matching the criteria.';
|
|
221
|
-
}
|
|
222
|
-
const lines = [];
|
|
223
|
-
lines.push('# Fix Suggestions');
|
|
224
|
-
lines.push('');
|
|
225
|
-
lines.push(`Found ${errors.length} error(s) to fix.`);
|
|
226
|
-
lines.push('');
|
|
227
|
-
// Group by file for easier fixing
|
|
228
|
-
const byFile = new Map();
|
|
229
|
-
for (const error of errors) {
|
|
230
|
-
const key = error.file || 'general';
|
|
231
|
-
if (!byFile.has(key)) {
|
|
232
|
-
byFile.set(key, []);
|
|
233
|
-
}
|
|
234
|
-
byFile.get(key).push(error);
|
|
235
|
-
}
|
|
236
|
-
for (const [file, fileErrors] of byFile) {
|
|
237
|
-
lines.push(`## ${file}`);
|
|
238
|
-
lines.push('');
|
|
239
|
-
for (const error of fileErrors) {
|
|
240
|
-
lines.push(`### ${error.code || error.type.toUpperCase()} at line ${error.line || '?'}`);
|
|
241
|
-
lines.push(`**Error:** ${error.message}`);
|
|
242
|
-
lines.push('');
|
|
243
|
-
if (error.suggestedFix) {
|
|
244
|
-
lines.push(`**Fix Strategy:** ${error.suggestedFix.description}`);
|
|
245
|
-
lines.push(`**Auto-fixable:** ${error.suggestedFix.autoFixable ? 'Yes ✓' : 'No - Manual fix required'}`);
|
|
246
|
-
lines.push(`**Fix Type:** ${error.suggestedFix.fixType}`);
|
|
247
|
-
lines.push('');
|
|
248
|
-
if (error.suggestedFix.fixDetails.command) {
|
|
249
|
-
lines.push('**Command to run:**');
|
|
250
|
-
lines.push('```bash');
|
|
251
|
-
lines.push(error.suggestedFix.fixDetails.command);
|
|
252
|
-
lines.push('```');
|
|
253
|
-
lines.push('');
|
|
254
|
-
}
|
|
255
|
-
if (error.suggestedFix.fixDetails.manualSteps) {
|
|
256
|
-
lines.push('**Manual steps:**');
|
|
257
|
-
for (let i = 0; i < error.suggestedFix.fixDetails.manualSteps.length; i++) {
|
|
258
|
-
lines.push(`${i + 1}. ${error.suggestedFix.fixDetails.manualSteps[i]}`);
|
|
259
|
-
}
|
|
260
|
-
lines.push('');
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
else {
|
|
264
|
-
lines.push('**Fix Strategy:** Manual investigation required');
|
|
265
|
-
lines.push('');
|
|
266
|
-
}
|
|
267
|
-
lines.push('---');
|
|
268
|
-
lines.push('');
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
// Summary
|
|
272
|
-
lines.push('## Summary');
|
|
273
|
-
lines.push('');
|
|
274
|
-
const autoFixable = errors.filter(e => e.suggestedFix?.autoFixable).length;
|
|
275
|
-
const manual = errors.length - autoFixable;
|
|
276
|
-
lines.push(`- **Auto-fixable:** ${autoFixable}`);
|
|
277
|
-
lines.push(`- **Manual fix required:** ${manual}`);
|
|
278
|
-
lines.push('');
|
|
279
|
-
if (autoFixable > 0) {
|
|
280
|
-
lines.push('### Recommended Approach');
|
|
281
|
-
lines.push('1. Fix auto-fixable issues first using the suggested commands');
|
|
282
|
-
lines.push('2. Then address manual fixes file by file');
|
|
283
|
-
lines.push('3. Re-run validate_all_changes to verify all fixes');
|
|
284
|
-
}
|
|
285
|
-
return lines.join('\n');
|
|
286
|
-
},
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
name: 'quick_typecheck',
|
|
290
|
-
description: `Ultra-fast TypeScript type check for iterative development.
|
|
291
|
-
Use this for quick feedback while fixing errors one at a time.
|
|
292
|
-
Much faster than full validation since it only runs tsc --noEmit.`,
|
|
293
|
-
parameters: {
|
|
294
|
-
type: 'object',
|
|
295
|
-
properties: {
|
|
296
|
-
file: {
|
|
297
|
-
type: 'string',
|
|
298
|
-
description: 'Optional: Check only errors in this specific file',
|
|
299
|
-
},
|
|
300
|
-
},
|
|
301
|
-
additionalProperties: false,
|
|
302
|
-
},
|
|
303
|
-
handler: async (args) => {
|
|
304
|
-
const runner = new ValidationRunner({
|
|
305
|
-
workingDir,
|
|
306
|
-
phases: ['typescript'],
|
|
307
|
-
});
|
|
308
|
-
const result = await runner.runPhase('typescript');
|
|
309
|
-
lastValidationResult = result;
|
|
310
|
-
const fileFilter = typeof args['file'] === 'string' ? args['file'] : null;
|
|
311
|
-
if (fileFilter) {
|
|
312
|
-
const filteredErrors = result.errors.filter(e => e.file?.includes(fileFilter));
|
|
313
|
-
const filteredWarnings = result.warnings.filter(e => e.file?.includes(fileFilter));
|
|
314
|
-
if (filteredErrors.length === 0 && filteredWarnings.length === 0) {
|
|
315
|
-
return `✓ No TypeScript errors in files matching "${fileFilter}"`;
|
|
316
|
-
}
|
|
317
|
-
const lines = [];
|
|
318
|
-
lines.push(`TypeScript errors in "${fileFilter}":`);
|
|
319
|
-
lines.push('');
|
|
320
|
-
for (const error of filteredErrors) {
|
|
321
|
-
lines.push(`${error.file}:${error.line}:${error.column} - ${error.code}: ${error.message}`);
|
|
322
|
-
}
|
|
323
|
-
return lines.join('\n');
|
|
324
|
-
}
|
|
325
|
-
if (result.success) {
|
|
326
|
-
return `✓ TypeScript: No errors (${(result.durationMs / 1000).toFixed(1)}s)`;
|
|
327
|
-
}
|
|
328
|
-
const lines = [];
|
|
329
|
-
lines.push(`✗ TypeScript: ${result.errors.length} error(s) (${(result.durationMs / 1000).toFixed(1)}s)`);
|
|
330
|
-
lines.push('');
|
|
331
|
-
// Show first 10 errors for quick review
|
|
332
|
-
for (const error of result.errors.slice(0, 10)) {
|
|
333
|
-
lines.push(`${error.file}:${error.line}:${error.column} - ${error.code}: ${error.message}`);
|
|
334
|
-
}
|
|
335
|
-
if (result.errors.length > 10) {
|
|
336
|
-
lines.push(`... and ${result.errors.length - 10} more errors`);
|
|
337
|
-
lines.push('Use get_validation_errors_for_fixing for full list with fix suggestions.');
|
|
338
|
-
}
|
|
339
|
-
return lines.join('\n');
|
|
340
|
-
},
|
|
341
|
-
},
|
|
342
|
-
];
|
|
343
|
-
}
|
|
344
|
-
//# sourceMappingURL=validationTools.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validationTools.js","sourceRoot":"","sources":["../../src/tools/validationTools.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,GAGlB,MAAM,6BAA6B,CAAC;AAErC,MAAM,UAAU,qBAAqB,CAAC,UAAkB;IACtD,gEAAgE;IAChE,IAAI,oBAAoB,GAA4B,IAAI,CAAC;IAEzD,OAAO;QACL;YACE,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE;;;4FAGyE;YACtF,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,MAAM,EAAE;wBACN,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACL,IAAI,EAAE,QAAQ;4BACd,IAAI,EAAE,CAAC,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;yBAC9C;wBACD,WAAW,EAAE,6DAA6D;qBAC3E;oBACD,kBAAkB,EAAE;wBAClB,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,iDAAiD;qBAC/D;oBACD,OAAO,EAAE;wBACP,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,gDAAgD;qBAC9D;iBAC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