erosolar-cli 1.7.391 → 1.7.392
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/core/toolPreconditions.d.ts.map +1 -1
- package/dist/core/toolPreconditions.js +56 -8
- package/dist/core/toolPreconditions.js.map +1 -1
- package/dist/core/toolRuntime.d.ts +0 -6
- package/dist/core/toolRuntime.d.ts.map +1 -1
- package/dist/core/toolRuntime.js +0 -7
- package/dist/core/toolRuntime.js.map +1 -1
- package/dist/plugins/tools/nodeDefaults.js +2 -2
- package/dist/plugins/tools/nodeDefaults.js.map +1 -1
- package/dist/runtime/agentSession.d.ts +1 -2
- package/dist/runtime/agentSession.d.ts.map +1 -1
- package/dist/runtime/agentSession.js +0 -1
- package/dist/runtime/agentSession.js.map +1 -1
- package/dist/shell/interactiveShell.d.ts +5 -23
- package/dist/shell/interactiveShell.d.ts.map +1 -1
- package/dist/shell/interactiveShell.js +109 -218
- package/dist/shell/interactiveShell.js.map +1 -1
- package/dist/shell/shellApp.d.ts.map +1 -1
- package/dist/shell/shellApp.js +0 -5
- package/dist/shell/shellApp.js.map +1 -1
- package/dist/shell/systemPrompt.d.ts.map +1 -1
- package/dist/shell/systemPrompt.js +0 -1
- package/dist/shell/systemPrompt.js.map +1 -1
- package/dist/shell/terminalInput.d.ts +8 -16
- package/dist/shell/terminalInput.d.ts.map +1 -1
- package/dist/shell/terminalInput.js +78 -132
- package/dist/shell/terminalInput.js.map +1 -1
- package/dist/shell/terminalInputAdapter.d.ts +0 -9
- package/dist/shell/terminalInputAdapter.d.ts.map +1 -1
- package/dist/shell/terminalInputAdapter.js +0 -6
- package/dist/shell/terminalInputAdapter.js.map +1 -1
- package/dist/tools/fileTools.d.ts.map +1 -1
- package/dist/tools/fileTools.js +21 -26
- package/dist/tools/fileTools.js.map +1 -1
- package/dist/tools/grepTools.js +4 -3
- package/dist/tools/grepTools.js.map +1 -1
- package/dist/tools/webTools.d.ts.map +1 -1
- package/dist/tools/webTools.js +10 -30
- package/dist/tools/webTools.js.map +1 -1
- package/dist/ui/display.d.ts +8 -12
- package/dist/ui/display.d.ts.map +1 -1
- package/dist/ui/display.js +62 -122
- package/dist/ui/display.js.map +1 -1
- package/dist/ui/toolDisplay.d.ts.map +1 -1
- package/dist/ui/toolDisplay.js +2 -1
- package/dist/ui/toolDisplay.js.map +1 -1
- package/dist/ui/unified/layout.js +2 -2
- package/dist/ui/unified/layout.js.map +1 -1
- package/package.json +1 -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/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/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/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/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 -22
- package/dist/capabilities/toolRegistry.d.ts.map +0 -1
- package/dist/capabilities/toolRegistry.js +0 -115
- 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/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/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/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/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/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/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/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/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/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/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/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/build/buildPlugin.d.ts +0 -3
- package/dist/plugins/tools/build/buildPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/build/buildPlugin.js +0 -14
- package/dist/plugins/tools/build/buildPlugin.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/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 -475
- 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 -63
- package/dist/runtime/agentHost.d.ts.map +0 -1
- package/dist/runtime/agentHost.js +0 -159
- package/dist/runtime/agentHost.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 -22
- package/dist/runtime/universal.d.ts.map +0 -1
- package/dist/runtime/universal.js +0 -30
- 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/liveStatus.d.ts +0 -29
- package/dist/shell/liveStatus.d.ts.map +0 -1
- package/dist/shell/liveStatus.js +0 -77
- package/dist/shell/liveStatus.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/updateManager.d.ts +0 -3
- package/dist/shell/updateManager.d.ts.map +0 -1
- package/dist/shell/updateManager.js +0 -120
- package/dist/shell/updateManager.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/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 -251
- 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/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/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/notebookEditTools.d.ts +0 -15
- package/dist/tools/notebookEditTools.d.ts.map +0 -1
- package/dist/tools/notebookEditTools.js +0 -197
- package/dist/tools/notebookEditTools.js.map +0 -1
- package/dist/tools/refactoringTools.d.ts +0 -3
- package/dist/tools/refactoringTools.d.ts.map +0 -1
- package/dist/tools/refactoringTools.js +0 -294
- package/dist/tools/refactoringTools.js.map +0 -1
- package/dist/tools/repoChecksTools.d.ts +0 -3
- package/dist/tools/repoChecksTools.d.ts.map +0 -1
- package/dist/tools/repoChecksTools.js +0 -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/ui/UnifiedUIController.d.ts +0 -70
- package/dist/ui/UnifiedUIController.d.ts.map +0 -1
- package/dist/ui/UnifiedUIController.js +0 -190
- package/dist/ui/UnifiedUIController.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/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/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/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 -141
- 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/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/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/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
package/dist/ui/richText.js
DELETED
|
@@ -1,391 +0,0 @@
|
|
|
1
|
-
import { icons, theme } from './theme.js';
|
|
2
|
-
import { getContentWidth, measure, normalizePanelWidth, renderPanel, wrapParagraph, wrapPreformatted, } from './layout.js';
|
|
3
|
-
import { highlightAndWrapCode } from './codeHighlighter.js';
|
|
4
|
-
import { isPlainOutputMode } from './outputMode.js';
|
|
5
|
-
export function formatRichContent(content, width) {
|
|
6
|
-
const blocks = parseBlocks(content);
|
|
7
|
-
const lines = [];
|
|
8
|
-
for (const block of blocks) {
|
|
9
|
-
let blockLines = [];
|
|
10
|
-
switch (block.type) {
|
|
11
|
-
case 'paragraph': {
|
|
12
|
-
const formatted = formatInlineText(block.text);
|
|
13
|
-
blockLines = wrapParagraph(formatted, width);
|
|
14
|
-
break;
|
|
15
|
-
}
|
|
16
|
-
case 'list':
|
|
17
|
-
blockLines = formatList(block.items, width);
|
|
18
|
-
break;
|
|
19
|
-
case 'code':
|
|
20
|
-
blockLines = formatCodeBlock(block.content, width, block.language);
|
|
21
|
-
break;
|
|
22
|
-
case 'diff':
|
|
23
|
-
blockLines = formatDiffBlock(block.content, width);
|
|
24
|
-
break;
|
|
25
|
-
case 'heading':
|
|
26
|
-
blockLines = formatHeadingBlock(block, width);
|
|
27
|
-
break;
|
|
28
|
-
case 'quote':
|
|
29
|
-
blockLines = formatQuoteBlock(block.lines, width);
|
|
30
|
-
break;
|
|
31
|
-
case 'divider':
|
|
32
|
-
blockLines = [formatDivider(width)];
|
|
33
|
-
break;
|
|
34
|
-
default:
|
|
35
|
-
blockLines = [];
|
|
36
|
-
}
|
|
37
|
-
if (!blockLines.length) {
|
|
38
|
-
continue;
|
|
39
|
-
}
|
|
40
|
-
if (lines.length) {
|
|
41
|
-
const lastLine = lines[lines.length - 1];
|
|
42
|
-
if (lastLine?.trim()) {
|
|
43
|
-
lines.push('');
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
lines.push(...blockLines);
|
|
47
|
-
}
|
|
48
|
-
while (lines.length) {
|
|
49
|
-
const lastLine = lines[lines.length - 1];
|
|
50
|
-
if (lastLine?.trim()) {
|
|
51
|
-
break;
|
|
52
|
-
}
|
|
53
|
-
lines.pop();
|
|
54
|
-
}
|
|
55
|
-
return lines;
|
|
56
|
-
}
|
|
57
|
-
export function renderMessagePanel(content, options) {
|
|
58
|
-
const width = normalizePanelWidth(options.width ?? getContentWidth());
|
|
59
|
-
const lines = formatRichContent(content, width);
|
|
60
|
-
return renderPanel(lines, { ...options, width });
|
|
61
|
-
}
|
|
62
|
-
export function renderMessageBody(content, width) {
|
|
63
|
-
const normalizedWidth = normalizePanelWidth(width ?? getContentWidth());
|
|
64
|
-
const lines = formatRichContent(content, normalizedWidth);
|
|
65
|
-
return lines.join('\n');
|
|
66
|
-
}
|
|
67
|
-
export function formatDiffBlock(diff, width) {
|
|
68
|
-
const lines = diff.replace(/\t/g, ' ').split('\n');
|
|
69
|
-
const result = [];
|
|
70
|
-
for (const line of lines) {
|
|
71
|
-
if (!line.trim()) {
|
|
72
|
-
result.push('');
|
|
73
|
-
continue;
|
|
74
|
-
}
|
|
75
|
-
const color = pickDiffColor(line);
|
|
76
|
-
const chunks = wrapPreformatted(line, width);
|
|
77
|
-
chunks.forEach((chunk) => result.push(color(chunk)));
|
|
78
|
-
}
|
|
79
|
-
return result;
|
|
80
|
-
}
|
|
81
|
-
function parseBlocks(content) {
|
|
82
|
-
const blocks = [];
|
|
83
|
-
const lines = content.split('\n');
|
|
84
|
-
let fence = null;
|
|
85
|
-
let paragraph = [];
|
|
86
|
-
let blockquote = null;
|
|
87
|
-
const flushParagraph = () => {
|
|
88
|
-
if (!paragraph.length) {
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
const merged = paragraph.join('\n');
|
|
92
|
-
const trimmedLines = merged
|
|
93
|
-
.split('\n')
|
|
94
|
-
.map((line) => line.trim())
|
|
95
|
-
.filter(Boolean);
|
|
96
|
-
if (!trimmedLines.length) {
|
|
97
|
-
paragraph = [];
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
const isList = trimmedLines.every((line) => /^(\*|-|•|\d+\.)\s+/.test(line));
|
|
101
|
-
if (isList) {
|
|
102
|
-
blocks.push({
|
|
103
|
-
type: 'list',
|
|
104
|
-
items: trimmedLines.map((line) => line.replace(/^(\*|-|•|\d+\.)\s+/, '')),
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
blocks.push({ type: 'paragraph', text: trimmedLines.join(' ') });
|
|
109
|
-
}
|
|
110
|
-
paragraph = [];
|
|
111
|
-
};
|
|
112
|
-
const flushBlockquote = () => {
|
|
113
|
-
if (!blockquote?.length) {
|
|
114
|
-
blockquote = null;
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
blocks.push({ type: 'quote', lines: blockquote });
|
|
118
|
-
blockquote = null;
|
|
119
|
-
};
|
|
120
|
-
for (const line of lines) {
|
|
121
|
-
if (line.trimStart().startsWith('```')) {
|
|
122
|
-
const raw = line.trim();
|
|
123
|
-
if (fence) {
|
|
124
|
-
blocks.push(fence.language.includes('diff')
|
|
125
|
-
? { type: 'diff', content: fence.buffer.join('\n') }
|
|
126
|
-
: { type: 'code', content: fence.buffer.join('\n'), language: fence.language });
|
|
127
|
-
fence = null;
|
|
128
|
-
continue;
|
|
129
|
-
}
|
|
130
|
-
flushParagraph();
|
|
131
|
-
flushBlockquote();
|
|
132
|
-
const language = raw.slice(3).trim().toLowerCase();
|
|
133
|
-
fence = { language, buffer: [] };
|
|
134
|
-
continue;
|
|
135
|
-
}
|
|
136
|
-
if (fence) {
|
|
137
|
-
fence.buffer.push(line);
|
|
138
|
-
continue;
|
|
139
|
-
}
|
|
140
|
-
const trimmed = line.trim();
|
|
141
|
-
if (!trimmed) {
|
|
142
|
-
flushParagraph();
|
|
143
|
-
flushBlockquote();
|
|
144
|
-
continue;
|
|
145
|
-
}
|
|
146
|
-
const quoteMatch = line.match(/^\s*>\s?(.*)$/);
|
|
147
|
-
if (quoteMatch) {
|
|
148
|
-
flushParagraph();
|
|
149
|
-
blockquote = blockquote ?? [];
|
|
150
|
-
blockquote.push(quoteMatch[1] ?? '');
|
|
151
|
-
continue;
|
|
152
|
-
}
|
|
153
|
-
flushBlockquote();
|
|
154
|
-
const headingMatch = trimmed.match(/^(#{1,6})\s+(.*)$/);
|
|
155
|
-
if (headingMatch) {
|
|
156
|
-
flushParagraph();
|
|
157
|
-
const hashes = headingMatch[1] ?? '';
|
|
158
|
-
const text = headingMatch[2] ?? '';
|
|
159
|
-
blocks.push({ type: 'heading', level: hashes.length, text: text.trim() });
|
|
160
|
-
continue;
|
|
161
|
-
}
|
|
162
|
-
if (/^(-{3,}|_{3,}|\*{3,})$/.test(trimmed)) {
|
|
163
|
-
flushParagraph();
|
|
164
|
-
blocks.push({ type: 'divider' });
|
|
165
|
-
continue;
|
|
166
|
-
}
|
|
167
|
-
paragraph.push(line);
|
|
168
|
-
}
|
|
169
|
-
flushParagraph();
|
|
170
|
-
flushBlockquote();
|
|
171
|
-
return blocks;
|
|
172
|
-
}
|
|
173
|
-
function formatList(items, width) {
|
|
174
|
-
const lines = [];
|
|
175
|
-
const bulletWidth = 4; // " • " or " ✓ "
|
|
176
|
-
const contentWidth = Math.max(10, width - bulletWidth);
|
|
177
|
-
for (const item of items) {
|
|
178
|
-
const formatted = formatInlineText(item);
|
|
179
|
-
// Detect status indicators in list items
|
|
180
|
-
let bulletChar = icons.bullet;
|
|
181
|
-
let bulletColor = theme.secondary;
|
|
182
|
-
let textColor = (s) => s; // identity function
|
|
183
|
-
// Check for status patterns like "✅", "🔄", "✓", etc.
|
|
184
|
-
if (/^[✅✓]/.test(item) || item.toLowerCase().startsWith('done') || item.toLowerCase().startsWith('completed')) {
|
|
185
|
-
bulletChar = '✓';
|
|
186
|
-
bulletColor = theme.success;
|
|
187
|
-
}
|
|
188
|
-
else if (/^[🔄⏳]/.test(item) || item.toLowerCase().startsWith('in progress') || item.toLowerCase().startsWith('pending')) {
|
|
189
|
-
bulletChar = '◐';
|
|
190
|
-
bulletColor = theme.warning;
|
|
191
|
-
}
|
|
192
|
-
else if (/^[❌✗]/.test(item) || item.toLowerCase().startsWith('failed') || item.toLowerCase().startsWith('error')) {
|
|
193
|
-
bulletChar = '✗';
|
|
194
|
-
bulletColor = theme.error;
|
|
195
|
-
}
|
|
196
|
-
else if (/^[ℹ️💡]/.test(item) || item.toLowerCase().startsWith('note:') || item.toLowerCase().startsWith('tip:')) {
|
|
197
|
-
bulletChar = '◇';
|
|
198
|
-
bulletColor = theme.info;
|
|
199
|
-
textColor = theme.dim;
|
|
200
|
-
}
|
|
201
|
-
const bullet = bulletColor(` ${bulletChar} `);
|
|
202
|
-
const wrapped = wrapParagraph(formatted, contentWidth);
|
|
203
|
-
wrapped.forEach((segment, index) => {
|
|
204
|
-
if (index === 0) {
|
|
205
|
-
lines.push(`${bullet}${textColor(segment)}`);
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
lines.push(`${' '.repeat(bulletWidth)}${textColor(segment)}`);
|
|
209
|
-
}
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
return lines;
|
|
213
|
-
}
|
|
214
|
-
function formatCodeBlock(code, width, language) {
|
|
215
|
-
const gutterRaw = isPlainOutputMode() ? '' : '│ ';
|
|
216
|
-
const gutter = theme.ui.muted(gutterRaw);
|
|
217
|
-
const available = Math.max(16, width - measure(gutterRaw));
|
|
218
|
-
const { lines, languageLabel } = highlightAndWrapCode(code, language, available);
|
|
219
|
-
const headerLabel = (languageLabel ?? 'CODE').toUpperCase();
|
|
220
|
-
const result = [];
|
|
221
|
-
if (isPlainOutputMode()) {
|
|
222
|
-
result.push(theme.ui.muted(`[${headerLabel}]`));
|
|
223
|
-
for (const line of lines) {
|
|
224
|
-
result.push(line);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
result.push(`${gutter}${theme.ui.muted(buildCodeDivider(headerLabel, available))}`);
|
|
229
|
-
for (const line of lines) {
|
|
230
|
-
result.push(`${gutter}${line}`);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
return result;
|
|
234
|
-
}
|
|
235
|
-
function formatHeadingBlock(block, width) {
|
|
236
|
-
const wrapped = wrapParagraph(formatInlineText(block.text), width);
|
|
237
|
-
if (!wrapped.length) {
|
|
238
|
-
return [];
|
|
239
|
-
}
|
|
240
|
-
const accent = pickHeadingAccent(block.level);
|
|
241
|
-
const content = [];
|
|
242
|
-
if (isPlainOutputMode()) {
|
|
243
|
-
content.push(...wrapped.map((line) => accent(theme.bold(line))));
|
|
244
|
-
return content;
|
|
245
|
-
}
|
|
246
|
-
// Enhanced heading styling based on level
|
|
247
|
-
switch (block.level) {
|
|
248
|
-
case 1: {
|
|
249
|
-
// H1: Bold with decorative box
|
|
250
|
-
const headingIcon = '◆';
|
|
251
|
-
const headerText = wrapped.join(' ');
|
|
252
|
-
const decorWidth = Math.max(0, width - headerText.length - 4);
|
|
253
|
-
const leftDecor = '═'.repeat(Math.floor(decorWidth / 2));
|
|
254
|
-
const rightDecor = '═'.repeat(decorWidth - leftDecor.length);
|
|
255
|
-
content.push(accent(`${leftDecor} ${headingIcon} ${theme.bold(headerText)} ${headingIcon} ${rightDecor}`));
|
|
256
|
-
break;
|
|
257
|
-
}
|
|
258
|
-
case 2: {
|
|
259
|
-
// H2: Bold with underline
|
|
260
|
-
const headerText = wrapped.join(' ');
|
|
261
|
-
content.push(accent(`▸ ${theme.bold(headerText)}`));
|
|
262
|
-
content.push(accent('─'.repeat(Math.min(width, headerText.length + 2))));
|
|
263
|
-
break;
|
|
264
|
-
}
|
|
265
|
-
case 3: {
|
|
266
|
-
// H3: Bold with bullet prefix
|
|
267
|
-
content.push(...wrapped.map((line) => accent(` ${theme.bold(line)}`)));
|
|
268
|
-
break;
|
|
269
|
-
}
|
|
270
|
-
default: {
|
|
271
|
-
// H4+: Regular bold
|
|
272
|
-
content.push(...wrapped.map((line) => accent(theme.bold(line))));
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
return content;
|
|
276
|
-
}
|
|
277
|
-
function formatQuoteBlock(lines, width) {
|
|
278
|
-
if (!lines.length) {
|
|
279
|
-
return [];
|
|
280
|
-
}
|
|
281
|
-
const gutterText = isPlainOutputMode() ? '> ' : '│ ';
|
|
282
|
-
const gutter = theme.ui.muted(gutterText);
|
|
283
|
-
const available = Math.max(12, width - measure(gutterText));
|
|
284
|
-
const result = [];
|
|
285
|
-
for (const line of lines) {
|
|
286
|
-
if (!line.trim()) {
|
|
287
|
-
result.push(gutter);
|
|
288
|
-
continue;
|
|
289
|
-
}
|
|
290
|
-
const wrapped = wrapParagraph(formatInlineText(line), available);
|
|
291
|
-
wrapped.forEach((segment) => {
|
|
292
|
-
result.push(`${gutter}${segment}`);
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
return result;
|
|
296
|
-
}
|
|
297
|
-
function formatDivider(width) {
|
|
298
|
-
if (isPlainOutputMode()) {
|
|
299
|
-
return theme.ui.muted('---');
|
|
300
|
-
}
|
|
301
|
-
return theme.ui.muted('─'.repeat(width));
|
|
302
|
-
}
|
|
303
|
-
function buildCodeDivider(label, width) {
|
|
304
|
-
const normalized = label.trim() || 'CODE';
|
|
305
|
-
const targetWidth = Math.max(8, width);
|
|
306
|
-
const title = ` ${normalized} `;
|
|
307
|
-
if (title.length >= targetWidth) {
|
|
308
|
-
return title.slice(0, targetWidth);
|
|
309
|
-
}
|
|
310
|
-
const remaining = targetWidth - title.length;
|
|
311
|
-
const left = '─'.repeat(Math.floor(remaining / 2));
|
|
312
|
-
const right = '─'.repeat(remaining - left.length);
|
|
313
|
-
return `${left}${title}${right}`;
|
|
314
|
-
}
|
|
315
|
-
function pickDiffColor(line) {
|
|
316
|
-
if (line.startsWith('+++') || line.startsWith('---')) {
|
|
317
|
-
return theme.diff.header;
|
|
318
|
-
}
|
|
319
|
-
if (line.startsWith('@@')) {
|
|
320
|
-
return theme.diff.hunk;
|
|
321
|
-
}
|
|
322
|
-
if (line.startsWith('+')) {
|
|
323
|
-
return theme.diff.added;
|
|
324
|
-
}
|
|
325
|
-
if (line.startsWith('-')) {
|
|
326
|
-
return theme.diff.removed;
|
|
327
|
-
}
|
|
328
|
-
if (line.startsWith('diff')) {
|
|
329
|
-
return theme.diff.meta;
|
|
330
|
-
}
|
|
331
|
-
return theme.ui.text;
|
|
332
|
-
}
|
|
333
|
-
function formatInlineText(text) {
|
|
334
|
-
if (!text) {
|
|
335
|
-
return '';
|
|
336
|
-
}
|
|
337
|
-
const codeSpans = [];
|
|
338
|
-
const linkSpans = [];
|
|
339
|
-
const LINK_PLACEHOLDER = '\u0001';
|
|
340
|
-
let result = text.replace(/`([^`]+)`/g, (_, inner) => {
|
|
341
|
-
codeSpans.push(inner);
|
|
342
|
-
return `\u0000${codeSpans.length - 1}\u0000`;
|
|
343
|
-
});
|
|
344
|
-
const formatBold = (_match, value) => theme.bold(value);
|
|
345
|
-
result = result.replace(/\*\*(.+?)\*\*/g, formatBold);
|
|
346
|
-
result = result.replace(/__(.+?)__/g, formatBold);
|
|
347
|
-
const formatItalics = (_match, value) => theme.italic(value);
|
|
348
|
-
result = result.replace(/(?<!\*)\*(?!\*)([^*]+?)(?<!\*)\*(?!\*)/g, formatItalics);
|
|
349
|
-
result = result.replace(/(?<!_)_(?!_)([^_]+?)(?<!_)_(?!_)/g, formatItalics);
|
|
350
|
-
result = result.replace(/~~(.+?)~~/g, (_match, value) => theme.dim(value));
|
|
351
|
-
result = result.replace(/\[([^\]]+)\]\(([^)]+)\)/g, (_match, label, url) => {
|
|
352
|
-
linkSpans.push(formatMarkdownLink(label, url));
|
|
353
|
-
return `${LINK_PLACEHOLDER}${linkSpans.length - 1}${LINK_PLACEHOLDER}`;
|
|
354
|
-
});
|
|
355
|
-
result = result.replace(/(\bhttps?:\/\/[^\s)]+)([)\]}>,.;:!?"]*)/g, (_match, url, trailing = '') => {
|
|
356
|
-
linkSpans.push(`${formatBareLink(url)}${trailing}`);
|
|
357
|
-
return `${LINK_PLACEHOLDER}${linkSpans.length - 1}${LINK_PLACEHOLDER}`;
|
|
358
|
-
});
|
|
359
|
-
result = result.replace(new RegExp(`${LINK_PLACEHOLDER}(\\d+)${LINK_PLACEHOLDER}`, 'g'), (_match, index) => linkSpans[Number.parseInt(index, 10)] ?? '');
|
|
360
|
-
result = result.replace(/\u0000(\d+)\u0000/g, (_match, index) => formatInlineCode(codeSpans[Number.parseInt(index, 10)] ?? ''));
|
|
361
|
-
return result;
|
|
362
|
-
}
|
|
363
|
-
function formatInlineCode(value) {
|
|
364
|
-
const normalized = value.length ? value.trim() : value;
|
|
365
|
-
const display = normalized.length ? normalized : value;
|
|
366
|
-
const snippet = display.replace(/\s+/g, ' ');
|
|
367
|
-
return theme.ui.background(theme.ui.text(` ${snippet} `));
|
|
368
|
-
}
|
|
369
|
-
function formatMarkdownLink(label, url) {
|
|
370
|
-
const cleanUrl = url.trim();
|
|
371
|
-
const cleanLabel = label.trim() || cleanUrl;
|
|
372
|
-
const labelColor = theme.link?.label ?? theme.secondary;
|
|
373
|
-
const urlColor = theme.link?.url ?? theme.info;
|
|
374
|
-
const styledLabel = labelColor(cleanLabel);
|
|
375
|
-
const styledUrl = urlColor(`(${cleanUrl})`);
|
|
376
|
-
return `${styledLabel} ${styledUrl}`;
|
|
377
|
-
}
|
|
378
|
-
function formatBareLink(url) {
|
|
379
|
-
const colorize = theme.link?.url ?? theme.info;
|
|
380
|
-
return colorize(url.trim());
|
|
381
|
-
}
|
|
382
|
-
function pickHeadingAccent(level) {
|
|
383
|
-
if (level <= 1) {
|
|
384
|
-
return theme.primary;
|
|
385
|
-
}
|
|
386
|
-
if (level === 2) {
|
|
387
|
-
return theme.secondary;
|
|
388
|
-
}
|
|
389
|
-
return theme.assistant;
|
|
390
|
-
}
|
|
391
|
-
//# sourceMappingURL=richText.js.map
|
package/dist/ui/richText.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"richText.js","sourceRoot":"","sources":["../../src/ui/richText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EACL,eAAe,EACf,OAAO,EACP,mBAAmB,EACnB,WAAW,EAEX,aAAa,EACb,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAWpD,MAAM,UAAU,iBAAiB,CAAC,OAAe,EAAE,KAAa;IAC9D,MAAM,MAAM,GAAG,WAAW,CAAC,OAAO,C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|
|
2
|
-
* UITelemetry - Collects and tracks UI performance metrics and user interactions
|
|
3
|
-
* Provides insights into UI responsiveness, user behavior, and system performance
|
|
4
|
-
*/
|
|
5
|
-
import { EventEmitter } from 'events';
|
|
6
|
-
export interface UIEvent {
|
|
7
|
-
type: string;
|
|
8
|
-
timestamp: number;
|
|
9
|
-
duration?: number;
|
|
10
|
-
metadata?: any;
|
|
11
|
-
}
|
|
12
|
-
export interface PerformanceMetric {
|
|
13
|
-
name: string;
|
|
14
|
-
value: number;
|
|
15
|
-
unit: string;
|
|
16
|
-
timestamp: number;
|
|
17
|
-
}
|
|
18
|
-
export interface UserInteraction {
|
|
19
|
-
type: 'command' | 'keypress' | 'menu-selection' | 'cancel' | 'confirm';
|
|
20
|
-
target?: string;
|
|
21
|
-
timestamp: number;
|
|
22
|
-
responseTime?: number;
|
|
23
|
-
completed: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface RenderMetric {
|
|
26
|
-
component: string;
|
|
27
|
-
renderTime: number;
|
|
28
|
-
frameCount: number;
|
|
29
|
-
dropped: number;
|
|
30
|
-
timestamp: number;
|
|
31
|
-
}
|
|
32
|
-
export interface TelemetrySnapshot {
|
|
33
|
-
timestamp: number;
|
|
34
|
-
period: {
|
|
35
|
-
start: number;
|
|
36
|
-
end: number;
|
|
37
|
-
};
|
|
38
|
-
events: {
|
|
39
|
-
total: number;
|
|
40
|
-
byType: Record<string, number>;
|
|
41
|
-
};
|
|
42
|
-
performance: {
|
|
43
|
-
avgRenderTime: number;
|
|
44
|
-
avgResponseTime: number;
|
|
45
|
-
framerate: number;
|
|
46
|
-
memoryUsage: NodeJS.MemoryUsage;
|
|
47
|
-
cpuUsage: NodeJS.CpuUsage;
|
|
48
|
-
};
|
|
49
|
-
interactions: {
|
|
50
|
-
total: number;
|
|
51
|
-
completed: number;
|
|
52
|
-
cancelled: number;
|
|
53
|
-
avgResponseTime: number;
|
|
54
|
-
};
|
|
55
|
-
errors: {
|
|
56
|
-
total: number;
|
|
57
|
-
byType: Record<string, number>;
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
export interface TelemetryConfig {
|
|
61
|
-
enabled: boolean;
|
|
62
|
-
bufferSize: number;
|
|
63
|
-
flushInterval: number;
|
|
64
|
-
captureStackTraces: boolean;
|
|
65
|
-
anonymize: boolean;
|
|
66
|
-
performanceThresholds: {
|
|
67
|
-
renderTime: number;
|
|
68
|
-
responseTime: number;
|
|
69
|
-
framerate: number;
|
|
70
|
-
memory: number;
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
export declare class UITelemetry extends EventEmitter {
|
|
74
|
-
private config;
|
|
75
|
-
private events;
|
|
76
|
-
private metrics;
|
|
77
|
-
private interactions;
|
|
78
|
-
private renderMetrics;
|
|
79
|
-
private errors;
|
|
80
|
-
private sessionStart;
|
|
81
|
-
private marks;
|
|
82
|
-
private measures;
|
|
83
|
-
private flushTimer;
|
|
84
|
-
private frameCounter;
|
|
85
|
-
constructor(config?: Partial<TelemetryConfig>);
|
|
86
|
-
/**
|
|
87
|
-
* Start telemetry collection
|
|
88
|
-
*/
|
|
89
|
-
private startCollection;
|
|
90
|
-
/**
|
|
91
|
-
* Record a UI event
|
|
92
|
-
*/
|
|
93
|
-
recordEvent(type: string, eventMetadata?: any): void;
|
|
94
|
-
/**
|
|
95
|
-
* Start a performance mark
|
|
96
|
-
*/
|
|
97
|
-
markStart(name: string): void;
|
|
98
|
-
/**
|
|
99
|
-
* End a performance mark and record the duration
|
|
100
|
-
*/
|
|
101
|
-
markEnd(name: string, _metadata?: any): number;
|
|
102
|
-
/**
|
|
103
|
-
* Record a user interaction
|
|
104
|
-
*/
|
|
105
|
-
recordInteraction(type: UserInteraction['type'], target?: string): {
|
|
106
|
-
complete: () => void;
|
|
107
|
-
cancel: () => void;
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* Record render metrics
|
|
111
|
-
*/
|
|
112
|
-
recordRender(component: string, renderTime: number): void;
|
|
113
|
-
/**
|
|
114
|
-
* Record an error
|
|
115
|
-
*/
|
|
116
|
-
recordError(error: any, context?: any): void;
|
|
117
|
-
/**
|
|
118
|
-
* Record memory usage
|
|
119
|
-
*/
|
|
120
|
-
private recordMemoryUsage;
|
|
121
|
-
/**
|
|
122
|
-
* Check performance threshold
|
|
123
|
-
*/
|
|
124
|
-
private checkPerformanceThreshold;
|
|
125
|
-
/**
|
|
126
|
-
* Check response time threshold
|
|
127
|
-
*/
|
|
128
|
-
private checkResponseTimeThreshold;
|
|
129
|
-
/**
|
|
130
|
-
* Trim buffer to prevent memory issues
|
|
131
|
-
*/
|
|
132
|
-
private trimBuffer;
|
|
133
|
-
/**
|
|
134
|
-
* Anonymize sensitive data
|
|
135
|
-
*/
|
|
136
|
-
private anonymizeData;
|
|
137
|
-
/**
|
|
138
|
-
* Get current telemetry snapshot
|
|
139
|
-
*/
|
|
140
|
-
getSnapshot(): TelemetrySnapshot;
|
|
141
|
-
/**
|
|
142
|
-
* Get performance summary
|
|
143
|
-
*/
|
|
144
|
-
getPerformanceSummary(): {
|
|
145
|
-
measures: Record<string, {
|
|
146
|
-
avg: number;
|
|
147
|
-
min: number;
|
|
148
|
-
max: number;
|
|
149
|
-
count: number;
|
|
150
|
-
}>;
|
|
151
|
-
slowestOperations: Array<{
|
|
152
|
-
name: string;
|
|
153
|
-
duration: number;
|
|
154
|
-
}>;
|
|
155
|
-
};
|
|
156
|
-
/**
|
|
157
|
-
* Flush telemetry data
|
|
158
|
-
*/
|
|
159
|
-
flush(): void;
|
|
160
|
-
/**
|
|
161
|
-
* Enable or disable telemetry
|
|
162
|
-
*/
|
|
163
|
-
setEnabled(enabled: boolean): void;
|
|
164
|
-
/**
|
|
165
|
-
* Update configuration
|
|
166
|
-
*/
|
|
167
|
-
updateConfig(config: Partial<TelemetryConfig>): void;
|
|
168
|
-
/**
|
|
169
|
-
* Reset all telemetry data
|
|
170
|
-
*/
|
|
171
|
-
reset(): void;
|
|
172
|
-
/**
|
|
173
|
-
* Stop telemetry collection
|
|
174
|
-
*/
|
|
175
|
-
stop(): void;
|
|
176
|
-
/**
|
|
177
|
-
* Dispose of telemetry
|
|
178
|
-
*/
|
|
179
|
-
dispose(): void;
|
|
180
|
-
}
|
|
181
|
-
//# sourceMappingURL=UITelemetry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UITelemetry.d.ts","sourceRoot":"","sources":["../../../src/ui/telemetry/UITelemetry.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAGtC,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,SAAS,GAAG,UAAU,GAAG,gBAAgB,GAAG,QAAQ,GAAG,SAAS,CAAC;IACvE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;KACb,C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