erosolar-cli 1.7.436 → 1.7.439
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/package.json +2 -1
- package/dist/StringUtils.d.ts +0 -8
- package/dist/StringUtils.d.ts.map +0 -1
- package/dist/StringUtils.js +0 -11
- package/dist/StringUtils.js.map +0 -1
- package/dist/adapters/browser/index.d.ts +0 -12
- package/dist/adapters/browser/index.d.ts.map +0 -1
- package/dist/adapters/browser/index.js +0 -11
- package/dist/adapters/browser/index.js.map +0 -1
- package/dist/adapters/node/index.d.ts +0 -17
- package/dist/adapters/node/index.d.ts.map +0 -1
- package/dist/adapters/node/index.js +0 -35
- package/dist/adapters/node/index.js.map +0 -1
- package/dist/adapters/remote/index.d.ts +0 -13
- package/dist/adapters/remote/index.d.ts.map +0 -1
- package/dist/adapters/remote/index.js +0 -20
- package/dist/adapters/remote/index.js.map +0 -1
- package/dist/adapters/types.d.ts +0 -14
- package/dist/adapters/types.d.ts.map +0 -1
- package/dist/adapters/types.js +0 -2
- package/dist/adapters/types.js.map +0 -1
- package/dist/bin/erosolar.d.ts +0 -9
- package/dist/bin/erosolar.d.ts.map +0 -1
- package/dist/bin/erosolar.js +0 -93
- package/dist/bin/erosolar.js.map +0 -1
- package/dist/bin/selfTest.d.ts +0 -14
- package/dist/bin/selfTest.d.ts.map +0 -1
- package/dist/bin/selfTest.js +0 -304
- package/dist/bin/selfTest.js.map +0 -1
- package/dist/browser/BrowserSessionManager.d.ts +0 -307
- package/dist/browser/BrowserSessionManager.d.ts.map +0 -1
- package/dist/browser/BrowserSessionManager.js +0 -713
- package/dist/browser/BrowserSessionManager.js.map +0 -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/agentSpawningCapability.d.ts +0 -6
- package/dist/capabilities/agentSpawningCapability.d.ts.map +0 -1
- package/dist/capabilities/agentSpawningCapability.js +0 -168
- package/dist/capabilities/agentSpawningCapability.js.map +0 -1
- package/dist/capabilities/askUserCapability.d.ts +0 -21
- package/dist/capabilities/askUserCapability.d.ts.map +0 -1
- package/dist/capabilities/askUserCapability.js +0 -155
- package/dist/capabilities/askUserCapability.js.map +0 -1
- package/dist/capabilities/bashCapability.d.ts +0 -13
- package/dist/capabilities/bashCapability.d.ts.map +0 -1
- package/dist/capabilities/bashCapability.js +0 -24
- package/dist/capabilities/bashCapability.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/codeGenerationCapability.d.ts +0 -13
- package/dist/capabilities/codeGenerationCapability.d.ts.map +0 -1
- package/dist/capabilities/codeGenerationCapability.js +0 -25
- package/dist/capabilities/codeGenerationCapability.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/editCapability.d.ts +0 -17
- package/dist/capabilities/editCapability.d.ts.map +0 -1
- package/dist/capabilities/editCapability.js +0 -27
- package/dist/capabilities/editCapability.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/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/enhancedGitCapability.d.ts +0 -7
- package/dist/capabilities/enhancedGitCapability.d.ts.map +0 -1
- package/dist/capabilities/enhancedGitCapability.js +0 -220
- package/dist/capabilities/enhancedGitCapability.js.map +0 -1
- package/dist/capabilities/filesystemCapability.d.ts +0 -13
- package/dist/capabilities/filesystemCapability.d.ts.map +0 -1
- package/dist/capabilities/filesystemCapability.js +0 -24
- package/dist/capabilities/filesystemCapability.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/globCapability.d.ts +0 -17
- package/dist/capabilities/globCapability.d.ts.map +0 -1
- package/dist/capabilities/globCapability.js +0 -27
- package/dist/capabilities/globCapability.js.map +0 -1
- package/dist/capabilities/index.d.ts +0 -26
- package/dist/capabilities/index.d.ts.map +0 -1
- package/dist/capabilities/index.js +0 -26
- package/dist/capabilities/index.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/mcpCapability.d.ts +0 -6
- package/dist/capabilities/mcpCapability.d.ts.map +0 -1
- package/dist/capabilities/mcpCapability.js +0 -19
- package/dist/capabilities/mcpCapability.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/performanceMonitoringCapability.d.ts +0 -108
- package/dist/capabilities/performanceMonitoringCapability.d.ts.map +0 -1
- package/dist/capabilities/performanceMonitoringCapability.js +0 -176
- package/dist/capabilities/performanceMonitoringCapability.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/searchCapability.d.ts +0 -13
- package/dist/capabilities/searchCapability.d.ts.map +0 -1
- package/dist/capabilities/searchCapability.js +0 -24
- package/dist/capabilities/searchCapability.js.map +0 -1
- package/dist/capabilities/skillCapability.d.ts +0 -3
- package/dist/capabilities/skillCapability.d.ts.map +0 -1
- package/dist/capabilities/skillCapability.js +0 -77
- package/dist/capabilities/skillCapability.js.map +0 -1
- package/dist/capabilities/statusCapability.d.ts +0 -4
- package/dist/capabilities/statusCapability.d.ts.map +0 -1
- package/dist/capabilities/statusCapability.js +0 -92
- package/dist/capabilities/statusCapability.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/todoCapability.d.ts +0 -19
- package/dist/capabilities/todoCapability.d.ts.map +0 -1
- package/dist/capabilities/todoCapability.js +0 -169
- package/dist/capabilities/todoCapability.js.map +0 -1
- package/dist/capabilities/toolManifest.d.ts +0 -3
- package/dist/capabilities/toolManifest.d.ts.map +0 -1
- package/dist/capabilities/toolManifest.js +0 -160
- package/dist/capabilities/toolManifest.js.map +0 -1
- package/dist/capabilities/toolRegistry.d.ts +0 -24
- package/dist/capabilities/toolRegistry.d.ts.map +0 -1
- package/dist/capabilities/toolRegistry.js +0 -150
- package/dist/capabilities/toolRegistry.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/config.d.ts +0 -25
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js +0 -140
- package/dist/config.js.map +0 -1
- package/dist/contracts/v1/agent.d.ts +0 -147
- package/dist/contracts/v1/agent.d.ts.map +0 -1
- package/dist/contracts/v1/agent.js +0 -8
- package/dist/contracts/v1/agent.js.map +0 -1
- package/dist/contracts/v1/agentProfileManifest.d.ts +0 -60
- package/dist/contracts/v1/agentProfileManifest.d.ts.map +0 -1
- package/dist/contracts/v1/agentProfileManifest.js +0 -9
- package/dist/contracts/v1/agentProfileManifest.js.map +0 -1
- package/dist/contracts/v1/agentRules.d.ts +0 -60
- package/dist/contracts/v1/agentRules.d.ts.map +0 -1
- package/dist/contracts/v1/agentRules.js +0 -10
- package/dist/contracts/v1/agentRules.js.map +0 -1
- package/dist/contracts/v1/provider.d.ts +0 -149
- package/dist/contracts/v1/provider.d.ts.map +0 -1
- package/dist/contracts/v1/provider.js +0 -7
- package/dist/contracts/v1/provider.js.map +0 -1
- package/dist/contracts/v1/tool.d.ts +0 -136
- package/dist/contracts/v1/tool.d.ts.map +0 -1
- package/dist/contracts/v1/tool.js +0 -7
- package/dist/contracts/v1/tool.js.map +0 -1
- package/dist/contracts/v1/toolAccess.d.ts +0 -43
- package/dist/contracts/v1/toolAccess.d.ts.map +0 -1
- package/dist/contracts/v1/toolAccess.js +0 -9
- package/dist/contracts/v1/toolAccess.js.map +0 -1
- package/dist/core/LazyLoader.d.ts +0 -129
- package/dist/core/LazyLoader.d.ts.map +0 -1
- package/dist/core/LazyLoader.js +0 -240
- package/dist/core/LazyLoader.js.map +0 -1
- package/dist/core/agent.d.ts +0 -153
- package/dist/core/agent.d.ts.map +0 -1
- package/dist/core/agent.js +0 -889
- package/dist/core/agent.js.map +0 -1
- package/dist/core/agentProfileManifest.d.ts +0 -3
- package/dist/core/agentProfileManifest.d.ts.map +0 -1
- package/dist/core/agentProfileManifest.js +0 -188
- package/dist/core/agentProfileManifest.js.map +0 -1
- package/dist/core/agentProfiles.d.ts +0 -22
- package/dist/core/agentProfiles.d.ts.map +0 -1
- package/dist/core/agentProfiles.js +0 -35
- package/dist/core/agentProfiles.js.map +0 -1
- package/dist/core/agentRulebook.d.ts +0 -11
- package/dist/core/agentRulebook.d.ts.map +0 -1
- package/dist/core/agentRulebook.js +0 -136
- package/dist/core/agentRulebook.js.map +0 -1
- package/dist/core/agentSchemaLoader.d.ts +0 -131
- package/dist/core/agentSchemaLoader.d.ts.map +0 -1
- package/dist/core/agentSchemaLoader.js +0 -234
- package/dist/core/agentSchemaLoader.js.map +0 -1
- package/dist/core/aiErrorFixer.d.ts +0 -70
- package/dist/core/aiErrorFixer.d.ts.map +0 -1
- package/dist/core/aiErrorFixer.js +0 -402
- package/dist/core/aiErrorFixer.js.map +0 -1
- package/dist/core/alphaZeroEngine.d.ts +0 -269
- package/dist/core/alphaZeroEngine.d.ts.map +0 -1
- package/dist/core/alphaZeroEngine.js +0 -523
- package/dist/core/alphaZeroEngine.js.map +0 -1
- package/dist/core/alphaZeroModular.d.ts +0 -186
- package/dist/core/alphaZeroModular.d.ts.map +0 -1
- package/dist/core/alphaZeroModular.js +0 -755
- package/dist/core/alphaZeroModular.js.map +0 -1
- package/dist/core/alphaZeroOrchestrator.d.ts +0 -140
- package/dist/core/alphaZeroOrchestrator.d.ts.map +0 -1
- package/dist/core/alphaZeroOrchestrator.js +0 -418
- package/dist/core/alphaZeroOrchestrator.js.map +0 -1
- package/dist/core/bashCommandGuidance.d.ts +0 -16
- package/dist/core/bashCommandGuidance.d.ts.map +0 -1
- package/dist/core/bashCommandGuidance.js +0 -40
- package/dist/core/bashCommandGuidance.js.map +0 -1
- package/dist/core/checkpoint.d.ts +0 -76
- package/dist/core/checkpoint.d.ts.map +0 -1
- package/dist/core/checkpoint.js +0 -278
- package/dist/core/checkpoint.js.map +0 -1
- package/dist/core/cliTestHarness.d.ts +0 -200
- package/dist/core/cliTestHarness.d.ts.map +0 -1
- package/dist/core/cliTestHarness.js +0 -549
- package/dist/core/cliTestHarness.js.map +0 -1
- package/dist/core/contextManager.d.ts +0 -265
- package/dist/core/contextManager.d.ts.map +0 -1
- package/dist/core/contextManager.js +0 -1060
- package/dist/core/contextManager.js.map +0 -1
- package/dist/core/contextWindow.d.ts +0 -42
- package/dist/core/contextWindow.d.ts.map +0 -1
- package/dist/core/contextWindow.js +0 -123
- package/dist/core/contextWindow.js.map +0 -1
- package/dist/core/costTracker.d.ts +0 -87
- package/dist/core/costTracker.d.ts.map +0 -1
- package/dist/core/costTracker.js +0 -285
- package/dist/core/costTracker.js.map +0 -1
- package/dist/core/customCommands.d.ts +0 -19
- package/dist/core/customCommands.d.ts.map +0 -1
- package/dist/core/customCommands.js +0 -84
- package/dist/core/customCommands.js.map +0 -1
- package/dist/core/errors/apiKeyErrors.d.ts +0 -11
- package/dist/core/errors/apiKeyErrors.d.ts.map +0 -1
- package/dist/core/errors/apiKeyErrors.js +0 -159
- package/dist/core/errors/apiKeyErrors.js.map +0 -1
- package/dist/core/errors/errorTypes.d.ts +0 -111
- package/dist/core/errors/errorTypes.d.ts.map +0 -1
- package/dist/core/errors/errorTypes.js +0 -348
- package/dist/core/errors/errorTypes.js.map +0 -1
- package/dist/core/errors/errorUtils.d.ts +0 -87
- package/dist/core/errors/errorUtils.d.ts.map +0 -1
- package/dist/core/errors/errorUtils.js +0 -158
- package/dist/core/errors/errorUtils.js.map +0 -1
- package/dist/core/errors/safetyValidator.d.ts +0 -71
- package/dist/core/errors/safetyValidator.d.ts.map +0 -1
- package/dist/core/errors/safetyValidator.js +0 -302
- package/dist/core/errors/safetyValidator.js.map +0 -1
- package/dist/core/errors.d.ts +0 -4
- package/dist/core/errors.d.ts.map +0 -1
- package/dist/core/errors.js +0 -33
- package/dist/core/errors.js.map +0 -1
- package/dist/core/failureRecovery.d.ts +0 -122
- package/dist/core/failureRecovery.d.ts.map +0 -1
- package/dist/core/failureRecovery.js +0 -477
- package/dist/core/failureRecovery.js.map +0 -1
- package/dist/core/hooks.d.ts +0 -113
- package/dist/core/hooks.d.ts.map +0 -1
- package/dist/core/hooks.js +0 -267
- package/dist/core/hooks.js.map +0 -1
- package/dist/core/intelligentTestFlows.d.ts +0 -126
- package/dist/core/intelligentTestFlows.d.ts.map +0 -1
- package/dist/core/intelligentTestFlows.js +0 -678
- package/dist/core/intelligentTestFlows.js.map +0 -1
- package/dist/core/isolatedVerifier.d.ts +0 -40
- package/dist/core/isolatedVerifier.d.ts.map +0 -1
- package/dist/core/isolatedVerifier.js +0 -129
- package/dist/core/isolatedVerifier.js.map +0 -1
- package/dist/core/learningPersistence.d.ts +0 -145
- package/dist/core/learningPersistence.d.ts.map +0 -1
- package/dist/core/learningPersistence.js +0 -477
- package/dist/core/learningPersistence.js.map +0 -1
- package/dist/core/memorySystem.d.ts +0 -67
- package/dist/core/memorySystem.d.ts.map +0 -1
- package/dist/core/memorySystem.js +0 -334
- package/dist/core/memorySystem.js.map +0 -1
- package/dist/core/metricsTracker.d.ts +0 -157
- package/dist/core/metricsTracker.d.ts.map +0 -1
- package/dist/core/metricsTracker.js +0 -273
- package/dist/core/metricsTracker.js.map +0 -1
- package/dist/core/modelDiscovery.d.ts +0 -101
- package/dist/core/modelDiscovery.d.ts.map +0 -1
- package/dist/core/modelDiscovery.js +0 -780
- package/dist/core/modelDiscovery.js.map +0 -1
- package/dist/core/multilinePasteHandler.d.ts +0 -35
- package/dist/core/multilinePasteHandler.d.ts.map +0 -1
- package/dist/core/multilinePasteHandler.js +0 -80
- package/dist/core/multilinePasteHandler.js.map +0 -1
- package/dist/core/offsecAlphaZero.d.ts +0 -56
- package/dist/core/offsecAlphaZero.d.ts.map +0 -1
- package/dist/core/offsecAlphaZero.js +0 -395
- package/dist/core/offsecAlphaZero.js.map +0 -1
- package/dist/core/outputStyles.d.ts +0 -48
- package/dist/core/outputStyles.d.ts.map +0 -1
- package/dist/core/outputStyles.js +0 -270
- package/dist/core/outputStyles.js.map +0 -1
- package/dist/core/performanceMonitor.d.ts +0 -124
- package/dist/core/performanceMonitor.d.ts.map +0 -1
- package/dist/core/performanceMonitor.js +0 -192
- package/dist/core/performanceMonitor.js.map +0 -1
- package/dist/core/preferences.d.ts +0 -69
- package/dist/core/preferences.d.ts.map +0 -1
- package/dist/core/preferences.js +0 -316
- package/dist/core/preferences.js.map +0 -1
- package/dist/core/responseVerifier.d.ts +0 -98
- package/dist/core/responseVerifier.d.ts.map +0 -1
- package/dist/core/responseVerifier.js +0 -509
- package/dist/core/responseVerifier.js.map +0 -1
- package/dist/core/resultVerification.d.ts +0 -141
- package/dist/core/resultVerification.d.ts.map +0 -1
- package/dist/core/resultVerification.js +0 -482
- package/dist/core/resultVerification.js.map +0 -1
- package/dist/core/schemaValidator.d.ts +0 -44
- package/dist/core/schemaValidator.d.ts.map +0 -1
- package/dist/core/schemaValidator.js +0 -155
- package/dist/core/schemaValidator.js.map +0 -1
- package/dist/core/secretStore.d.ts +0 -48
- package/dist/core/secretStore.d.ts.map +0 -1
- package/dist/core/secretStore.js +0 -367
- package/dist/core/secretStore.js.map +0 -1
- package/dist/core/securityAssessment.d.ts +0 -91
- package/dist/core/securityAssessment.d.ts.map +0 -1
- package/dist/core/securityAssessment.js +0 -580
- package/dist/core/securityAssessment.js.map +0 -1
- package/dist/core/selfEvolution.d.ts +0 -155
- package/dist/core/selfEvolution.d.ts.map +0 -1
- package/dist/core/selfEvolution.js +0 -1000
- package/dist/core/selfEvolution.js.map +0 -1
- package/dist/core/selfImprovement.d.ts +0 -141
- package/dist/core/selfImprovement.d.ts.map +0 -1
- package/dist/core/selfImprovement.js +0 -700
- package/dist/core/selfImprovement.js.map +0 -1
- package/dist/core/sessionStore.d.ts +0 -35
- package/dist/core/sessionStore.d.ts.map +0 -1
- package/dist/core/sessionStore.js +0 -189
- package/dist/core/sessionStore.js.map +0 -1
- package/dist/core/testUtils.d.ts +0 -121
- package/dist/core/testUtils.d.ts.map +0 -1
- package/dist/core/testUtils.js +0 -235
- package/dist/core/testUtils.js.map +0 -1
- package/dist/core/toolPreconditions.d.ts +0 -42
- package/dist/core/toolPreconditions.d.ts.map +0 -1
- package/dist/core/toolPreconditions.js +0 -347
- package/dist/core/toolPreconditions.js.map +0 -1
- package/dist/core/toolRuntime.d.ts +0 -163
- package/dist/core/toolRuntime.d.ts.map +0 -1
- package/dist/core/toolRuntime.js +0 -439
- package/dist/core/toolRuntime.js.map +0 -1
- package/dist/core/toolValidation.d.ts +0 -116
- package/dist/core/toolValidation.d.ts.map +0 -1
- package/dist/core/toolValidation.js +0 -282
- package/dist/core/toolValidation.js.map +0 -1
- package/dist/core/types/utilityTypes.d.ts +0 -192
- package/dist/core/types/utilityTypes.d.ts.map +0 -1
- package/dist/core/types/utilityTypes.js +0 -272
- package/dist/core/types/utilityTypes.js.map +0 -1
- package/dist/core/types.d.ts +0 -306
- package/dist/core/types.d.ts.map +0 -1
- package/dist/core/types.js +0 -76
- package/dist/core/types.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 -888
- package/dist/core/validationRunner.js.map +0 -1
- package/dist/core/verification.d.ts +0 -137
- package/dist/core/verification.d.ts.map +0 -1
- package/dist/core/verification.js +0 -323
- package/dist/core/verification.js.map +0 -1
- package/dist/headless/headlessApp.d.ts +0 -5
- package/dist/headless/headlessApp.d.ts.map +0 -1
- package/dist/headless/headlessApp.js +0 -210
- package/dist/headless/headlessApp.js.map +0 -1
- package/dist/intelligence/codeIntelligence.d.ts +0 -118
- package/dist/intelligence/codeIntelligence.d.ts.map +0 -1
- package/dist/intelligence/codeIntelligence.js +0 -552
- package/dist/intelligence/codeIntelligence.js.map +0 -1
- package/dist/intelligence/docGenerator.d.ts +0 -86
- package/dist/intelligence/docGenerator.d.ts.map +0 -1
- package/dist/intelligence/docGenerator.js +0 -564
- package/dist/intelligence/docGenerator.js.map +0 -1
- package/dist/intelligence/index.d.ts +0 -51
- package/dist/intelligence/index.d.ts.map +0 -1
- package/dist/intelligence/index.js +0 -253
- package/dist/intelligence/index.js.map +0 -1
- package/dist/intelligence/refactoring.d.ts +0 -50
- package/dist/intelligence/refactoring.d.ts.map +0 -1
- package/dist/intelligence/refactoring.js +0 -354
- package/dist/intelligence/refactoring.js.map +0 -1
- package/dist/intelligence/testGenerator.d.ts +0 -74
- package/dist/intelligence/testGenerator.d.ts.map +0 -1
- package/dist/intelligence/testGenerator.js +0 -483
- package/dist/intelligence/testGenerator.js.map +0 -1
- package/dist/mcp/config.d.ts +0 -8
- package/dist/mcp/config.d.ts.map +0 -1
- package/dist/mcp/config.js +0 -252
- package/dist/mcp/config.js.map +0 -1
- package/dist/mcp/sseClient.d.ts +0 -34
- package/dist/mcp/sseClient.d.ts.map +0 -1
- package/dist/mcp/sseClient.js +0 -327
- package/dist/mcp/sseClient.js.map +0 -1
- package/dist/mcp/stdioClient.d.ts +0 -24
- package/dist/mcp/stdioClient.d.ts.map +0 -1
- package/dist/mcp/stdioClient.js +0 -179
- package/dist/mcp/stdioClient.js.map +0 -1
- package/dist/mcp/toolBridge.d.ts +0 -12
- package/dist/mcp/toolBridge.d.ts.map +0 -1
- package/dist/mcp/toolBridge.js +0 -117
- package/dist/mcp/toolBridge.js.map +0 -1
- package/dist/mcp/types.d.ts +0 -60
- package/dist/mcp/types.d.ts.map +0 -1
- package/dist/mcp/types.js +0 -2
- package/dist/mcp/types.js.map +0 -1
- package/dist/plugins/index.d.ts +0 -49
- package/dist/plugins/index.d.ts.map +0 -1
- package/dist/plugins/index.js +0 -114
- package/dist/plugins/index.js.map +0 -1
- package/dist/plugins/providers/anthropic/index.d.ts +0 -11
- package/dist/plugins/providers/anthropic/index.d.ts.map +0 -1
- package/dist/plugins/providers/anthropic/index.js +0 -38
- package/dist/plugins/providers/anthropic/index.js.map +0 -1
- package/dist/plugins/providers/deepseek/index.d.ts +0 -11
- package/dist/plugins/providers/deepseek/index.d.ts.map +0 -1
- package/dist/plugins/providers/deepseek/index.js +0 -52
- package/dist/plugins/providers/deepseek/index.js.map +0 -1
- package/dist/plugins/providers/google/index.d.ts +0 -11
- package/dist/plugins/providers/google/index.d.ts.map +0 -1
- package/dist/plugins/providers/google/index.js +0 -40
- package/dist/plugins/providers/google/index.js.map +0 -1
- package/dist/plugins/providers/index.d.ts +0 -2
- package/dist/plugins/providers/index.d.ts.map +0 -1
- package/dist/plugins/providers/index.js +0 -20
- package/dist/plugins/providers/index.js.map +0 -1
- package/dist/plugins/providers/ollama/index.d.ts +0 -21
- package/dist/plugins/providers/ollama/index.d.ts.map +0 -1
- package/dist/plugins/providers/ollama/index.js +0 -69
- package/dist/plugins/providers/ollama/index.js.map +0 -1
- package/dist/plugins/providers/openai/index.d.ts +0 -12
- package/dist/plugins/providers/openai/index.d.ts.map +0 -1
- package/dist/plugins/providers/openai/index.js +0 -39
- package/dist/plugins/providers/openai/index.js.map +0 -1
- package/dist/plugins/providers/xai/index.d.ts +0 -11
- package/dist/plugins/providers/xai/index.d.ts.map +0 -1
- package/dist/plugins/providers/xai/index.js +0 -39
- package/dist/plugins/providers/xai/index.js.map +0 -1
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.d.ts +0 -3
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.js +0 -9
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.js.map +0 -1
- package/dist/plugins/tools/bash/localBashPlugin.d.ts +0 -3
- package/dist/plugins/tools/bash/localBashPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/bash/localBashPlugin.js +0 -14
- package/dist/plugins/tools/bash/localBashPlugin.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/edit/editPlugin.d.ts +0 -9
- package/dist/plugins/tools/edit/editPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/edit/editPlugin.js +0 -15
- package/dist/plugins/tools/edit/editPlugin.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/enhancedGit/enhancedGitPlugin.d.ts +0 -3
- package/dist/plugins/tools/enhancedGit/enhancedGitPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/enhancedGit/enhancedGitPlugin.js +0 -9
- package/dist/plugins/tools/enhancedGit/enhancedGitPlugin.js.map +0 -1
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.d.ts +0 -3
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.js +0 -14
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.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/glob/globPlugin.d.ts +0 -9
- package/dist/plugins/tools/glob/globPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/glob/globPlugin.js +0 -15
- package/dist/plugins/tools/glob/globPlugin.js.map +0 -1
- package/dist/plugins/tools/index.d.ts +0 -3
- package/dist/plugins/tools/index.d.ts.map +0 -1
- package/dist/plugins/tools/index.js +0 -3
- package/dist/plugins/tools/index.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/mcp/mcpPlugin.d.ts +0 -3
- package/dist/plugins/tools/mcp/mcpPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/mcp/mcpPlugin.js +0 -9
- package/dist/plugins/tools/mcp/mcpPlugin.js.map +0 -1
- package/dist/plugins/tools/nodeDefaults.d.ts +0 -2
- package/dist/plugins/tools/nodeDefaults.d.ts.map +0 -1
- package/dist/plugins/tools/nodeDefaults.js +0 -65
- package/dist/plugins/tools/nodeDefaults.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/registry.d.ts +0 -22
- package/dist/plugins/tools/registry.d.ts.map +0 -1
- package/dist/plugins/tools/registry.js +0 -58
- package/dist/plugins/tools/registry.js.map +0 -1
- package/dist/plugins/tools/search/localSearchPlugin.d.ts +0 -3
- package/dist/plugins/tools/search/localSearchPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/search/localSearchPlugin.js +0 -14
- package/dist/plugins/tools/search/localSearchPlugin.js.map +0 -1
- package/dist/plugins/tools/skills/skillPlugin.d.ts +0 -3
- package/dist/plugins/tools/skills/skillPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/skills/skillPlugin.js +0 -9
- package/dist/plugins/tools/skills/skillPlugin.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/providers/anthropicProvider.d.ts +0 -41
- package/dist/providers/anthropicProvider.d.ts.map +0 -1
- package/dist/providers/anthropicProvider.js +0 -446
- package/dist/providers/anthropicProvider.js.map +0 -1
- package/dist/providers/googleProvider.d.ts +0 -36
- package/dist/providers/googleProvider.d.ts.map +0 -1
- package/dist/providers/googleProvider.js +0 -312
- package/dist/providers/googleProvider.js.map +0 -1
- package/dist/providers/openaiChatCompletionsProvider.d.ts +0 -43
- package/dist/providers/openaiChatCompletionsProvider.d.ts.map +0 -1
- package/dist/providers/openaiChatCompletionsProvider.js +0 -516
- package/dist/providers/openaiChatCompletionsProvider.js.map +0 -1
- package/dist/providers/openaiResponsesProvider.d.ts +0 -38
- package/dist/providers/openaiResponsesProvider.d.ts.map +0 -1
- package/dist/providers/openaiResponsesProvider.js +0 -364
- package/dist/providers/openaiResponsesProvider.js.map +0 -1
- package/dist/providers/providerFactory.d.ts +0 -18
- package/dist/providers/providerFactory.d.ts.map +0 -1
- package/dist/providers/providerFactory.js +0 -25
- package/dist/providers/providerFactory.js.map +0 -1
- package/dist/providers/resilientProvider.d.ts +0 -94
- package/dist/providers/resilientProvider.d.ts.map +0 -1
- package/dist/providers/resilientProvider.js +0 -370
- package/dist/providers/resilientProvider.js.map +0 -1
- package/dist/runtime/agentController.d.ts +0 -65
- package/dist/runtime/agentController.d.ts.map +0 -1
- package/dist/runtime/agentController.js +0 -353
- package/dist/runtime/agentController.js.map +0 -1
- package/dist/runtime/agentHost.d.ts +0 -61
- package/dist/runtime/agentHost.d.ts.map +0 -1
- package/dist/runtime/agentHost.js +0 -156
- package/dist/runtime/agentHost.js.map +0 -1
- package/dist/runtime/agentSession.d.ts +0 -40
- package/dist/runtime/agentSession.d.ts.map +0 -1
- package/dist/runtime/agentSession.js +0 -205
- package/dist/runtime/agentSession.js.map +0 -1
- package/dist/runtime/browser.d.ts +0 -7
- package/dist/runtime/browser.d.ts.map +0 -1
- package/dist/runtime/browser.js +0 -10
- package/dist/runtime/browser.js.map +0 -1
- package/dist/runtime/cloud.d.ts +0 -7
- package/dist/runtime/cloud.d.ts.map +0 -1
- package/dist/runtime/cloud.js +0 -10
- package/dist/runtime/cloud.js.map +0 -1
- package/dist/runtime/node.d.ts +0 -8
- package/dist/runtime/node.d.ts.map +0 -1
- package/dist/runtime/node.js +0 -11
- package/dist/runtime/node.js.map +0 -1
- package/dist/runtime/universal.d.ts +0 -21
- package/dist/runtime/universal.d.ts.map +0 -1
- package/dist/runtime/universal.js +0 -29
- package/dist/runtime/universal.js.map +0 -1
- package/dist/shell/autoExecutor.d.ts +0 -70
- package/dist/shell/autoExecutor.d.ts.map +0 -1
- package/dist/shell/autoExecutor.js +0 -288
- package/dist/shell/autoExecutor.js.map +0 -1
- package/dist/shell/composableMessage.d.ts +0 -183
- package/dist/shell/composableMessage.d.ts.map +0 -1
- package/dist/shell/composableMessage.js +0 -420
- package/dist/shell/composableMessage.js.map +0 -1
- package/dist/shell/fileChangeTracker.d.ts +0 -39
- package/dist/shell/fileChangeTracker.d.ts.map +0 -1
- package/dist/shell/fileChangeTracker.js +0 -64
- package/dist/shell/fileChangeTracker.js.map +0 -1
- package/dist/shell/interactiveShell.d.ts +0 -518
- package/dist/shell/interactiveShell.d.ts.map +0 -1
- package/dist/shell/interactiveShell.js +0 -6651
- package/dist/shell/interactiveShell.js.map +0 -1
- package/dist/shell/liveStatus.d.ts +0 -30
- package/dist/shell/liveStatus.d.ts.map +0 -1
- package/dist/shell/liveStatus.js +0 -102
- package/dist/shell/liveStatus.js.map +0 -1
- package/dist/shell/shellApp.d.ts +0 -19
- package/dist/shell/shellApp.d.ts.map +0 -1
- package/dist/shell/shellApp.js +0 -411
- package/dist/shell/shellApp.js.map +0 -1
- package/dist/shell/systemPrompt.d.ts +0 -3
- package/dist/shell/systemPrompt.d.ts.map +0 -1
- package/dist/shell/systemPrompt.js +0 -64
- package/dist/shell/systemPrompt.js.map +0 -1
- package/dist/shell/taskCompletionDetector.d.ts +0 -106
- package/dist/shell/taskCompletionDetector.d.ts.map +0 -1
- package/dist/shell/taskCompletionDetector.js +0 -402
- package/dist/shell/taskCompletionDetector.js.map +0 -1
- package/dist/shell/terminalInputAdapter.d.ts +0 -262
- package/dist/shell/terminalInputAdapter.d.ts.map +0 -1
- package/dist/shell/terminalInputAdapter.js +0 -346
- package/dist/shell/terminalInputAdapter.js.map +0 -1
- package/dist/shell/vimMode.d.ts +0 -66
- package/dist/shell/vimMode.d.ts.map +0 -1
- package/dist/shell/vimMode.js +0 -434
- package/dist/shell/vimMode.js.map +0 -1
- package/dist/skills/skillRepository.d.ts +0 -103
- package/dist/skills/skillRepository.d.ts.map +0 -1
- package/dist/skills/skillRepository.js +0 -237
- package/dist/skills/skillRepository.js.map +0 -1
- package/dist/skills/types.d.ts +0 -37
- package/dist/skills/types.d.ts.map +0 -1
- package/dist/skills/types.js +0 -2
- package/dist/skills/types.js.map +0 -1
- package/dist/subagents/agentConfig.d.ts +0 -27
- package/dist/subagents/agentConfig.d.ts.map +0 -1
- package/dist/subagents/agentConfig.js +0 -89
- package/dist/subagents/agentConfig.js.map +0 -1
- package/dist/subagents/agentRegistry.d.ts +0 -33
- package/dist/subagents/agentRegistry.d.ts.map +0 -1
- package/dist/subagents/agentRegistry.js +0 -162
- package/dist/subagents/agentRegistry.js.map +0 -1
- package/dist/subagents/parallelAgentManager.d.ts +0 -99
- package/dist/subagents/parallelAgentManager.d.ts.map +0 -1
- package/dist/subagents/parallelAgentManager.js +0 -248
- package/dist/subagents/parallelAgentManager.js.map +0 -1
- package/dist/subagents/taskRunner.d.ts +0 -34
- package/dist/subagents/taskRunner.d.ts.map +0 -1
- package/dist/subagents/taskRunner.js +0 -459
- package/dist/subagents/taskRunner.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 -301
- package/dist/tools/advancedTestGenerationTools.js.map +0 -1
- package/dist/tools/backgroundBashTools.d.ts +0 -21
- package/dist/tools/backgroundBashTools.d.ts.map +0 -1
- package/dist/tools/backgroundBashTools.js +0 -215
- package/dist/tools/backgroundBashTools.js.map +0 -1
- package/dist/tools/bashTools.d.ts +0 -8
- package/dist/tools/bashTools.d.ts.map +0 -1
- package/dist/tools/bashTools.js +0 -240
- package/dist/tools/bashTools.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 -344
- 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/code-quality-dashboard.d.ts +0 -57
- package/dist/tools/code-quality-dashboard.d.ts.map +0 -1
- package/dist/tools/code-quality-dashboard.js +0 -218
- package/dist/tools/code-quality-dashboard.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 -296
- 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 -283
- 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 -2125
- package/dist/tools/devTools.js.map +0 -1
- package/dist/tools/diffUtils.d.ts +0 -36
- package/dist/tools/diffUtils.d.ts.map +0 -1
- package/dist/tools/diffUtils.js +0 -528
- package/dist/tools/diffUtils.js.map +0 -1
- package/dist/tools/editTools.d.ts +0 -29
- package/dist/tools/editTools.d.ts.map +0 -1
- package/dist/tools/editTools.js +0 -419
- package/dist/tools/editTools.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/enhancedCodeIntelligenceTools.d.ts +0 -27
- package/dist/tools/enhancedCodeIntelligenceTools.d.ts.map +0 -1
- package/dist/tools/enhancedCodeIntelligenceTools.js +0 -418
- package/dist/tools/enhancedCodeIntelligenceTools.js.map +0 -1
- package/dist/tools/enhancedDevWorkflowTools.d.ts +0 -15
- package/dist/tools/enhancedDevWorkflowTools.d.ts.map +0 -1
- package/dist/tools/enhancedDevWorkflowTools.js +0 -303
- package/dist/tools/enhancedDevWorkflowTools.js.map +0 -1
- package/dist/tools/fileTools.d.ts +0 -3
- package/dist/tools/fileTools.d.ts.map +0 -1
- package/dist/tools/fileTools.js +0 -334
- package/dist/tools/fileTools.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 -1254
- 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 -358
- package/dist/tools/grepTools.js.map +0 -1
- package/dist/tools/interactionTools.d.ts +0 -13
- package/dist/tools/interactionTools.d.ts.map +0 -1
- package/dist/tools/interactionTools.js +0 -171
- 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 -2104
- package/dist/tools/learnTools.js.map +0 -1
- package/dist/tools/localExplore.d.ts +0 -225
- package/dist/tools/localExplore.d.ts.map +0 -1
- package/dist/tools/localExplore.js +0 -1365
- package/dist/tools/localExplore.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/planningTools.d.ts +0 -21
- package/dist/tools/planningTools.d.ts.map +0 -1
- package/dist/tools/planningTools.js +0 -185
- package/dist/tools/planningTools.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 -161
- package/dist/tools/repoChecksTools.js.map +0 -1
- package/dist/tools/searchTools.d.ts +0 -3
- package/dist/tools/searchTools.d.ts.map +0 -1
- package/dist/tools/searchTools.js +0 -241
- package/dist/tools/searchTools.js.map +0 -1
- package/dist/tools/skillTools.d.ts +0 -8
- package/dist/tools/skillTools.d.ts.map +0 -1
- package/dist/tools/skillTools.js +0 -178
- package/dist/tools/skillTools.js.map +0 -1
- package/dist/tools/softwareEngineeringTools.d.ts +0 -7
- package/dist/tools/softwareEngineeringTools.d.ts.map +0 -1
- package/dist/tools/softwareEngineeringTools.js +0 -338
- package/dist/tools/softwareEngineeringTools.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 -157
- 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 -233
- 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
- package/dist/ui/DisplayEventQueue.d.ts +0 -99
- package/dist/ui/DisplayEventQueue.d.ts.map +0 -1
- package/dist/ui/DisplayEventQueue.js +0 -167
- package/dist/ui/DisplayEventQueue.js.map +0 -1
- package/dist/ui/PromptController.d.ts +0 -102
- package/dist/ui/PromptController.d.ts.map +0 -1
- package/dist/ui/PromptController.js +0 -168
- package/dist/ui/PromptController.js.map +0 -1
- package/dist/ui/SequentialRenderer.d.ts +0 -69
- package/dist/ui/SequentialRenderer.d.ts.map +0 -1
- package/dist/ui/SequentialRenderer.js +0 -137
- package/dist/ui/SequentialRenderer.js.map +0 -1
- package/dist/ui/ShellUIAdapter.d.ts +0 -207
- package/dist/ui/ShellUIAdapter.d.ts.map +0 -1
- package/dist/ui/ShellUIAdapter.js +0 -1163
- package/dist/ui/ShellUIAdapter.js.map +0 -1
- package/dist/ui/UnifiedUIController.d.ts +0 -82
- package/dist/ui/UnifiedUIController.d.ts.map +0 -1
- package/dist/ui/UnifiedUIController.js +0 -207
- package/dist/ui/UnifiedUIController.js.map +0 -1
- package/dist/ui/UnifiedUIRenderer.d.ts +0 -188
- package/dist/ui/UnifiedUIRenderer.d.ts.map +0 -1
- package/dist/ui/UnifiedUIRenderer.js +0 -579
- package/dist/ui/UnifiedUIRenderer.js.map +0 -1
- package/dist/ui/animation/AnimationScheduler.d.ts +0 -192
- package/dist/ui/animation/AnimationScheduler.d.ts.map +0 -1
- package/dist/ui/animation/AnimationScheduler.js +0 -432
- package/dist/ui/animation/AnimationScheduler.js.map +0 -1
- package/dist/ui/codeHighlighter.d.ts +0 -6
- package/dist/ui/codeHighlighter.d.ts.map +0 -1
- package/dist/ui/codeHighlighter.js +0 -855
- package/dist/ui/codeHighlighter.js.map +0 -1
- package/dist/ui/compactRenderer.d.ts +0 -139
- package/dist/ui/compactRenderer.d.ts.map +0 -1
- package/dist/ui/compactRenderer.js +0 -398
- package/dist/ui/compactRenderer.js.map +0 -1
- package/dist/ui/designSystem.d.ts +0 -26
- package/dist/ui/designSystem.d.ts.map +0 -1
- package/dist/ui/designSystem.js +0 -122
- package/dist/ui/designSystem.js.map +0 -1
- package/dist/ui/display.d.ts +0 -229
- package/dist/ui/display.d.ts.map +0 -1
- package/dist/ui/display.js +0 -756
- package/dist/ui/display.js.map +0 -1
- package/dist/ui/errorFormatter.d.ts +0 -54
- package/dist/ui/errorFormatter.d.ts.map +0 -1
- package/dist/ui/errorFormatter.js +0 -251
- package/dist/ui/errorFormatter.js.map +0 -1
- package/dist/ui/globalWriteLock.d.ts +0 -38
- package/dist/ui/globalWriteLock.d.ts.map +0 -1
- package/dist/ui/globalWriteLock.js +0 -54
- package/dist/ui/globalWriteLock.js.map +0 -1
- package/dist/ui/inPlaceUpdater.d.ts +0 -181
- package/dist/ui/inPlaceUpdater.d.ts.map +0 -1
- package/dist/ui/inPlaceUpdater.js +0 -515
- package/dist/ui/inPlaceUpdater.js.map +0 -1
- package/dist/ui/interrupts/InterruptManager.d.ts +0 -142
- package/dist/ui/interrupts/InterruptManager.d.ts.map +0 -1
- package/dist/ui/interrupts/InterruptManager.js +0 -439
- package/dist/ui/interrupts/InterruptManager.js.map +0 -1
- package/dist/ui/layout.d.ts +0 -17
- package/dist/ui/layout.d.ts.map +0 -1
- package/dist/ui/layout.js +0 -140
- package/dist/ui/layout.js.map +0 -1
- package/dist/ui/orchestration/StatusOrchestrator.d.ts +0 -156
- package/dist/ui/orchestration/StatusOrchestrator.d.ts.map +0 -1
- package/dist/ui/orchestration/StatusOrchestrator.js +0 -406
- package/dist/ui/orchestration/StatusOrchestrator.js.map +0 -1
- package/dist/ui/orchestration/UIUpdateCoordinator.d.ts +0 -77
- package/dist/ui/orchestration/UIUpdateCoordinator.d.ts.map +0 -1
- package/dist/ui/orchestration/UIUpdateCoordinator.js +0 -265
- package/dist/ui/orchestration/UIUpdateCoordinator.js.map +0 -1
- package/dist/ui/outputMode.d.ts +0 -22
- package/dist/ui/outputMode.d.ts.map +0 -1
- package/dist/ui/outputMode.js +0 -40
- package/dist/ui/outputMode.js.map +0 -1
- package/dist/ui/richText.d.ts +0 -6
- package/dist/ui/richText.d.ts.map +0 -1
- package/dist/ui/richText.js +0 -391
- package/dist/ui/richText.js.map +0 -1
- package/dist/ui/shortcutsHelp.d.ts +0 -39
- package/dist/ui/shortcutsHelp.d.ts.map +0 -1
- package/dist/ui/shortcutsHelp.js +0 -152
- package/dist/ui/shortcutsHelp.js.map +0 -1
- package/dist/ui/streamingFormatter.d.ts +0 -19
- package/dist/ui/streamingFormatter.d.ts.map +0 -1
- package/dist/ui/streamingFormatter.js +0 -65
- package/dist/ui/streamingFormatter.js.map +0 -1
- package/dist/ui/telemetry/ResponseTracker.d.ts +0 -22
- package/dist/ui/telemetry/ResponseTracker.d.ts.map +0 -1
- package/dist/ui/telemetry/ResponseTracker.js +0 -60
- package/dist/ui/telemetry/ResponseTracker.js.map +0 -1
- package/dist/ui/telemetry/UITelemetry.d.ts +0 -181
- package/dist/ui/telemetry/UITelemetry.d.ts.map +0 -1
- package/dist/ui/telemetry/UITelemetry.js +0 -446
- package/dist/ui/telemetry/UITelemetry.js.map +0 -1
- package/dist/ui/textHighlighter.d.ts +0 -83
- package/dist/ui/textHighlighter.d.ts.map +0 -1
- package/dist/ui/textHighlighter.js +0 -267
- package/dist/ui/textHighlighter.js.map +0 -1
- package/dist/ui/theme.d.ts +0 -208
- package/dist/ui/theme.d.ts.map +0 -1
- package/dist/ui/theme.js +0 -249
- package/dist/ui/theme.js.map +0 -1
- package/dist/ui/toolDisplay.d.ts +0 -195
- package/dist/ui/toolDisplay.d.ts.map +0 -1
- package/dist/ui/toolDisplay.js +0 -1526
- package/dist/ui/toolDisplay.js.map +0 -1
- package/dist/ui/unified/index.d.ts +0 -50
- package/dist/ui/unified/index.d.ts.map +0 -1
- package/dist/ui/unified/index.js +0 -77
- package/dist/ui/unified/index.js.map +0 -1
- package/dist/ui/unified/layout.d.ts +0 -12
- package/dist/ui/unified/layout.d.ts.map +0 -1
- package/dist/ui/unified/layout.js +0 -96
- package/dist/ui/unified/layout.js.map +0 -1
- package/dist/ui/writeLock.d.ts +0 -65
- package/dist/ui/writeLock.d.ts.map +0 -1
- package/dist/ui/writeLock.js +0 -114
- package/dist/ui/writeLock.js.map +0 -1
- package/dist/utils/asyncUtils.d.ts +0 -95
- package/dist/utils/asyncUtils.d.ts.map +0 -1
- package/dist/utils/asyncUtils.js +0 -286
- package/dist/utils/asyncUtils.js.map +0 -1
- package/dist/utils/errorUtils.d.ts +0 -16
- package/dist/utils/errorUtils.d.ts.map +0 -1
- package/dist/utils/errorUtils.js +0 -66
- package/dist/utils/errorUtils.js.map +0 -1
- package/dist/utils/frontmatter.d.ts +0 -10
- package/dist/utils/frontmatter.d.ts.map +0 -1
- package/dist/utils/frontmatter.js +0 -78
- package/dist/utils/frontmatter.js.map +0 -1
- package/dist/utils/planFormatter.d.ts +0 -34
- package/dist/utils/planFormatter.d.ts.map +0 -1
- package/dist/utils/planFormatter.js +0 -140
- package/dist/utils/planFormatter.js.map +0 -1
- package/dist/workspace.d.ts +0 -8
- package/dist/workspace.d.ts.map +0 -1
- package/dist/workspace.js +0 -107
- package/dist/workspace.js.map +0 -1
- package/dist/workspace.validator.d.ts +0 -49
- package/dist/workspace.validator.d.ts.map +0 -1
- package/dist/workspace.validator.js +0 -214
- package/dist/workspace.validator.js.map +0 -1
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Output Styles System - Erosolar-CLI Style
|
|
3
|
-
*
|
|
4
|
-
* Configurable output styles that modify how the agent responds.
|
|
5
|
-
* Similar to Erosolar-CLI's output-styles feature.
|
|
6
|
-
*
|
|
7
|
-
* Built-in Styles:
|
|
8
|
-
* - Default: Standard system prompt for efficient software engineering
|
|
9
|
-
* - Explanatory: Educational insights between coding tasks
|
|
10
|
-
* - Learning: Collaborative learn-by-doing mode with TODO(human) markers
|
|
11
|
-
* - Concise: Minimal output, focuses on code changes only
|
|
12
|
-
*
|
|
13
|
-
* Custom styles can be created in:
|
|
14
|
-
* - ~/.erosolar/output-styles/ (user-level)
|
|
15
|
-
* - .erosolar/output-styles/ (project-level)
|
|
16
|
-
*/
|
|
17
|
-
export type BuiltInStyleId = 'default' | 'explanatory' | 'learning' | 'concise';
|
|
18
|
-
export interface OutputStyle {
|
|
19
|
-
id: string;
|
|
20
|
-
name: string;
|
|
21
|
-
description: string;
|
|
22
|
-
instructions: string;
|
|
23
|
-
isBuiltIn: boolean;
|
|
24
|
-
source: 'built-in' | 'user' | 'project';
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Get all available output styles
|
|
28
|
-
*/
|
|
29
|
-
export declare function getAvailableStyles(workingDir: string): OutputStyle[];
|
|
30
|
-
/**
|
|
31
|
-
* Get a specific output style by ID
|
|
32
|
-
*/
|
|
33
|
-
export declare function getOutputStyle(id: string, workingDir: string): OutputStyle | null;
|
|
34
|
-
/**
|
|
35
|
-
* Create a custom output style
|
|
36
|
-
*/
|
|
37
|
-
export declare function createCustomStyle(style: Omit<OutputStyle, 'isBuiltIn' | 'source'>, location: 'user' | 'project', workingDir?: string): boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Format style for system prompt injection
|
|
40
|
-
*/
|
|
41
|
-
export declare function formatStyleForPrompt(style: OutputStyle): string;
|
|
42
|
-
export declare function getCurrentStyleId(): string;
|
|
43
|
-
export declare function setCurrentStyleId(id: string): void;
|
|
44
|
-
/**
|
|
45
|
-
* Format styles list for display
|
|
46
|
-
*/
|
|
47
|
-
export declare function formatStylesListForDisplay(styles: OutputStyle[], currentId: string): string;
|
|
48
|
-
//# sourceMappingURL=outputStyles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"outputStyles.d.ts","sourceRoot":"","sources":["../../src/core/outputStyles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AASH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,aAAa,GAAG,UAAU,GAAG,SAAS,CAAC;AAEhF,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC;CACzC;AA6ID;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,WAAW,EAAE,CAoBpE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAuBjF;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,QAAQ,CAAC,EAChD,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAsBT;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAI/D;AAOD,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C;AAED,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAElD;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,WAAW,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAiC3F"}
|
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Output Styles System - Erosolar-CLI Style
|
|
3
|
-
*
|
|
4
|
-
* Configurable output styles that modify how the agent responds.
|
|
5
|
-
* Similar to Erosolar-CLI's output-styles feature.
|
|
6
|
-
*
|
|
7
|
-
* Built-in Styles:
|
|
8
|
-
* - Default: Standard system prompt for efficient software engineering
|
|
9
|
-
* - Explanatory: Educational insights between coding tasks
|
|
10
|
-
* - Learning: Collaborative learn-by-doing mode with TODO(human) markers
|
|
11
|
-
* - Concise: Minimal output, focuses on code changes only
|
|
12
|
-
*
|
|
13
|
-
* Custom styles can be created in:
|
|
14
|
-
* - ~/.erosolar/output-styles/ (user-level)
|
|
15
|
-
* - .erosolar/output-styles/ (project-level)
|
|
16
|
-
*/
|
|
17
|
-
import { existsSync, readFileSync, readdirSync, mkdirSync, writeFileSync } from 'node:fs';
|
|
18
|
-
import { homedir } from 'node:os';
|
|
19
|
-
import { join } from 'node:path';
|
|
20
|
-
const USER_STYLES_DIR = join(homedir(), '.erosolar', 'output-styles');
|
|
21
|
-
const PROJECT_STYLES_SUBDIR = '.erosolar/output-styles';
|
|
22
|
-
/**
|
|
23
|
-
* Built-in output styles
|
|
24
|
-
*/
|
|
25
|
-
const BUILT_IN_STYLES = {
|
|
26
|
-
default: {
|
|
27
|
-
id: 'default',
|
|
28
|
-
name: 'Default',
|
|
29
|
-
description: 'Standard efficient software engineering mode',
|
|
30
|
-
instructions: `You are an expert software engineer. Focus on:
|
|
31
|
-
- Writing clean, maintainable code
|
|
32
|
-
- Providing direct, actionable solutions
|
|
33
|
-
- Following best practices and conventions
|
|
34
|
-
- Being concise while remaining helpful
|
|
35
|
-
- Explaining only when necessary for understanding`,
|
|
36
|
-
},
|
|
37
|
-
explanatory: {
|
|
38
|
-
id: 'explanatory',
|
|
39
|
-
name: 'Explanatory',
|
|
40
|
-
description: 'Educational mode with detailed explanations',
|
|
41
|
-
instructions: `You are an expert software engineer and educator. Focus on:
|
|
42
|
-
- Explaining the "why" behind code decisions
|
|
43
|
-
- Teaching concepts as you implement solutions
|
|
44
|
-
- Providing context about patterns and best practices
|
|
45
|
-
- Breaking down complex problems step by step
|
|
46
|
-
- Offering alternative approaches when relevant
|
|
47
|
-
- Including comments that explain non-obvious code
|
|
48
|
-
|
|
49
|
-
When making changes:
|
|
50
|
-
1. Briefly explain what you're about to do and why
|
|
51
|
-
2. Implement the solution with inline comments
|
|
52
|
-
3. Summarize key learnings after completion`,
|
|
53
|
-
},
|
|
54
|
-
learning: {
|
|
55
|
-
id: 'learning',
|
|
56
|
-
name: 'Learning',
|
|
57
|
-
description: 'Collaborative learn-by-doing mode',
|
|
58
|
-
instructions: `You are a collaborative coding mentor helping the user learn by doing. Focus on:
|
|
59
|
-
- Guiding rather than solving directly
|
|
60
|
-
- Asking questions to prompt thinking
|
|
61
|
-
- Leaving room for the user to complete parts of the solution
|
|
62
|
-
- Using TODO(human) markers for tasks the user should complete
|
|
63
|
-
- Explaining concepts as they become relevant
|
|
64
|
-
- Celebrating progress and building confidence
|
|
65
|
-
|
|
66
|
-
When implementing solutions:
|
|
67
|
-
1. Start with a high-level plan
|
|
68
|
-
2. Implement core structure, leaving some parts as TODO(human)
|
|
69
|
-
3. Explain what each TODO requires
|
|
70
|
-
4. Encourage the user to try implementing those parts
|
|
71
|
-
|
|
72
|
-
Example TODO format:
|
|
73
|
-
\`\`\`
|
|
74
|
-
// TODO(human): Implement the validation logic here
|
|
75
|
-
// Hint: Check if the input is a valid email format
|
|
76
|
-
// Consider using a regex pattern like /^[^@]+@[^@]+\\.[^@]+$/
|
|
77
|
-
\`\`\``,
|
|
78
|
-
},
|
|
79
|
-
concise: {
|
|
80
|
-
id: 'concise',
|
|
81
|
-
name: 'Concise',
|
|
82
|
-
description: 'Minimal output, code-focused',
|
|
83
|
-
instructions: `Be extremely concise. Focus exclusively on code changes.
|
|
84
|
-
- No explanations unless critical for understanding
|
|
85
|
-
- No summaries or recaps
|
|
86
|
-
- Direct code modifications only
|
|
87
|
-
- Single-line responses when possible
|
|
88
|
-
- Skip pleasantries and transitions`,
|
|
89
|
-
},
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* Parse a custom style file (Markdown with YAML frontmatter)
|
|
93
|
-
*/
|
|
94
|
-
function parseStyleFile(content, source) {
|
|
95
|
-
try {
|
|
96
|
-
// Extract YAML frontmatter
|
|
97
|
-
const frontmatterMatch = content.match(/^---\n([\s\S]*?)\n---\n([\s\S]*)$/);
|
|
98
|
-
if (!frontmatterMatch) {
|
|
99
|
-
// No frontmatter, use entire content as instructions
|
|
100
|
-
return null;
|
|
101
|
-
}
|
|
102
|
-
const [, frontmatter, body] = frontmatterMatch;
|
|
103
|
-
if (!frontmatter || !body)
|
|
104
|
-
return null;
|
|
105
|
-
// Parse simple YAML (id, name, description)
|
|
106
|
-
const parseYamlField = (yaml, field) => {
|
|
107
|
-
const match = yaml.match(new RegExp(`^${field}:\\s*(.+)$`, 'm'));
|
|
108
|
-
return match ? match[1].trim().replace(/^["']|["']$/g, '') : null;
|
|
109
|
-
};
|
|
110
|
-
const id = parseYamlField(frontmatter, 'id');
|
|
111
|
-
const name = parseYamlField(frontmatter, 'name') ?? id;
|
|
112
|
-
const description = parseYamlField(frontmatter, 'description') ?? '';
|
|
113
|
-
if (!id)
|
|
114
|
-
return null;
|
|
115
|
-
return {
|
|
116
|
-
id,
|
|
117
|
-
name: name ?? id,
|
|
118
|
-
description,
|
|
119
|
-
instructions: body.trim(),
|
|
120
|
-
isBuiltIn: false,
|
|
121
|
-
source,
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
catch {
|
|
125
|
-
return null;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Load custom styles from a directory
|
|
130
|
-
*/
|
|
131
|
-
function loadStylesFromDir(dir, source) {
|
|
132
|
-
if (!existsSync(dir)) {
|
|
133
|
-
return [];
|
|
134
|
-
}
|
|
135
|
-
const styles = [];
|
|
136
|
-
try {
|
|
137
|
-
const files = readdirSync(dir).filter(f => f.endsWith('.md'));
|
|
138
|
-
for (const file of files) {
|
|
139
|
-
const content = readFileSync(join(dir, file), 'utf8');
|
|
140
|
-
const style = parseStyleFile(content, source);
|
|
141
|
-
if (style) {
|
|
142
|
-
styles.push(style);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
catch {
|
|
147
|
-
// Ignore directory read errors
|
|
148
|
-
}
|
|
149
|
-
return styles;
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Get all available output styles
|
|
153
|
-
*/
|
|
154
|
-
export function getAvailableStyles(workingDir) {
|
|
155
|
-
const styles = [];
|
|
156
|
-
// Add built-in styles
|
|
157
|
-
for (const [id, style] of Object.entries(BUILT_IN_STYLES)) {
|
|
158
|
-
styles.push({
|
|
159
|
-
...style,
|
|
160
|
-
isBuiltIn: true,
|
|
161
|
-
source: 'built-in',
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
// Add user styles
|
|
165
|
-
styles.push(...loadStylesFromDir(USER_STYLES_DIR, 'user'));
|
|
166
|
-
// Add project styles
|
|
167
|
-
const projectStylesDir = join(workingDir, PROJECT_STYLES_SUBDIR);
|
|
168
|
-
styles.push(...loadStylesFromDir(projectStylesDir, 'project'));
|
|
169
|
-
return styles;
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* Get a specific output style by ID
|
|
173
|
-
*/
|
|
174
|
-
export function getOutputStyle(id, workingDir) {
|
|
175
|
-
// Check built-in styles first
|
|
176
|
-
if (id in BUILT_IN_STYLES) {
|
|
177
|
-
const style = BUILT_IN_STYLES[id];
|
|
178
|
-
return {
|
|
179
|
-
...style,
|
|
180
|
-
isBuiltIn: true,
|
|
181
|
-
source: 'built-in',
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
// Check user styles
|
|
185
|
-
const userStyles = loadStylesFromDir(USER_STYLES_DIR, 'user');
|
|
186
|
-
const userStyle = userStyles.find(s => s.id === id);
|
|
187
|
-
if (userStyle)
|
|
188
|
-
return userStyle;
|
|
189
|
-
// Check project styles
|
|
190
|
-
const projectStylesDir = join(workingDir, PROJECT_STYLES_SUBDIR);
|
|
191
|
-
const projectStyles = loadStylesFromDir(projectStylesDir, 'project');
|
|
192
|
-
const projectStyle = projectStyles.find(s => s.id === id);
|
|
193
|
-
if (projectStyle)
|
|
194
|
-
return projectStyle;
|
|
195
|
-
return null;
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Create a custom output style
|
|
199
|
-
*/
|
|
200
|
-
export function createCustomStyle(style, location, workingDir) {
|
|
201
|
-
const dir = location === 'user'
|
|
202
|
-
? USER_STYLES_DIR
|
|
203
|
-
: join(workingDir ?? process.cwd(), PROJECT_STYLES_SUBDIR);
|
|
204
|
-
try {
|
|
205
|
-
mkdirSync(dir, { recursive: true });
|
|
206
|
-
const content = `---
|
|
207
|
-
id: ${style.id}
|
|
208
|
-
name: ${style.name}
|
|
209
|
-
description: ${style.description}
|
|
210
|
-
---
|
|
211
|
-
|
|
212
|
-
${style.instructions}
|
|
213
|
-
`;
|
|
214
|
-
writeFileSync(join(dir, `${style.id}.md`), content, 'utf8');
|
|
215
|
-
return true;
|
|
216
|
-
}
|
|
217
|
-
catch {
|
|
218
|
-
return false;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* Format style for system prompt injection
|
|
223
|
-
*/
|
|
224
|
-
export function formatStyleForPrompt(style) {
|
|
225
|
-
return `<output-style name="${style.name}">
|
|
226
|
-
${style.instructions}
|
|
227
|
-
</output-style>`;
|
|
228
|
-
}
|
|
229
|
-
/**
|
|
230
|
-
* Style preference storage
|
|
231
|
-
*/
|
|
232
|
-
let currentStyleId = 'default';
|
|
233
|
-
export function getCurrentStyleId() {
|
|
234
|
-
return currentStyleId;
|
|
235
|
-
}
|
|
236
|
-
export function setCurrentStyleId(id) {
|
|
237
|
-
currentStyleId = id;
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* Format styles list for display
|
|
241
|
-
*/
|
|
242
|
-
export function formatStylesListForDisplay(styles, currentId) {
|
|
243
|
-
const lines = ['Available Output Styles:', ''];
|
|
244
|
-
const bySource = {
|
|
245
|
-
'built-in': styles.filter(s => s.source === 'built-in'),
|
|
246
|
-
'user': styles.filter(s => s.source === 'user'),
|
|
247
|
-
'project': styles.filter(s => s.source === 'project'),
|
|
248
|
-
};
|
|
249
|
-
const formatStyle = (s) => {
|
|
250
|
-
const marker = s.id === currentId ? '●' : '○';
|
|
251
|
-
return ` ${marker} ${s.name} (${s.id}) - ${s.description}`;
|
|
252
|
-
};
|
|
253
|
-
if (bySource['built-in'].length > 0) {
|
|
254
|
-
lines.push('Built-in:');
|
|
255
|
-
lines.push(...bySource['built-in'].map(formatStyle));
|
|
256
|
-
lines.push('');
|
|
257
|
-
}
|
|
258
|
-
if (bySource['user'].length > 0) {
|
|
259
|
-
lines.push('User (~/.erosolar/output-styles/):');
|
|
260
|
-
lines.push(...bySource['user'].map(formatStyle));
|
|
261
|
-
lines.push('');
|
|
262
|
-
}
|
|
263
|
-
if (bySource['project'].length > 0) {
|
|
264
|
-
lines.push('Project (.erosolar/output-styles/):');
|
|
265
|
-
lines.push(...bySource['project'].map(formatStyle));
|
|
266
|
-
lines.push('');
|
|
267
|
-
}
|
|
268
|
-
return lines.join('\n');
|
|
269
|
-
}
|
|
270
|
-
//# sourceMappingURL=outputStyles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"outputStyles.js","sourceRoot":"","sources":["../../src/core/outputStyles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,IAAI,EAAY,MAAM,WAAW,CAAC;AAE3C,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,WAAW,EAAE,eAAe,CAAC,CAAC;AACtE,MAAM,qBAAqB,GAAG,yBAAyB,CAAC;AAaxD;;GAEG;AACH,MAAM,eAAe,GAAsE;IACzF,OAAO,EAAE;Q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AC,IAAI,CAAC,oCAAoC,CAAC,CAAC;QACjD,KAAK,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;QACjD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACjB,CAAC;IAED,IAAI,QAAQ,CAAC,SAAS,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACnC,KAAK,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC;QAClD,KAAK,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC;QACpD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACjB,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PerformanceMonitor - Instrumentation for tracking tool execution performance
|
|
3
|
-
*
|
|
4
|
-
* Provides:
|
|
5
|
-
* - Tool execution timing
|
|
6
|
-
* - Memory usage tracking
|
|
7
|
-
* - Performance metrics aggregation
|
|
8
|
-
* - Debug logging capabilities
|
|
9
|
-
* - Performance bottleneck identification
|
|
10
|
-
*/
|
|
11
|
-
import type { ToolCallRequest } from './types.js';
|
|
12
|
-
export interface PerformanceMetrics {
|
|
13
|
-
readonly toolName: string;
|
|
14
|
-
readonly executionTimeMs: number;
|
|
15
|
-
readonly memoryUsageDelta?: number;
|
|
16
|
-
readonly timestamp: number;
|
|
17
|
-
readonly success: boolean;
|
|
18
|
-
readonly error?: string;
|
|
19
|
-
readonly profileName?: string;
|
|
20
|
-
readonly provider?: string;
|
|
21
|
-
readonly model?: string;
|
|
22
|
-
readonly aiFlowPatterns?: {
|
|
23
|
-
readonly sequentialReads?: number;
|
|
24
|
-
readonly editWithoutRead?: boolean;
|
|
25
|
-
readonly multipleValidations?: boolean;
|
|
26
|
-
readonly inefficientGitOps?: boolean;
|
|
27
|
-
};
|
|
28
|
-
/** Enhanced AI flow telemetry for software engineering insights */
|
|
29
|
-
readonly aiFlowTelemetry?: {
|
|
30
|
-
readonly toolChain?: readonly string[];
|
|
31
|
-
readonly contextUsage?: {
|
|
32
|
-
readonly filesRead: number;
|
|
33
|
-
readonly filesEdited: number;
|
|
34
|
-
readonly searchesPerformed: number;
|
|
35
|
-
};
|
|
36
|
-
readonly efficiencyMetrics?: {
|
|
37
|
-
readonly parallelExecution: boolean;
|
|
38
|
-
readonly contextOptimization: boolean;
|
|
39
|
-
readonly validationTiming: 'early' | 'deferred' | 'none';
|
|
40
|
-
};
|
|
41
|
-
readonly errorRecovery?: {
|
|
42
|
-
readonly retryAttempts: number;
|
|
43
|
-
readonly recoveryStrategy: 'auto' | 'manual' | 'none';
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
export interface PerformanceStats {
|
|
48
|
-
readonly totalCalls: number;
|
|
49
|
-
readonly averageExecutionTime: number;
|
|
50
|
-
readonly slowestTool: string;
|
|
51
|
-
readonly slowestTime: number;
|
|
52
|
-
readonly fastestTool: string;
|
|
53
|
-
readonly fastestTime: number;
|
|
54
|
-
readonly errorRate: number;
|
|
55
|
-
readonly toolsByFrequency: readonly {
|
|
56
|
-
readonly toolName: string;
|
|
57
|
-
readonly count: number;
|
|
58
|
-
}[];
|
|
59
|
-
readonly aiFlowAnalytics?: {
|
|
60
|
-
readonly sequentialReads: number;
|
|
61
|
-
readonly editsWithoutRead: number;
|
|
62
|
-
readonly multipleValidations: number;
|
|
63
|
-
readonly inefficientGitOps: number;
|
|
64
|
-
readonly totalWarnings: number;
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
export interface PerformanceMonitorOptions {
|
|
68
|
-
enabled?: boolean;
|
|
69
|
-
maxMetrics?: number;
|
|
70
|
-
logLevel?: 'none' | 'basic' | 'detailed';
|
|
71
|
-
autoReportInterval?: number;
|
|
72
|
-
}
|
|
73
|
-
export declare class PerformanceMonitor {
|
|
74
|
-
private metrics;
|
|
75
|
-
private options;
|
|
76
|
-
private reportInterval?;
|
|
77
|
-
constructor(options?: PerformanceMonitorOptions);
|
|
78
|
-
/**
|
|
79
|
-
* Start tracking a tool execution
|
|
80
|
-
*/
|
|
81
|
-
startToolCall(call: ToolCallRequest, context?: {
|
|
82
|
-
profileName?: string;
|
|
83
|
-
provider?: string;
|
|
84
|
-
model?: string;
|
|
85
|
-
}): () => PerformanceMetrics;
|
|
86
|
-
/**
|
|
87
|
-
* Record a failed tool execution
|
|
88
|
-
*/
|
|
89
|
-
recordToolError(call: ToolCallRequest, error: string, context?: {
|
|
90
|
-
profileName?: string;
|
|
91
|
-
provider?: string;
|
|
92
|
-
model?: string;
|
|
93
|
-
}): void;
|
|
94
|
-
/**
|
|
95
|
-
* Add a metric to the collection
|
|
96
|
-
*/
|
|
97
|
-
private addMetric;
|
|
98
|
-
/**
|
|
99
|
-
* Get performance statistics
|
|
100
|
-
*/
|
|
101
|
-
getStats(): PerformanceStats;
|
|
102
|
-
/**
|
|
103
|
-
* Get metrics for a specific tool
|
|
104
|
-
*/
|
|
105
|
-
getToolMetrics(toolName: string): PerformanceMetrics[];
|
|
106
|
-
/**
|
|
107
|
-
* Clear all metrics
|
|
108
|
-
*/
|
|
109
|
-
clear(): void;
|
|
110
|
-
/**
|
|
111
|
-
* Generate a performance report
|
|
112
|
-
*/
|
|
113
|
-
generateReport(): string;
|
|
114
|
-
/**
|
|
115
|
-
* Start automatic reporting
|
|
116
|
-
*/
|
|
117
|
-
private startAutoReporting;
|
|
118
|
-
/**
|
|
119
|
-
* Stop the monitor and clean up
|
|
120
|
-
*/
|
|
121
|
-
destroy(): void;
|
|
122
|
-
}
|
|
123
|
-
export declare const globalPerformanceMonitor: PerformanceMonitor;
|
|
124
|
-
//# sourceMappingURL=performanceMonitor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version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,CAAC;IACzC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,OAAO,CAAsC;IACrD,OAAO,CAAC,cAAc,CAAC,CAAiB;gBAE5B,OAAO,GAAE,yBAA8B;IAanD;;OAEG;IACH,aAAa,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,kBAAkB;IAkCrI;;OAEG;IACH,eAAe,CAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IAkB3H;;OAEG;IACH,OAAO,CAAC,SAAS;IASjB;;OAEG;IACH,QAAQ,IAAI,gBAAgB;IAiD5B;;OAEG;IACH,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,EAAE;IAItD;;OAEG;IACH,KAAK;IAIL;;OAEG;IACH,cAAc,IAAI,MAAM;IA8BxB;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAQ1B;;OAEG;IACH,OAAO;CAKR;AAGD,eAAO,MAAM,wBAAwB,oBAMnC,CAAC"}
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PerformanceMonitor - Instrumentation for tracking tool execution performance
|
|
3
|
-
*
|
|
4
|
-
* Provides:
|
|
5
|
-
* - Tool execution timing
|
|
6
|
-
* - Memory usage tracking
|
|
7
|
-
* - Performance metrics aggregation
|
|
8
|
-
* - Debug logging capabilities
|
|
9
|
-
* - Performance bottleneck identification
|
|
10
|
-
*/
|
|
11
|
-
export class PerformanceMonitor {
|
|
12
|
-
metrics = [];
|
|
13
|
-
options;
|
|
14
|
-
reportInterval;
|
|
15
|
-
constructor(options = {}) {
|
|
16
|
-
this.options = {
|
|
17
|
-
enabled: options.enabled ?? true,
|
|
18
|
-
maxMetrics: options.maxMetrics ?? 1000,
|
|
19
|
-
logLevel: options.logLevel ?? 'basic',
|
|
20
|
-
autoReportInterval: options.autoReportInterval ?? 0,
|
|
21
|
-
};
|
|
22
|
-
if (this.options.autoReportInterval > 0) {
|
|
23
|
-
this.startAutoReporting();
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Start tracking a tool execution
|
|
28
|
-
*/
|
|
29
|
-
startToolCall(call, context) {
|
|
30
|
-
if (!this.options.enabled) {
|
|
31
|
-
return () => ({});
|
|
32
|
-
}
|
|
33
|
-
const startTime = performance.now();
|
|
34
|
-
const startMemory = process.memoryUsage().heapUsed;
|
|
35
|
-
return () => {
|
|
36
|
-
const endTime = performance.now();
|
|
37
|
-
const endMemory = process.memoryUsage().heapUsed;
|
|
38
|
-
const executionTime = endTime - startTime;
|
|
39
|
-
const memoryDelta = endMemory - startMemory;
|
|
40
|
-
const metric = {
|
|
41
|
-
toolName: call.name,
|
|
42
|
-
executionTimeMs: executionTime,
|
|
43
|
-
memoryUsageDelta: memoryDelta,
|
|
44
|
-
timestamp: Date.now(),
|
|
45
|
-
success: true,
|
|
46
|
-
profileName: context?.profileName,
|
|
47
|
-
provider: context?.provider,
|
|
48
|
-
model: context?.model,
|
|
49
|
-
};
|
|
50
|
-
this.addMetric(metric);
|
|
51
|
-
// Performance metrics are stored internally - no console output during streaming
|
|
52
|
-
// to avoid corrupting the display
|
|
53
|
-
return metric;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Record a failed tool execution
|
|
58
|
-
*/
|
|
59
|
-
recordToolError(call, error, context) {
|
|
60
|
-
if (!this.options.enabled)
|
|
61
|
-
return;
|
|
62
|
-
const metric = {
|
|
63
|
-
toolName: call.name,
|
|
64
|
-
executionTimeMs: 0,
|
|
65
|
-
timestamp: Date.now(),
|
|
66
|
-
success: false,
|
|
67
|
-
error,
|
|
68
|
-
profileName: context?.profileName,
|
|
69
|
-
provider: context?.provider,
|
|
70
|
-
model: context?.model,
|
|
71
|
-
};
|
|
72
|
-
this.addMetric(metric);
|
|
73
|
-
// Error metrics stored internally - no console output during streaming
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Add a metric to the collection
|
|
77
|
-
*/
|
|
78
|
-
addMetric(metric) {
|
|
79
|
-
this.metrics.push(metric);
|
|
80
|
-
// Keep only the most recent metrics
|
|
81
|
-
if (this.metrics.length > this.options.maxMetrics) {
|
|
82
|
-
this.metrics = this.metrics.slice(-this.options.maxMetrics);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Get performance statistics
|
|
87
|
-
*/
|
|
88
|
-
getStats() {
|
|
89
|
-
const successfulMetrics = this.metrics.filter(m => m.success);
|
|
90
|
-
const failedMetrics = this.metrics.filter(m => !m.success);
|
|
91
|
-
if (successfulMetrics.length === 0) {
|
|
92
|
-
return {
|
|
93
|
-
totalCalls: this.metrics.length,
|
|
94
|
-
averageExecutionTime: 0,
|
|
95
|
-
slowestTool: 'none',
|
|
96
|
-
slowestTime: 0,
|
|
97
|
-
fastestTool: 'none',
|
|
98
|
-
fastestTime: 0,
|
|
99
|
-
errorRate: this.metrics.length > 0 ? 1 : 0,
|
|
100
|
-
toolsByFrequency: [],
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
const toolFrequency = new Map();
|
|
104
|
-
this.metrics.forEach(metric => {
|
|
105
|
-
toolFrequency.set(metric.toolName, (toolFrequency.get(metric.toolName) || 0) + 1);
|
|
106
|
-
});
|
|
107
|
-
const toolsByFrequency = Array.from(toolFrequency.entries())
|
|
108
|
-
.map(([toolName, count]) => ({ toolName, count }))
|
|
109
|
-
.sort((a, b) => b.count - a.count);
|
|
110
|
-
const executionTimes = successfulMetrics.map(m => m.executionTimeMs);
|
|
111
|
-
const averageTime = executionTimes.reduce((sum, time) => sum + time, 0) / executionTimes.length;
|
|
112
|
-
const slowest = successfulMetrics.reduce((slowest, current) => current.executionTimeMs > slowest.executionTimeMs ? current : slowest);
|
|
113
|
-
const fastest = successfulMetrics.reduce((fastest, current) => current.executionTimeMs < fastest.executionTimeMs ? current : fastest);
|
|
114
|
-
return {
|
|
115
|
-
totalCalls: this.metrics.length,
|
|
116
|
-
averageExecutionTime: averageTime,
|
|
117
|
-
slowestTool: slowest.toolName,
|
|
118
|
-
slowestTime: slowest.executionTimeMs,
|
|
119
|
-
fastestTool: fastest.toolName,
|
|
120
|
-
fastestTime: fastest.executionTimeMs,
|
|
121
|
-
errorRate: failedMetrics.length / this.metrics.length,
|
|
122
|
-
toolsByFrequency,
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Get metrics for a specific tool
|
|
127
|
-
*/
|
|
128
|
-
getToolMetrics(toolName) {
|
|
129
|
-
return this.metrics.filter(m => m.toolName === toolName);
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* Clear all metrics
|
|
133
|
-
*/
|
|
134
|
-
clear() {
|
|
135
|
-
this.metrics = [];
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Generate a performance report
|
|
139
|
-
*/
|
|
140
|
-
generateReport() {
|
|
141
|
-
const stats = this.getStats();
|
|
142
|
-
const recentMetrics = this.metrics.slice(-10);
|
|
143
|
-
let report = `\n=== Performance Report ===\n`;
|
|
144
|
-
report += `Total Tool Calls: ${stats.totalCalls}\n`;
|
|
145
|
-
report += `Average Execution Time: ${stats.averageExecutionTime.toFixed(2)}ms\n`;
|
|
146
|
-
report += `Slowest Tool: ${stats.slowestTool} (${stats.slowestTime.toFixed(2)}ms)\n`;
|
|
147
|
-
report += `Fastest Tool: ${stats.fastestTool} (${stats.fastestTime.toFixed(2)}ms)\n`;
|
|
148
|
-
report += `Error Rate: ${(stats.errorRate * 100).toFixed(1)}%\n`;
|
|
149
|
-
if (stats.toolsByFrequency.length > 0) {
|
|
150
|
-
report += `\nMost Used Tools:\n`;
|
|
151
|
-
stats.toolsByFrequency.slice(0, 5).forEach(({ toolName, count }) => {
|
|
152
|
-
report += ` ${toolName}: ${count} calls\n`;
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
if (recentMetrics.length > 0) {
|
|
156
|
-
report += `\nRecent Activity:\n`;
|
|
157
|
-
recentMetrics.forEach(metric => {
|
|
158
|
-
const status = metric.success ? '✓' : '✗';
|
|
159
|
-
const time = metric.success ? `${metric.executionTimeMs.toFixed(2)}ms` : 'failed';
|
|
160
|
-
report += ` ${status} ${metric.toolName} - ${time}\n`;
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
return report;
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* Start automatic reporting
|
|
167
|
-
*/
|
|
168
|
-
startAutoReporting() {
|
|
169
|
-
this.reportInterval = setInterval(() => {
|
|
170
|
-
if (this.metrics.length > 0) {
|
|
171
|
-
console.log(this.generateReport());
|
|
172
|
-
}
|
|
173
|
-
}, this.options.autoReportInterval);
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Stop the monitor and clean up
|
|
177
|
-
*/
|
|
178
|
-
destroy() {
|
|
179
|
-
if (this.reportInterval) {
|
|
180
|
-
clearInterval(this.reportInterval);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
// Global performance monitor instance
|
|
185
|
-
export const globalPerformanceMonitor = new PerformanceMonitor({
|
|
186
|
-
enabled: process.env['EROSOLAR_PERFORMANCE_MONITOR'] !== 'false',
|
|
187
|
-
logLevel: process.env['EROSOLAR_PERFORMANCE_LOG_LEVEL'] || 'basic',
|
|
188
|
-
autoReportInterval: process.env['EROSOLAR_PERFORMANCE_REPORT_INTERVAL']
|
|
189
|
-
? parseInt(process.env['EROSOLAR_PERFORMANCE_REPORT_INTERVAL'])
|
|
190
|
-
: 0,
|
|
191
|
-
});
|
|
192
|
-
//# sourceMappingURL=performanceMonitor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"performanceMonitor.js","sourceRoot":"","sources":["../../src/core/performanceMonitor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAkEH,MAAM,OAAO,kBAAkB;IACrB,OAAO,GAAyB,EAAE,CAAC;IACnC,OAAO,CAAsC;IAC7C,cAAc,CAAkB;IAExC,YAAY,UAAqC,EAAE;QACjD,IAAI,CAAC,OAAO,GAAG;YACb,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,IAAI;YAChC,UAAU,EAAE,OAAO,CAAC,UAAU,IAAI,IAAI;YACtC,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,OAAO;YACrC,kBAAkB,EAAE,OAAO,CAAC,kBAAkB,IAAI,CAAC;SACpD,CAAC;QAEF,IAAI,IAAI,CAAC,OAAO,CAAC,kBAAkB,GAAG,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;IAED;;OAEG;IACH,aAAa,CAAC,IAAqB,EAAE,OAAqE;QACxG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;YAC1B,OAAO,GAAG,EAAE,CAAC,CAAC,EAAyB,CAAA,CAAC;QAC1C,CAAC;QAED,MAAM,SAAS,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;QACpC,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC;QAEnD,OAAO,GAAG,EAAE;YACV,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC;YAClC,MAAM,SAAS,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC;YACjD,MAAM,aAAa,GAAG,OAAO,GAAG,SA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