erosolar-cli 2.1.249 → 2.1.253
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/reliabilityPrompt.d.ts.map +1 -1
- package/dist/core/reliabilityPrompt.js +14 -0
- package/dist/core/reliabilityPrompt.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,29 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Result Verification
|
|
3
|
-
*
|
|
4
|
-
* Prevents erosolar-cli from hallucinating success by requiring explicit
|
|
5
|
-
* verification of tool operation outcomes. All critical operations must
|
|
6
|
-
* return structured results with verification status.
|
|
7
|
-
*
|
|
8
|
-
* CRITICAL: LLMs can misinterpret ambiguous output as success.
|
|
9
|
-
* This module ensures clear, unambiguous success/failure signals.
|
|
10
|
-
*
|
|
11
|
-
* @license MIT
|
|
12
|
-
* @author Bo Shang
|
|
2
|
+
* Result Verification - Re-exported from orchestrationCapability
|
|
3
|
+
* Provides verifiedSuccess, verifiedFailure, analyzeOutput, OutputPatterns, etc.
|
|
13
4
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
5
|
+
export const OutputPatterns = {
|
|
6
|
+
git: {
|
|
7
|
+
success: [/\[.+\s+\w+\]/, /pushed/i, /merged/i, /On branch/i, /nothing to commit/i, /Already up to date/i],
|
|
8
|
+
failure: [/fatal:/i, /error:/i, /conflict/i, /rejected/i, /CONFLICT/, /Aborting/i],
|
|
9
|
+
},
|
|
10
|
+
npm: {
|
|
11
|
+
success: [/npm notice/i, /\+ .+@\d+\.\d+\.\d+/, /published/i],
|
|
12
|
+
failure: [/npm ERR!/i, /ERESOLVE/i, /E404/i, /EINTEGRITY/i],
|
|
13
|
+
},
|
|
14
|
+
command: {
|
|
15
|
+
success: [/^(success|completed|done|finished)/im, /successfully/i],
|
|
16
|
+
failure: [/^error/im, /^fatal/im, /failed/i, /command not found/i, /permission denied/i, /ENOENT/i, /EACCES/i],
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
function formatVerifiedResult(result) {
|
|
20
|
+
if (result.status === 'VERIFIED_SUCCESS')
|
|
24
21
|
return result.details || result.summary;
|
|
25
|
-
}
|
|
26
|
-
// For non-success states, show detailed diagnostic info
|
|
27
22
|
const lines = [];
|
|
28
23
|
switch (result.status) {
|
|
29
24
|
case 'VERIFIED_FAILURE':
|
|
@@ -39,11 +34,8 @@ export function formatVerifiedResult(result) {
|
|
|
39
34
|
lines.push('═══ ACTION REQUIRED ═══');
|
|
40
35
|
break;
|
|
41
36
|
}
|
|
42
|
-
lines.push('');
|
|
43
|
-
|
|
44
|
-
lines.push('');
|
|
45
|
-
// Show verification checks if any failed
|
|
46
|
-
if (result.verificationChecks && result.verificationChecks.length > 0) {
|
|
37
|
+
lines.push('', result.summary, '');
|
|
38
|
+
if (result.verificationChecks) {
|
|
47
39
|
const failedChecks = result.verificationChecks.filter(c => !c.passed);
|
|
48
40
|
if (failedChecks.length > 0) {
|
|
49
41
|
lines.push('Failed checks:');
|
|
@@ -53,23 +45,15 @@ export function formatVerifiedResult(result) {
|
|
|
53
45
|
lines.push('');
|
|
54
46
|
}
|
|
55
47
|
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
lines.push('');
|
|
60
|
-
}
|
|
61
|
-
// Show suggested actions
|
|
62
|
-
if (result.suggestedActions && result.suggestedActions.length > 0) {
|
|
48
|
+
if (result.details)
|
|
49
|
+
lines.push(result.details, '');
|
|
50
|
+
if (result.suggestedActions?.length) {
|
|
63
51
|
lines.push('Suggested actions:');
|
|
64
|
-
for (const action of result.suggestedActions)
|
|
52
|
+
for (const action of result.suggestedActions)
|
|
65
53
|
lines.push(` → ${action}`);
|
|
66
|
-
}
|
|
67
54
|
}
|
|
68
55
|
return lines.join('\n');
|
|
69
56
|
}
|
|
70
|
-
/**
|
|
71
|
-
* Create a verified success result
|
|
72
|
-
*/
|
|
73
57
|
export function verifiedSuccess(summary, details, checks, durationMs) {
|
|
74
58
|
return formatVerifiedResult({
|
|
75
59
|
status: 'VERIFIED_SUCCESS',
|
|
@@ -80,9 +64,6 @@ export function verifiedSuccess(summary, details, checks, durationMs) {
|
|
|
80
64
|
durationMs,
|
|
81
65
|
});
|
|
82
66
|
}
|
|
83
|
-
/**
|
|
84
|
-
* Create a verified failure result
|
|
85
|
-
*/
|
|
86
67
|
export function verifiedFailure(summary, details, suggestedActions, checks, durationMs) {
|
|
87
68
|
return formatVerifiedResult({
|
|
88
69
|
status: 'VERIFIED_FAILURE',
|
|
@@ -94,240 +75,26 @@ export function verifiedFailure(summary, details, suggestedActions, checks, dura
|
|
|
94
75
|
durationMs,
|
|
95
76
|
});
|
|
96
77
|
}
|
|
97
|
-
/**
|
|
98
|
-
* Create an unverified result (when we can't confirm success)
|
|
99
|
-
*/
|
|
100
|
-
export function unverifiedResult(summary, details, suggestedActions, durationMs) {
|
|
101
|
-
return formatVerifiedResult({
|
|
102
|
-
status: 'UNVERIFIED',
|
|
103
|
-
summary: `${summary} (VERIFICATION NOT POSSIBLE - DO NOT ASSUME SUCCESS)`,
|
|
104
|
-
details,
|
|
105
|
-
suggestedActions: suggestedActions || [
|
|
106
|
-
'Manually verify the operation completed as expected',
|
|
107
|
-
'Run verification commands to confirm state',
|
|
108
|
-
],
|
|
109
|
-
verifiedAt: new Date().toISOString(),
|
|
110
|
-
durationMs,
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Create a partial success result
|
|
115
|
-
*/
|
|
116
|
-
export function partialSuccess(summary, details, checks, suggestedActions, durationMs) {
|
|
117
|
-
return formatVerifiedResult({
|
|
118
|
-
status: 'PARTIAL_SUCCESS',
|
|
119
|
-
summary,
|
|
120
|
-
details,
|
|
121
|
-
verificationChecks: checks,
|
|
122
|
-
suggestedActions,
|
|
123
|
-
verifiedAt: new Date().toISOString(),
|
|
124
|
-
durationMs,
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Create a result requiring user action
|
|
129
|
-
*/
|
|
130
|
-
export function requiresUserAction(summary, details, requiredActions, durationMs) {
|
|
131
|
-
return formatVerifiedResult({
|
|
132
|
-
status: 'REQUIRES_USER_ACTION',
|
|
133
|
-
summary,
|
|
134
|
-
details,
|
|
135
|
-
suggestedActions: requiredActions,
|
|
136
|
-
verifiedAt: new Date().toISOString(),
|
|
137
|
-
durationMs,
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Verification patterns for common outputs
|
|
142
|
-
*/
|
|
143
|
-
export const OutputPatterns = {
|
|
144
|
-
// Firebase deployment patterns
|
|
145
|
-
firebase: {
|
|
146
|
-
success: [
|
|
147
|
-
/Deploy complete!/i,
|
|
148
|
-
/✔\s+Deploy complete/i,
|
|
149
|
-
/Hosting URL:/i,
|
|
150
|
-
/Function URL/i,
|
|
151
|
-
],
|
|
152
|
-
failure: [
|
|
153
|
-
/Error:/i,
|
|
154
|
-
/deploy failed/i,
|
|
155
|
-
/Authentication Error/i,
|
|
156
|
-
/not logged in/i,
|
|
157
|
-
/permission denied/i,
|
|
158
|
-
/PERMISSION_DENIED/i,
|
|
159
|
-
/quota exceeded/i,
|
|
160
|
-
/build error/i,
|
|
161
|
-
],
|
|
162
|
-
authRequired: [
|
|
163
|
-
/firebase login/i,
|
|
164
|
-
/not logged in/i,
|
|
165
|
-
/authenticate/i,
|
|
166
|
-
/FIREBASE_TOKEN/i,
|
|
167
|
-
],
|
|
168
|
-
},
|
|
169
|
-
// Generic command patterns
|
|
170
|
-
command: {
|
|
171
|
-
success: [
|
|
172
|
-
/^(success|completed|done|finished)/im,
|
|
173
|
-
/successfully/i,
|
|
174
|
-
],
|
|
175
|
-
failure: [
|
|
176
|
-
/^error/im,
|
|
177
|
-
/^fatal/im,
|
|
178
|
-
/failed/i,
|
|
179
|
-
/command not found/i,
|
|
180
|
-
/permission denied/i,
|
|
181
|
-
/access denied/i,
|
|
182
|
-
/ENOENT/i,
|
|
183
|
-
/EACCES/i,
|
|
184
|
-
/EPERM/i,
|
|
185
|
-
],
|
|
186
|
-
},
|
|
187
|
-
// NPM patterns
|
|
188
|
-
npm: {
|
|
189
|
-
success: [
|
|
190
|
-
/npm notice/i,
|
|
191
|
-
/\+ .+@\d+\.\d+\.\d+/, // Package published pattern
|
|
192
|
-
/published/i,
|
|
193
|
-
],
|
|
194
|
-
failure: [
|
|
195
|
-
/npm ERR!/i,
|
|
196
|
-
/ERESOLVE/i,
|
|
197
|
-
/E404/i,
|
|
198
|
-
/EINTEGRITY/i,
|
|
199
|
-
],
|
|
200
|
-
},
|
|
201
|
-
// Git patterns
|
|
202
|
-
git: {
|
|
203
|
-
success: [
|
|
204
|
-
/\[.+\s+\w+\]/, // Commit hash pattern like [main abc1234]
|
|
205
|
-
/pushed/i,
|
|
206
|
-
/merged/i,
|
|
207
|
-
/On branch/i, // git status output
|
|
208
|
-
/nothing to commit/i, // git status clean
|
|
209
|
-
/Changes to be committed/i, // git status staged
|
|
210
|
-
/Changes not staged/i, // git status modified
|
|
211
|
-
/Untracked files/i, // git status untracked
|
|
212
|
-
/Your branch is/i, // git status branch info
|
|
213
|
-
/HEAD detached/i, // git status detached HEAD
|
|
214
|
-
/diff --git/i, // git diff output
|
|
215
|
-
/create mode/i, // git commit output
|
|
216
|
-
/delete mode/i, // git commit output
|
|
217
|
-
/^\s*\d+ files? changed/im, // commit summary
|
|
218
|
-
/^\s*\d+ insertions?/im, // commit summary
|
|
219
|
-
/^\s*\d+ deletions?/im, // commit summary
|
|
220
|
-
/Already up to date/i, // git pull
|
|
221
|
-
/Fast-forward/i, // git pull/merge
|
|
222
|
-
/Switched to/i, // git checkout
|
|
223
|
-
/Already on/i, // git checkout
|
|
224
|
-
],
|
|
225
|
-
failure: [
|
|
226
|
-
/fatal:/i,
|
|
227
|
-
/error:/i,
|
|
228
|
-
/conflict/i,
|
|
229
|
-
/rejected/i,
|
|
230
|
-
/CONFLICT/,
|
|
231
|
-
/Aborting/i,
|
|
232
|
-
/not a git repository/i,
|
|
233
|
-
],
|
|
234
|
-
},
|
|
235
|
-
};
|
|
236
|
-
/**
|
|
237
|
-
* Normalize text to prevent Unicode lookalike attacks
|
|
238
|
-
* Converts confusable characters (e.g., Cyrillic 'а' -> Latin 'a')
|
|
239
|
-
* This prevents attackers from bypassing pattern detection with visually similar characters
|
|
240
|
-
*/
|
|
241
|
-
export function normalizeForPatternMatch(text) {
|
|
242
|
-
// Normalize Unicode to NFC form first
|
|
243
|
-
let normalized = text.normalize('NFC');
|
|
244
|
-
// Map common Unicode confusables to ASCII equivalents
|
|
245
|
-
// This prevents bypass using Cyrillic, Greek, or other lookalikes
|
|
246
|
-
const confusables = {
|
|
247
|
-
// Cyrillic lookalikes
|
|
248
|
-
'а': 'a', 'е': 'e', 'о': 'o', 'р': 'p', 'с': 'c', 'у': 'y', 'х': 'x',
|
|
249
|
-
'А': 'A', 'В': 'B', 'Е': 'E', 'К': 'K', 'М': 'M', 'Н': 'H', 'О': 'O',
|
|
250
|
-
'Р': 'P', 'С': 'C', 'Т': 'T', 'Х': 'X',
|
|
251
|
-
// Greek lookalikes
|
|
252
|
-
'Α': 'A', 'Β': 'B', 'Ε': 'E', 'Η': 'H', 'Ι': 'I', 'Κ': 'K', 'Μ': 'M',
|
|
253
|
-
'Ν': 'N', 'Ο': 'O', 'Ρ': 'P', 'Τ': 'T', 'Χ': 'X', 'Υ': 'Y', 'Ζ': 'Z',
|
|
254
|
-
'ο': 'o', 'ν': 'v', 'ρ': 'p',
|
|
255
|
-
// Fullwidth characters
|
|
256
|
-
'a': 'a', 'b': 'b', 'c': 'c', 'd': 'd', 'e': 'e', 'f': 'f', 'g': 'g',
|
|
257
|
-
'h': 'h', 'i': 'i', 'j': 'j', 'k': 'k', 'l': 'l', 'm': 'm', 'n': 'n',
|
|
258
|
-
'o': 'o', 'p': 'p', 'q': 'q', 'r': 'r', 's': 's', 't': 't', 'u': 'u',
|
|
259
|
-
'v': 'v', 'w': 'w', 'x': 'x', 'y': 'y', 'z': 'z',
|
|
260
|
-
// Other confusables
|
|
261
|
-
'ⅰ': 'i', 'ⅼ': 'l', 'ℓ': 'l', '𝕒': 'a', '𝕓': 'b', '𝕔': 'c',
|
|
262
|
-
'0': '0', '1': '1', '2': '2', '3': '3', '4': '4',
|
|
263
|
-
'5': '5', '6': '6', '7': '7', '8': '8', '9': '9',
|
|
264
|
-
};
|
|
265
|
-
for (const [confusable, replacement] of Object.entries(confusables)) {
|
|
266
|
-
normalized = normalized.split(confusable).join(replacement);
|
|
267
|
-
}
|
|
268
|
-
// Remove zero-width characters that could hide content
|
|
269
|
-
normalized = normalized.replace(/[\u200B-\u200D\uFEFF\u2060\u180E]/g, '');
|
|
270
|
-
return normalized;
|
|
271
|
-
}
|
|
272
|
-
/**
|
|
273
|
-
* Analyze output against patterns to determine success/failure
|
|
274
|
-
*
|
|
275
|
-
* CRITICAL: This function is defensive against:
|
|
276
|
-
* 1. Unicode lookalike attacks (Cyrillic/Greek characters that look like Latin)
|
|
277
|
-
* 2. Exit code 0 with hidden failures in output
|
|
278
|
-
* 3. False positives from success words appearing in error messages
|
|
279
|
-
*/
|
|
280
78
|
export function analyzeOutput(output, patterns, exitCode) {
|
|
281
|
-
|
|
282
|
-
const normalizedOutput = normalizeForPatternMatch(output);
|
|
283
|
-
// Check explicit failure patterns first (highest priority)
|
|
79
|
+
const normalizedOutput = output.normalize('NFC');
|
|
284
80
|
for (const pattern of patterns.failure) {
|
|
285
|
-
if (pattern.test(normalizedOutput))
|
|
81
|
+
if (pattern.test(normalizedOutput))
|
|
286
82
|
return { isSuccess: false, isFailure: true, matchedPattern: pattern.source, confidence: 'high' };
|
|
287
|
-
}
|
|
288
83
|
}
|
|
289
|
-
// Check success patterns
|
|
290
84
|
for (const pattern of patterns.success) {
|
|
291
|
-
if (pattern.test(normalizedOutput))
|
|
292
|
-
// Additional validation: ensure the success pattern isn't in a negative context
|
|
293
|
-
// e.g., "not successful", "failed to succeed", "success was not achieved"
|
|
294
|
-
const negativeContextPatterns = [
|
|
295
|
-
/not\s+(been\s+)?success/i,
|
|
296
|
-
/fail(ed|ure|s)?\s+to\s+(be\s+)?success/i,
|
|
297
|
-
/success\s+(was|is)\s+not/i,
|
|
298
|
-
/no\s+success/i,
|
|
299
|
-
/unsuccess/i,
|
|
300
|
-
/!success/i,
|
|
301
|
-
];
|
|
302
|
-
const hasNegativeContext = negativeContextPatterns.some(p => p.test(normalizedOutput));
|
|
303
|
-
if (hasNegativeContext) {
|
|
304
|
-
// Success word appears but in negative context - treat as failure
|
|
305
|
-
return { isSuccess: false, isFailure: true, matchedPattern: 'success in negative context', confidence: 'medium' };
|
|
306
|
-
}
|
|
85
|
+
if (pattern.test(normalizedOutput))
|
|
307
86
|
return { isSuccess: true, isFailure: false, matchedPattern: pattern.source, confidence: 'high' };
|
|
308
|
-
}
|
|
309
87
|
}
|
|
310
|
-
// IMPORTANT: Exit code 0 alone is NOT sufficient to declare success
|
|
311
|
-
// We only use exit code as a weak signal, not as verification
|
|
312
88
|
if (exitCode !== undefined) {
|
|
313
|
-
if (exitCode !== 0)
|
|
314
|
-
// Non-zero exit is a clear failure
|
|
89
|
+
if (exitCode !== 0)
|
|
315
90
|
return { isSuccess: false, isFailure: true, confidence: 'high' };
|
|
316
|
-
}
|
|
317
|
-
// Exit code 0 but no success pattern matched - this is INDETERMINATE, not success
|
|
318
|
-
// Return low confidence - the caller should treat this as unverified
|
|
319
91
|
return { isSuccess: false, isFailure: false, confidence: 'low' };
|
|
320
92
|
}
|
|
321
|
-
// Cannot determine at all
|
|
322
93
|
return { isSuccess: false, isFailure: false, confidence: 'low' };
|
|
323
94
|
}
|
|
324
|
-
/**
|
|
325
|
-
* Create a verification check from a command result
|
|
326
|
-
*/
|
|
327
95
|
export function createCommandCheck(checkName, exitCode, output, expectedPatterns) {
|
|
328
96
|
let passed = exitCode === 0;
|
|
329
97
|
let details = exitCode === 0 ? 'Exit code 0' : `Exit code ${exitCode}`;
|
|
330
|
-
// If we have expected patterns, check for them
|
|
331
98
|
if (expectedPatterns && passed) {
|
|
332
99
|
const foundPattern = expectedPatterns.some((p) => p.test(output));
|
|
333
100
|
if (!foundPattern) {
|
|
@@ -335,148 +102,12 @@ export function createCommandCheck(checkName, exitCode, output, expectedPatterns
|
|
|
335
102
|
details = 'Exit code 0 but expected output pattern not found';
|
|
336
103
|
}
|
|
337
104
|
}
|
|
338
|
-
return {
|
|
339
|
-
check: checkName,
|
|
340
|
-
passed,
|
|
341
|
-
details,
|
|
342
|
-
};
|
|
343
|
-
}
|
|
344
|
-
/**
|
|
345
|
-
* Verify that a file exists and optionally contains expected content
|
|
346
|
-
*/
|
|
347
|
-
export async function verifyFileExists(filePath, expectedContent) {
|
|
348
|
-
const fs = await import('fs/promises');
|
|
349
|
-
try {
|
|
350
|
-
const content = await fs.readFile(filePath, 'utf-8');
|
|
351
|
-
if (expectedContent) {
|
|
352
|
-
const matches = typeof expectedContent === 'string'
|
|
353
|
-
? content.includes(expectedContent)
|
|
354
|
-
: expectedContent.test(content);
|
|
355
|
-
return {
|
|
356
|
-
check: `File ${filePath} exists with expected content`,
|
|
357
|
-
passed: matches,
|
|
358
|
-
details: matches ? 'Content verified' : 'Content does not match expected',
|
|
359
|
-
};
|
|
360
|
-
}
|
|
361
|
-
return {
|
|
362
|
-
check: `File ${filePath} exists`,
|
|
363
|
-
passed: true,
|
|
364
|
-
details: `File size: ${content.length} bytes`,
|
|
365
|
-
};
|
|
366
|
-
}
|
|
367
|
-
catch (error) {
|
|
368
|
-
return {
|
|
369
|
-
check: `File ${filePath} exists`,
|
|
370
|
-
passed: false,
|
|
371
|
-
details: error instanceof Error ? error.message : 'File not found',
|
|
372
|
-
};
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
/**
|
|
376
|
-
* Verify URL is accessible (for deployment verification)
|
|
377
|
-
*/
|
|
378
|
-
export async function verifyUrlAccessible(url, expectedStatus = 200, timeoutMs = 10000) {
|
|
379
|
-
try {
|
|
380
|
-
const controller = new AbortController();
|
|
381
|
-
const timeout = setTimeout(() => controller.abort(), timeoutMs);
|
|
382
|
-
const response = await fetch(url, {
|
|
383
|
-
method: 'HEAD',
|
|
384
|
-
signal: controller.signal,
|
|
385
|
-
});
|
|
386
|
-
clearTimeout(timeout);
|
|
387
|
-
const passed = response.status === expectedStatus;
|
|
388
|
-
return {
|
|
389
|
-
check: `URL ${url} accessible`,
|
|
390
|
-
passed,
|
|
391
|
-
details: passed
|
|
392
|
-
? `Status ${response.status} (expected ${expectedStatus})`
|
|
393
|
-
: `Status ${response.status} (expected ${expectedStatus})`,
|
|
394
|
-
};
|
|
395
|
-
}
|
|
396
|
-
catch (error) {
|
|
397
|
-
return {
|
|
398
|
-
check: `URL ${url} accessible`,
|
|
399
|
-
passed: false,
|
|
400
|
-
details: error instanceof Error ? error.message : 'Request failed',
|
|
401
|
-
};
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
/**
|
|
405
|
-
* Verify a JSON response matches expected structure
|
|
406
|
-
*/
|
|
407
|
-
export async function verifyJsonEndpoint(url, expectedFields, timeoutMs = 10000) {
|
|
408
|
-
try {
|
|
409
|
-
const controller = new AbortController();
|
|
410
|
-
const timeout = setTimeout(() => controller.abort(), timeoutMs);
|
|
411
|
-
const response = await fetch(url, { signal: controller.signal });
|
|
412
|
-
clearTimeout(timeout);
|
|
413
|
-
if (!response.ok) {
|
|
414
|
-
return {
|
|
415
|
-
check: `JSON endpoint ${url}`,
|
|
416
|
-
passed: false,
|
|
417
|
-
details: `HTTP ${response.status}`,
|
|
418
|
-
};
|
|
419
|
-
}
|
|
420
|
-
const json = await response.json();
|
|
421
|
-
const missingFields = expectedFields.filter((field) => !(field in json));
|
|
422
|
-
return {
|
|
423
|
-
check: `JSON endpoint ${url}`,
|
|
424
|
-
passed: missingFields.length === 0,
|
|
425
|
-
details: missingFields.length === 0
|
|
426
|
-
? `All expected fields present: ${expectedFields.join(', ')}`
|
|
427
|
-
: `Missing fields: ${missingFields.join(', ')}`,
|
|
428
|
-
};
|
|
429
|
-
}
|
|
430
|
-
catch (error) {
|
|
431
|
-
return {
|
|
432
|
-
check: `JSON endpoint ${url}`,
|
|
433
|
-
passed: false,
|
|
434
|
-
details: error instanceof Error ? error.message : 'Request failed',
|
|
435
|
-
};
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
/**
|
|
439
|
-
* Common error indicators that might be hidden in truncated content
|
|
440
|
-
*/
|
|
441
|
-
const ERROR_INDICATORS = [
|
|
442
|
-
'error', 'failed', 'failure', 'exception', 'denied', 'unauthorized',
|
|
443
|
-
'forbidden', 'not found', '404', '500', '502', '503', 'timeout',
|
|
444
|
-
'refused', 'rejected', 'invalid', 'expired', 'abort', 'crash',
|
|
445
|
-
'fatal', 'critical', 'panic', 'segfault', 'killed', 'terminated',
|
|
446
|
-
];
|
|
447
|
-
/**
|
|
448
|
-
* Check if content that would be truncated might contain error indicators
|
|
449
|
-
* Returns a warning message if potential errors are detected in the truncated portion
|
|
450
|
-
*/
|
|
451
|
-
export function checkTruncationForErrors(fullContent, truncateAt) {
|
|
452
|
-
if (fullContent.length <= truncateAt) {
|
|
453
|
-
return { shouldWarn: false, warning: '' };
|
|
454
|
-
}
|
|
455
|
-
const truncatedPortion = fullContent.slice(truncateAt).toLowerCase();
|
|
456
|
-
const foundIndicators = ERROR_INDICATORS.filter(indicator => truncatedPortion.includes(indicator));
|
|
457
|
-
if (foundIndicators.length > 0) {
|
|
458
|
-
return {
|
|
459
|
-
shouldWarn: true,
|
|
460
|
-
warning: `⚠️ TRUNCATION WARNING: The hidden portion (${fullContent.length - truncateAt} chars) may contain error indicators: ${foundIndicators.join(', ')}. If the operation appears to have failed, review full output.`,
|
|
461
|
-
};
|
|
462
|
-
}
|
|
463
|
-
return { shouldWarn: false, warning: '' };
|
|
105
|
+
return { check: checkName, passed, details };
|
|
464
106
|
}
|
|
465
|
-
/**
|
|
466
|
-
* Safely truncate content with error detection
|
|
467
|
-
* Returns truncated content with appropriate warning if errors might be hidden
|
|
468
|
-
*/
|
|
469
107
|
export function safeTruncate(content, maxLength, _label = 'Content') {
|
|
470
|
-
if (content.length <= maxLength)
|
|
108
|
+
if (content.length <= maxLength)
|
|
471
109
|
return content;
|
|
472
|
-
}
|
|
473
|
-
const truncation = checkTruncationForErrors(content, maxLength);
|
|
474
|
-
const truncatedContent = content.slice(0, maxLength);
|
|
475
110
|
const hiddenChars = content.length - maxLength;
|
|
476
|
-
|
|
477
|
-
if (truncation.shouldWarn) {
|
|
478
|
-
result += `\n\n${truncation.warning}`;
|
|
479
|
-
}
|
|
480
|
-
return result;
|
|
111
|
+
return `${content.slice(0, maxLength)}\n\n[... ${hiddenChars} characters truncated]`;
|
|
481
112
|
}
|
|
482
113
|
//# sourceMappingURL=resultVerification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resultVerification.js","sourceRoot":"","sources":["../../src/core/resultVerification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAyCH;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,MAAsB;IACzD,4CAA4C;IAC5C,IAAI,MAAM,CAAC,MAAM,KAAK,kBAAkB,EAAE,CAAC;QACzC,OAAO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