erosolar-cli 1.7.439 → 1.7.440
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/dist/StringUtils.d.ts +8 -0
- package/dist/StringUtils.d.ts.map +1 -0
- package/dist/StringUtils.js +11 -0
- package/dist/StringUtils.js.map +1 -0
- package/dist/adapters/browser/index.d.ts +12 -0
- package/dist/adapters/browser/index.d.ts.map +1 -0
- package/dist/adapters/browser/index.js +11 -0
- package/dist/adapters/browser/index.js.map +1 -0
- package/dist/adapters/node/index.d.ts +17 -0
- package/dist/adapters/node/index.d.ts.map +1 -0
- package/dist/adapters/node/index.js +35 -0
- package/dist/adapters/node/index.js.map +1 -0
- package/dist/adapters/remote/index.d.ts +13 -0
- package/dist/adapters/remote/index.d.ts.map +1 -0
- package/dist/adapters/remote/index.js +20 -0
- package/dist/adapters/remote/index.js.map +1 -0
- package/dist/adapters/types.d.ts +14 -0
- package/dist/adapters/types.d.ts.map +1 -0
- package/dist/adapters/types.js +2 -0
- package/dist/adapters/types.js.map +1 -0
- package/dist/bin/erosolar.d.ts +9 -0
- package/dist/bin/erosolar.d.ts.map +1 -0
- package/dist/bin/erosolar.js +93 -0
- package/dist/bin/erosolar.js.map +1 -0
- package/dist/bin/selfTest.d.ts +14 -0
- package/dist/bin/selfTest.d.ts.map +1 -0
- package/dist/bin/selfTest.js +304 -0
- package/dist/bin/selfTest.js.map +1 -0
- package/dist/browser/BrowserSessionManager.d.ts +307 -0
- package/dist/browser/BrowserSessionManager.d.ts.map +1 -0
- package/dist/browser/BrowserSessionManager.js +713 -0
- package/dist/browser/BrowserSessionManager.js.map +1 -0
- package/dist/capabilities/advancedTestGenerationCapability.d.ts +17 -0
- package/dist/capabilities/advancedTestGenerationCapability.d.ts.map +1 -0
- package/dist/capabilities/advancedTestGenerationCapability.js +28 -0
- package/dist/capabilities/advancedTestGenerationCapability.js.map +1 -0
- package/dist/capabilities/agentSpawningCapability.d.ts +6 -0
- package/dist/capabilities/agentSpawningCapability.d.ts.map +1 -0
- package/dist/capabilities/agentSpawningCapability.js +168 -0
- package/dist/capabilities/agentSpawningCapability.js.map +1 -0
- package/dist/capabilities/askUserCapability.d.ts +21 -0
- package/dist/capabilities/askUserCapability.d.ts.map +1 -0
- package/dist/capabilities/askUserCapability.js +155 -0
- package/dist/capabilities/askUserCapability.js.map +1 -0
- package/dist/capabilities/bashCapability.d.ts +13 -0
- package/dist/capabilities/bashCapability.d.ts.map +1 -0
- package/dist/capabilities/bashCapability.js +24 -0
- package/dist/capabilities/bashCapability.js.map +1 -0
- package/dist/capabilities/browserAutomationCapability.d.ts +37 -0
- package/dist/capabilities/browserAutomationCapability.d.ts.map +1 -0
- package/dist/capabilities/browserAutomationCapability.js +49 -0
- package/dist/capabilities/browserAutomationCapability.js.map +1 -0
- package/dist/capabilities/buildCapability.d.ts +24 -0
- package/dist/capabilities/buildCapability.d.ts.map +1 -0
- package/dist/capabilities/buildCapability.js +25 -0
- package/dist/capabilities/buildCapability.js.map +1 -0
- package/dist/capabilities/cloudCapability.d.ts +13 -0
- package/dist/capabilities/cloudCapability.d.ts.map +1 -0
- package/dist/capabilities/cloudCapability.js +38 -0
- package/dist/capabilities/cloudCapability.js.map +1 -0
- package/dist/capabilities/codeAnalysisCapability.d.ts +13 -0
- package/dist/capabilities/codeAnalysisCapability.d.ts.map +1 -0
- package/dist/capabilities/codeAnalysisCapability.js +24 -0
- package/dist/capabilities/codeAnalysisCapability.js.map +1 -0
- package/dist/capabilities/codeGenerationCapability.d.ts +13 -0
- package/dist/capabilities/codeGenerationCapability.d.ts.map +1 -0
- package/dist/capabilities/codeGenerationCapability.js +25 -0
- package/dist/capabilities/codeGenerationCapability.js.map +1 -0
- package/dist/capabilities/codeQualityCapability.d.ts +13 -0
- package/dist/capabilities/codeQualityCapability.d.ts.map +1 -0
- package/dist/capabilities/codeQualityCapability.js +25 -0
- package/dist/capabilities/codeQualityCapability.js.map +1 -0
- package/dist/capabilities/dependencySecurityCapability.d.ts +13 -0
- package/dist/capabilities/dependencySecurityCapability.d.ts.map +1 -0
- package/dist/capabilities/dependencySecurityCapability.js +24 -0
- package/dist/capabilities/dependencySecurityCapability.js.map +1 -0
- package/dist/capabilities/devCapability.d.ts +13 -0
- package/dist/capabilities/devCapability.d.ts.map +1 -0
- package/dist/capabilities/devCapability.js +24 -0
- package/dist/capabilities/devCapability.js.map +1 -0
- package/dist/capabilities/editCapability.d.ts +17 -0
- package/dist/capabilities/editCapability.d.ts.map +1 -0
- package/dist/capabilities/editCapability.js +27 -0
- package/dist/capabilities/editCapability.js.map +1 -0
- package/dist/capabilities/emailCapability.d.ts +12 -0
- package/dist/capabilities/emailCapability.d.ts.map +1 -0
- package/dist/capabilities/emailCapability.js +22 -0
- package/dist/capabilities/emailCapability.js.map +1 -0
- package/dist/capabilities/enhancedCodeIntelligenceCapability.d.ts +17 -0
- package/dist/capabilities/enhancedCodeIntelligenceCapability.d.ts.map +1 -0
- package/dist/capabilities/enhancedCodeIntelligenceCapability.js +28 -0
- package/dist/capabilities/enhancedCodeIntelligenceCapability.js.map +1 -0
- package/dist/capabilities/enhancedDevWorkflowCapability.d.ts +17 -0
- package/dist/capabilities/enhancedDevWorkflowCapability.d.ts.map +1 -0
- package/dist/capabilities/enhancedDevWorkflowCapability.js +28 -0
- package/dist/capabilities/enhancedDevWorkflowCapability.js.map +1 -0
- package/dist/capabilities/enhancedGitCapability.d.ts +7 -0
- package/dist/capabilities/enhancedGitCapability.d.ts.map +1 -0
- package/dist/capabilities/enhancedGitCapability.js +220 -0
- package/dist/capabilities/enhancedGitCapability.js.map +1 -0
- package/dist/capabilities/filesystemCapability.d.ts +13 -0
- package/dist/capabilities/filesystemCapability.d.ts.map +1 -0
- package/dist/capabilities/filesystemCapability.js +24 -0
- package/dist/capabilities/filesystemCapability.js.map +1 -0
- package/dist/capabilities/frontendTestingCapability.d.ts +13 -0
- package/dist/capabilities/frontendTestingCapability.d.ts.map +1 -0
- package/dist/capabilities/frontendTestingCapability.js +28 -0
- package/dist/capabilities/frontendTestingCapability.js.map +1 -0
- package/dist/capabilities/globCapability.d.ts +17 -0
- package/dist/capabilities/globCapability.d.ts.map +1 -0
- package/dist/capabilities/globCapability.js +27 -0
- package/dist/capabilities/globCapability.js.map +1 -0
- package/dist/capabilities/index.d.ts +26 -0
- package/dist/capabilities/index.d.ts.map +1 -0
- package/dist/capabilities/index.js +26 -0
- package/dist/capabilities/index.js.map +1 -0
- package/dist/capabilities/interactionCapability.d.ts +12 -0
- package/dist/capabilities/interactionCapability.d.ts.map +1 -0
- package/dist/capabilities/interactionCapability.js +22 -0
- package/dist/capabilities/interactionCapability.js.map +1 -0
- package/dist/capabilities/learnCapability.d.ts +22 -0
- package/dist/capabilities/learnCapability.d.ts.map +1 -0
- package/dist/capabilities/learnCapability.js +37 -0
- package/dist/capabilities/learnCapability.js.map +1 -0
- package/dist/capabilities/mcpCapability.d.ts +6 -0
- package/dist/capabilities/mcpCapability.d.ts.map +1 -0
- package/dist/capabilities/mcpCapability.js +19 -0
- package/dist/capabilities/mcpCapability.js.map +1 -0
- package/dist/capabilities/notebookCapability.d.ts +17 -0
- package/dist/capabilities/notebookCapability.d.ts.map +1 -0
- package/dist/capabilities/notebookCapability.js +27 -0
- package/dist/capabilities/notebookCapability.js.map +1 -0
- package/dist/capabilities/performanceMonitoringCapability.d.ts +108 -0
- package/dist/capabilities/performanceMonitoringCapability.d.ts.map +1 -0
- package/dist/capabilities/performanceMonitoringCapability.js +176 -0
- package/dist/capabilities/performanceMonitoringCapability.js.map +1 -0
- package/dist/capabilities/planningCapability.d.ts +16 -0
- package/dist/capabilities/planningCapability.d.ts.map +1 -0
- package/dist/capabilities/planningCapability.js +26 -0
- package/dist/capabilities/planningCapability.js.map +1 -0
- package/dist/capabilities/refactoringCapability.d.ts +13 -0
- package/dist/capabilities/refactoringCapability.d.ts.map +1 -0
- package/dist/capabilities/refactoringCapability.js +25 -0
- package/dist/capabilities/refactoringCapability.js.map +1 -0
- package/dist/capabilities/repoChecksCapability.d.ts +10 -0
- package/dist/capabilities/repoChecksCapability.d.ts.map +1 -0
- package/dist/capabilities/repoChecksCapability.js +24 -0
- package/dist/capabilities/repoChecksCapability.js.map +1 -0
- package/dist/capabilities/searchCapability.d.ts +13 -0
- package/dist/capabilities/searchCapability.d.ts.map +1 -0
- package/dist/capabilities/searchCapability.js +24 -0
- package/dist/capabilities/searchCapability.js.map +1 -0
- package/dist/capabilities/skillCapability.d.ts +3 -0
- package/dist/capabilities/skillCapability.d.ts.map +1 -0
- package/dist/capabilities/skillCapability.js +77 -0
- package/dist/capabilities/skillCapability.js.map +1 -0
- package/dist/capabilities/statusCapability.d.ts +4 -0
- package/dist/capabilities/statusCapability.d.ts.map +1 -0
- package/dist/capabilities/statusCapability.js +92 -0
- package/dist/capabilities/statusCapability.js.map +1 -0
- package/dist/capabilities/taskManagementCapability.d.ts +12 -0
- package/dist/capabilities/taskManagementCapability.d.ts.map +1 -0
- package/dist/capabilities/taskManagementCapability.js +22 -0
- package/dist/capabilities/taskManagementCapability.js.map +1 -0
- package/dist/capabilities/testingCapability.d.ts +13 -0
- package/dist/capabilities/testingCapability.d.ts.map +1 -0
- package/dist/capabilities/testingCapability.js +25 -0
- package/dist/capabilities/testingCapability.js.map +1 -0
- package/dist/capabilities/todoCapability.d.ts +19 -0
- package/dist/capabilities/todoCapability.d.ts.map +1 -0
- package/dist/capabilities/todoCapability.js +169 -0
- package/dist/capabilities/todoCapability.js.map +1 -0
- package/dist/capabilities/toolManifest.d.ts +3 -0
- package/dist/capabilities/toolManifest.d.ts.map +1 -0
- package/dist/capabilities/toolManifest.js +160 -0
- package/dist/capabilities/toolManifest.js.map +1 -0
- package/dist/capabilities/toolRegistry.d.ts +24 -0
- package/dist/capabilities/toolRegistry.d.ts.map +1 -0
- package/dist/capabilities/toolRegistry.js +150 -0
- package/dist/capabilities/toolRegistry.js.map +1 -0
- package/dist/capabilities/validationCapability.d.ts +13 -0
- package/dist/capabilities/validationCapability.d.ts.map +1 -0
- package/dist/capabilities/validationCapability.js +24 -0
- package/dist/capabilities/validationCapability.js.map +1 -0
- package/dist/capabilities/webCapability.d.ts +12 -0
- package/dist/capabilities/webCapability.d.ts.map +1 -0
- package/dist/capabilities/webCapability.js +22 -0
- package/dist/capabilities/webCapability.js.map +1 -0
- package/dist/config.d.ts +25 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +140 -0
- package/dist/config.js.map +1 -0
- package/dist/contracts/v1/agent.d.ts +147 -0
- package/dist/contracts/v1/agent.d.ts.map +1 -0
- package/dist/contracts/v1/agent.js +8 -0
- package/dist/contracts/v1/agent.js.map +1 -0
- package/dist/contracts/v1/agentProfileManifest.d.ts +60 -0
- package/dist/contracts/v1/agentProfileManifest.d.ts.map +1 -0
- package/dist/contracts/v1/agentProfileManifest.js +9 -0
- package/dist/contracts/v1/agentProfileManifest.js.map +1 -0
- package/dist/contracts/v1/agentRules.d.ts +60 -0
- package/dist/contracts/v1/agentRules.d.ts.map +1 -0
- package/dist/contracts/v1/agentRules.js +10 -0
- package/dist/contracts/v1/agentRules.js.map +1 -0
- package/dist/contracts/v1/provider.d.ts +149 -0
- package/dist/contracts/v1/provider.d.ts.map +1 -0
- package/dist/contracts/v1/provider.js +7 -0
- package/dist/contracts/v1/provider.js.map +1 -0
- package/dist/contracts/v1/tool.d.ts +136 -0
- package/dist/contracts/v1/tool.d.ts.map +1 -0
- package/dist/contracts/v1/tool.js +7 -0
- package/dist/contracts/v1/tool.js.map +1 -0
- package/dist/contracts/v1/toolAccess.d.ts +43 -0
- package/dist/contracts/v1/toolAccess.d.ts.map +1 -0
- package/dist/contracts/v1/toolAccess.js +9 -0
- package/dist/contracts/v1/toolAccess.js.map +1 -0
- package/dist/core/LazyLoader.d.ts +129 -0
- package/dist/core/LazyLoader.d.ts.map +1 -0
- package/dist/core/LazyLoader.js +240 -0
- package/dist/core/LazyLoader.js.map +1 -0
- package/dist/core/agent.d.ts +153 -0
- package/dist/core/agent.d.ts.map +1 -0
- package/dist/core/agent.js +889 -0
- package/dist/core/agent.js.map +1 -0
- package/dist/core/agentProfileManifest.d.ts +3 -0
- package/dist/core/agentProfileManifest.d.ts.map +1 -0
- package/dist/core/agentProfileManifest.js +188 -0
- package/dist/core/agentProfileManifest.js.map +1 -0
- package/dist/core/agentProfiles.d.ts +22 -0
- package/dist/core/agentProfiles.d.ts.map +1 -0
- package/dist/core/agentProfiles.js +35 -0
- package/dist/core/agentProfiles.js.map +1 -0
- package/dist/core/agentRulebook.d.ts +11 -0
- package/dist/core/agentRulebook.d.ts.map +1 -0
- package/dist/core/agentRulebook.js +136 -0
- package/dist/core/agentRulebook.js.map +1 -0
- package/dist/core/agentSchemaLoader.d.ts +131 -0
- package/dist/core/agentSchemaLoader.d.ts.map +1 -0
- package/dist/core/agentSchemaLoader.js +234 -0
- package/dist/core/agentSchemaLoader.js.map +1 -0
- package/dist/core/aiErrorFixer.d.ts +70 -0
- package/dist/core/aiErrorFixer.d.ts.map +1 -0
- package/dist/core/aiErrorFixer.js +402 -0
- package/dist/core/aiErrorFixer.js.map +1 -0
- package/dist/core/alphaZeroEngine.d.ts +269 -0
- package/dist/core/alphaZeroEngine.d.ts.map +1 -0
- package/dist/core/alphaZeroEngine.js +523 -0
- package/dist/core/alphaZeroEngine.js.map +1 -0
- package/dist/core/alphaZeroModular.d.ts +186 -0
- package/dist/core/alphaZeroModular.d.ts.map +1 -0
- package/dist/core/alphaZeroModular.js +755 -0
- package/dist/core/alphaZeroModular.js.map +1 -0
- package/dist/core/alphaZeroOrchestrator.d.ts +140 -0
- package/dist/core/alphaZeroOrchestrator.d.ts.map +1 -0
- package/dist/core/alphaZeroOrchestrator.js +418 -0
- package/dist/core/alphaZeroOrchestrator.js.map +1 -0
- package/dist/core/bashCommandGuidance.d.ts +16 -0
- package/dist/core/bashCommandGuidance.d.ts.map +1 -0
- package/dist/core/bashCommandGuidance.js +40 -0
- package/dist/core/bashCommandGuidance.js.map +1 -0
- package/dist/core/checkpoint.d.ts +76 -0
- package/dist/core/checkpoint.d.ts.map +1 -0
- package/dist/core/checkpoint.js +278 -0
- package/dist/core/checkpoint.js.map +1 -0
- package/dist/core/cliTestHarness.d.ts +200 -0
- package/dist/core/cliTestHarness.d.ts.map +1 -0
- package/dist/core/cliTestHarness.js +549 -0
- package/dist/core/cliTestHarness.js.map +1 -0
- package/dist/core/contextManager.d.ts +265 -0
- package/dist/core/contextManager.d.ts.map +1 -0
- package/dist/core/contextManager.js +1060 -0
- package/dist/core/contextManager.js.map +1 -0
- package/dist/core/contextWindow.d.ts +42 -0
- package/dist/core/contextWindow.d.ts.map +1 -0
- package/dist/core/contextWindow.js +123 -0
- package/dist/core/contextWindow.js.map +1 -0
- package/dist/core/costTracker.d.ts +87 -0
- package/dist/core/costTracker.d.ts.map +1 -0
- package/dist/core/costTracker.js +285 -0
- package/dist/core/costTracker.js.map +1 -0
- package/dist/core/customCommands.d.ts +19 -0
- package/dist/core/customCommands.d.ts.map +1 -0
- package/dist/core/customCommands.js +84 -0
- package/dist/core/customCommands.js.map +1 -0
- package/dist/core/errors/apiKeyErrors.d.ts +11 -0
- package/dist/core/errors/apiKeyErrors.d.ts.map +1 -0
- package/dist/core/errors/apiKeyErrors.js +159 -0
- package/dist/core/errors/apiKeyErrors.js.map +1 -0
- package/dist/core/errors/errorTypes.d.ts +111 -0
- package/dist/core/errors/errorTypes.d.ts.map +1 -0
- package/dist/core/errors/errorTypes.js +348 -0
- package/dist/core/errors/errorTypes.js.map +1 -0
- package/dist/core/errors/errorUtils.d.ts +87 -0
- package/dist/core/errors/errorUtils.d.ts.map +1 -0
- package/dist/core/errors/errorUtils.js +158 -0
- package/dist/core/errors/errorUtils.js.map +1 -0
- package/dist/core/errors/safetyValidator.d.ts +71 -0
- package/dist/core/errors/safetyValidator.d.ts.map +1 -0
- package/dist/core/errors/safetyValidator.js +302 -0
- package/dist/core/errors/safetyValidator.js.map +1 -0
- package/dist/core/errors.d.ts +4 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +33 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/failureRecovery.d.ts +122 -0
- package/dist/core/failureRecovery.d.ts.map +1 -0
- package/dist/core/failureRecovery.js +477 -0
- package/dist/core/failureRecovery.js.map +1 -0
- package/dist/core/hooks.d.ts +113 -0
- package/dist/core/hooks.d.ts.map +1 -0
- package/dist/core/hooks.js +267 -0
- package/dist/core/hooks.js.map +1 -0
- package/dist/core/intelligentTestFlows.d.ts +126 -0
- package/dist/core/intelligentTestFlows.d.ts.map +1 -0
- package/dist/core/intelligentTestFlows.js +678 -0
- package/dist/core/intelligentTestFlows.js.map +1 -0
- package/dist/core/isolatedVerifier.d.ts +40 -0
- package/dist/core/isolatedVerifier.d.ts.map +1 -0
- package/dist/core/isolatedVerifier.js +129 -0
- package/dist/core/isolatedVerifier.js.map +1 -0
- package/dist/core/learningPersistence.d.ts +145 -0
- package/dist/core/learningPersistence.d.ts.map +1 -0
- package/dist/core/learningPersistence.js +477 -0
- package/dist/core/learningPersistence.js.map +1 -0
- package/dist/core/memorySystem.d.ts +67 -0
- package/dist/core/memorySystem.d.ts.map +1 -0
- package/dist/core/memorySystem.js +334 -0
- package/dist/core/memorySystem.js.map +1 -0
- package/dist/core/metricsTracker.d.ts +157 -0
- package/dist/core/metricsTracker.d.ts.map +1 -0
- package/dist/core/metricsTracker.js +273 -0
- package/dist/core/metricsTracker.js.map +1 -0
- package/dist/core/modelDiscovery.d.ts +101 -0
- package/dist/core/modelDiscovery.d.ts.map +1 -0
- package/dist/core/modelDiscovery.js +780 -0
- package/dist/core/modelDiscovery.js.map +1 -0
- package/dist/core/multilinePasteHandler.d.ts +35 -0
- package/dist/core/multilinePasteHandler.d.ts.map +1 -0
- package/dist/core/multilinePasteHandler.js +80 -0
- package/dist/core/multilinePasteHandler.js.map +1 -0
- package/dist/core/offsecAlphaZero.d.ts +56 -0
- package/dist/core/offsecAlphaZero.d.ts.map +1 -0
- package/dist/core/offsecAlphaZero.js +395 -0
- package/dist/core/offsecAlphaZero.js.map +1 -0
- package/dist/core/outputStyles.d.ts +48 -0
- package/dist/core/outputStyles.d.ts.map +1 -0
- package/dist/core/outputStyles.js +270 -0
- package/dist/core/outputStyles.js.map +1 -0
- package/dist/core/performanceMonitor.d.ts +124 -0
- package/dist/core/performanceMonitor.d.ts.map +1 -0
- package/dist/core/performanceMonitor.js +192 -0
- package/dist/core/performanceMonitor.js.map +1 -0
- package/dist/core/preferences.d.ts +69 -0
- package/dist/core/preferences.d.ts.map +1 -0
- package/dist/core/preferences.js +316 -0
- package/dist/core/preferences.js.map +1 -0
- package/dist/core/responseVerifier.d.ts +98 -0
- package/dist/core/responseVerifier.d.ts.map +1 -0
- package/dist/core/responseVerifier.js +509 -0
- package/dist/core/responseVerifier.js.map +1 -0
- package/dist/core/resultVerification.d.ts +141 -0
- package/dist/core/resultVerification.d.ts.map +1 -0
- package/dist/core/resultVerification.js +482 -0
- package/dist/core/resultVerification.js.map +1 -0
- package/dist/core/schemaValidator.d.ts +44 -0
- package/dist/core/schemaValidator.d.ts.map +1 -0
- package/dist/core/schemaValidator.js +155 -0
- package/dist/core/schemaValidator.js.map +1 -0
- package/dist/core/secretStore.d.ts +48 -0
- package/dist/core/secretStore.d.ts.map +1 -0
- package/dist/core/secretStore.js +367 -0
- package/dist/core/secretStore.js.map +1 -0
- package/dist/core/securityAssessment.d.ts +91 -0
- package/dist/core/securityAssessment.d.ts.map +1 -0
- package/dist/core/securityAssessment.js +580 -0
- package/dist/core/securityAssessment.js.map +1 -0
- package/dist/core/selfEvolution.d.ts +155 -0
- package/dist/core/selfEvolution.d.ts.map +1 -0
- package/dist/core/selfEvolution.js +1000 -0
- package/dist/core/selfEvolution.js.map +1 -0
- package/dist/core/selfImprovement.d.ts +141 -0
- package/dist/core/selfImprovement.d.ts.map +1 -0
- package/dist/core/selfImprovement.js +700 -0
- package/dist/core/selfImprovement.js.map +1 -0
- package/dist/core/sessionStore.d.ts +35 -0
- package/dist/core/sessionStore.d.ts.map +1 -0
- package/dist/core/sessionStore.js +189 -0
- package/dist/core/sessionStore.js.map +1 -0
- package/dist/core/testUtils.d.ts +121 -0
- package/dist/core/testUtils.d.ts.map +1 -0
- package/dist/core/testUtils.js +235 -0
- package/dist/core/testUtils.js.map +1 -0
- package/dist/core/toolPreconditions.d.ts +42 -0
- package/dist/core/toolPreconditions.d.ts.map +1 -0
- package/dist/core/toolPreconditions.js +347 -0
- package/dist/core/toolPreconditions.js.map +1 -0
- package/dist/core/toolRuntime.d.ts +163 -0
- package/dist/core/toolRuntime.d.ts.map +1 -0
- package/dist/core/toolRuntime.js +439 -0
- package/dist/core/toolRuntime.js.map +1 -0
- package/dist/core/toolValidation.d.ts +116 -0
- package/dist/core/toolValidation.d.ts.map +1 -0
- package/dist/core/toolValidation.js +282 -0
- package/dist/core/toolValidation.js.map +1 -0
- package/dist/core/types/utilityTypes.d.ts +192 -0
- package/dist/core/types/utilityTypes.d.ts.map +1 -0
- package/dist/core/types/utilityTypes.js +272 -0
- package/dist/core/types/utilityTypes.js.map +1 -0
- package/dist/core/types.d.ts +306 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +76 -0
- package/dist/core/types.js.map +1 -0
- package/dist/core/validationRunner.d.ts +106 -0
- package/dist/core/validationRunner.d.ts.map +1 -0
- package/dist/core/validationRunner.js +888 -0
- package/dist/core/validationRunner.js.map +1 -0
- package/dist/core/verification.d.ts +137 -0
- package/dist/core/verification.d.ts.map +1 -0
- package/dist/core/verification.js +323 -0
- package/dist/core/verification.js.map +1 -0
- package/dist/headless/headlessApp.d.ts +5 -0
- package/dist/headless/headlessApp.d.ts.map +1 -0
- package/dist/headless/headlessApp.js +210 -0
- package/dist/headless/headlessApp.js.map +1 -0
- package/dist/intelligence/codeIntelligence.d.ts +118 -0
- package/dist/intelligence/codeIntelligence.d.ts.map +1 -0
- package/dist/intelligence/codeIntelligence.js +552 -0
- package/dist/intelligence/codeIntelligence.js.map +1 -0
- package/dist/intelligence/docGenerator.d.ts +86 -0
- package/dist/intelligence/docGenerator.d.ts.map +1 -0
- package/dist/intelligence/docGenerator.js +564 -0
- package/dist/intelligence/docGenerator.js.map +1 -0
- package/dist/intelligence/index.d.ts +51 -0
- package/dist/intelligence/index.d.ts.map +1 -0
- package/dist/intelligence/index.js +253 -0
- package/dist/intelligence/index.js.map +1 -0
- package/dist/intelligence/refactoring.d.ts +50 -0
- package/dist/intelligence/refactoring.d.ts.map +1 -0
- package/dist/intelligence/refactoring.js +354 -0
- package/dist/intelligence/refactoring.js.map +1 -0
- package/dist/intelligence/testGenerator.d.ts +74 -0
- package/dist/intelligence/testGenerator.d.ts.map +1 -0
- package/dist/intelligence/testGenerator.js +483 -0
- package/dist/intelligence/testGenerator.js.map +1 -0
- package/dist/mcp/config.d.ts +8 -0
- package/dist/mcp/config.d.ts.map +1 -0
- package/dist/mcp/config.js +252 -0
- package/dist/mcp/config.js.map +1 -0
- package/dist/mcp/sseClient.d.ts +34 -0
- package/dist/mcp/sseClient.d.ts.map +1 -0
- package/dist/mcp/sseClient.js +327 -0
- package/dist/mcp/sseClient.js.map +1 -0
- package/dist/mcp/stdioClient.d.ts +24 -0
- package/dist/mcp/stdioClient.d.ts.map +1 -0
- package/dist/mcp/stdioClient.js +179 -0
- package/dist/mcp/stdioClient.js.map +1 -0
- package/dist/mcp/toolBridge.d.ts +12 -0
- package/dist/mcp/toolBridge.d.ts.map +1 -0
- package/dist/mcp/toolBridge.js +117 -0
- package/dist/mcp/toolBridge.js.map +1 -0
- package/dist/mcp/types.d.ts +60 -0
- package/dist/mcp/types.d.ts.map +1 -0
- package/dist/mcp/types.js +2 -0
- package/dist/mcp/types.js.map +1 -0
- package/dist/plugins/index.d.ts +49 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +114 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/plugins/providers/anthropic/index.d.ts +11 -0
- package/dist/plugins/providers/anthropic/index.d.ts.map +1 -0
- package/dist/plugins/providers/anthropic/index.js +38 -0
- package/dist/plugins/providers/anthropic/index.js.map +1 -0
- package/dist/plugins/providers/deepseek/index.d.ts +11 -0
- package/dist/plugins/providers/deepseek/index.d.ts.map +1 -0
- package/dist/plugins/providers/deepseek/index.js +52 -0
- package/dist/plugins/providers/deepseek/index.js.map +1 -0
- package/dist/plugins/providers/google/index.d.ts +11 -0
- package/dist/plugins/providers/google/index.d.ts.map +1 -0
- package/dist/plugins/providers/google/index.js +40 -0
- package/dist/plugins/providers/google/index.js.map +1 -0
- package/dist/plugins/providers/index.d.ts +2 -0
- package/dist/plugins/providers/index.d.ts.map +1 -0
- package/dist/plugins/providers/index.js +20 -0
- package/dist/plugins/providers/index.js.map +1 -0
- package/dist/plugins/providers/ollama/index.d.ts +21 -0
- package/dist/plugins/providers/ollama/index.d.ts.map +1 -0
- package/dist/plugins/providers/ollama/index.js +69 -0
- package/dist/plugins/providers/ollama/index.js.map +1 -0
- package/dist/plugins/providers/openai/index.d.ts +12 -0
- package/dist/plugins/providers/openai/index.d.ts.map +1 -0
- package/dist/plugins/providers/openai/index.js +39 -0
- package/dist/plugins/providers/openai/index.js.map +1 -0
- package/dist/plugins/providers/xai/index.d.ts +11 -0
- package/dist/plugins/providers/xai/index.d.ts.map +1 -0
- package/dist/plugins/providers/xai/index.js +39 -0
- package/dist/plugins/providers/xai/index.js.map +1 -0
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.d.ts +3 -0
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.js +9 -0
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.js.map +1 -0
- package/dist/plugins/tools/bash/localBashPlugin.d.ts +3 -0
- package/dist/plugins/tools/bash/localBashPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/bash/localBashPlugin.js +14 -0
- package/dist/plugins/tools/bash/localBashPlugin.js.map +1 -0
- package/dist/plugins/tools/browser/browserAutomationPlugin.d.ts +14 -0
- package/dist/plugins/tools/browser/browserAutomationPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/browser/browserAutomationPlugin.js +26 -0
- package/dist/plugins/tools/browser/browserAutomationPlugin.js.map +1 -0
- package/dist/plugins/tools/checks/localRepoChecksPlugin.d.ts +3 -0
- package/dist/plugins/tools/checks/localRepoChecksPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/checks/localRepoChecksPlugin.js +14 -0
- package/dist/plugins/tools/checks/localRepoChecksPlugin.js.map +1 -0
- package/dist/plugins/tools/cloud/cloudPlugin.d.ts +3 -0
- package/dist/plugins/tools/cloud/cloudPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/cloud/cloudPlugin.js +14 -0
- package/dist/plugins/tools/cloud/cloudPlugin.js.map +1 -0
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.d.ts +3 -0
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.js +14 -0
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.js.map +1 -0
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.d.ts +3 -0
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.js +14 -0
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.js.map +1 -0
- package/dist/plugins/tools/dependency/dependencyPlugin.d.ts +3 -0
- package/dist/plugins/tools/dependency/dependencyPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/dependency/dependencyPlugin.js +12 -0
- package/dist/plugins/tools/dependency/dependencyPlugin.js.map +1 -0
- package/dist/plugins/tools/development/devPlugin.d.ts +3 -0
- package/dist/plugins/tools/development/devPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/development/devPlugin.js +14 -0
- package/dist/plugins/tools/development/devPlugin.js.map +1 -0
- package/dist/plugins/tools/edit/editPlugin.d.ts +9 -0
- package/dist/plugins/tools/edit/editPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/edit/editPlugin.js +15 -0
- package/dist/plugins/tools/edit/editPlugin.js.map +1 -0
- package/dist/plugins/tools/email/emailPlugin.d.ts +3 -0
- package/dist/plugins/tools/email/emailPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/email/emailPlugin.js +12 -0
- package/dist/plugins/tools/email/emailPlugin.js.map +1 -0
- package/dist/plugins/tools/enhancedGit/enhancedGitPlugin.d.ts +3 -0
- package/dist/plugins/tools/enhancedGit/enhancedGitPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/enhancedGit/enhancedGitPlugin.js +9 -0
- package/dist/plugins/tools/enhancedGit/enhancedGitPlugin.js.map +1 -0
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.d.ts +3 -0
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.js +14 -0
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.js.map +1 -0
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.d.ts +3 -0
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.js +14 -0
- package/dist/plugins/tools/frontendTesting/frontendTestingPlugin.js.map +1 -0
- package/dist/plugins/tools/glob/globPlugin.d.ts +9 -0
- package/dist/plugins/tools/glob/globPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/glob/globPlugin.js +15 -0
- package/dist/plugins/tools/glob/globPlugin.js.map +1 -0
- package/dist/plugins/tools/index.d.ts +3 -0
- package/dist/plugins/tools/index.d.ts.map +1 -0
- package/dist/plugins/tools/index.js +3 -0
- package/dist/plugins/tools/index.js.map +1 -0
- package/dist/plugins/tools/interaction/interactionPlugin.d.ts +3 -0
- package/dist/plugins/tools/interaction/interactionPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/interaction/interactionPlugin.js +12 -0
- package/dist/plugins/tools/interaction/interactionPlugin.js.map +1 -0
- package/dist/plugins/tools/learn/learnPlugin.d.ts +3 -0
- package/dist/plugins/tools/learn/learnPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/learn/learnPlugin.js +14 -0
- package/dist/plugins/tools/learn/learnPlugin.js.map +1 -0
- package/dist/plugins/tools/mcp/mcpPlugin.d.ts +3 -0
- package/dist/plugins/tools/mcp/mcpPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/mcp/mcpPlugin.js +9 -0
- package/dist/plugins/tools/mcp/mcpPlugin.js.map +1 -0
- package/dist/plugins/tools/nodeDefaults.d.ts +2 -0
- package/dist/plugins/tools/nodeDefaults.d.ts.map +1 -0
- package/dist/plugins/tools/nodeDefaults.js +65 -0
- package/dist/plugins/tools/nodeDefaults.js.map +1 -0
- package/dist/plugins/tools/notebook/notebookPlugin.d.ts +9 -0
- package/dist/plugins/tools/notebook/notebookPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/notebook/notebookPlugin.js +15 -0
- package/dist/plugins/tools/notebook/notebookPlugin.js.map +1 -0
- package/dist/plugins/tools/planning/planningPlugin.d.ts +9 -0
- package/dist/plugins/tools/planning/planningPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/planning/planningPlugin.js +15 -0
- package/dist/plugins/tools/planning/planningPlugin.js.map +1 -0
- package/dist/plugins/tools/refactoring/refactoringPlugin.d.ts +3 -0
- package/dist/plugins/tools/refactoring/refactoringPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/refactoring/refactoringPlugin.js +12 -0
- package/dist/plugins/tools/refactoring/refactoringPlugin.js.map +1 -0
- package/dist/plugins/tools/registry.d.ts +22 -0
- package/dist/plugins/tools/registry.d.ts.map +1 -0
- package/dist/plugins/tools/registry.js +58 -0
- package/dist/plugins/tools/registry.js.map +1 -0
- package/dist/plugins/tools/search/localSearchPlugin.d.ts +3 -0
- package/dist/plugins/tools/search/localSearchPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/search/localSearchPlugin.js +14 -0
- package/dist/plugins/tools/search/localSearchPlugin.js.map +1 -0
- package/dist/plugins/tools/skills/skillPlugin.d.ts +3 -0
- package/dist/plugins/tools/skills/skillPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/skills/skillPlugin.js +9 -0
- package/dist/plugins/tools/skills/skillPlugin.js.map +1 -0
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.d.ts +3 -0
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.js +12 -0
- package/dist/plugins/tools/taskManagement/taskManagementPlugin.js.map +1 -0
- package/dist/plugins/tools/testing/testingPlugin.d.ts +3 -0
- package/dist/plugins/tools/testing/testingPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/testing/testingPlugin.js +12 -0
- package/dist/plugins/tools/testing/testingPlugin.js.map +1 -0
- package/dist/plugins/tools/validation/validationPlugin.d.ts +3 -0
- package/dist/plugins/tools/validation/validationPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/validation/validationPlugin.js +14 -0
- package/dist/plugins/tools/validation/validationPlugin.js.map +1 -0
- package/dist/plugins/tools/web/webPlugin.d.ts +3 -0
- package/dist/plugins/tools/web/webPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/web/webPlugin.js +12 -0
- package/dist/plugins/tools/web/webPlugin.js.map +1 -0
- package/dist/providers/anthropicProvider.d.ts +41 -0
- package/dist/providers/anthropicProvider.d.ts.map +1 -0
- package/dist/providers/anthropicProvider.js +446 -0
- package/dist/providers/anthropicProvider.js.map +1 -0
- package/dist/providers/googleProvider.d.ts +36 -0
- package/dist/providers/googleProvider.d.ts.map +1 -0
- package/dist/providers/googleProvider.js +312 -0
- package/dist/providers/googleProvider.js.map +1 -0
- package/dist/providers/openaiChatCompletionsProvider.d.ts +43 -0
- package/dist/providers/openaiChatCompletionsProvider.d.ts.map +1 -0
- package/dist/providers/openaiChatCompletionsProvider.js +516 -0
- package/dist/providers/openaiChatCompletionsProvider.js.map +1 -0
- package/dist/providers/openaiResponsesProvider.d.ts +38 -0
- package/dist/providers/openaiResponsesProvider.d.ts.map +1 -0
- package/dist/providers/openaiResponsesProvider.js +364 -0
- package/dist/providers/openaiResponsesProvider.js.map +1 -0
- package/dist/providers/providerFactory.d.ts +18 -0
- package/dist/providers/providerFactory.d.ts.map +1 -0
- package/dist/providers/providerFactory.js +25 -0
- package/dist/providers/providerFactory.js.map +1 -0
- package/dist/providers/resilientProvider.d.ts +94 -0
- package/dist/providers/resilientProvider.d.ts.map +1 -0
- package/dist/providers/resilientProvider.js +370 -0
- package/dist/providers/resilientProvider.js.map +1 -0
- package/dist/runtime/agentController.d.ts +65 -0
- package/dist/runtime/agentController.d.ts.map +1 -0
- package/dist/runtime/agentController.js +353 -0
- package/dist/runtime/agentController.js.map +1 -0
- package/dist/runtime/agentHost.d.ts +61 -0
- package/dist/runtime/agentHost.d.ts.map +1 -0
- package/dist/runtime/agentHost.js +156 -0
- package/dist/runtime/agentHost.js.map +1 -0
- package/dist/runtime/agentSession.d.ts +40 -0
- package/dist/runtime/agentSession.d.ts.map +1 -0
- package/dist/runtime/agentSession.js +205 -0
- package/dist/runtime/agentSession.js.map +1 -0
- package/dist/runtime/browser.d.ts +7 -0
- package/dist/runtime/browser.d.ts.map +1 -0
- package/dist/runtime/browser.js +10 -0
- package/dist/runtime/browser.js.map +1 -0
- package/dist/runtime/cloud.d.ts +7 -0
- package/dist/runtime/cloud.d.ts.map +1 -0
- package/dist/runtime/cloud.js +10 -0
- package/dist/runtime/cloud.js.map +1 -0
- package/dist/runtime/node.d.ts +8 -0
- package/dist/runtime/node.d.ts.map +1 -0
- package/dist/runtime/node.js +11 -0
- package/dist/runtime/node.js.map +1 -0
- package/dist/runtime/universal.d.ts +21 -0
- package/dist/runtime/universal.d.ts.map +1 -0
- package/dist/runtime/universal.js +29 -0
- package/dist/runtime/universal.js.map +1 -0
- package/dist/shell/autoExecutor.d.ts +70 -0
- package/dist/shell/autoExecutor.d.ts.map +1 -0
- package/dist/shell/autoExecutor.js +288 -0
- package/dist/shell/autoExecutor.js.map +1 -0
- package/dist/shell/composableMessage.d.ts +183 -0
- package/dist/shell/composableMessage.d.ts.map +1 -0
- package/dist/shell/composableMessage.js +420 -0
- package/dist/shell/composableMessage.js.map +1 -0
- package/dist/shell/fileChangeTracker.d.ts +39 -0
- package/dist/shell/fileChangeTracker.d.ts.map +1 -0
- package/dist/shell/fileChangeTracker.js +64 -0
- package/dist/shell/fileChangeTracker.js.map +1 -0
- package/dist/shell/interactiveShell.d.ts +517 -0
- package/dist/shell/interactiveShell.d.ts.map +1 -0
- package/dist/shell/interactiveShell.js +6646 -0
- package/dist/shell/interactiveShell.js.map +1 -0
- package/dist/shell/liveStatus.d.ts +30 -0
- package/dist/shell/liveStatus.d.ts.map +1 -0
- package/dist/shell/liveStatus.js +102 -0
- package/dist/shell/liveStatus.js.map +1 -0
- package/dist/shell/shellApp.d.ts +19 -0
- package/dist/shell/shellApp.d.ts.map +1 -0
- package/dist/shell/shellApp.js +411 -0
- package/dist/shell/shellApp.js.map +1 -0
- package/dist/shell/systemPrompt.d.ts +3 -0
- package/dist/shell/systemPrompt.d.ts.map +1 -0
- package/dist/shell/systemPrompt.js +64 -0
- package/dist/shell/systemPrompt.js.map +1 -0
- package/dist/shell/taskCompletionDetector.d.ts +106 -0
- package/dist/shell/taskCompletionDetector.d.ts.map +1 -0
- package/dist/shell/taskCompletionDetector.js +402 -0
- package/dist/shell/taskCompletionDetector.js.map +1 -0
- package/dist/shell/vimMode.d.ts +66 -0
- package/dist/shell/vimMode.d.ts.map +1 -0
- package/dist/shell/vimMode.js +434 -0
- package/dist/shell/vimMode.js.map +1 -0
- package/dist/skills/skillRepository.d.ts +103 -0
- package/dist/skills/skillRepository.d.ts.map +1 -0
- package/dist/skills/skillRepository.js +237 -0
- package/dist/skills/skillRepository.js.map +1 -0
- package/dist/skills/types.d.ts +37 -0
- package/dist/skills/types.d.ts.map +1 -0
- package/dist/skills/types.js +2 -0
- package/dist/skills/types.js.map +1 -0
- package/dist/subagents/agentConfig.d.ts +27 -0
- package/dist/subagents/agentConfig.d.ts.map +1 -0
- package/dist/subagents/agentConfig.js +89 -0
- package/dist/subagents/agentConfig.js.map +1 -0
- package/dist/subagents/agentRegistry.d.ts +33 -0
- package/dist/subagents/agentRegistry.d.ts.map +1 -0
- package/dist/subagents/agentRegistry.js +162 -0
- package/dist/subagents/agentRegistry.js.map +1 -0
- package/dist/subagents/parallelAgentManager.d.ts +99 -0
- package/dist/subagents/parallelAgentManager.d.ts.map +1 -0
- package/dist/subagents/parallelAgentManager.js +248 -0
- package/dist/subagents/parallelAgentManager.js.map +1 -0
- package/dist/subagents/taskRunner.d.ts +34 -0
- package/dist/subagents/taskRunner.d.ts.map +1 -0
- package/dist/subagents/taskRunner.js +459 -0
- package/dist/subagents/taskRunner.js.map +1 -0
- package/dist/tools/advancedTestGenerationTools.d.ts +21 -0
- package/dist/tools/advancedTestGenerationTools.d.ts.map +1 -0
- package/dist/tools/advancedTestGenerationTools.js +301 -0
- package/dist/tools/advancedTestGenerationTools.js.map +1 -0
- package/dist/tools/backgroundBashTools.d.ts +21 -0
- package/dist/tools/backgroundBashTools.d.ts.map +1 -0
- package/dist/tools/backgroundBashTools.js +215 -0
- package/dist/tools/backgroundBashTools.js.map +1 -0
- package/dist/tools/bashTools.d.ts +8 -0
- package/dist/tools/bashTools.d.ts.map +1 -0
- package/dist/tools/bashTools.js +240 -0
- package/dist/tools/bashTools.js.map +1 -0
- package/dist/tools/browserAutomationTools.d.ts +23 -0
- package/dist/tools/browserAutomationTools.d.ts.map +1 -0
- package/dist/tools/browserAutomationTools.js +916 -0
- package/dist/tools/browserAutomationTools.js.map +1 -0
- package/dist/tools/buildTools.d.ts +9 -0
- package/dist/tools/buildTools.d.ts.map +1 -0
- package/dist/tools/buildTools.js +344 -0
- package/dist/tools/buildTools.js.map +1 -0
- package/dist/tools/cloudTools.d.ts +49 -0
- package/dist/tools/cloudTools.d.ts.map +1 -0
- package/dist/tools/cloudTools.js +1258 -0
- package/dist/tools/cloudTools.js.map +1 -0
- package/dist/tools/code-quality-dashboard.d.ts +57 -0
- package/dist/tools/code-quality-dashboard.d.ts.map +1 -0
- package/dist/tools/code-quality-dashboard.js +218 -0
- package/dist/tools/code-quality-dashboard.js.map +1 -0
- package/dist/tools/codeAnalysisTools.d.ts +74 -0
- package/dist/tools/codeAnalysisTools.d.ts.map +1 -0
- package/dist/tools/codeAnalysisTools.js +664 -0
- package/dist/tools/codeAnalysisTools.js.map +1 -0
- package/dist/tools/codeGenerationTools.d.ts +3 -0
- package/dist/tools/codeGenerationTools.d.ts.map +1 -0
- package/dist/tools/codeGenerationTools.js +439 -0
- package/dist/tools/codeGenerationTools.js.map +1 -0
- package/dist/tools/codeQualityTools.d.ts +3 -0
- package/dist/tools/codeQualityTools.d.ts.map +1 -0
- package/dist/tools/codeQualityTools.js +296 -0
- package/dist/tools/codeQualityTools.js.map +1 -0
- package/dist/tools/dependencyTools.d.ts +3 -0
- package/dist/tools/dependencyTools.d.ts.map +1 -0
- package/dist/tools/dependencyTools.js +283 -0
- package/dist/tools/dependencyTools.js.map +1 -0
- package/dist/tools/devTools.d.ts +10 -0
- package/dist/tools/devTools.d.ts.map +1 -0
- package/dist/tools/devTools.js +2125 -0
- package/dist/tools/devTools.js.map +1 -0
- package/dist/tools/diffUtils.d.ts +36 -0
- package/dist/tools/diffUtils.d.ts.map +1 -0
- package/dist/tools/diffUtils.js +528 -0
- package/dist/tools/diffUtils.js.map +1 -0
- package/dist/tools/editTools.d.ts +29 -0
- package/dist/tools/editTools.d.ts.map +1 -0
- package/dist/tools/editTools.js +419 -0
- package/dist/tools/editTools.js.map +1 -0
- package/dist/tools/emailTools.d.ts +21 -0
- package/dist/tools/emailTools.d.ts.map +1 -0
- package/dist/tools/emailTools.js +449 -0
- package/dist/tools/emailTools.js.map +1 -0
- package/dist/tools/enhancedCodeIntelligenceTools.d.ts +27 -0
- package/dist/tools/enhancedCodeIntelligenceTools.d.ts.map +1 -0
- package/dist/tools/enhancedCodeIntelligenceTools.js +418 -0
- package/dist/tools/enhancedCodeIntelligenceTools.js.map +1 -0
- package/dist/tools/enhancedDevWorkflowTools.d.ts +15 -0
- package/dist/tools/enhancedDevWorkflowTools.d.ts.map +1 -0
- package/dist/tools/enhancedDevWorkflowTools.js +303 -0
- package/dist/tools/enhancedDevWorkflowTools.js.map +1 -0
- package/dist/tools/fileTools.d.ts +3 -0
- package/dist/tools/fileTools.d.ts.map +1 -0
- package/dist/tools/fileTools.js +334 -0
- package/dist/tools/fileTools.js.map +1 -0
- package/dist/tools/frontendTestingTools.d.ts +35 -0
- package/dist/tools/frontendTestingTools.d.ts.map +1 -0
- package/dist/tools/frontendTestingTools.js +1254 -0
- package/dist/tools/frontendTestingTools.js.map +1 -0
- package/dist/tools/globTools.d.ts +15 -0
- package/dist/tools/globTools.d.ts.map +1 -0
- package/dist/tools/globTools.js +174 -0
- package/dist/tools/globTools.js.map +1 -0
- package/dist/tools/grepTools.d.ts +19 -0
- package/dist/tools/grepTools.d.ts.map +1 -0
- package/dist/tools/grepTools.js +358 -0
- package/dist/tools/grepTools.js.map +1 -0
- package/dist/tools/interactionTools.d.ts +13 -0
- package/dist/tools/interactionTools.d.ts.map +1 -0
- package/dist/tools/interactionTools.js +171 -0
- package/dist/tools/interactionTools.js.map +1 -0
- package/dist/tools/learnTools.d.ts +164 -0
- package/dist/tools/learnTools.d.ts.map +1 -0
- package/dist/tools/learnTools.js +2104 -0
- package/dist/tools/learnTools.js.map +1 -0
- package/dist/tools/localExplore.d.ts +225 -0
- package/dist/tools/localExplore.d.ts.map +1 -0
- package/dist/tools/localExplore.js +1365 -0
- package/dist/tools/localExplore.js.map +1 -0
- package/dist/tools/notebookEditTools.d.ts +15 -0
- package/dist/tools/notebookEditTools.d.ts.map +1 -0
- package/dist/tools/notebookEditTools.js +197 -0
- package/dist/tools/notebookEditTools.js.map +1 -0
- package/dist/tools/planningTools.d.ts +21 -0
- package/dist/tools/planningTools.d.ts.map +1 -0
- package/dist/tools/planningTools.js +185 -0
- package/dist/tools/planningTools.js.map +1 -0
- package/dist/tools/refactoringTools.d.ts +3 -0
- package/dist/tools/refactoringTools.d.ts.map +1 -0
- package/dist/tools/refactoringTools.js +294 -0
- package/dist/tools/refactoringTools.js.map +1 -0
- package/dist/tools/repoChecksTools.d.ts +3 -0
- package/dist/tools/repoChecksTools.d.ts.map +1 -0
- package/dist/tools/repoChecksTools.js +161 -0
- package/dist/tools/repoChecksTools.js.map +1 -0
- package/dist/tools/searchTools.d.ts +3 -0
- package/dist/tools/searchTools.d.ts.map +1 -0
- package/dist/tools/searchTools.js +241 -0
- package/dist/tools/searchTools.js.map +1 -0
- package/dist/tools/skillTools.d.ts +8 -0
- package/dist/tools/skillTools.d.ts.map +1 -0
- package/dist/tools/skillTools.js +178 -0
- package/dist/tools/skillTools.js.map +1 -0
- package/dist/tools/softwareEngineeringTools.d.ts +7 -0
- package/dist/tools/softwareEngineeringTools.d.ts.map +1 -0
- package/dist/tools/softwareEngineeringTools.js +338 -0
- package/dist/tools/softwareEngineeringTools.js.map +1 -0
- package/dist/tools/taskManagementTools.d.ts +10 -0
- package/dist/tools/taskManagementTools.d.ts.map +1 -0
- package/dist/tools/taskManagementTools.js +157 -0
- package/dist/tools/taskManagementTools.js.map +1 -0
- package/dist/tools/testingTools.d.ts +3 -0
- package/dist/tools/testingTools.d.ts.map +1 -0
- package/dist/tools/testingTools.js +233 -0
- package/dist/tools/testingTools.js.map +1 -0
- package/dist/tools/validationTools.d.ts +7 -0
- package/dist/tools/validationTools.d.ts.map +1 -0
- package/dist/tools/validationTools.js +344 -0
- package/dist/tools/validationTools.js.map +1 -0
- package/dist/tools/webTools.d.ts +3 -0
- package/dist/tools/webTools.d.ts.map +1 -0
- package/dist/tools/webTools.js +502 -0
- package/dist/tools/webTools.js.map +1 -0
- package/dist/ui/DisplayEventQueue.d.ts +99 -0
- package/dist/ui/DisplayEventQueue.d.ts.map +1 -0
- package/dist/ui/DisplayEventQueue.js +167 -0
- package/dist/ui/DisplayEventQueue.js.map +1 -0
- package/dist/ui/PromptController.d.ts +103 -0
- package/dist/ui/PromptController.d.ts.map +1 -0
- package/dist/ui/PromptController.js +171 -0
- package/dist/ui/PromptController.js.map +1 -0
- package/dist/ui/SequentialRenderer.d.ts +69 -0
- package/dist/ui/SequentialRenderer.d.ts.map +1 -0
- package/dist/ui/SequentialRenderer.js +137 -0
- package/dist/ui/SequentialRenderer.js.map +1 -0
- package/dist/ui/ShellUIAdapter.d.ts +207 -0
- package/dist/ui/ShellUIAdapter.d.ts.map +1 -0
- package/dist/ui/ShellUIAdapter.js +1163 -0
- package/dist/ui/ShellUIAdapter.js.map +1 -0
- package/dist/ui/UnifiedUIController.d.ts +82 -0
- package/dist/ui/UnifiedUIController.d.ts.map +1 -0
- package/dist/ui/UnifiedUIController.js +207 -0
- package/dist/ui/UnifiedUIController.js.map +1 -0
- package/dist/ui/UnifiedUIRenderer.d.ts +188 -0
- package/dist/ui/UnifiedUIRenderer.d.ts.map +1 -0
- package/dist/ui/UnifiedUIRenderer.js +580 -0
- package/dist/ui/UnifiedUIRenderer.js.map +1 -0
- package/dist/ui/animation/AnimationScheduler.d.ts +192 -0
- package/dist/ui/animation/AnimationScheduler.d.ts.map +1 -0
- package/dist/ui/animation/AnimationScheduler.js +432 -0
- package/dist/ui/animation/AnimationScheduler.js.map +1 -0
- package/dist/ui/codeHighlighter.d.ts +6 -0
- package/dist/ui/codeHighlighter.d.ts.map +1 -0
- package/dist/ui/codeHighlighter.js +855 -0
- package/dist/ui/codeHighlighter.js.map +1 -0
- package/dist/ui/compactRenderer.d.ts +139 -0
- package/dist/ui/compactRenderer.d.ts.map +1 -0
- package/dist/ui/compactRenderer.js +398 -0
- package/dist/ui/compactRenderer.js.map +1 -0
- package/dist/ui/designSystem.d.ts +26 -0
- package/dist/ui/designSystem.d.ts.map +1 -0
- package/dist/ui/designSystem.js +122 -0
- package/dist/ui/designSystem.js.map +1 -0
- package/dist/ui/display.d.ts +229 -0
- package/dist/ui/display.d.ts.map +1 -0
- package/dist/ui/display.js +756 -0
- package/dist/ui/display.js.map +1 -0
- package/dist/ui/errorFormatter.d.ts +54 -0
- package/dist/ui/errorFormatter.d.ts.map +1 -0
- package/dist/ui/errorFormatter.js +251 -0
- package/dist/ui/errorFormatter.js.map +1 -0
- package/dist/ui/globalWriteLock.d.ts +38 -0
- package/dist/ui/globalWriteLock.d.ts.map +1 -0
- package/dist/ui/globalWriteLock.js +54 -0
- package/dist/ui/globalWriteLock.js.map +1 -0
- package/dist/ui/inPlaceUpdater.d.ts +181 -0
- package/dist/ui/inPlaceUpdater.d.ts.map +1 -0
- package/dist/ui/inPlaceUpdater.js +515 -0
- package/dist/ui/inPlaceUpdater.js.map +1 -0
- package/dist/ui/interrupts/InterruptManager.d.ts +142 -0
- package/dist/ui/interrupts/InterruptManager.d.ts.map +1 -0
- package/dist/ui/interrupts/InterruptManager.js +439 -0
- package/dist/ui/interrupts/InterruptManager.js.map +1 -0
- package/dist/ui/layout.d.ts +17 -0
- package/dist/ui/layout.d.ts.map +1 -0
- package/dist/ui/layout.js +140 -0
- package/dist/ui/layout.js.map +1 -0
- package/dist/ui/orchestration/StatusOrchestrator.d.ts +156 -0
- package/dist/ui/orchestration/StatusOrchestrator.d.ts.map +1 -0
- package/dist/ui/orchestration/StatusOrchestrator.js +406 -0
- package/dist/ui/orchestration/StatusOrchestrator.js.map +1 -0
- package/dist/ui/orchestration/UIUpdateCoordinator.d.ts +77 -0
- package/dist/ui/orchestration/UIUpdateCoordinator.d.ts.map +1 -0
- package/dist/ui/orchestration/UIUpdateCoordinator.js +265 -0
- package/dist/ui/orchestration/UIUpdateCoordinator.js.map +1 -0
- package/dist/ui/outputMode.d.ts +22 -0
- package/dist/ui/outputMode.d.ts.map +1 -0
- package/dist/ui/outputMode.js +40 -0
- package/dist/ui/outputMode.js.map +1 -0
- package/dist/ui/richText.d.ts +6 -0
- package/dist/ui/richText.d.ts.map +1 -0
- package/dist/ui/richText.js +391 -0
- package/dist/ui/richText.js.map +1 -0
- package/dist/ui/shortcutsHelp.d.ts +39 -0
- package/dist/ui/shortcutsHelp.d.ts.map +1 -0
- package/dist/ui/shortcutsHelp.js +152 -0
- package/dist/ui/shortcutsHelp.js.map +1 -0
- package/dist/ui/streamingFormatter.d.ts +19 -0
- package/dist/ui/streamingFormatter.d.ts.map +1 -0
- package/dist/ui/streamingFormatter.js +65 -0
- package/dist/ui/streamingFormatter.js.map +1 -0
- package/dist/ui/telemetry/ResponseTracker.d.ts +22 -0
- package/dist/ui/telemetry/ResponseTracker.d.ts.map +1 -0
- package/dist/ui/telemetry/ResponseTracker.js +60 -0
- package/dist/ui/telemetry/ResponseTracker.js.map +1 -0
- package/dist/ui/telemetry/UITelemetry.d.ts +181 -0
- package/dist/ui/telemetry/UITelemetry.d.ts.map +1 -0
- package/dist/ui/telemetry/UITelemetry.js +446 -0
- package/dist/ui/telemetry/UITelemetry.js.map +1 -0
- package/dist/ui/textHighlighter.d.ts +83 -0
- package/dist/ui/textHighlighter.d.ts.map +1 -0
- package/dist/ui/textHighlighter.js +267 -0
- package/dist/ui/textHighlighter.js.map +1 -0
- package/dist/ui/theme.d.ts +208 -0
- package/dist/ui/theme.d.ts.map +1 -0
- package/dist/ui/theme.js +249 -0
- package/dist/ui/theme.js.map +1 -0
- package/dist/ui/toolDisplay.d.ts +195 -0
- package/dist/ui/toolDisplay.d.ts.map +1 -0
- package/dist/ui/toolDisplay.js +1526 -0
- package/dist/ui/toolDisplay.js.map +1 -0
- package/dist/ui/unified/index.d.ts +50 -0
- package/dist/ui/unified/index.d.ts.map +1 -0
- package/dist/ui/unified/index.js +77 -0
- package/dist/ui/unified/index.js.map +1 -0
- package/dist/ui/unified/layout.d.ts +12 -0
- package/dist/ui/unified/layout.d.ts.map +1 -0
- package/dist/ui/unified/layout.js +96 -0
- package/dist/ui/unified/layout.js.map +1 -0
- package/dist/ui/writeLock.d.ts +65 -0
- package/dist/ui/writeLock.d.ts.map +1 -0
- package/dist/ui/writeLock.js +114 -0
- package/dist/ui/writeLock.js.map +1 -0
- package/dist/utils/asyncUtils.d.ts +95 -0
- package/dist/utils/asyncUtils.d.ts.map +1 -0
- package/dist/utils/asyncUtils.js +286 -0
- package/dist/utils/asyncUtils.js.map +1 -0
- package/dist/utils/errorUtils.d.ts +16 -0
- package/dist/utils/errorUtils.d.ts.map +1 -0
- package/dist/utils/errorUtils.js +66 -0
- package/dist/utils/errorUtils.js.map +1 -0
- package/dist/utils/frontmatter.d.ts +10 -0
- package/dist/utils/frontmatter.d.ts.map +1 -0
- package/dist/utils/frontmatter.js +78 -0
- package/dist/utils/frontmatter.js.map +1 -0
- package/dist/utils/planFormatter.d.ts +34 -0
- package/dist/utils/planFormatter.d.ts.map +1 -0
- package/dist/utils/planFormatter.js +140 -0
- package/dist/utils/planFormatter.js.map +1 -0
- package/dist/workspace.d.ts +8 -0
- package/dist/workspace.d.ts.map +1 -0
- package/dist/workspace.js +107 -0
- package/dist/workspace.js.map +1 -0
- package/dist/workspace.validator.d.ts +49 -0
- package/dist/workspace.validator.d.ts.map +1 -0
- package/dist/workspace.validator.js +214 -0
- package/dist/workspace.validator.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,552 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Code Intelligence Engine
|
|
3
|
+
*
|
|
4
|
+
* Automated code analysis, pattern detection, and improvement suggestions.
|
|
5
|
+
* Designed to augment (not replace) software engineers by handling
|
|
6
|
+
* repetitive analysis tasks.
|
|
7
|
+
*
|
|
8
|
+
* Principal Investigator: Bo Shang
|
|
9
|
+
* Framework: erosolar-cli
|
|
10
|
+
*/
|
|
11
|
+
import * as fs from 'fs';
|
|
12
|
+
import * as path from 'path';
|
|
13
|
+
// Maximum file size for code intelligence analysis (2MB) to prevent memory exhaustion
|
|
14
|
+
const MAX_INTELLIGENCE_FILE_SIZE = 2 * 1024 * 1024;
|
|
15
|
+
const PATTERNS = [
|
|
16
|
+
// Security Issues
|
|
17
|
+
{
|
|
18
|
+
name: 'hardcoded-secret',
|
|
19
|
+
pattern: /(?:password|secret|api[_-]?key|token)\s*[:=]\s*["'][^"']{8,}["']/gi,
|
|
20
|
+
type: 'security',
|
|
21
|
+
severity: 'critical',
|
|
22
|
+
message: 'Potential hardcoded secret detected',
|
|
23
|
+
suggestion: 'Use environment variables or a secrets manager',
|
|
24
|
+
autoFixable: false,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'sql-injection',
|
|
28
|
+
pattern: /(?:query|execute)\s*\(\s*["'`].*\$\{.*\}.*["'`]\s*\)/g,
|
|
29
|
+
type: 'security',
|
|
30
|
+
severity: 'critical',
|
|
31
|
+
message: 'Potential SQL injection vulnerability',
|
|
32
|
+
suggestion: 'Use parameterized queries instead of string interpolation',
|
|
33
|
+
autoFixable: false,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'eval-usage',
|
|
37
|
+
pattern: /\beval\s*\(/g,
|
|
38
|
+
type: 'security',
|
|
39
|
+
severity: 'high',
|
|
40
|
+
message: 'Use of eval() is dangerous',
|
|
41
|
+
suggestion: 'Refactor to avoid eval - use safer alternatives',
|
|
42
|
+
autoFixable: false,
|
|
43
|
+
},
|
|
44
|
+
// Performance Issues
|
|
45
|
+
{
|
|
46
|
+
name: 'sync-fs-in-async',
|
|
47
|
+
pattern: /(?:readFileSync|writeFileSync|existsSync)\s*\(/g,
|
|
48
|
+
type: 'performance',
|
|
49
|
+
severity: 'medium',
|
|
50
|
+
message: 'Synchronous file operation in potentially async context',
|
|
51
|
+
suggestion: 'Consider using async fs methods with promises',
|
|
52
|
+
autoFixable: true,
|
|
53
|
+
fix: (match, _content) => ({
|
|
54
|
+
file: '',
|
|
55
|
+
oldText: match[0],
|
|
56
|
+
newText: match[0].replace('Sync', ''),
|
|
57
|
+
}),
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'n-plus-one',
|
|
61
|
+
pattern: /for\s*\([^)]+\)\s*\{[^}]*(?:await|\.then)[^}]*(?:fetch|query|find|get)[^}]*\}/gs,
|
|
62
|
+
type: 'performance',
|
|
63
|
+
severity: 'high',
|
|
64
|
+
message: 'Potential N+1 query pattern detected',
|
|
65
|
+
suggestion: 'Batch queries or use eager loading',
|
|
66
|
+
autoFixable: false,
|
|
67
|
+
},
|
|
68
|
+
// Maintainability Issues
|
|
69
|
+
{
|
|
70
|
+
name: 'magic-number',
|
|
71
|
+
pattern: /(?<![\w.])\b(?:86400|3600|1000|60|24|365|1024|256|128|255)\b(?![\w.])/g,
|
|
72
|
+
type: 'maintainability',
|
|
73
|
+
severity: 'low',
|
|
74
|
+
message: 'Magic number detected',
|
|
75
|
+
suggestion: 'Extract to a named constant for clarity',
|
|
76
|
+
autoFixable: true,
|
|
77
|
+
fix: (match) => ({
|
|
78
|
+
file: '',
|
|
79
|
+
oldText: match[0],
|
|
80
|
+
newText: `/* TODO: Extract constant */ ${match[0]}`,
|
|
81
|
+
}),
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: 'deep-nesting',
|
|
85
|
+
pattern: /(?:if|for|while|switch)\s*\([^)]*\)\s*\{(?:[^{}]*\{){3,}/g,
|
|
86
|
+
type: 'complexity',
|
|
87
|
+
severity: 'medium',
|
|
88
|
+
message: 'Deeply nested code structure',
|
|
89
|
+
suggestion: 'Extract nested logic into separate functions',
|
|
90
|
+
autoFixable: false,
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: 'long-function',
|
|
94
|
+
pattern: /(?:function|const\s+\w+\s*=\s*(?:async\s*)?\([^)]*\)\s*=>|(?:async\s+)?(?:function|\w+)\s*\([^)]*\))\s*\{[^}]{500,}\}/gs,
|
|
95
|
+
type: 'complexity',
|
|
96
|
+
severity: 'medium',
|
|
97
|
+
message: 'Function is too long',
|
|
98
|
+
suggestion: 'Break down into smaller, focused functions',
|
|
99
|
+
autoFixable: false,
|
|
100
|
+
},
|
|
101
|
+
// Bug-prone Patterns
|
|
102
|
+
{
|
|
103
|
+
name: 'floating-point-comparison',
|
|
104
|
+
pattern: /(?:===?|!==?)\s*(?:\d+\.\d+|\w+)\s*(?:===?|!==?)/g,
|
|
105
|
+
type: 'bug',
|
|
106
|
+
severity: 'medium',
|
|
107
|
+
message: 'Floating point comparison may be imprecise',
|
|
108
|
+
suggestion: 'Use epsilon comparison for floating point values',
|
|
109
|
+
autoFixable: false,
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: 'promise-no-catch',
|
|
113
|
+
pattern: /\.then\s*\([^)]+\)(?!\s*\.catch|\s*\.finally)/g,
|
|
114
|
+
type: 'bug',
|
|
115
|
+
severity: 'medium',
|
|
116
|
+
message: 'Promise chain without error handling',
|
|
117
|
+
suggestion: 'Add .catch() to handle potential rejections',
|
|
118
|
+
autoFixable: true,
|
|
119
|
+
fix: (match) => ({
|
|
120
|
+
file: '',
|
|
121
|
+
oldText: match[0],
|
|
122
|
+
newText: `${match[0]}.catch(err => console.error(err))`,
|
|
123
|
+
}),
|
|
124
|
+
},
|
|
125
|
+
// Style Issues
|
|
126
|
+
{
|
|
127
|
+
name: 'console-log',
|
|
128
|
+
pattern: /console\.(log|debug|info)\s*\(/g,
|
|
129
|
+
type: 'style',
|
|
130
|
+
severity: 'info',
|
|
131
|
+
message: 'Console statement in production code',
|
|
132
|
+
suggestion: 'Use a proper logging framework',
|
|
133
|
+
autoFixable: true,
|
|
134
|
+
fix: (match) => ({
|
|
135
|
+
file: '',
|
|
136
|
+
oldText: match[0],
|
|
137
|
+
newText: `// TODO: Replace with logger\n${match[0]}`,
|
|
138
|
+
}),
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
name: 'todo-fixme',
|
|
142
|
+
pattern: /\/\/\s*(?:TODO|FIXME|HACK|XXX):\s*.+/gi,
|
|
143
|
+
type: 'documentation',
|
|
144
|
+
severity: 'info',
|
|
145
|
+
message: 'Unresolved TODO/FIXME comment',
|
|
146
|
+
suggestion: 'Address or create a ticket for this item',
|
|
147
|
+
autoFixable: false,
|
|
148
|
+
},
|
|
149
|
+
// Duplication
|
|
150
|
+
{
|
|
151
|
+
name: 'repeated-string',
|
|
152
|
+
pattern: /["']([^"']{20,})["'](?=[\s\S]*\1)/g,
|
|
153
|
+
type: 'duplication',
|
|
154
|
+
severity: 'low',
|
|
155
|
+
message: 'Repeated string literal',
|
|
156
|
+
suggestion: 'Extract to a constant',
|
|
157
|
+
autoFixable: false,
|
|
158
|
+
},
|
|
159
|
+
];
|
|
160
|
+
// ============================================================================
|
|
161
|
+
// Code Intelligence Engine
|
|
162
|
+
// ============================================================================
|
|
163
|
+
export class CodeIntelligenceEngine {
|
|
164
|
+
workingDir;
|
|
165
|
+
fileExtensions = ['.ts', '.tsx', '.js', '.jsx', '.py', '.go', '.rs', '.java'];
|
|
166
|
+
excludeDirs = ['node_modules', '.git', 'dist', 'build', '__pycache__', '.venv', 'venv'];
|
|
167
|
+
constructor(workingDir) {
|
|
168
|
+
this.workingDir = workingDir;
|
|
169
|
+
}
|
|
170
|
+
async analyze(targetPath) {
|
|
171
|
+
const target = targetPath || this.workingDir;
|
|
172
|
+
const files = this.collectFiles(target);
|
|
173
|
+
const allIssues = [];
|
|
174
|
+
const allPatterns = new Map();
|
|
175
|
+
let totalLines = 0;
|
|
176
|
+
for (const file of files) {
|
|
177
|
+
// Skip files that are too large to prevent memory exhaustion
|
|
178
|
+
try {
|
|
179
|
+
const stats = fs.statSync(file);
|
|
180
|
+
if (stats.size > MAX_INTELLIGENCE_FILE_SIZE) {
|
|
181
|
+
continue;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
catch {
|
|
185
|
+
continue;
|
|
186
|
+
}
|
|
187
|
+
const content = fs.readFileSync(file, 'utf-8');
|
|
188
|
+
const lines = content.split('\n').length;
|
|
189
|
+
totalLines += lines;
|
|
190
|
+
const issues = this.analyzeFile(file, content);
|
|
191
|
+
allIssues.push(...issues);
|
|
192
|
+
this.detectPatterns(file, content, allPatterns);
|
|
193
|
+
}
|
|
194
|
+
const metrics = this.calculateMetrics(allIssues, totalLines);
|
|
195
|
+
const suggestions = this.generateSuggestions(allIssues, metrics);
|
|
196
|
+
return {
|
|
197
|
+
files: files.length,
|
|
198
|
+
linesOfCode: totalLines,
|
|
199
|
+
issues: allIssues,
|
|
200
|
+
patterns: Array.from(allPatterns.values()),
|
|
201
|
+
metrics,
|
|
202
|
+
suggestions,
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
collectFiles(dir) {
|
|
206
|
+
const files = [];
|
|
207
|
+
if (fs.statSync(dir).isFile()) {
|
|
208
|
+
return this.fileExtensions.some(ext => dir.endsWith(ext)) ? [dir] : [];
|
|
209
|
+
}
|
|
210
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
211
|
+
for (const entry of entries) {
|
|
212
|
+
const fullPath = path.join(dir, entry.name);
|
|
213
|
+
if (entry.isDirectory()) {
|
|
214
|
+
if (!this.excludeDirs.includes(entry.name)) {
|
|
215
|
+
files.push(...this.collectFiles(fullPath));
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
else if (entry.isFile()) {
|
|
219
|
+
if (this.fileExtensions.some(ext => entry.name.endsWith(ext))) {
|
|
220
|
+
files.push(fullPath);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
return files;
|
|
225
|
+
}
|
|
226
|
+
analyzeFile(file, content) {
|
|
227
|
+
const issues = [];
|
|
228
|
+
for (const rule of PATTERNS) {
|
|
229
|
+
const matches = content.matchAll(rule.pattern);
|
|
230
|
+
for (const match of matches) {
|
|
231
|
+
const position = this.getPosition(content, match.index || 0);
|
|
232
|
+
let fix;
|
|
233
|
+
if (rule.fix && rule.autoFixable) {
|
|
234
|
+
const fixResult = rule.fix(match, content);
|
|
235
|
+
if (fixResult && fixResult.oldText && fixResult.newText) {
|
|
236
|
+
fix = {
|
|
237
|
+
description: rule.suggestion || 'Auto-fix available',
|
|
238
|
+
changes: [{ file, oldText: fixResult.oldText, newText: fixResult.newText }],
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
issues.push({
|
|
243
|
+
type: rule.type,
|
|
244
|
+
severity: rule.severity,
|
|
245
|
+
file: path.relative(this.workingDir, file),
|
|
246
|
+
line: position.line,
|
|
247
|
+
column: position.column,
|
|
248
|
+
message: rule.message,
|
|
249
|
+
suggestion: rule.suggestion,
|
|
250
|
+
autoFixable: rule.autoFixable,
|
|
251
|
+
fix,
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
return issues;
|
|
256
|
+
}
|
|
257
|
+
getPosition(content, index) {
|
|
258
|
+
const before = content.substring(0, index);
|
|
259
|
+
const lines = before.split('\n');
|
|
260
|
+
const lastLine = lines[lines.length - 1] || '';
|
|
261
|
+
return {
|
|
262
|
+
line: lines.length,
|
|
263
|
+
column: lastLine.length + 1,
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
detectPatterns(file, content, patterns) {
|
|
267
|
+
// Detect good patterns
|
|
268
|
+
const goodPatterns = [
|
|
269
|
+
{ name: 'TypeScript strict mode', pattern: /"strict":\s*true/g, quality: 'good' },
|
|
270
|
+
{ name: 'Error handling', pattern: /try\s*\{[\s\S]*?\}\s*catch/g, quality: 'good' },
|
|
271
|
+
{ name: 'Type annotations', pattern: /:\s*(?:string|number|boolean|void|Promise|Array)/g, quality: 'good' },
|
|
272
|
+
{ name: 'Unit tests', pattern: /(?:describe|it|test)\s*\(/g, quality: 'good' },
|
|
273
|
+
{ name: 'Documentation', pattern: /\/\*\*[\s\S]*?\*\//g, quality: 'good' },
|
|
274
|
+
];
|
|
275
|
+
for (const p of goodPatterns) {
|
|
276
|
+
const matches = [...content.matchAll(p.pattern)];
|
|
277
|
+
if (matches.length > 0) {
|
|
278
|
+
const existing = patterns.get(p.name) || {
|
|
279
|
+
name: p.name,
|
|
280
|
+
occurrences: 0,
|
|
281
|
+
locations: [],
|
|
282
|
+
quality: p.quality,
|
|
283
|
+
};
|
|
284
|
+
existing.occurrences += matches.length;
|
|
285
|
+
existing.locations.push(...matches.slice(0, 3).map(m => ({
|
|
286
|
+
file: path.relative(this.workingDir, file),
|
|
287
|
+
line: this.getPosition(content, m.index || 0).line,
|
|
288
|
+
snippet: m[0].substring(0, 50),
|
|
289
|
+
})));
|
|
290
|
+
patterns.set(p.name, existing);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
calculateMetrics(issues, _totalLines) {
|
|
295
|
+
const issuesByType = new Map();
|
|
296
|
+
for (const issue of issues) {
|
|
297
|
+
issuesByType.set(issue.type, (issuesByType.get(issue.type) || 0) + 1);
|
|
298
|
+
}
|
|
299
|
+
const complexityIssues = issuesByType.get('complexity') || 0;
|
|
300
|
+
const maintainabilityIssues = issuesByType.get('maintainability') || 0;
|
|
301
|
+
const duplicationIssues = issuesByType.get('duplication') || 0;
|
|
302
|
+
const documentationIssues = issuesByType.get('documentation') || 0;
|
|
303
|
+
// Normalize to 0-100 scale (100 = best)
|
|
304
|
+
const normalize = (issues, factor) => Math.max(0, Math.min(100, 100 - issues * factor));
|
|
305
|
+
return {
|
|
306
|
+
complexity: normalize(complexityIssues, 5),
|
|
307
|
+
maintainability: normalize(maintainabilityIssues + complexityIssues, 3),
|
|
308
|
+
testability: normalize(complexityIssues * 2, 4),
|
|
309
|
+
duplication: normalize(duplicationIssues, 10),
|
|
310
|
+
documentation: normalize(documentationIssues, 2),
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
generateSuggestions(issues, metrics) {
|
|
314
|
+
const suggestions = [];
|
|
315
|
+
// Security suggestions
|
|
316
|
+
const securityIssues = issues.filter(i => i.type === 'security');
|
|
317
|
+
if (securityIssues.length > 0) {
|
|
318
|
+
suggestions.push({
|
|
319
|
+
category: 'Security',
|
|
320
|
+
priority: 'high',
|
|
321
|
+
title: 'Address Security Vulnerabilities',
|
|
322
|
+
description: `Found ${securityIssues.length} security issues that should be fixed immediately`,
|
|
323
|
+
effort: securityIssues.length > 5 ? 'large' : 'medium',
|
|
324
|
+
impact: 'high',
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
// Complexity suggestions
|
|
328
|
+
if (metrics.complexity < 70) {
|
|
329
|
+
suggestions.push({
|
|
330
|
+
category: 'Code Quality',
|
|
331
|
+
priority: 'medium',
|
|
332
|
+
title: 'Reduce Code Complexity',
|
|
333
|
+
description: 'Complex code is harder to maintain. Consider breaking down large functions and reducing nesting.',
|
|
334
|
+
effort: 'medium',
|
|
335
|
+
impact: 'high',
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
// Documentation suggestions
|
|
339
|
+
if (metrics.documentation < 60) {
|
|
340
|
+
suggestions.push({
|
|
341
|
+
category: 'Documentation',
|
|
342
|
+
priority: 'low',
|
|
343
|
+
title: 'Improve Documentation',
|
|
344
|
+
description: 'Better documentation helps onboarding and maintenance. Add JSDoc/docstrings to public APIs.',
|
|
345
|
+
effort: 'small',
|
|
346
|
+
impact: 'medium',
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
// Performance suggestions
|
|
350
|
+
const perfIssues = issues.filter(i => i.type === 'performance');
|
|
351
|
+
if (perfIssues.length > 0) {
|
|
352
|
+
suggestions.push({
|
|
353
|
+
category: 'Performance',
|
|
354
|
+
priority: perfIssues.some(i => i.severity === 'high') ? 'high' : 'medium',
|
|
355
|
+
title: 'Optimize Performance Bottlenecks',
|
|
356
|
+
description: `Found ${perfIssues.length} potential performance issues`,
|
|
357
|
+
effort: 'medium',
|
|
358
|
+
impact: 'high',
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
// Auto-fix suggestions
|
|
362
|
+
const autoFixable = issues.filter(i => i.autoFixable);
|
|
363
|
+
if (autoFixable.length > 0) {
|
|
364
|
+
suggestions.push({
|
|
365
|
+
category: 'Quick Wins',
|
|
366
|
+
priority: 'medium',
|
|
367
|
+
title: 'Apply Auto-fixes',
|
|
368
|
+
description: `${autoFixable.length} issues can be automatically fixed`,
|
|
369
|
+
effort: 'trivial',
|
|
370
|
+
impact: 'medium',
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
return suggestions.sort((a, b) => {
|
|
374
|
+
const priorityOrder = { high: 0, medium: 1, low: 2 };
|
|
375
|
+
return priorityOrder[a.priority] - priorityOrder[b.priority];
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
applyFixes(issues) {
|
|
379
|
+
const fixableIssues = issues.filter(i => i.autoFixable && i.fix);
|
|
380
|
+
const fileChanges = new Map();
|
|
381
|
+
// Group changes by file
|
|
382
|
+
for (const issue of fixableIssues) {
|
|
383
|
+
if (!issue.fix)
|
|
384
|
+
continue;
|
|
385
|
+
for (const change of issue.fix.changes) {
|
|
386
|
+
let content = fileChanges.get(change.file);
|
|
387
|
+
if (!content) {
|
|
388
|
+
content = fs.readFileSync(change.file, 'utf-8');
|
|
389
|
+
}
|
|
390
|
+
content = content.replace(change.oldText, change.newText);
|
|
391
|
+
fileChanges.set(change.file, content);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
// Write changes
|
|
395
|
+
for (const [file, content] of fileChanges) {
|
|
396
|
+
fs.writeFileSync(file, content);
|
|
397
|
+
}
|
|
398
|
+
return fileChanges.size;
|
|
399
|
+
}
|
|
400
|
+
formatReport(result) {
|
|
401
|
+
const lines = [];
|
|
402
|
+
lines.push('═'.repeat(60));
|
|
403
|
+
lines.push('CODE INTELLIGENCE REPORT');
|
|
404
|
+
lines.push('═'.repeat(60));
|
|
405
|
+
lines.push('');
|
|
406
|
+
// Summary
|
|
407
|
+
lines.push('📊 SUMMARY');
|
|
408
|
+
lines.push('─'.repeat(40));
|
|
409
|
+
lines.push(`Files analyzed: ${result.files}`);
|
|
410
|
+
lines.push(`Lines of code: ${result.linesOfCode.toLocaleString()}`);
|
|
411
|
+
lines.push(`Issues found: ${result.issues.length}`);
|
|
412
|
+
lines.push('');
|
|
413
|
+
// Metrics
|
|
414
|
+
lines.push('📈 METRICS (0-100, higher is better)');
|
|
415
|
+
lines.push('─'.repeat(40));
|
|
416
|
+
lines.push(`Complexity: ${this.renderBar(result.metrics.complexity)}`);
|
|
417
|
+
lines.push(`Maintainability: ${this.renderBar(result.metrics.maintainability)}`);
|
|
418
|
+
lines.push(`Testability: ${this.renderBar(result.metrics.testability)}`);
|
|
419
|
+
lines.push(`Duplication: ${this.renderBar(result.metrics.duplication)}`);
|
|
420
|
+
lines.push(`Documentation: ${this.renderBar(result.metrics.documentation)}`);
|
|
421
|
+
lines.push('');
|
|
422
|
+
// Issues by severity
|
|
423
|
+
const bySeverity = new Map();
|
|
424
|
+
for (const issue of result.issues) {
|
|
425
|
+
const list = bySeverity.get(issue.severity) || [];
|
|
426
|
+
list.push(issue);
|
|
427
|
+
bySeverity.set(issue.severity, list);
|
|
428
|
+
}
|
|
429
|
+
lines.push('🔍 ISSUES BY SEVERITY');
|
|
430
|
+
lines.push('─'.repeat(40));
|
|
431
|
+
for (const severity of ['critical', 'high', 'medium', 'low', 'info']) {
|
|
432
|
+
const issues = bySeverity.get(severity) || [];
|
|
433
|
+
const icon = { critical: '🔴', high: '🟠', medium: '🟡', low: '🔵', info: '⚪' }[severity];
|
|
434
|
+
lines.push(`${icon} ${severity.toUpperCase()}: ${issues.length}`);
|
|
435
|
+
}
|
|
436
|
+
lines.push('');
|
|
437
|
+
// Top issues
|
|
438
|
+
if (result.issues.length > 0) {
|
|
439
|
+
lines.push('⚠️ TOP ISSUES');
|
|
440
|
+
lines.push('─'.repeat(40));
|
|
441
|
+
const topIssues = result.issues
|
|
442
|
+
.sort((a, b) => {
|
|
443
|
+
const severityOrder = { critical: 0, high: 1, medium: 2, low: 3, info: 4 };
|
|
444
|
+
return severityOrder[a.severity] - severityOrder[b.severity];
|
|
445
|
+
})
|
|
446
|
+
.slice(0, 10);
|
|
447
|
+
for (const issue of topIssues) {
|
|
448
|
+
lines.push(` ${issue.file}:${issue.line}`);
|
|
449
|
+
lines.push(` [${issue.severity}] ${issue.message}`);
|
|
450
|
+
if (issue.suggestion) {
|
|
451
|
+
lines.push(` → ${issue.suggestion}`);
|
|
452
|
+
}
|
|
453
|
+
lines.push('');
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
// Suggestions
|
|
457
|
+
if (result.suggestions.length > 0) {
|
|
458
|
+
lines.push('💡 IMPROVEMENT SUGGESTIONS');
|
|
459
|
+
lines.push('─'.repeat(40));
|
|
460
|
+
for (const suggestion of result.suggestions) {
|
|
461
|
+
const priorityIcon = { high: '🔥', medium: '📌', low: '📝' }[suggestion.priority];
|
|
462
|
+
lines.push(`${priorityIcon} [${suggestion.priority.toUpperCase()}] ${suggestion.title}`);
|
|
463
|
+
lines.push(` ${suggestion.description}`);
|
|
464
|
+
lines.push(` Effort: ${suggestion.effort} | Impact: ${suggestion.impact}`);
|
|
465
|
+
lines.push('');
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
// Good patterns
|
|
469
|
+
const goodPatterns = result.patterns.filter(p => p.quality === 'good');
|
|
470
|
+
if (goodPatterns.length > 0) {
|
|
471
|
+
lines.push('✅ GOOD PATTERNS DETECTED');
|
|
472
|
+
lines.push('─'.repeat(40));
|
|
473
|
+
for (const pattern of goodPatterns) {
|
|
474
|
+
lines.push(` ${pattern.name}: ${pattern.occurrences} occurrences`);
|
|
475
|
+
}
|
|
476
|
+
lines.push('');
|
|
477
|
+
}
|
|
478
|
+
lines.push('═'.repeat(60));
|
|
479
|
+
return lines.join('\n');
|
|
480
|
+
}
|
|
481
|
+
renderBar(value) {
|
|
482
|
+
const width = 20;
|
|
483
|
+
const filled = Math.round((value / 100) * width);
|
|
484
|
+
const bar = '█'.repeat(filled) + '░'.repeat(width - filled);
|
|
485
|
+
const color = value >= 80 ? '✓' : value >= 60 ? '~' : '✗';
|
|
486
|
+
return `[${bar}] ${value.toFixed(0)}% ${color}`;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
export class CodeCompletionEngine {
|
|
490
|
+
suggestions = [];
|
|
491
|
+
/**
|
|
492
|
+
* Generate intelligent code completion suggestions based on context
|
|
493
|
+
*/
|
|
494
|
+
generateSuggestions(context) {
|
|
495
|
+
const { prefix, imports, availableFunctions, availableTypes } = context;
|
|
496
|
+
// Filter suggestions based on prefix
|
|
497
|
+
const filtered = this.suggestions.filter(suggestion => suggestion.name.toLowerCase().includes(prefix.toLowerCase()));
|
|
498
|
+
// Add dynamic suggestions based on context
|
|
499
|
+
if (prefix.startsWith('import')) {
|
|
500
|
+
// Suggest imports from available modules
|
|
501
|
+
imports.forEach(importPath => {
|
|
502
|
+
filtered.push({
|
|
503
|
+
type: 'import',
|
|
504
|
+
name: importPath,
|
|
505
|
+
description: `Import from ${importPath}`,
|
|
506
|
+
relevance: 0.9
|
|
507
|
+
});
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
// Suggest functions
|
|
511
|
+
availableFunctions.forEach(funcName => {
|
|
512
|
+
if (funcName.toLowerCase().includes(prefix.toLowerCase())) {
|
|
513
|
+
filtered.push({
|
|
514
|
+
type: 'function',
|
|
515
|
+
name: funcName,
|
|
516
|
+
description: `Function ${funcName}`,
|
|
517
|
+
relevance: 0.8
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
});
|
|
521
|
+
// Suggest types
|
|
522
|
+
availableTypes.forEach(typeName => {
|
|
523
|
+
if (typeName.toLowerCase().includes(prefix.toLowerCase())) {
|
|
524
|
+
filtered.push({
|
|
525
|
+
type: 'type',
|
|
526
|
+
name: typeName,
|
|
527
|
+
description: `Type ${typeName}`,
|
|
528
|
+
relevance: 0.7
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
});
|
|
532
|
+
// Sort by relevance
|
|
533
|
+
return filtered.sort((a, b) => b.relevance - a.relevance);
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
* Add a suggestion to the completion engine
|
|
537
|
+
*/
|
|
538
|
+
addSuggestion(suggestion) {
|
|
539
|
+
this.suggestions.push(suggestion);
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* Clear all suggestions
|
|
543
|
+
*/
|
|
544
|
+
clearSuggestions() {
|
|
545
|
+
this.suggestions = [];
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
// ============================================================================
|
|
549
|
+
// Exports
|
|
550
|
+
// ============================================================================
|
|
551
|
+
export default CodeIntelligenceEngine;
|
|
552
|
+
//# sourceMappingURL=codeIntelligence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codeIntelligence.js","sourceRoot":"","sources":["../../src/intelligence/codeIntelligence.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,sFAAsF;AACtF,MAAM,0BAA0B,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;AA+FnD,MAAM,QAAQ,GAAkB;IAC9B,kBAAkB;IAClB;QACE,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,oEAAoE;QAC7E,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;QACpB,OAAO,EAAE,qCAAqC;QAC9C,UAAU,EAAE,gDAAgD;QAC5D,WAAW,EAAE,KAAK;KACnB;IACD;QACE,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,uDAAuD;QAChE,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;QACpB,OAAO,EAAE,uCAAuC;QAChD,UAAU,EAAE,2DAA2D;QACvE,WAAW,EAAE,KAAK;KACnB;IACD;QACE,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,cAAc;QACvB,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,MAAM;QAChB,OAAO,EAAE,4BAA4B;QACrC,UAAU,EAAE,iDAAiD;QAC7D,WAAW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,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,gBAAgB;QACd,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;IACxB,CAAC;CACF;AAED,+EAA+E;AAC/E,UAAU;AACV,+EAA+E;AAE/E,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Automated Documentation Generator
|
|
3
|
+
*
|
|
4
|
+
* Analyzes code structure and generates comprehensive documentation
|
|
5
|
+
* including API docs, README sections, and architecture diagrams.
|
|
6
|
+
*
|
|
7
|
+
* Principal Investigator: Bo Shang
|
|
8
|
+
* Framework: erosolar-cli
|
|
9
|
+
*/
|
|
10
|
+
export interface DocumentedItem {
|
|
11
|
+
type: 'function' | 'class' | 'interface' | 'type' | 'variable' | 'module';
|
|
12
|
+
name: string;
|
|
13
|
+
file: string;
|
|
14
|
+
line: number;
|
|
15
|
+
signature?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
params?: ParameterDoc[];
|
|
18
|
+
returns?: ReturnDoc;
|
|
19
|
+
examples?: string[];
|
|
20
|
+
tags?: string[];
|
|
21
|
+
exported: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface ParameterDoc {
|
|
24
|
+
name: string;
|
|
25
|
+
type: string;
|
|
26
|
+
description?: string;
|
|
27
|
+
optional: boolean;
|
|
28
|
+
defaultValue?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface ReturnDoc {
|
|
31
|
+
type: string;
|
|
32
|
+
description?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ModuleDoc {
|
|
35
|
+
path: string;
|
|
36
|
+
name: string;
|
|
37
|
+
description?: string;
|
|
38
|
+
exports: DocumentedItem[];
|
|
39
|
+
dependencies: string[];
|
|
40
|
+
}
|
|
41
|
+
export interface ProjectDoc {
|
|
42
|
+
name: string;
|
|
43
|
+
version: string;
|
|
44
|
+
description: string;
|
|
45
|
+
modules: ModuleDoc[];
|
|
46
|
+
architecture: ArchitectureDoc;
|
|
47
|
+
apiSummary: APISummary;
|
|
48
|
+
}
|
|
49
|
+
export interface ArchitectureDoc {
|
|
50
|
+
layers: ArchitectureLayer[];
|
|
51
|
+
dependencies: DependencyLink[];
|
|
52
|
+
}
|
|
53
|
+
export interface ArchitectureLayer {
|
|
54
|
+
name: string;
|
|
55
|
+
modules: string[];
|
|
56
|
+
description: string;
|
|
57
|
+
}
|
|
58
|
+
export interface DependencyLink {
|
|
59
|
+
from: string;
|
|
60
|
+
to: string;
|
|
61
|
+
type: 'imports' | 'extends' | 'implements';
|
|
62
|
+
}
|
|
63
|
+
export interface APISummary {
|
|
64
|
+
totalExports: number;
|
|
65
|
+
publicFunctions: number;
|
|
66
|
+
publicClasses: number;
|
|
67
|
+
publicInterfaces: number;
|
|
68
|
+
documentedPercent: number;
|
|
69
|
+
}
|
|
70
|
+
export declare class DocGenerator {
|
|
71
|
+
private workingDir;
|
|
72
|
+
private parser;
|
|
73
|
+
private fileExtensions;
|
|
74
|
+
private excludeDirs;
|
|
75
|
+
constructor(workingDir: string);
|
|
76
|
+
generateProjectDoc(): ProjectDoc;
|
|
77
|
+
private analyzeModules;
|
|
78
|
+
private collectFiles;
|
|
79
|
+
private extractDependencies;
|
|
80
|
+
private analyzeArchitecture;
|
|
81
|
+
private generateAPISummary;
|
|
82
|
+
generateMarkdown(project: ProjectDoc): string;
|
|
83
|
+
generateAPIReference(project: ProjectDoc): string;
|
|
84
|
+
}
|
|
85
|
+
export default DocGenerator;
|
|
86
|
+
//# sourceMappingURL=docGenerator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docGenerator.d.ts","sourceRoot":"","sources":["../../src/intelligence/docGenerator.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AASH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,UAAU,GAAG,OAAO,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC1E,IAAI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