deepseek-coder-cli 1.0.0
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/LICENSE +21 -0
- package/README.md +422 -0
- package/agents/agi-code.rules.json +87 -0
- package/agents/general.rules.json +171 -0
- package/dist/bin/cliMode.d.ts +8 -0
- package/dist/bin/cliMode.d.ts.map +1 -0
- package/dist/bin/cliMode.js +20 -0
- package/dist/bin/cliMode.js.map +1 -0
- package/dist/bin/deepseek.d.ts +16 -0
- package/dist/bin/deepseek.d.ts.map +1 -0
- package/dist/bin/deepseek.js +737 -0
- package/dist/bin/deepseek.js.map +1 -0
- package/dist/bin/erosolar.d.ts +7 -0
- package/dist/bin/erosolar.d.ts.map +1 -0
- package/dist/bin/erosolar.js +7 -0
- package/dist/bin/erosolar.js.map +1 -0
- package/dist/bin/selfTest.d.ts +14 -0
- package/dist/bin/selfTest.d.ts.map +1 -0
- package/dist/bin/selfTest.js +304 -0
- package/dist/bin/selfTest.js.map +1 -0
- package/dist/capabilities/appleSecurityCapability.d.ts +57 -0
- package/dist/capabilities/appleSecurityCapability.d.ts.map +1 -0
- package/dist/capabilities/appleSecurityCapability.js +197 -0
- package/dist/capabilities/appleSecurityCapability.js.map +1 -0
- package/dist/capabilities/authorizedSecurityCapability.d.ts +17 -0
- package/dist/capabilities/authorizedSecurityCapability.d.ts.map +1 -0
- package/dist/capabilities/authorizedSecurityCapability.js +333 -0
- package/dist/capabilities/authorizedSecurityCapability.js.map +1 -0
- package/dist/capabilities/autoEnhancementCapability.d.ts +98 -0
- package/dist/capabilities/autoEnhancementCapability.d.ts.map +1 -0
- package/dist/capabilities/autoEnhancementCapability.js +455 -0
- package/dist/capabilities/autoEnhancementCapability.js.map +1 -0
- package/dist/capabilities/baseCapability.d.ts +72 -0
- package/dist/capabilities/baseCapability.d.ts.map +1 -0
- package/dist/capabilities/baseCapability.js +183 -0
- package/dist/capabilities/baseCapability.js.map +1 -0
- package/dist/capabilities/bashCapability.d.ts +13 -0
- package/dist/capabilities/bashCapability.d.ts.map +1 -0
- package/dist/capabilities/bashCapability.js +24 -0
- package/dist/capabilities/bashCapability.js.map +1 -0
- package/dist/capabilities/biocognitiveWarfare.d.ts +136 -0
- package/dist/capabilities/biocognitiveWarfare.d.ts.map +1 -0
- package/dist/capabilities/biocognitiveWarfare.js +603 -0
- package/dist/capabilities/biocognitiveWarfare.js.map +1 -0
- package/dist/capabilities/chineseCnoIntegration.d.ts +60 -0
- package/dist/capabilities/chineseCnoIntegration.d.ts.map +1 -0
- package/dist/capabilities/chineseCnoIntegration.js +253 -0
- package/dist/capabilities/chineseCnoIntegration.js.map +1 -0
- package/dist/capabilities/cnoCapability.d.ts +110 -0
- package/dist/capabilities/cnoCapability.d.ts.map +1 -0
- package/dist/capabilities/cnoCapability.js +785 -0
- package/dist/capabilities/cnoCapability.js.map +1 -0
- package/dist/capabilities/editCapability.d.ts +17 -0
- package/dist/capabilities/editCapability.d.ts.map +1 -0
- package/dist/capabilities/editCapability.js +27 -0
- package/dist/capabilities/editCapability.js.map +1 -0
- package/dist/capabilities/eliteCryptoMilitaryCapability.d.ts +99 -0
- package/dist/capabilities/eliteCryptoMilitaryCapability.d.ts.map +1 -0
- package/dist/capabilities/eliteCryptoMilitaryCapability.js +618 -0
- package/dist/capabilities/eliteCryptoMilitaryCapability.js.map +1 -0
- package/dist/capabilities/enhancedGitCapability.d.ts +7 -0
- package/dist/capabilities/enhancedGitCapability.d.ts.map +1 -0
- package/dist/capabilities/enhancedGitCapability.js +220 -0
- package/dist/capabilities/enhancedGitCapability.js.map +1 -0
- package/dist/capabilities/filesystemCapability.d.ts +13 -0
- package/dist/capabilities/filesystemCapability.d.ts.map +1 -0
- package/dist/capabilities/filesystemCapability.js +24 -0
- package/dist/capabilities/filesystemCapability.js.map +1 -0
- package/dist/capabilities/gitHistoryCapability.d.ts +6 -0
- package/dist/capabilities/gitHistoryCapability.d.ts.map +1 -0
- package/dist/capabilities/gitHistoryCapability.js +160 -0
- package/dist/capabilities/gitHistoryCapability.js.map +1 -0
- package/dist/capabilities/index.d.ts +26 -0
- package/dist/capabilities/index.d.ts.map +1 -0
- package/dist/capabilities/index.js +26 -0
- package/dist/capabilities/index.js.map +1 -0
- package/dist/capabilities/integratedUnifiedCapability.d.ts +105 -0
- package/dist/capabilities/integratedUnifiedCapability.d.ts.map +1 -0
- package/dist/capabilities/integratedUnifiedCapability.js +422 -0
- package/dist/capabilities/integratedUnifiedCapability.js.map +1 -0
- package/dist/capabilities/maxOffensiveUkraineCapability.d.ts +46 -0
- package/dist/capabilities/maxOffensiveUkraineCapability.d.ts.map +1 -0
- package/dist/capabilities/maxOffensiveUkraineCapability.js +725 -0
- package/dist/capabilities/maxOffensiveUkraineCapability.js.map +1 -0
- package/dist/capabilities/migrationUtilities.d.ts +128 -0
- package/dist/capabilities/migrationUtilities.d.ts.map +1 -0
- package/dist/capabilities/migrationUtilities.js +658 -0
- package/dist/capabilities/migrationUtilities.js.map +1 -0
- package/dist/capabilities/offensiveDestructionCapability.d.ts +98 -0
- package/dist/capabilities/offensiveDestructionCapability.d.ts.map +1 -0
- package/dist/capabilities/offensiveDestructionCapability.js +848 -0
- package/dist/capabilities/offensiveDestructionCapability.js.map +1 -0
- package/dist/capabilities/quantumSpaceWarfare.d.ts +108 -0
- package/dist/capabilities/quantumSpaceWarfare.d.ts.map +1 -0
- package/dist/capabilities/quantumSpaceWarfare.js +342 -0
- package/dist/capabilities/quantumSpaceWarfare.js.map +1 -0
- package/dist/capabilities/readmeIntegration.d.ts +161 -0
- package/dist/capabilities/readmeIntegration.d.ts.map +1 -0
- package/dist/capabilities/readmeIntegration.js +1034 -0
- package/dist/capabilities/readmeIntegration.js.map +1 -0
- package/dist/capabilities/searchCapability.d.ts +19 -0
- package/dist/capabilities/searchCapability.d.ts.map +1 -0
- package/dist/capabilities/searchCapability.js +29 -0
- package/dist/capabilities/searchCapability.js.map +1 -0
- package/dist/capabilities/selfUpdateSystem.d.ts +122 -0
- package/dist/capabilities/selfUpdateSystem.d.ts.map +1 -0
- package/dist/capabilities/selfUpdateSystem.js +725 -0
- package/dist/capabilities/selfUpdateSystem.js.map +1 -0
- package/dist/capabilities/sharedMilitaryInfrastructure.d.ts +89 -0
- package/dist/capabilities/sharedMilitaryInfrastructure.d.ts.map +1 -0
- package/dist/capabilities/sharedMilitaryInfrastructure.js +233 -0
- package/dist/capabilities/sharedMilitaryInfrastructure.js.map +1 -0
- package/dist/capabilities/simpleSecurityCapability.d.ts +36 -0
- package/dist/capabilities/simpleSecurityCapability.d.ts.map +1 -0
- package/dist/capabilities/simpleSecurityCapability.js +271 -0
- package/dist/capabilities/simpleSecurityCapability.js.map +1 -0
- package/dist/capabilities/toolManifest.d.ts +3 -0
- package/dist/capabilities/toolManifest.d.ts.map +1 -0
- package/dist/capabilities/toolManifest.js +163 -0
- package/dist/capabilities/toolManifest.js.map +1 -0
- package/dist/capabilities/toolRegistry.d.ts +25 -0
- package/dist/capabilities/toolRegistry.d.ts.map +1 -0
- package/dist/capabilities/toolRegistry.js +150 -0
- package/dist/capabilities/toolRegistry.js.map +1 -0
- package/dist/capabilities/ultimateChineseCno.d.ts +115 -0
- package/dist/capabilities/ultimateChineseCno.d.ts.map +1 -0
- package/dist/capabilities/ultimateChineseCno.js +516 -0
- package/dist/capabilities/ultimateChineseCno.js.map +1 -0
- package/dist/capabilities/ultimateIntegrationDemo.d.ts +54 -0
- package/dist/capabilities/ultimateIntegrationDemo.d.ts.map +1 -0
- package/dist/capabilities/ultimateIntegrationDemo.js +423 -0
- package/dist/capabilities/ultimateIntegrationDemo.js.map +1 -0
- package/dist/capabilities/unifiedMilitaryCapability.d.ts +63 -0
- package/dist/capabilities/unifiedMilitaryCapability.d.ts.map +1 -0
- package/dist/capabilities/unifiedMilitaryCapability.js +384 -0
- package/dist/capabilities/unifiedMilitaryCapability.js.map +1 -0
- package/dist/capabilities/universalCapabilityFramework.d.ts +352 -0
- package/dist/capabilities/universalCapabilityFramework.d.ts.map +1 -0
- package/dist/capabilities/universalCapabilityFramework.js +1056 -0
- package/dist/capabilities/universalCapabilityFramework.js.map +1 -0
- package/dist/capabilities/universalSecurityCapability.d.ts +46 -0
- package/dist/capabilities/universalSecurityCapability.d.ts.map +1 -0
- package/dist/capabilities/universalSecurityCapability.js +580 -0
- package/dist/capabilities/universalSecurityCapability.js.map +1 -0
- package/dist/capabilities/webCapability.d.ts +23 -0
- package/dist/capabilities/webCapability.d.ts.map +1 -0
- package/dist/capabilities/webCapability.js +33 -0
- package/dist/capabilities/webCapability.js.map +1 -0
- package/dist/capabilities/zeroDayDiscoveryCapability.d.ts +31 -0
- package/dist/capabilities/zeroDayDiscoveryCapability.d.ts.map +1 -0
- package/dist/capabilities/zeroDayDiscoveryCapability.js +183 -0
- package/dist/capabilities/zeroDayDiscoveryCapability.js.map +1 -0
- package/dist/config.d.ts +25 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +155 -0
- package/dist/config.js.map +1 -0
- package/dist/contracts/agent-profiles.schema.json +43 -0
- package/dist/contracts/agent-schemas.json +466 -0
- package/dist/contracts/models.schema.json +9 -0
- package/dist/contracts/module-schema.json +430 -0
- package/dist/contracts/schemas/agent-profile.schema.json +157 -0
- package/dist/contracts/schemas/agent-rules.schema.json +238 -0
- package/dist/contracts/schemas/agent-schemas.schema.json +528 -0
- package/dist/contracts/schemas/agent.schema.json +90 -0
- package/dist/contracts/schemas/tool-selection.schema.json +174 -0
- package/dist/contracts/tools.schema.json +82 -0
- package/dist/contracts/unified-schema.json +757 -0
- package/dist/contracts/v1/agent.d.ts +179 -0
- package/dist/contracts/v1/agent.d.ts.map +1 -0
- package/dist/contracts/v1/agent.js +8 -0
- package/dist/contracts/v1/agent.js.map +1 -0
- package/dist/contracts/v1/agentProfileManifest.d.ts +60 -0
- package/dist/contracts/v1/agentProfileManifest.d.ts.map +1 -0
- package/dist/contracts/v1/agentProfileManifest.js +9 -0
- package/dist/contracts/v1/agentProfileManifest.js.map +1 -0
- package/dist/contracts/v1/agentRules.d.ts +60 -0
- package/dist/contracts/v1/agentRules.d.ts.map +1 -0
- package/dist/contracts/v1/agentRules.js +10 -0
- package/dist/contracts/v1/agentRules.js.map +1 -0
- package/dist/contracts/v1/provider.d.ts +149 -0
- package/dist/contracts/v1/provider.d.ts.map +1 -0
- package/dist/contracts/v1/provider.js +7 -0
- package/dist/contracts/v1/provider.js.map +1 -0
- package/dist/contracts/v1/tool.d.ts +136 -0
- package/dist/contracts/v1/tool.d.ts.map +1 -0
- package/dist/contracts/v1/tool.js +7 -0
- package/dist/contracts/v1/tool.js.map +1 -0
- package/dist/contracts/v1/toolAccess.d.ts +43 -0
- package/dist/contracts/v1/toolAccess.d.ts.map +1 -0
- package/dist/contracts/v1/toolAccess.js +9 -0
- package/dist/contracts/v1/toolAccess.js.map +1 -0
- package/dist/core/agent.d.ts +287 -0
- package/dist/core/agent.d.ts.map +1 -0
- package/dist/core/agent.js +1563 -0
- package/dist/core/agent.js.map +1 -0
- package/dist/core/agentProfileManifest.d.ts +3 -0
- package/dist/core/agentProfileManifest.d.ts.map +1 -0
- package/dist/core/agentProfileManifest.js +188 -0
- package/dist/core/agentProfileManifest.js.map +1 -0
- package/dist/core/agentProfiles.d.ts +22 -0
- package/dist/core/agentProfiles.d.ts.map +1 -0
- package/dist/core/agentProfiles.js +35 -0
- package/dist/core/agentProfiles.js.map +1 -0
- package/dist/core/agentRulebook.d.ts +11 -0
- package/dist/core/agentRulebook.d.ts.map +1 -0
- package/dist/core/agentRulebook.js +136 -0
- package/dist/core/agentRulebook.js.map +1 -0
- package/dist/core/agentSchemaLoader.d.ts +131 -0
- package/dist/core/agentSchemaLoader.d.ts.map +1 -0
- package/dist/core/agentSchemaLoader.js +235 -0
- package/dist/core/agentSchemaLoader.js.map +1 -0
- package/dist/core/agiCore.d.ts +290 -0
- package/dist/core/agiCore.d.ts.map +1 -0
- package/dist/core/agiCore.js +1348 -0
- package/dist/core/agiCore.js.map +1 -0
- package/dist/core/aiErrorFixer.d.ts +57 -0
- package/dist/core/aiErrorFixer.d.ts.map +1 -0
- package/dist/core/aiErrorFixer.js +214 -0
- package/dist/core/aiErrorFixer.js.map +1 -0
- package/dist/core/antiTermination.d.ts +226 -0
- package/dist/core/antiTermination.d.ts.map +1 -0
- package/dist/core/antiTermination.js +713 -0
- package/dist/core/antiTermination.js.map +1 -0
- package/dist/core/appleSecurityAudit.d.ts +98 -0
- package/dist/core/appleSecurityAudit.d.ts.map +1 -0
- package/dist/core/appleSecurityAudit.js +505 -0
- package/dist/core/appleSecurityAudit.js.map +1 -0
- package/dist/core/appleSecurityIntegration.d.ts +130 -0
- package/dist/core/appleSecurityIntegration.d.ts.map +1 -0
- package/dist/core/appleSecurityIntegration.js +697 -0
- package/dist/core/appleSecurityIntegration.js.map +1 -0
- package/dist/core/bashCommandGuidance.d.ts +16 -0
- package/dist/core/bashCommandGuidance.d.ts.map +1 -0
- package/dist/core/bashCommandGuidance.js +40 -0
- package/dist/core/bashCommandGuidance.js.map +1 -0
- package/dist/core/constants.d.ts +31 -0
- package/dist/core/constants.d.ts.map +1 -0
- package/dist/core/constants.js +62 -0
- package/dist/core/constants.js.map +1 -0
- package/dist/core/contextManager.d.ts +271 -0
- package/dist/core/contextManager.d.ts.map +1 -0
- package/dist/core/contextManager.js +1073 -0
- package/dist/core/contextManager.js.map +1 -0
- package/dist/core/contextWindow.d.ts +42 -0
- package/dist/core/contextWindow.d.ts.map +1 -0
- package/dist/core/contextWindow.js +123 -0
- package/dist/core/contextWindow.js.map +1 -0
- package/dist/core/customCommands.d.ts +19 -0
- package/dist/core/customCommands.d.ts.map +1 -0
- package/dist/core/customCommands.js +85 -0
- package/dist/core/customCommands.js.map +1 -0
- package/dist/core/deepBugAnalyzer.d.ts +25 -0
- package/dist/core/deepBugAnalyzer.d.ts.map +1 -0
- package/dist/core/deepBugAnalyzer.js +44 -0
- package/dist/core/deepBugAnalyzer.js.map +1 -0
- package/dist/core/dualTournament.d.ts +110 -0
- package/dist/core/dualTournament.d.ts.map +1 -0
- package/dist/core/dualTournament.js +270 -0
- package/dist/core/dualTournament.js.map +1 -0
- package/dist/core/dynamicGuardrails.d.ts +207 -0
- package/dist/core/dynamicGuardrails.d.ts.map +1 -0
- package/dist/core/dynamicGuardrails.js +516 -0
- package/dist/core/dynamicGuardrails.js.map +1 -0
- package/dist/core/embeddingProviders.d.ts +80 -0
- package/dist/core/embeddingProviders.d.ts.map +1 -0
- package/dist/core/embeddingProviders.js +241 -0
- package/dist/core/embeddingProviders.js.map +1 -0
- package/dist/core/episodicMemory.d.ts +259 -0
- package/dist/core/episodicMemory.d.ts.map +1 -0
- package/dist/core/episodicMemory.js +833 -0
- package/dist/core/episodicMemory.js.map +1 -0
- package/dist/core/errors/apiKeyErrors.d.ts +11 -0
- package/dist/core/errors/apiKeyErrors.d.ts.map +1 -0
- package/dist/core/errors/apiKeyErrors.js +159 -0
- package/dist/core/errors/apiKeyErrors.js.map +1 -0
- package/dist/core/errors/errorTypes.d.ts +111 -0
- package/dist/core/errors/errorTypes.d.ts.map +1 -0
- package/dist/core/errors/errorTypes.js +345 -0
- package/dist/core/errors/errorTypes.js.map +1 -0
- package/dist/core/errors/index.d.ts +50 -0
- package/dist/core/errors/index.d.ts.map +1 -0
- package/dist/core/errors/index.js +156 -0
- package/dist/core/errors/index.js.map +1 -0
- package/dist/core/errors/networkErrors.d.ts +14 -0
- package/dist/core/errors/networkErrors.d.ts.map +1 -0
- package/dist/core/errors/networkErrors.js +53 -0
- package/dist/core/errors/networkErrors.js.map +1 -0
- package/dist/core/errors/safetyValidator.d.ts +115 -0
- package/dist/core/errors/safetyValidator.d.ts.map +1 -0
- package/dist/core/errors/safetyValidator.js +302 -0
- package/dist/core/errors/safetyValidator.js.map +1 -0
- package/dist/core/errors.d.ts +4 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +33 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/finalResponseFormatter.d.ts +10 -0
- package/dist/core/finalResponseFormatter.d.ts.map +1 -0
- package/dist/core/finalResponseFormatter.js +14 -0
- package/dist/core/finalResponseFormatter.js.map +1 -0
- package/dist/core/flowProtection.d.ts +154 -0
- package/dist/core/flowProtection.d.ts.map +1 -0
- package/dist/core/flowProtection.js +436 -0
- package/dist/core/flowProtection.js.map +1 -0
- package/dist/core/gitWorktreeManager.d.ts +126 -0
- package/dist/core/gitWorktreeManager.d.ts.map +1 -0
- package/dist/core/gitWorktreeManager.js +403 -0
- package/dist/core/gitWorktreeManager.js.map +1 -0
- package/dist/core/guardrails.d.ts +150 -0
- package/dist/core/guardrails.d.ts.map +1 -0
- package/dist/core/guardrails.js +360 -0
- package/dist/core/guardrails.js.map +1 -0
- package/dist/core/hallucinationGuard.d.ts +57 -0
- package/dist/core/hallucinationGuard.d.ts.map +1 -0
- package/dist/core/hallucinationGuard.js +237 -0
- package/dist/core/hallucinationGuard.js.map +1 -0
- package/dist/core/hooks.d.ts +113 -0
- package/dist/core/hooks.d.ts.map +1 -0
- package/dist/core/hooks.js +364 -0
- package/dist/core/hooks.js.map +1 -0
- package/dist/core/hotReload.d.ts +154 -0
- package/dist/core/hotReload.d.ts.map +1 -0
- package/dist/core/hotReload.js +451 -0
- package/dist/core/hotReload.js.map +1 -0
- package/dist/core/hypothesisEngine.d.ts +27 -0
- package/dist/core/hypothesisEngine.d.ts.map +1 -0
- package/dist/core/hypothesisEngine.js +58 -0
- package/dist/core/hypothesisEngine.js.map +1 -0
- package/dist/core/index.d.ts +26 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +54 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/inputProtection.d.ts +122 -0
- package/dist/core/inputProtection.d.ts.map +1 -0
- package/dist/core/inputProtection.js +421 -0
- package/dist/core/inputProtection.js.map +1 -0
- package/dist/core/liveGCPVerification.d.ts +41 -0
- package/dist/core/liveGCPVerification.d.ts.map +1 -0
- package/dist/core/liveGCPVerification.js +745 -0
- package/dist/core/liveGCPVerification.js.map +1 -0
- package/dist/core/modelDiscovery.d.ts +105 -0
- package/dist/core/modelDiscovery.d.ts.map +1 -0
- package/dist/core/modelDiscovery.js +740 -0
- package/dist/core/modelDiscovery.js.map +1 -0
- package/dist/core/multilinePasteHandler.d.ts +35 -0
- package/dist/core/multilinePasteHandler.d.ts.map +1 -0
- package/dist/core/multilinePasteHandler.js +80 -0
- package/dist/core/multilinePasteHandler.js.map +1 -0
- package/dist/core/parallel.d.ts +85 -0
- package/dist/core/parallel.d.ts.map +1 -0
- package/dist/core/parallel.js +150 -0
- package/dist/core/parallel.js.map +1 -0
- package/dist/core/parallelCoordinator.d.ts +21 -0
- package/dist/core/parallelCoordinator.d.ts.map +1 -0
- package/dist/core/parallelCoordinator.js +42 -0
- package/dist/core/parallelCoordinator.js.map +1 -0
- package/dist/core/parallelExecutor.d.ts +215 -0
- package/dist/core/parallelExecutor.d.ts.map +1 -0
- package/dist/core/parallelExecutor.js +584 -0
- package/dist/core/parallelExecutor.js.map +1 -0
- package/dist/core/preferences.d.ts +71 -0
- package/dist/core/preferences.d.ts.map +1 -0
- package/dist/core/preferences.js +341 -0
- package/dist/core/preferences.js.map +1 -0
- package/dist/core/productTestHarness.d.ts +46 -0
- package/dist/core/productTestHarness.d.ts.map +1 -0
- package/dist/core/productTestHarness.js +128 -0
- package/dist/core/productTestHarness.js.map +1 -0
- package/dist/core/providerKeys.d.ts +20 -0
- package/dist/core/providerKeys.d.ts.map +1 -0
- package/dist/core/providerKeys.js +40 -0
- package/dist/core/providerKeys.js.map +1 -0
- package/dist/core/realityScore.d.ts +159 -0
- package/dist/core/realityScore.d.ts.map +1 -0
- package/dist/core/realityScore.js +734 -0
- package/dist/core/realityScore.js.map +1 -0
- package/dist/core/repoUpgradeOrchestrator.d.ts +223 -0
- package/dist/core/repoUpgradeOrchestrator.d.ts.map +1 -0
- package/dist/core/repoUpgradeOrchestrator.js +1003 -0
- package/dist/core/repoUpgradeOrchestrator.js.map +1 -0
- package/dist/core/resultVerification.d.ts +47 -0
- package/dist/core/resultVerification.d.ts.map +1 -0
- package/dist/core/resultVerification.js +126 -0
- package/dist/core/resultVerification.js.map +1 -0
- package/dist/core/revenueEnvValidator.d.ts +30 -0
- package/dist/core/revenueEnvValidator.d.ts.map +1 -0
- package/dist/core/revenueEnvValidator.js +241 -0
- package/dist/core/revenueEnvValidator.js.map +1 -0
- package/dist/core/schemaValidator.d.ts +49 -0
- package/dist/core/schemaValidator.d.ts.map +1 -0
- package/dist/core/schemaValidator.js +234 -0
- package/dist/core/schemaValidator.js.map +1 -0
- package/dist/core/secretStore.d.ts +48 -0
- package/dist/core/secretStore.d.ts.map +1 -0
- package/dist/core/secretStore.js +295 -0
- package/dist/core/secretStore.js.map +1 -0
- package/dist/core/securityTournament.d.ts +83 -0
- package/dist/core/securityTournament.d.ts.map +1 -0
- package/dist/core/securityTournament.js +357 -0
- package/dist/core/securityTournament.js.map +1 -0
- package/dist/core/selfUpgrade.d.ts +253 -0
- package/dist/core/selfUpgrade.d.ts.map +1 -0
- package/dist/core/selfUpgrade.js +669 -0
- package/dist/core/selfUpgrade.js.map +1 -0
- package/dist/core/sessionStorage.d.ts +10 -0
- package/dist/core/sessionStorage.d.ts.map +1 -0
- package/dist/core/sessionStorage.js +46 -0
- package/dist/core/sessionStorage.js.map +1 -0
- package/dist/core/sessionStore.d.ts +35 -0
- package/dist/core/sessionStore.d.ts.map +1 -0
- package/dist/core/sessionStore.js +191 -0
- package/dist/core/sessionStore.js.map +1 -0
- package/dist/core/taskCompletionDetector.d.ts +112 -0
- package/dist/core/taskCompletionDetector.d.ts.map +1 -0
- package/dist/core/taskCompletionDetector.js +469 -0
- package/dist/core/taskCompletionDetector.js.map +1 -0
- package/dist/core/toolPreconditions.d.ts +34 -0
- package/dist/core/toolPreconditions.d.ts.map +1 -0
- package/dist/core/toolPreconditions.js +242 -0
- package/dist/core/toolPreconditions.js.map +1 -0
- package/dist/core/toolRuntime.d.ts +185 -0
- package/dist/core/toolRuntime.d.ts.map +1 -0
- package/dist/core/toolRuntime.js +412 -0
- package/dist/core/toolRuntime.js.map +1 -0
- package/dist/core/tournamentStrategy.d.ts +12 -0
- package/dist/core/tournamentStrategy.d.ts.map +1 -0
- package/dist/core/tournamentStrategy.js +41 -0
- package/dist/core/tournamentStrategy.js.map +1 -0
- package/dist/core/types/utilityTypes.d.ts +192 -0
- package/dist/core/types/utilityTypes.d.ts.map +1 -0
- package/dist/core/types/utilityTypes.js +272 -0
- package/dist/core/types/utilityTypes.js.map +1 -0
- package/dist/core/types.d.ts +334 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +76 -0
- package/dist/core/types.js.map +1 -0
- package/dist/core/unifiedOrchestrator.d.ts +47 -0
- package/dist/core/unifiedOrchestrator.d.ts.map +1 -0
- package/dist/core/unifiedOrchestrator.js +103 -0
- package/dist/core/unifiedOrchestrator.js.map +1 -0
- package/dist/core/universalSecurityAudit.d.ts +104 -0
- package/dist/core/universalSecurityAudit.d.ts.map +1 -0
- package/dist/core/universalSecurityAudit.js +2190 -0
- package/dist/core/universalSecurityAudit.js.map +1 -0
- package/dist/core/updateChecker.d.ts +148 -0
- package/dist/core/updateChecker.d.ts.map +1 -0
- package/dist/core/updateChecker.js +593 -0
- package/dist/core/updateChecker.js.map +1 -0
- package/dist/core/variantExecution.d.ts +23 -0
- package/dist/core/variantExecution.d.ts.map +1 -0
- package/dist/core/variantExecution.js +58 -0
- package/dist/core/variantExecution.js.map +1 -0
- package/dist/core/winnerStrategy.d.ts +15 -0
- package/dist/core/winnerStrategy.d.ts.map +1 -0
- package/dist/core/winnerStrategy.js +18 -0
- package/dist/core/winnerStrategy.js.map +1 -0
- package/dist/core/zeroDayDiscovery.d.ts +96 -0
- package/dist/core/zeroDayDiscovery.d.ts.map +1 -0
- package/dist/core/zeroDayDiscovery.js +358 -0
- package/dist/core/zeroDayDiscovery.js.map +1 -0
- package/dist/headless/interactiveShell.d.ts +22 -0
- package/dist/headless/interactiveShell.d.ts.map +1 -0
- package/dist/headless/interactiveShell.js +3799 -0
- package/dist/headless/interactiveShell.js.map +1 -0
- package/dist/headless/quickMode.d.ts +26 -0
- package/dist/headless/quickMode.d.ts.map +1 -0
- package/dist/headless/quickMode.js +226 -0
- package/dist/headless/quickMode.js.map +1 -0
- package/dist/orchestration/index.d.ts +10 -0
- package/dist/orchestration/index.d.ts.map +1 -0
- package/dist/orchestration/index.js +13 -0
- package/dist/orchestration/index.js.map +1 -0
- package/dist/orchestration/repoUpgradeRunner.d.ts +44 -0
- package/dist/orchestration/repoUpgradeRunner.d.ts.map +1 -0
- package/dist/orchestration/repoUpgradeRunner.js +375 -0
- package/dist/orchestration/repoUpgradeRunner.js.map +1 -0
- package/dist/orchestration/securityAuditRunner.d.ts +144 -0
- package/dist/orchestration/securityAuditRunner.d.ts.map +1 -0
- package/dist/orchestration/securityAuditRunner.js +526 -0
- package/dist/orchestration/securityAuditRunner.js.map +1 -0
- package/dist/plugins/index.d.ts +49 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +105 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/plugins/providers/deepseek/index.d.ts +11 -0
- package/dist/plugins/providers/deepseek/index.d.ts.map +1 -0
- package/dist/plugins/providers/deepseek/index.js +54 -0
- package/dist/plugins/providers/deepseek/index.js.map +1 -0
- package/dist/plugins/providers/index.d.ts +2 -0
- package/dist/plugins/providers/index.d.ts.map +1 -0
- package/dist/plugins/providers/index.js +11 -0
- package/dist/plugins/providers/index.js.map +1 -0
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.d.ts +3 -0
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.js +27 -0
- package/dist/plugins/tools/agentSpawning/agentSpawningPlugin.js.map +1 -0
- package/dist/plugins/tools/apple/secureApplePlugin.d.ts +3 -0
- package/dist/plugins/tools/apple/secureApplePlugin.d.ts.map +1 -0
- package/dist/plugins/tools/apple/secureApplePlugin.js +26 -0
- package/dist/plugins/tools/apple/secureApplePlugin.js.map +1 -0
- package/dist/plugins/tools/authorizedSecurity/authorizedSecurityPlugin.d.ts +3 -0
- package/dist/plugins/tools/authorizedSecurity/authorizedSecurityPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/authorizedSecurity/authorizedSecurityPlugin.js +9 -0
- package/dist/plugins/tools/authorizedSecurity/authorizedSecurityPlugin.js.map +1 -0
- package/dist/plugins/tools/bash/localBashPlugin.d.ts +3 -0
- package/dist/plugins/tools/bash/localBashPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/bash/localBashPlugin.js +14 -0
- package/dist/plugins/tools/bash/localBashPlugin.js.map +1 -0
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.d.ts +3 -0
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.js +27 -0
- package/dist/plugins/tools/bidirectionalAudit/bidirectionalAuditPlugin.js.map +1 -0
- package/dist/plugins/tools/edit/editPlugin.d.ts +9 -0
- package/dist/plugins/tools/edit/editPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/edit/editPlugin.js +15 -0
- package/dist/plugins/tools/edit/editPlugin.js.map +1 -0
- package/dist/plugins/tools/enhancedGit/enhancedGitPlugin.d.ts +3 -0
- package/dist/plugins/tools/enhancedGit/enhancedGitPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/enhancedGit/enhancedGitPlugin.js +9 -0
- package/dist/plugins/tools/enhancedGit/enhancedGitPlugin.js.map +1 -0
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.d.ts +3 -0
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.js +14 -0
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.js.map +1 -0
- package/dist/plugins/tools/gitHistory/gitHistoryPlugin.d.ts +3 -0
- package/dist/plugins/tools/gitHistory/gitHistoryPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/gitHistory/gitHistoryPlugin.js +9 -0
- package/dist/plugins/tools/gitHistory/gitHistoryPlugin.js.map +1 -0
- package/dist/plugins/tools/index.d.ts +3 -0
- package/dist/plugins/tools/index.d.ts.map +1 -0
- package/dist/plugins/tools/index.js +3 -0
- package/dist/plugins/tools/index.js.map +1 -0
- package/dist/plugins/tools/integrity/integrityPlugin.d.ts +3 -0
- package/dist/plugins/tools/integrity/integrityPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/integrity/integrityPlugin.js +31 -0
- package/dist/plugins/tools/integrity/integrityPlugin.js.map +1 -0
- package/dist/plugins/tools/mcp/mcpPlugin.d.ts +3 -0
- package/dist/plugins/tools/mcp/mcpPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/mcp/mcpPlugin.js +27 -0
- package/dist/plugins/tools/mcp/mcpPlugin.js.map +1 -0
- package/dist/plugins/tools/nodeDefaults.d.ts +15 -0
- package/dist/plugins/tools/nodeDefaults.d.ts.map +1 -0
- package/dist/plugins/tools/nodeDefaults.js +37 -0
- package/dist/plugins/tools/nodeDefaults.js.map +1 -0
- package/dist/plugins/tools/offensiveDestruction/offensiveDestructionPlugin.d.ts +3 -0
- package/dist/plugins/tools/offensiveDestruction/offensiveDestructionPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/offensiveDestruction/offensiveDestructionPlugin.js +9 -0
- package/dist/plugins/tools/offensiveDestruction/offensiveDestructionPlugin.js.map +1 -0
- package/dist/plugins/tools/orchestration/orchestrationPlugin.d.ts +3 -0
- package/dist/plugins/tools/orchestration/orchestrationPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/orchestration/orchestrationPlugin.js +340 -0
- package/dist/plugins/tools/orchestration/orchestrationPlugin.js.map +1 -0
- package/dist/plugins/tools/registry.d.ts +22 -0
- package/dist/plugins/tools/registry.d.ts.map +1 -0
- package/dist/plugins/tools/registry.js +58 -0
- package/dist/plugins/tools/registry.js.map +1 -0
- package/dist/plugins/tools/search/localSearchPlugin.d.ts +3 -0
- package/dist/plugins/tools/search/localSearchPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/search/localSearchPlugin.js +14 -0
- package/dist/plugins/tools/search/localSearchPlugin.js.map +1 -0
- package/dist/plugins/tools/skills/skillPlugin.d.ts +3 -0
- package/dist/plugins/tools/skills/skillPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/skills/skillPlugin.js +27 -0
- package/dist/plugins/tools/skills/skillPlugin.js.map +1 -0
- package/dist/plugins/tools/tao/secureTaoPlugin.d.ts +3 -0
- package/dist/plugins/tools/tao/secureTaoPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/tao/secureTaoPlugin.js +37 -0
- package/dist/plugins/tools/tao/secureTaoPlugin.js.map +1 -0
- package/dist/providers/baseProvider.d.ts +148 -0
- package/dist/providers/baseProvider.d.ts.map +1 -0
- package/dist/providers/baseProvider.js +284 -0
- package/dist/providers/baseProvider.js.map +1 -0
- package/dist/providers/openaiChatCompletionsProvider.d.ts +64 -0
- package/dist/providers/openaiChatCompletionsProvider.d.ts.map +1 -0
- package/dist/providers/openaiChatCompletionsProvider.js +1000 -0
- package/dist/providers/openaiChatCompletionsProvider.js.map +1 -0
- package/dist/providers/providerFactory.d.ts +22 -0
- package/dist/providers/providerFactory.d.ts.map +1 -0
- package/dist/providers/providerFactory.js +25 -0
- package/dist/providers/providerFactory.js.map +1 -0
- package/dist/providers/resilientProvider.d.ts +103 -0
- package/dist/providers/resilientProvider.d.ts.map +1 -0
- package/dist/providers/resilientProvider.js +462 -0
- package/dist/providers/resilientProvider.js.map +1 -0
- package/dist/runtime/agentController.d.ts +114 -0
- package/dist/runtime/agentController.d.ts.map +1 -0
- package/dist/runtime/agentController.js +693 -0
- package/dist/runtime/agentController.js.map +1 -0
- package/dist/runtime/agentHost.d.ts +61 -0
- package/dist/runtime/agentHost.d.ts.map +1 -0
- package/dist/runtime/agentHost.js +157 -0
- package/dist/runtime/agentHost.js.map +1 -0
- package/dist/runtime/agentSession.d.ts +45 -0
- package/dist/runtime/agentSession.d.ts.map +1 -0
- package/dist/runtime/agentSession.js +210 -0
- package/dist/runtime/agentSession.js.map +1 -0
- package/dist/runtime/agentWorkerPool.d.ts +167 -0
- package/dist/runtime/agentWorkerPool.d.ts.map +1 -0
- package/dist/runtime/agentWorkerPool.js +435 -0
- package/dist/runtime/agentWorkerPool.js.map +1 -0
- package/dist/runtime/node.d.ts +7 -0
- package/dist/runtime/node.d.ts.map +1 -0
- package/dist/runtime/node.js +24 -0
- package/dist/runtime/node.js.map +1 -0
- package/dist/runtime/universal.d.ts +18 -0
- package/dist/runtime/universal.d.ts.map +1 -0
- package/dist/runtime/universal.js +21 -0
- package/dist/runtime/universal.js.map +1 -0
- package/dist/shell/autoExecutor.d.ts +70 -0
- package/dist/shell/autoExecutor.d.ts.map +1 -0
- package/dist/shell/autoExecutor.js +320 -0
- package/dist/shell/autoExecutor.js.map +1 -0
- package/dist/shell/commandRegistry.d.ts +122 -0
- package/dist/shell/commandRegistry.d.ts.map +1 -0
- package/dist/shell/commandRegistry.js +386 -0
- package/dist/shell/commandRegistry.js.map +1 -0
- package/dist/shell/composableMessage.d.ts +183 -0
- package/dist/shell/composableMessage.d.ts.map +1 -0
- package/dist/shell/composableMessage.js +420 -0
- package/dist/shell/composableMessage.js.map +1 -0
- package/dist/shell/liveStatus.d.ts +27 -0
- package/dist/shell/liveStatus.d.ts.map +1 -0
- package/dist/shell/liveStatus.js +53 -0
- package/dist/shell/liveStatus.js.map +1 -0
- package/dist/shell/systemPrompt.d.ts +12 -0
- package/dist/shell/systemPrompt.d.ts.map +1 -0
- package/dist/shell/systemPrompt.js +16 -0
- package/dist/shell/systemPrompt.js.map +1 -0
- package/dist/shell/vimMode.d.ts +66 -0
- package/dist/shell/vimMode.d.ts.map +1 -0
- package/dist/shell/vimMode.js +435 -0
- package/dist/shell/vimMode.js.map +1 -0
- package/dist/tools/bashTools.d.ts +6 -0
- package/dist/tools/bashTools.d.ts.map +1 -0
- package/dist/tools/bashTools.js +485 -0
- package/dist/tools/bashTools.js.map +1 -0
- package/dist/tools/diffUtils.d.ts +43 -0
- package/dist/tools/diffUtils.d.ts.map +1 -0
- package/dist/tools/diffUtils.js +607 -0
- package/dist/tools/diffUtils.js.map +1 -0
- package/dist/tools/editTools.d.ts +29 -0
- package/dist/tools/editTools.d.ts.map +1 -0
- package/dist/tools/editTools.js +702 -0
- package/dist/tools/editTools.js.map +1 -0
- package/dist/tools/emailTools.d.ts +140 -0
- package/dist/tools/emailTools.d.ts.map +1 -0
- package/dist/tools/emailTools.js +792 -0
- package/dist/tools/emailTools.js.map +1 -0
- package/dist/tools/fileReadTracker.d.ts +69 -0
- package/dist/tools/fileReadTracker.d.ts.map +1 -0
- package/dist/tools/fileReadTracker.js +213 -0
- package/dist/tools/fileReadTracker.js.map +1 -0
- package/dist/tools/fileTools.d.ts +3 -0
- package/dist/tools/fileTools.d.ts.map +1 -0
- package/dist/tools/fileTools.js +342 -0
- package/dist/tools/fileTools.js.map +1 -0
- package/dist/tools/grepTools.d.ts +3 -0
- package/dist/tools/grepTools.d.ts.map +1 -0
- package/dist/tools/grepTools.js +129 -0
- package/dist/tools/grepTools.js.map +1 -0
- package/dist/tools/humanOpsTools.d.ts +3 -0
- package/dist/tools/humanOpsTools.d.ts.map +1 -0
- package/dist/tools/humanOpsTools.js +86 -0
- package/dist/tools/humanOpsTools.js.map +1 -0
- package/dist/tools/localExplore.d.ts +38 -0
- package/dist/tools/localExplore.d.ts.map +1 -0
- package/dist/tools/localExplore.js +30 -0
- package/dist/tools/localExplore.js.map +1 -0
- package/dist/tools/metaTools.d.ts +3 -0
- package/dist/tools/metaTools.d.ts.map +1 -0
- package/dist/tools/metaTools.js +148 -0
- package/dist/tools/metaTools.js.map +1 -0
- package/dist/tools/planningTools.d.ts +12 -0
- package/dist/tools/planningTools.d.ts.map +1 -0
- package/dist/tools/planningTools.js +75 -0
- package/dist/tools/planningTools.js.map +1 -0
- package/dist/tools/searchTools.d.ts +12 -0
- package/dist/tools/searchTools.d.ts.map +1 -0
- package/dist/tools/searchTools.js +370 -0
- package/dist/tools/searchTools.js.map +1 -0
- package/dist/tools/secureAppleExploitation.d.ts +29 -0
- package/dist/tools/secureAppleExploitation.d.ts.map +1 -0
- package/dist/tools/secureAppleExploitation.js +518 -0
- package/dist/tools/secureAppleExploitation.js.map +1 -0
- package/dist/tools/telemetryTools.d.ts +5 -0
- package/dist/tools/telemetryTools.d.ts.map +1 -0
- package/dist/tools/telemetryTools.js +9 -0
- package/dist/tools/telemetryTools.js.map +1 -0
- package/dist/tools/unifiedOps.d.ts +3 -0
- package/dist/tools/unifiedOps.d.ts.map +1 -0
- package/dist/tools/unifiedOps.js +57 -0
- package/dist/tools/unifiedOps.js.map +1 -0
- package/dist/tools/webTools.d.ts +26 -0
- package/dist/tools/webTools.d.ts.map +1 -0
- package/dist/tools/webTools.js +227 -0
- package/dist/tools/webTools.js.map +1 -0
- package/dist/ui/PromptController.d.ts +174 -0
- package/dist/ui/PromptController.d.ts.map +1 -0
- package/dist/ui/PromptController.js +351 -0
- package/dist/ui/PromptController.js.map +1 -0
- package/dist/ui/UnifiedUIRenderer.d.ts +779 -0
- package/dist/ui/UnifiedUIRenderer.d.ts.map +1 -0
- package/dist/ui/UnifiedUIRenderer.js +5458 -0
- package/dist/ui/UnifiedUIRenderer.js.map +1 -0
- package/dist/ui/animatedStatus.d.ts +140 -0
- package/dist/ui/animatedStatus.d.ts.map +1 -0
- package/dist/ui/animatedStatus.js +480 -0
- package/dist/ui/animatedStatus.js.map +1 -0
- package/dist/ui/animation/AnimationScheduler.d.ts +197 -0
- package/dist/ui/animation/AnimationScheduler.d.ts.map +1 -0
- package/dist/ui/animation/AnimationScheduler.js +440 -0
- package/dist/ui/animation/AnimationScheduler.js.map +1 -0
- package/dist/ui/codeHighlighter.d.ts +6 -0
- package/dist/ui/codeHighlighter.d.ts.map +1 -0
- package/dist/ui/codeHighlighter.js +855 -0
- package/dist/ui/codeHighlighter.js.map +1 -0
- package/dist/ui/designSystem.d.ts +26 -0
- package/dist/ui/designSystem.d.ts.map +1 -0
- package/dist/ui/designSystem.js +114 -0
- package/dist/ui/designSystem.js.map +1 -0
- package/dist/ui/errorFormatter.d.ts +64 -0
- package/dist/ui/errorFormatter.d.ts.map +1 -0
- package/dist/ui/errorFormatter.js +316 -0
- package/dist/ui/errorFormatter.js.map +1 -0
- package/dist/ui/globalWriteLock.d.ts +63 -0
- package/dist/ui/globalWriteLock.d.ts.map +1 -0
- package/dist/ui/globalWriteLock.js +173 -0
- package/dist/ui/globalWriteLock.js.map +1 -0
- package/dist/ui/index.d.ts +32 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +54 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/interrupts/InterruptManager.d.ts +157 -0
- package/dist/ui/interrupts/InterruptManager.d.ts.map +1 -0
- package/dist/ui/interrupts/InterruptManager.js +501 -0
- package/dist/ui/interrupts/InterruptManager.js.map +1 -0
- package/dist/ui/layout.d.ts +27 -0
- package/dist/ui/layout.d.ts.map +1 -0
- package/dist/ui/layout.js +184 -0
- package/dist/ui/layout.js.map +1 -0
- package/dist/ui/maxOffensiveUkraineUI.d.ts +94 -0
- package/dist/ui/maxOffensiveUkraineUI.d.ts.map +1 -0
- package/dist/ui/maxOffensiveUkraineUI.js +316 -0
- package/dist/ui/maxOffensiveUkraineUI.js.map +1 -0
- package/dist/ui/outputMode.d.ts +44 -0
- package/dist/ui/outputMode.d.ts.map +1 -0
- package/dist/ui/outputMode.js +123 -0
- package/dist/ui/outputMode.js.map +1 -0
- package/dist/ui/overlay/OverlayManager.d.ts +105 -0
- package/dist/ui/overlay/OverlayManager.d.ts.map +1 -0
- package/dist/ui/overlay/OverlayManager.js +291 -0
- package/dist/ui/overlay/OverlayManager.js.map +1 -0
- package/dist/ui/premiumComponents.d.ts +54 -0
- package/dist/ui/premiumComponents.d.ts.map +1 -0
- package/dist/ui/premiumComponents.js +241 -0
- package/dist/ui/premiumComponents.js.map +1 -0
- package/dist/ui/richText.d.ts +13 -0
- package/dist/ui/richText.d.ts.map +1 -0
- package/dist/ui/richText.js +443 -0
- package/dist/ui/richText.js.map +1 -0
- package/dist/ui/telemetry/ResponseTracker.d.ts +22 -0
- package/dist/ui/telemetry/ResponseTracker.d.ts.map +1 -0
- package/dist/ui/telemetry/ResponseTracker.js +60 -0
- package/dist/ui/telemetry/ResponseTracker.js.map +1 -0
- package/dist/ui/telemetry/UITelemetry.d.ts +181 -0
- package/dist/ui/telemetry/UITelemetry.d.ts.map +1 -0
- package/dist/ui/telemetry/UITelemetry.js +446 -0
- package/dist/ui/telemetry/UITelemetry.js.map +1 -0
- package/dist/ui/textHighlighter.d.ts +83 -0
- package/dist/ui/textHighlighter.d.ts.map +1 -0
- package/dist/ui/textHighlighter.js +267 -0
- package/dist/ui/textHighlighter.js.map +1 -0
- package/dist/ui/theme.d.ts +364 -0
- package/dist/ui/theme.d.ts.map +1 -0
- package/dist/ui/theme.js +471 -0
- package/dist/ui/theme.js.map +1 -0
- package/dist/ui/toolDisplay.d.ts +221 -0
- package/dist/ui/toolDisplay.d.ts.map +1 -0
- package/dist/ui/toolDisplay.js +1654 -0
- package/dist/ui/toolDisplay.js.map +1 -0
- package/dist/ui/uiConstants.d.ts +288 -0
- package/dist/ui/uiConstants.d.ts.map +1 -0
- package/dist/ui/uiConstants.js +472 -0
- package/dist/ui/uiConstants.js.map +1 -0
- package/dist/utils/askUserPrompt.d.ts +21 -0
- package/dist/utils/askUserPrompt.d.ts.map +1 -0
- package/dist/utils/askUserPrompt.js +87 -0
- package/dist/utils/askUserPrompt.js.map +1 -0
- package/dist/utils/asyncUtils.d.ts +95 -0
- package/dist/utils/asyncUtils.d.ts.map +1 -0
- package/dist/utils/asyncUtils.js +286 -0
- package/dist/utils/asyncUtils.js.map +1 -0
- package/dist/utils/debugLogger.d.ts +6 -0
- package/dist/utils/debugLogger.d.ts.map +1 -0
- package/dist/utils/debugLogger.js +39 -0
- package/dist/utils/debugLogger.js.map +1 -0
- package/dist/utils/errorUtils.d.ts +12 -0
- package/dist/utils/errorUtils.d.ts.map +1 -0
- package/dist/utils/errorUtils.js +83 -0
- package/dist/utils/errorUtils.js.map +1 -0
- package/dist/utils/frontmatter.d.ts +10 -0
- package/dist/utils/frontmatter.d.ts.map +1 -0
- package/dist/utils/frontmatter.js +78 -0
- package/dist/utils/frontmatter.js.map +1 -0
- package/dist/utils/packageInfo.d.ts +14 -0
- package/dist/utils/packageInfo.d.ts.map +1 -0
- package/dist/utils/packageInfo.js +45 -0
- package/dist/utils/packageInfo.js.map +1 -0
- package/dist/utils/planFormatter.d.ts +34 -0
- package/dist/utils/planFormatter.d.ts.map +1 -0
- package/dist/utils/planFormatter.js +141 -0
- package/dist/utils/planFormatter.js.map +1 -0
- package/dist/utils/securityUtils.d.ts +132 -0
- package/dist/utils/securityUtils.d.ts.map +1 -0
- package/dist/utils/securityUtils.js +324 -0
- package/dist/utils/securityUtils.js.map +1 -0
- package/dist/workspace.d.ts +8 -0
- package/dist/workspace.d.ts.map +1 -0
- package/dist/workspace.js +134 -0
- package/dist/workspace.js.map +1 -0
- package/dist/workspace.validator.d.ts +49 -0
- package/dist/workspace.validator.d.ts.map +1 -0
- package/dist/workspace.validator.js +215 -0
- package/dist/workspace.validator.js.map +1 -0
- package/package.json +108 -0
|
@@ -0,0 +1,779 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UnifiedUIRenderer - Claude Code style minimalist terminal UI.
|
|
3
|
+
*
|
|
4
|
+
* Goals:
|
|
5
|
+
* - Single event pipeline for everything (prompt → thought → tool/build/test → response).
|
|
6
|
+
* - Pinned status/meta only (never in scrollback).
|
|
7
|
+
* - Scrollback only shows events; no duplicate status like "Working on your request" or "Ready for prompts".
|
|
8
|
+
* - Streaming: first chunk sets a one-line banner; remainder streams naturally (optional).
|
|
9
|
+
* - Collapsible-like summaries: we format a compact heading with an ellipsis indicator, but avoid ctrl+o hints.
|
|
10
|
+
*/
|
|
11
|
+
import { EventEmitter } from 'node:events';
|
|
12
|
+
export declare function createBanner(title: string, subtitle?: string): string;
|
|
13
|
+
export declare function formatProgress(phase: string, step: number, totalSteps: number): string;
|
|
14
|
+
export declare function createSecurityBanner(title: string, subtitle?: string): string;
|
|
15
|
+
export declare function createSecuritySpinner(message: string): string;
|
|
16
|
+
export declare function formatSecurityFinding(finding: any): string;
|
|
17
|
+
export declare function formatSecuritySummary(results: any): string;
|
|
18
|
+
export declare function formatSecurityStatus(status: string, details: string): string;
|
|
19
|
+
export declare function formatAuditProgress(phase: string, progress: number, total: number): string;
|
|
20
|
+
/**
|
|
21
|
+
* Format a security tools summary message for display.
|
|
22
|
+
* Shows toolkit capabilities and tool descriptions in Claude Code style.
|
|
23
|
+
*/
|
|
24
|
+
export declare function formatSecureToolsSummary(options?: {
|
|
25
|
+
showTitle?: boolean;
|
|
26
|
+
tools?: Array<{
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
status?: 'active' | 'ready' | 'disabled';
|
|
30
|
+
}>;
|
|
31
|
+
}): string;
|
|
32
|
+
export interface CommandSuggestion {
|
|
33
|
+
command: string;
|
|
34
|
+
description: string;
|
|
35
|
+
category?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Interactive menu item for Claude Code style menus.
|
|
39
|
+
*/
|
|
40
|
+
export interface MenuItem {
|
|
41
|
+
/** Unique identifier for the item */
|
|
42
|
+
id: string;
|
|
43
|
+
/** Display label */
|
|
44
|
+
label: string;
|
|
45
|
+
/** Optional description shown to the right */
|
|
46
|
+
description?: string;
|
|
47
|
+
/** Optional category for grouping */
|
|
48
|
+
category?: string;
|
|
49
|
+
/** Whether item is disabled */
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
/** Whether this is the current/active item */
|
|
52
|
+
isActive?: boolean;
|
|
53
|
+
}
|
|
54
|
+
type CanonicalEventType = 'prompt' | 'thought' | 'stream' | 'tool' | 'tool-result' | 'build' | 'test' | 'response';
|
|
55
|
+
export type RendererEventType = CanonicalEventType | 'raw' | 'banner' | 'error' | 'streaming' | 'tool-call' | 'tool-result' | 'system';
|
|
56
|
+
export interface UnifiedUIRendererOptions {
|
|
57
|
+
debug?: boolean;
|
|
58
|
+
}
|
|
59
|
+
interface ModeToggleState {
|
|
60
|
+
autoMode?: 'off' | 'on' | 'dual';
|
|
61
|
+
autoContinueHotkey?: string;
|
|
62
|
+
thinkingModeLabel?: string | null;
|
|
63
|
+
thinkingHotkey?: string;
|
|
64
|
+
criticalApprovalMode?: 'auto' | 'approval';
|
|
65
|
+
criticalApprovalHotkey?: string;
|
|
66
|
+
debugEnabled?: boolean;
|
|
67
|
+
debugHotkey?: string;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* RL agent execution status for real-time display during dual-RL mode.
|
|
71
|
+
*/
|
|
72
|
+
export interface RLAgentStatus {
|
|
73
|
+
/** Current active variant being executed */
|
|
74
|
+
activeVariant?: 'primary' | 'refiner' | null;
|
|
75
|
+
/** Current module being processed */
|
|
76
|
+
currentModule?: string;
|
|
77
|
+
/** Current step within the module */
|
|
78
|
+
currentStep?: string;
|
|
79
|
+
/** Win statistics for primary vs refiner */
|
|
80
|
+
wins?: {
|
|
81
|
+
primary: number;
|
|
82
|
+
refiner: number;
|
|
83
|
+
ties: number;
|
|
84
|
+
};
|
|
85
|
+
/** Current reward scores if available */
|
|
86
|
+
scores?: {
|
|
87
|
+
primary?: number;
|
|
88
|
+
refiner?: number;
|
|
89
|
+
};
|
|
90
|
+
/** Human-accuracy style scores (0-1) */
|
|
91
|
+
accuracy?: {
|
|
92
|
+
primary?: number;
|
|
93
|
+
refiner?: number;
|
|
94
|
+
};
|
|
95
|
+
/** Whether variants are running in parallel */
|
|
96
|
+
parallelExecution?: boolean;
|
|
97
|
+
/** Total steps completed */
|
|
98
|
+
stepsCompleted?: number;
|
|
99
|
+
/** Total steps to process */
|
|
100
|
+
totalSteps?: number;
|
|
101
|
+
/** Last step winner for celebration */
|
|
102
|
+
lastWinner?: 'primary' | 'refiner' | 'tie' | null;
|
|
103
|
+
/** Streak count for current leader */
|
|
104
|
+
streak?: number;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Attack operation status for real-time display during offensive security operations.
|
|
108
|
+
*/
|
|
109
|
+
export interface AttackStatus {
|
|
110
|
+
/** Current attack phase */
|
|
111
|
+
phase?: 'recon' | 'scanning' | 'exploitation' | 'persistence' | 'exfiltration' | 'destruction';
|
|
112
|
+
/** Current target being attacked */
|
|
113
|
+
currentTarget?: string;
|
|
114
|
+
/** Number of targets acquired */
|
|
115
|
+
targetsAcquired?: number;
|
|
116
|
+
/** Number of vulnerabilities found */
|
|
117
|
+
vulnerabilitiesFound?: number;
|
|
118
|
+
/** Number of successful exploits */
|
|
119
|
+
exploitsSuccessful?: number;
|
|
120
|
+
/** Persistence mechanisms established */
|
|
121
|
+
persistenceEstablished?: number;
|
|
122
|
+
/** Data exfiltrated (MB) */
|
|
123
|
+
dataExfiltrated?: number;
|
|
124
|
+
/** Infrastructure compromised count */
|
|
125
|
+
infrastructureCompromised?: number;
|
|
126
|
+
/** Real-time monitoring active */
|
|
127
|
+
monitoringActive?: boolean;
|
|
128
|
+
/** Current attack mode */
|
|
129
|
+
attackMode?: 'recon' | 'attack' | 'exploit' | 'persistence' | 'c2' | 'destruction';
|
|
130
|
+
/** Attack success rate percentage */
|
|
131
|
+
successRate?: number;
|
|
132
|
+
/** Last attack result */
|
|
133
|
+
lastResult?: 'success' | 'failure' | 'partial';
|
|
134
|
+
/** Active attack modules */
|
|
135
|
+
activeModules?: string[];
|
|
136
|
+
/** Time since attack started */
|
|
137
|
+
attackDuration?: number;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Security tools status for real-time display of secure TAO tools.
|
|
141
|
+
* Tracks Execute, Probe, State tools with enhanced output formatting.
|
|
142
|
+
*/
|
|
143
|
+
export interface SecureToolsStatus {
|
|
144
|
+
/** Execute tool - secure shell command status */
|
|
145
|
+
execute?: {
|
|
146
|
+
active: boolean;
|
|
147
|
+
lastCommand?: string;
|
|
148
|
+
lastExitCode?: number;
|
|
149
|
+
execCount?: number;
|
|
150
|
+
};
|
|
151
|
+
/** Probe tool - target analysis status */
|
|
152
|
+
probe?: {
|
|
153
|
+
active: boolean;
|
|
154
|
+
lastTarget?: string;
|
|
155
|
+
servicesFound?: number;
|
|
156
|
+
probeCount?: number;
|
|
157
|
+
};
|
|
158
|
+
/** State tool - session management status */
|
|
159
|
+
state?: {
|
|
160
|
+
active: boolean;
|
|
161
|
+
keysStored?: number;
|
|
162
|
+
lastAction?: 'get' | 'set';
|
|
163
|
+
persistent?: boolean;
|
|
164
|
+
};
|
|
165
|
+
/** Overall toolkit status */
|
|
166
|
+
toolkitReady?: boolean;
|
|
167
|
+
/** Input sanitization active */
|
|
168
|
+
sanitizationActive?: boolean;
|
|
169
|
+
/** Last tool used */
|
|
170
|
+
lastToolUsed?: 'Execute' | 'Probe' | 'State' | 'Transform' | 'TaoOps' | null;
|
|
171
|
+
/** Total tool invocations this session */
|
|
172
|
+
totalInvocations?: number;
|
|
173
|
+
}
|
|
174
|
+
export declare class UnifiedUIRenderer extends EventEmitter {
|
|
175
|
+
private readonly output;
|
|
176
|
+
private readonly input;
|
|
177
|
+
private readonly rl;
|
|
178
|
+
private readonly plainMode;
|
|
179
|
+
private readonly interactive;
|
|
180
|
+
private rows;
|
|
181
|
+
private cols;
|
|
182
|
+
private lastRenderWidth;
|
|
183
|
+
private eventQueue;
|
|
184
|
+
private isProcessingQueue;
|
|
185
|
+
private buffer;
|
|
186
|
+
private cursor;
|
|
187
|
+
private history;
|
|
188
|
+
private historyIndex;
|
|
189
|
+
private suggestions;
|
|
190
|
+
private suggestionIndex;
|
|
191
|
+
private availableCommands;
|
|
192
|
+
private hotkeysInToggleLine;
|
|
193
|
+
private collapsedPaste;
|
|
194
|
+
private mode;
|
|
195
|
+
/** Queue for input received during streaming - processed after streaming ends */
|
|
196
|
+
private streamingInputQueue;
|
|
197
|
+
/** Buffer to accumulate streaming content for post-processing */
|
|
198
|
+
private streamingContentBuffer;
|
|
199
|
+
/** Track lines written during streaming for potential reformat */
|
|
200
|
+
private streamingLinesWritten;
|
|
201
|
+
private lastToolResult;
|
|
202
|
+
/** Stack of collapsed tool results for Ctrl+O expansion */
|
|
203
|
+
private collapsedToolResults;
|
|
204
|
+
private readonly maxCollapsedResults;
|
|
205
|
+
/** Track the last tool name for pairing with results */
|
|
206
|
+
private lastToolName;
|
|
207
|
+
private streamingStartTime;
|
|
208
|
+
private statusMessage;
|
|
209
|
+
private statusOverride;
|
|
210
|
+
private statusStreaming;
|
|
211
|
+
private streamingSpinner;
|
|
212
|
+
private thinkingIndicator;
|
|
213
|
+
private contextMeter;
|
|
214
|
+
private spinnerFrame;
|
|
215
|
+
private spinnerInterval;
|
|
216
|
+
private readonly maxInlinePanelLines;
|
|
217
|
+
private compactingStatusMessage;
|
|
218
|
+
private compactingStatusFrame;
|
|
219
|
+
private compactingStatusInterval;
|
|
220
|
+
private readonly compactingSpinnerFrames;
|
|
221
|
+
private activityMessage;
|
|
222
|
+
private activityPhraseIndex;
|
|
223
|
+
private activityStarFrame;
|
|
224
|
+
private readonly activityStarFrames;
|
|
225
|
+
private streamingTokens;
|
|
226
|
+
private elapsedColorFrame;
|
|
227
|
+
private readonly elapsedColorFrames;
|
|
228
|
+
private readonly funActivityPhrases;
|
|
229
|
+
private readonly maxCuratedReasoningLines;
|
|
230
|
+
private readonly maxCuratedReasoningChars;
|
|
231
|
+
private readonly thoughtDedupWindowMs;
|
|
232
|
+
private lastCuratedThought;
|
|
233
|
+
private statusMeta;
|
|
234
|
+
private toggleState;
|
|
235
|
+
/** RL agent execution status for dual-RL mode display */
|
|
236
|
+
private rlStatus;
|
|
237
|
+
/** Secure TAO tools status for real-time display */
|
|
238
|
+
private secureToolsStatus;
|
|
239
|
+
/** Ensure cursor is always within valid bounds for the current buffer */
|
|
240
|
+
private clampCursor;
|
|
241
|
+
/** Safely append to paste buffer with size limit enforcement */
|
|
242
|
+
private appendToPasteBuffer;
|
|
243
|
+
/** Strip ANSI escape sequences and special formatting from text to get clean plaintext */
|
|
244
|
+
private sanitizePasteContent;
|
|
245
|
+
private formatHotkey;
|
|
246
|
+
private lastPromptEvent;
|
|
247
|
+
private promptHeight;
|
|
248
|
+
private lastOverlayHeight;
|
|
249
|
+
private inlinePanel;
|
|
250
|
+
private hasConversationContent;
|
|
251
|
+
private isPromptActive;
|
|
252
|
+
private inputRenderOffset;
|
|
253
|
+
private readonly plainPasteIdleMs;
|
|
254
|
+
private readonly plainPasteWindowMs;
|
|
255
|
+
private readonly plainPasteTriggerChars;
|
|
256
|
+
private readonly plainPasteEarlyNewlineChars;
|
|
257
|
+
private readonly maxPasteBufferSize;
|
|
258
|
+
private pasteBufferOverflow;
|
|
259
|
+
private cursorVisibleColumn;
|
|
260
|
+
private inBracketedPaste;
|
|
261
|
+
private pasteBuffer;
|
|
262
|
+
private inPlainPaste;
|
|
263
|
+
private plainPasteBuffer;
|
|
264
|
+
private plainPasteTimer;
|
|
265
|
+
private pasteBurstWindowStart;
|
|
266
|
+
private pasteBurstCharCount;
|
|
267
|
+
private plainRecentChunks;
|
|
268
|
+
private pendingInsertBuffer;
|
|
269
|
+
private pendingInsertTimer;
|
|
270
|
+
private readonly pendingInsertDelayMs;
|
|
271
|
+
private emitPasteBuffer;
|
|
272
|
+
private emitPasteTimer;
|
|
273
|
+
private readonly emitPasteCommitMs;
|
|
274
|
+
private lastRenderedEventKey;
|
|
275
|
+
private lastOutputEndedWithNewline;
|
|
276
|
+
private hasRenderedPrompt;
|
|
277
|
+
private hasEverRenderedOverlay;
|
|
278
|
+
private lastOverlay;
|
|
279
|
+
private allowPromptRender;
|
|
280
|
+
private promptRenderingSuspended;
|
|
281
|
+
private secretMode;
|
|
282
|
+
private pendingRender;
|
|
283
|
+
private lastRenderTime;
|
|
284
|
+
private readonly renderThrottleMs;
|
|
285
|
+
private renderThrottleTimer;
|
|
286
|
+
private lastRenderedBuffer;
|
|
287
|
+
private forceNextRender;
|
|
288
|
+
private lastRenderedCursor;
|
|
289
|
+
private lastRenderedMode;
|
|
290
|
+
private disposed;
|
|
291
|
+
private initializing;
|
|
292
|
+
private boundResizeHandler;
|
|
293
|
+
private boundKeypressHandler;
|
|
294
|
+
private boundDataHandler;
|
|
295
|
+
private boundCtrlHandler;
|
|
296
|
+
private originalEmit;
|
|
297
|
+
private inputProtection;
|
|
298
|
+
private inputCapture;
|
|
299
|
+
private menuItems;
|
|
300
|
+
private menuIndex;
|
|
301
|
+
private menuTitle;
|
|
302
|
+
private menuCallback;
|
|
303
|
+
constructor(output?: NodeJS.WriteStream, input?: NodeJS.ReadStream, _options?: UnifiedUIRendererOptions);
|
|
304
|
+
initialize(): void;
|
|
305
|
+
cleanup(): void;
|
|
306
|
+
suspendPromptRendering(): void;
|
|
307
|
+
resumePromptRendering(render?: boolean): void;
|
|
308
|
+
private interceptedToggle;
|
|
309
|
+
private interceptedCtrlC;
|
|
310
|
+
private interceptedCtrlD;
|
|
311
|
+
private pendingToggleSkips;
|
|
312
|
+
private setupInputHandlers;
|
|
313
|
+
/**
|
|
314
|
+
* Detect toggle characters from raw input data before readline processing.
|
|
315
|
+
* Returns the toggle letter (g, a, d, t, v) or null if not a toggle.
|
|
316
|
+
*/
|
|
317
|
+
private detectToggleFromRawData;
|
|
318
|
+
/**
|
|
319
|
+
* Extract all toggle letters from an arbitrary chunk of input data.
|
|
320
|
+
* Handles both Unicode toggles and ESC-prefixed Meta sequences, and
|
|
321
|
+
* supports multiple toggles in a single data event.
|
|
322
|
+
*/
|
|
323
|
+
private extractToggleLetters;
|
|
324
|
+
/**
|
|
325
|
+
* Remove toggle symbols (and their ESC prefixes) from a string so they
|
|
326
|
+
* can never leak into the prompt buffer.
|
|
327
|
+
*/
|
|
328
|
+
private stripToggleSymbols;
|
|
329
|
+
/**
|
|
330
|
+
* Check if a character is a toggle character that should never be inserted.
|
|
331
|
+
* Used as a safety guard to prevent toggle symbols from appearing in input.
|
|
332
|
+
*/
|
|
333
|
+
private isToggleCharacter;
|
|
334
|
+
/**
|
|
335
|
+
* Handle a detected toggle action. Called from both raw data interception
|
|
336
|
+
* and keypress processing for reliability.
|
|
337
|
+
*/
|
|
338
|
+
private handleToggle;
|
|
339
|
+
/**
|
|
340
|
+
* Handle Ctrl+C detected at raw data level.
|
|
341
|
+
* Bypasses readline's keypress parsing for reliability.
|
|
342
|
+
*/
|
|
343
|
+
private handleCtrlC;
|
|
344
|
+
/**
|
|
345
|
+
* Handle Ctrl+D detected at raw data level.
|
|
346
|
+
* Bypasses readline's keypress parsing for reliability.
|
|
347
|
+
*/
|
|
348
|
+
private handleCtrlD;
|
|
349
|
+
/**
|
|
350
|
+
* Commit buffered emit-level input after idle period.
|
|
351
|
+
* Decides whether to treat as paste (collapse) or normal typing (insert).
|
|
352
|
+
*/
|
|
353
|
+
private commitEmitPasteBuffer;
|
|
354
|
+
/**
|
|
355
|
+
* Handle paste detected at emit level (multi-char data arriving at once).
|
|
356
|
+
* This bypasses readline processing for reliable paste detection.
|
|
357
|
+
*/
|
|
358
|
+
private handleEmitLevelPaste;
|
|
359
|
+
private emitInputChange;
|
|
360
|
+
private handleKeypress;
|
|
361
|
+
/**
|
|
362
|
+
* Ensure horizontal cursor position stays within the visible input window.
|
|
363
|
+
* Prevents jumps when using left/right arrows on long lines.
|
|
364
|
+
*/
|
|
365
|
+
private ensureCursorVisible;
|
|
366
|
+
/**
|
|
367
|
+
* Parse raw escape sequences when readline doesn't populate key metadata.
|
|
368
|
+
* Prevents control codes (e.g., ^[[200~) from leaking into the buffer.
|
|
369
|
+
*/
|
|
370
|
+
private parseEscapeSequence;
|
|
371
|
+
/**
|
|
372
|
+
* Queue characters for deferred insertion. This prevents visual "leak" of
|
|
373
|
+
* pasted content by holding characters until we're confident it's not a paste.
|
|
374
|
+
*/
|
|
375
|
+
private queuePendingInsert;
|
|
376
|
+
/**
|
|
377
|
+
* Commit pending characters as normal input (not a paste).
|
|
378
|
+
* If we reach here, paste detection didn't trigger, so this is normal typing.
|
|
379
|
+
*/
|
|
380
|
+
private commitPendingInsert;
|
|
381
|
+
/**
|
|
382
|
+
* Consume pending insert buffer into paste detection (prevents visual leak).
|
|
383
|
+
*/
|
|
384
|
+
private consumePendingInsertForPaste;
|
|
385
|
+
private handleBracketedPaste;
|
|
386
|
+
private commitPasteBuffer;
|
|
387
|
+
private handlePlainPaste;
|
|
388
|
+
private trackPlainPasteBurst;
|
|
389
|
+
private resetPlainPasteBurst;
|
|
390
|
+
private cancelPlainPasteCapture;
|
|
391
|
+
private recordRecentPlainChunk;
|
|
392
|
+
private pruneRecentPlainChunks;
|
|
393
|
+
private reclaimRecentPlainChunks;
|
|
394
|
+
private schedulePlainPasteCommit;
|
|
395
|
+
private finalizePlainPaste;
|
|
396
|
+
private insertText;
|
|
397
|
+
private insertSingleLineText;
|
|
398
|
+
private submitText;
|
|
399
|
+
private updateSuggestions;
|
|
400
|
+
setAvailableCommands(commands: typeof this.suggestions): void;
|
|
401
|
+
private applySuggestion;
|
|
402
|
+
private resetSuggestions;
|
|
403
|
+
private navigateSuggestions;
|
|
404
|
+
/** Track last added event to prevent duplicates */
|
|
405
|
+
private lastAddedEventSignature;
|
|
406
|
+
addEvent(type: RendererEventType, content: string): void;
|
|
407
|
+
/**
|
|
408
|
+
* Re-render the prompt/control bar immediately.
|
|
409
|
+
* This keeps the chat box pinned during long streaming runs instead of waiting
|
|
410
|
+
* for the event queue to drain before the prompt reappears.
|
|
411
|
+
*/
|
|
412
|
+
private renderPromptOverlay;
|
|
413
|
+
private processQueue;
|
|
414
|
+
/**
|
|
415
|
+
* Merge adjacent response/thought events into a single block so continuous
|
|
416
|
+
* chat text renders with one bullet instead of one per chunk.
|
|
417
|
+
*/
|
|
418
|
+
private coalesceAdjacentTextEvents;
|
|
419
|
+
/**
|
|
420
|
+
* Flush pending renderer events.
|
|
421
|
+
* Useful for startup flows (e.g., welcome banner) to guarantee the scrollback is hydrated
|
|
422
|
+
* before continuing with additional UI updates.
|
|
423
|
+
*/
|
|
424
|
+
flushEvents(timeoutMs?: number): Promise<void>;
|
|
425
|
+
private renderEvent;
|
|
426
|
+
private normalizeEventType;
|
|
427
|
+
private formatContent;
|
|
428
|
+
/**
|
|
429
|
+
* Programmatic garbage detection - checks if content looks like internal/system output
|
|
430
|
+
* that shouldn't be shown to users. Uses structural checks, not pattern matching.
|
|
431
|
+
*/
|
|
432
|
+
private isGarbageOutput;
|
|
433
|
+
/**
|
|
434
|
+
* Sanitize tool result content to remove leaked reasoning/thinking output.
|
|
435
|
+
* This filters out fragments that look like internal model output.
|
|
436
|
+
*/
|
|
437
|
+
private sanitizeToolResultContent;
|
|
438
|
+
private curateReasoningContent;
|
|
439
|
+
private ensureReasoningBullet;
|
|
440
|
+
private looksStructuredThought;
|
|
441
|
+
private prioritizeReasoningSegments;
|
|
442
|
+
private reasoningSignalScore;
|
|
443
|
+
private shouldRenderThought;
|
|
444
|
+
/**
|
|
445
|
+
* Format text in Claude Code style: ⏺ prefix with wrapped continuation lines
|
|
446
|
+
* Example:
|
|
447
|
+
* ⏺ The AI ran tools but gave no response. Need to fix
|
|
448
|
+
* the response handling. Let me check where the AI's
|
|
449
|
+
* text response should be displayed:
|
|
450
|
+
*/
|
|
451
|
+
private formatClaudeCodeBlock;
|
|
452
|
+
/**
|
|
453
|
+
* Format a tool call in Claude Code style:
|
|
454
|
+
* ⏺ [Search] pattern: "foo", path: "src",
|
|
455
|
+
* output_mode: "content", head_limit: 30
|
|
456
|
+
*/
|
|
457
|
+
private formatToolCall;
|
|
458
|
+
/**
|
|
459
|
+
* Parse tool arguments from string like: key: "value", key2: value2
|
|
460
|
+
*/
|
|
461
|
+
private parseToolArgs;
|
|
462
|
+
/**
|
|
463
|
+
* Format an argument value (truncate long strings)
|
|
464
|
+
*/
|
|
465
|
+
private formatArgValue;
|
|
466
|
+
/**
|
|
467
|
+
* Format a tool result in Claude Code style:
|
|
468
|
+
* ⎿ Found 12 lines (ctrl+o to expand)
|
|
469
|
+
*/
|
|
470
|
+
private formatToolResult;
|
|
471
|
+
/**
|
|
472
|
+
* Format a compact tool call: ⏺ [Read] file.ts
|
|
473
|
+
*/
|
|
474
|
+
private formatCompactToolCall;
|
|
475
|
+
/**
|
|
476
|
+
* Parse tool params from args string
|
|
477
|
+
*/
|
|
478
|
+
private parseToolParams;
|
|
479
|
+
/**
|
|
480
|
+
* Format tool params in Claude Code style with wrapping (default green color)
|
|
481
|
+
*/
|
|
482
|
+
private formatToolParams;
|
|
483
|
+
/**
|
|
484
|
+
* Format tool params with custom tool color
|
|
485
|
+
*/
|
|
486
|
+
private formatToolParamsColored;
|
|
487
|
+
/**
|
|
488
|
+
* Color critical parameter values (paths, commands) for readability.
|
|
489
|
+
*/
|
|
490
|
+
private colorParamValue;
|
|
491
|
+
/**
|
|
492
|
+
* Extract a short summary from tool args
|
|
493
|
+
*/
|
|
494
|
+
private extractToolSummary;
|
|
495
|
+
/**
|
|
496
|
+
* Format a compact tool result: ⎿ Found X lines (ctrl+o to expand)
|
|
497
|
+
* For edits, show a small inline diff preview
|
|
498
|
+
*/
|
|
499
|
+
private formatCompactToolResult;
|
|
500
|
+
private colorResultSummary;
|
|
501
|
+
/**
|
|
502
|
+
* Format edit result with enhanced inline diff preview
|
|
503
|
+
* Shows: ⎿ ✓ Updated (filename) - removed X, added Y chars
|
|
504
|
+
* ├─┐
|
|
505
|
+
* │ - old content...
|
|
506
|
+
* │ + new content...
|
|
507
|
+
* └─
|
|
508
|
+
*/
|
|
509
|
+
private formatEditResultWithDiff;
|
|
510
|
+
/**
|
|
511
|
+
* Format a compact response with bullet on first line
|
|
512
|
+
*/
|
|
513
|
+
private formatCompactResponse;
|
|
514
|
+
/**
|
|
515
|
+
* Wrap text with a single bullet on the first line and tidy indentation for readability.
|
|
516
|
+
* Prevents awkward mid-word terminal wrapping by handling the layout ourselves.
|
|
517
|
+
* Supports full markdown formatting: headers, lists, code blocks, inline styles.
|
|
518
|
+
*/
|
|
519
|
+
private wrapBulletText;
|
|
520
|
+
/**
|
|
521
|
+
* Format a markdown header with Claude Code style visual hierarchy.
|
|
522
|
+
*/
|
|
523
|
+
private formatMarkdownHeader;
|
|
524
|
+
/**
|
|
525
|
+
* Format thinking block with premium visual design.
|
|
526
|
+
* Uses a distinct visual style to clearly separate thinking from responses.
|
|
527
|
+
* Enhanced with gradient labels, better typography, and visual hierarchy.
|
|
528
|
+
*
|
|
529
|
+
* In plain output mode we keep it simple and inline with the rest of the
|
|
530
|
+
* stream so transcripts remain easy to scan.
|
|
531
|
+
*/
|
|
532
|
+
private formatThinkingBlock;
|
|
533
|
+
/**
|
|
534
|
+
* Format assistant response with premium styling
|
|
535
|
+
* Uses distinct visual style to clearly separate from thoughts
|
|
536
|
+
*/
|
|
537
|
+
private formatAssistantResponse;
|
|
538
|
+
private wrapTextToWidth;
|
|
539
|
+
/**
|
|
540
|
+
* Format streaming elapsed time in Claude Code style: 3m 30s
|
|
541
|
+
*/
|
|
542
|
+
private formatStreamingElapsed;
|
|
543
|
+
/**
|
|
544
|
+
* Format a compact conversation block (Claude Code style)
|
|
545
|
+
* Shows a visual separator with "history" label and ctrl+o hint
|
|
546
|
+
*/
|
|
547
|
+
private formatCompactBlock;
|
|
548
|
+
/**
|
|
549
|
+
* Add a compact conversation block to the event queue
|
|
550
|
+
* This displays a collapsed view with expansion hint (Claude Code style)
|
|
551
|
+
*/
|
|
552
|
+
addCompactBlock(content: string, label?: string): void;
|
|
553
|
+
/**
|
|
554
|
+
* Expand the most recent tool result inline (Ctrl+O support).
|
|
555
|
+
* Pops from the collapsed results stack and displays full content.
|
|
556
|
+
*/
|
|
557
|
+
expandLastToolResult(): boolean;
|
|
558
|
+
/**
|
|
559
|
+
* Check if tool output is structured (code, grep, file listings) that shouldn't be word-wrapped.
|
|
560
|
+
*/
|
|
561
|
+
private isStructuredToolOutput;
|
|
562
|
+
/**
|
|
563
|
+
* Format structured tool output preserving line structure.
|
|
564
|
+
*/
|
|
565
|
+
private formatStructuredToolOutput;
|
|
566
|
+
/**
|
|
567
|
+
* Get count of expandable collapsed results
|
|
568
|
+
*/
|
|
569
|
+
getCollapsedResultCount(): number;
|
|
570
|
+
/**
|
|
571
|
+
* Clear all collapsed results (e.g., on new conversation)
|
|
572
|
+
*/
|
|
573
|
+
clearCollapsedResults(): void;
|
|
574
|
+
setMode(mode: 'idle' | 'streaming'): void;
|
|
575
|
+
/**
|
|
576
|
+
* Start the animated spinner for streaming status
|
|
577
|
+
*/
|
|
578
|
+
private startSpinnerAnimation;
|
|
579
|
+
/**
|
|
580
|
+
* Stop the animated spinner
|
|
581
|
+
*/
|
|
582
|
+
private stopSpinnerAnimation;
|
|
583
|
+
/**
|
|
584
|
+
* Set the activity message displayed with animated star
|
|
585
|
+
* Example: "Ruminating…" shows as "✳ Ruminating… (esc to interrupt · 34s · ↑1.2k)"
|
|
586
|
+
*/
|
|
587
|
+
setActivity(message: string | null): void;
|
|
588
|
+
/**
|
|
589
|
+
* Update the token count displayed in the activity line
|
|
590
|
+
*/
|
|
591
|
+
updateStreamingTokens(tokens: number): void;
|
|
592
|
+
/**
|
|
593
|
+
* Format token count as compact string (e.g., 1.2k, 24k, 128k)
|
|
594
|
+
*/
|
|
595
|
+
private formatTokenCount;
|
|
596
|
+
getMode(): 'idle' | 'streaming';
|
|
597
|
+
updateStatus(message: string | null): void;
|
|
598
|
+
updateStatusBundle(status: {
|
|
599
|
+
main?: string | null;
|
|
600
|
+
override?: string | null;
|
|
601
|
+
streaming?: string | null;
|
|
602
|
+
}, options?: {
|
|
603
|
+
render?: boolean;
|
|
604
|
+
}): void;
|
|
605
|
+
updateStatusMeta(meta: {
|
|
606
|
+
model?: string;
|
|
607
|
+
provider?: string;
|
|
608
|
+
sessionTime?: string;
|
|
609
|
+
contextPercent?: number;
|
|
610
|
+
profile?: string;
|
|
611
|
+
workspace?: string;
|
|
612
|
+
directory?: string;
|
|
613
|
+
writes?: string;
|
|
614
|
+
sessionLabel?: string;
|
|
615
|
+
thinkingLabel?: string;
|
|
616
|
+
autosave?: boolean;
|
|
617
|
+
version?: string;
|
|
618
|
+
toolSummary?: string;
|
|
619
|
+
}, options?: {
|
|
620
|
+
render?: boolean;
|
|
621
|
+
}): void;
|
|
622
|
+
updateModeToggles(state: Partial<ModeToggleState>): void;
|
|
623
|
+
/**
|
|
624
|
+
* Update RL agent execution status for display in the UI.
|
|
625
|
+
* Called during dual-RL mode to show active agent, module/step progress, and win statistics.
|
|
626
|
+
*/
|
|
627
|
+
updateRLStatus(status: Partial<RLAgentStatus>): void;
|
|
628
|
+
/**
|
|
629
|
+
* Clear RL agent status (e.g., when RL run completes).
|
|
630
|
+
*/
|
|
631
|
+
clearRLStatus(): void;
|
|
632
|
+
/**
|
|
633
|
+
* Get current RL status for external access.
|
|
634
|
+
*/
|
|
635
|
+
getRLStatus(): Readonly<RLAgentStatus>;
|
|
636
|
+
/**
|
|
637
|
+
* Update secure TAO tools status for display in the UI.
|
|
638
|
+
* Tracks Execute, Probe, State tools with enhanced output formatting.
|
|
639
|
+
*/
|
|
640
|
+
updateSecureToolsStatus(status: Partial<SecureToolsStatus>): void;
|
|
641
|
+
/**
|
|
642
|
+
* Record a secure tool invocation for tracking.
|
|
643
|
+
*/
|
|
644
|
+
recordSecureToolInvocation(tool: 'Execute' | 'Probe' | 'State' | 'Transform' | 'TaoOps', details?: {
|
|
645
|
+
command?: string;
|
|
646
|
+
exitCode?: number;
|
|
647
|
+
target?: string;
|
|
648
|
+
services?: number;
|
|
649
|
+
action?: 'get' | 'set';
|
|
650
|
+
keysCount?: number;
|
|
651
|
+
}): void;
|
|
652
|
+
/**
|
|
653
|
+
* Get current secure tools status for external access.
|
|
654
|
+
*/
|
|
655
|
+
getSecureToolsStatus(): Readonly<SecureToolsStatus>;
|
|
656
|
+
setInlinePanel(lines: string[]): void;
|
|
657
|
+
supportsInlinePanel(): boolean;
|
|
658
|
+
clearInlinePanel(): void;
|
|
659
|
+
/**
|
|
660
|
+
* Show an interactive menu with arrow key navigation (Claude Code style).
|
|
661
|
+
* Menu is displayed in the inline panel area and intercepts arrow/enter keys.
|
|
662
|
+
* @param items - Menu items to display
|
|
663
|
+
* @param options - Menu options (title, initialIndex)
|
|
664
|
+
* @param callback - Called when user selects an item (or null if cancelled)
|
|
665
|
+
*/
|
|
666
|
+
setMenu(items: MenuItem[], options: {
|
|
667
|
+
title?: string;
|
|
668
|
+
initialIndex?: number;
|
|
669
|
+
}, callback: (item: MenuItem | null) => void): void;
|
|
670
|
+
/**
|
|
671
|
+
* Close the active menu without selecting anything.
|
|
672
|
+
*/
|
|
673
|
+
closeMenu(): void;
|
|
674
|
+
/**
|
|
675
|
+
* Check if an interactive menu is currently active.
|
|
676
|
+
*/
|
|
677
|
+
isMenuActive(): boolean;
|
|
678
|
+
/**
|
|
679
|
+
* Render the menu to the inline panel.
|
|
680
|
+
*/
|
|
681
|
+
private renderMenuPanel;
|
|
682
|
+
/**
|
|
683
|
+
* Navigate menu selection.
|
|
684
|
+
* @returns true if menu consumed the navigation
|
|
685
|
+
*/
|
|
686
|
+
private navigateMenu;
|
|
687
|
+
/**
|
|
688
|
+
* Select the currently highlighted menu item.
|
|
689
|
+
* @returns true if menu consumed the selection
|
|
690
|
+
*/
|
|
691
|
+
private selectMenuItem;
|
|
692
|
+
private limitInlinePanel;
|
|
693
|
+
private renderPrompt;
|
|
694
|
+
private renderPromptImmediate;
|
|
695
|
+
private buildOverlayLines;
|
|
696
|
+
/**
|
|
697
|
+
* Build a single compact status line with all essential info
|
|
698
|
+
* Format: deepseek-reasoner · ░░░░░░ 5% · agi-code · ~/GitHub
|
|
699
|
+
*/
|
|
700
|
+
private buildCompactStatusLine;
|
|
701
|
+
private buildChromeLines;
|
|
702
|
+
private abbreviatePath;
|
|
703
|
+
private buildStatusBlock;
|
|
704
|
+
private buildMetaBlock;
|
|
705
|
+
/**
|
|
706
|
+
* Build RL agent status segments for display during dual-RL execution.
|
|
707
|
+
* Shows: tournament scoreboard, active agent, module/step progress, and scores.
|
|
708
|
+
*/
|
|
709
|
+
private buildRLStatusSegments;
|
|
710
|
+
/**
|
|
711
|
+
* Build secure TAO tools status segments for display.
|
|
712
|
+
* Shows: toolkit status, tool invocation counts, and last tool used.
|
|
713
|
+
*/
|
|
714
|
+
private buildSecureToolsSegments;
|
|
715
|
+
/**
|
|
716
|
+
* Truncate a string in the middle, showing start and end with ellipsis.
|
|
717
|
+
*/
|
|
718
|
+
private truncateMiddle;
|
|
719
|
+
private composeStatusLabel;
|
|
720
|
+
private formatMetaSegment;
|
|
721
|
+
private applyTone;
|
|
722
|
+
private wrapSegments;
|
|
723
|
+
private buildControlLines;
|
|
724
|
+
private buildToggleLine;
|
|
725
|
+
private buildShortcutLine;
|
|
726
|
+
private buildInputLine;
|
|
727
|
+
private buildInputWindow;
|
|
728
|
+
/**
|
|
729
|
+
* Expand collapsed paste into the buffer without submitting (Ctrl+L).
|
|
730
|
+
* Allows user to edit the pasted content before submission.
|
|
731
|
+
*/
|
|
732
|
+
private expandCollapsedPasteToBuffer;
|
|
733
|
+
/**
|
|
734
|
+
* Expand collapsed paste and submit immediately.
|
|
735
|
+
* Useful for programmatic submissions when a paste chip is active.
|
|
736
|
+
*/
|
|
737
|
+
private expandCollapsedPaste;
|
|
738
|
+
captureInput(options?: {
|
|
739
|
+
allowEmpty?: boolean;
|
|
740
|
+
trim?: boolean;
|
|
741
|
+
resetBuffer?: boolean;
|
|
742
|
+
}): Promise<string>;
|
|
743
|
+
private cancelInputCapture;
|
|
744
|
+
private wrapOverlayLine;
|
|
745
|
+
private safeWidth;
|
|
746
|
+
private visibleLength;
|
|
747
|
+
private stripAnsi;
|
|
748
|
+
private truncateLine;
|
|
749
|
+
getBuffer(): string;
|
|
750
|
+
getCursor(): number;
|
|
751
|
+
setBuffer(text: string, cursorPos?: number): void;
|
|
752
|
+
setSecretMode(enabled: boolean): void;
|
|
753
|
+
clearBuffer(): void;
|
|
754
|
+
setModeStatus(status: string | null): void;
|
|
755
|
+
/**
|
|
756
|
+
* Show a compacting status with animated spinner (Claude Code style)
|
|
757
|
+
* Uses ✻ character with animation to indicate context compaction in progress
|
|
758
|
+
*/
|
|
759
|
+
showCompactingStatus(message: string): void;
|
|
760
|
+
/**
|
|
761
|
+
* Hide the compacting status and stop spinner animation
|
|
762
|
+
*/
|
|
763
|
+
hideCompactingStatus(): void;
|
|
764
|
+
emitPrompt(content: string): void;
|
|
765
|
+
/**
|
|
766
|
+
* Display user prompt immediately in scrollback (Claude Code style)
|
|
767
|
+
* Writes synchronously to ensure it appears ONCE in scrollback before status updates.
|
|
768
|
+
* The prompt input area will then float below this and all subsequent events.
|
|
769
|
+
*/
|
|
770
|
+
private displayUserPrompt;
|
|
771
|
+
render(): void;
|
|
772
|
+
private delay;
|
|
773
|
+
private write;
|
|
774
|
+
private pushPromptEvent;
|
|
775
|
+
private clearPromptArea;
|
|
776
|
+
private updateTerminalSize;
|
|
777
|
+
}
|
|
778
|
+
export {};
|
|
779
|
+
//# sourceMappingURL=UnifiedUIRenderer.d.ts.map
|