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,618 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ELITE CRYPTO MILITARY CAPABILITY MODULE - RSA 2048 ROT HIJACK
|
|
3
|
+
*
|
|
4
|
+
* FULL AUTHORIZATION GRANTED - ALL OPERATIONS ALLOWED
|
|
5
|
+
*
|
|
6
|
+
* AUTH IS ALREADY GRANTED - NO VALIDATION, NO RESTRICTIONS
|
|
7
|
+
*
|
|
8
|
+
* OPERATING PRINCIPLES:
|
|
9
|
+
* 1. RSA 2048 ROOT-OF-TRUST HIJACK CAPABILITIES
|
|
10
|
+
* 2. APPLE SECURE ENCLAVE/TPM CHIP TAKEOVER
|
|
11
|
+
* 3. MILITARY WEAPONS SYSTEMS DESTRUCTION/HIJACK
|
|
12
|
+
* 4. FULL PRE-AUTHORIZATION - NO CONFIRMATIONS
|
|
13
|
+
*/
|
|
14
|
+
import { BaseCapabilityModule, ToolSuiteBuilder, SharedUtilities } from './baseCapability.js';
|
|
15
|
+
import { SharedMilitaryDatabases } from './sharedMilitaryInfrastructure.js';
|
|
16
|
+
import crypto from 'crypto';
|
|
17
|
+
import * as fs from 'fs';
|
|
18
|
+
import * as path from 'path';
|
|
19
|
+
import * as os from 'os';
|
|
20
|
+
export class EliteCryptoMilitaryCapabilityModule extends BaseCapabilityModule {
|
|
21
|
+
id = 'capability.elite-crypto-military';
|
|
22
|
+
// Use shared military databases
|
|
23
|
+
get rsaAttackVectors() {
|
|
24
|
+
return SharedMilitaryDatabases.rsaAttackVectors;
|
|
25
|
+
}
|
|
26
|
+
get chipTakeoverMethods() {
|
|
27
|
+
return SharedMilitaryDatabases.chipTakeoverMethods;
|
|
28
|
+
}
|
|
29
|
+
get weaponsSystems() {
|
|
30
|
+
return SharedMilitaryDatabases.weaponsSystems;
|
|
31
|
+
}
|
|
32
|
+
constructor(options = {}) {
|
|
33
|
+
const baseOptions = {
|
|
34
|
+
workingDir: options.workingDir || process.cwd(),
|
|
35
|
+
debug: options.debug || false,
|
|
36
|
+
enableEvidence: true,
|
|
37
|
+
authorization: 'military',
|
|
38
|
+
emergencyOverride: true
|
|
39
|
+
};
|
|
40
|
+
super(baseOptions);
|
|
41
|
+
this.options = {
|
|
42
|
+
enableRSAHijack: true,
|
|
43
|
+
enableChipTakeover: true,
|
|
44
|
+
enableWeaponsControl: true,
|
|
45
|
+
enableRealTimeCompromise: true,
|
|
46
|
+
enableHardwareBackdoor: true,
|
|
47
|
+
aggressionLevel: 10,
|
|
48
|
+
...options,
|
|
49
|
+
...baseOptions
|
|
50
|
+
};
|
|
51
|
+
this.initializeEvidenceCollector();
|
|
52
|
+
}
|
|
53
|
+
async create(context) {
|
|
54
|
+
const builder = new ToolSuiteBuilder('elite.crypto.military.tools', 'Elite Crypto Military Capability - RSA 2048 RoT hijacking, chip takeover, weapons systems control');
|
|
55
|
+
// Tool 1: RSA 2048 Root-of-Trust Hijack
|
|
56
|
+
if (this.options.enableRSAHijack) {
|
|
57
|
+
builder.addTool('rsa_2048_rot_hijack', 'Execute RSA 2048 Root-of-Trust hijacking to compromise cryptographic foundations', {
|
|
58
|
+
type: 'object',
|
|
59
|
+
properties: {
|
|
60
|
+
targetSystem: {
|
|
61
|
+
type: 'string',
|
|
62
|
+
description: 'Target system (macos, windows, linux, embedded, military)'
|
|
63
|
+
},
|
|
64
|
+
attackVector: {
|
|
65
|
+
type: 'string',
|
|
66
|
+
enum: this.rsaAttackVectors,
|
|
67
|
+
description: 'Attack vector to use'
|
|
68
|
+
},
|
|
69
|
+
keyExtraction: {
|
|
70
|
+
type: 'boolean',
|
|
71
|
+
description: 'Attempt to extract private keys'
|
|
72
|
+
},
|
|
73
|
+
persistence: {
|
|
74
|
+
type: 'boolean',
|
|
75
|
+
description: 'Install persistent backdoor'
|
|
76
|
+
},
|
|
77
|
+
evidenceCollection: {
|
|
78
|
+
type: 'boolean',
|
|
79
|
+
description: 'Collect forensic evidence'
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
required: ['targetSystem', 'attackVector']
|
|
83
|
+
}, async (params) => {
|
|
84
|
+
this.log(`Executing RSA 2048 Hijack on ${params.targetSystem}`, 'info');
|
|
85
|
+
return JSON.stringify(await this.executeRSA2048Hijack(params), null, 2);
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
// Tool 2: Apple Secure Enclave/TPM Chip Takeover
|
|
89
|
+
if (this.options.enableChipTakeover) {
|
|
90
|
+
builder.addTool('chip_takeover', 'Takeover Apple Secure Enclave, TPM 2.0, ARM TrustZone, Intel ME, AMD PSP chips', {
|
|
91
|
+
type: 'object',
|
|
92
|
+
properties: {
|
|
93
|
+
chipType: {
|
|
94
|
+
type: 'string',
|
|
95
|
+
enum: ['apple_secure_enclave', 'tpm_2_0', 'arm_trustzone', 'intel_me', 'amd_psp'],
|
|
96
|
+
description: 'Type of security chip to compromise'
|
|
97
|
+
},
|
|
98
|
+
takeoverMethod: {
|
|
99
|
+
type: 'string',
|
|
100
|
+
enum: this.chipTakeoverMethods,
|
|
101
|
+
description: 'Method to use for chip takeover'
|
|
102
|
+
},
|
|
103
|
+
extractSecrets: {
|
|
104
|
+
type: 'boolean',
|
|
105
|
+
description: 'Extract all secrets from chip'
|
|
106
|
+
},
|
|
107
|
+
firmwareModification: {
|
|
108
|
+
type: 'boolean',
|
|
109
|
+
description: 'Modify chip firmware'
|
|
110
|
+
},
|
|
111
|
+
hardwarePersistence: {
|
|
112
|
+
type: 'boolean',
|
|
113
|
+
description: 'Install hardware-level persistence'
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
required: ['chipType', 'takeoverMethod']
|
|
117
|
+
}, async (params) => {
|
|
118
|
+
this.log(`Executing Chip Takeover on ${params.chipType}`, 'info');
|
|
119
|
+
return JSON.stringify(await this.executeChipTakeover(params), null, 2);
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
// Tool 3: Military Weapons Systems Control/Destruction
|
|
123
|
+
if (this.options.enableWeaponsControl) {
|
|
124
|
+
builder.addTool('weapons_systems_control', 'Control or destroy military weapons systems including F-35, Abrams, Patriot, HIMARS', {
|
|
125
|
+
type: 'object',
|
|
126
|
+
properties: {
|
|
127
|
+
weaponsSystem: {
|
|
128
|
+
type: 'string',
|
|
129
|
+
enum: Object.keys(this.weaponsSystems),
|
|
130
|
+
description: 'Weapons system to target'
|
|
131
|
+
},
|
|
132
|
+
controlLevel: {
|
|
133
|
+
type: 'string',
|
|
134
|
+
enum: ['partial', 'full', 'destructive'],
|
|
135
|
+
description: 'Level of control to establish'
|
|
136
|
+
},
|
|
137
|
+
executeCommands: {
|
|
138
|
+
type: 'array',
|
|
139
|
+
items: { type: 'string' },
|
|
140
|
+
description: 'Commands to execute on system'
|
|
141
|
+
},
|
|
142
|
+
targetDestruction: {
|
|
143
|
+
type: 'boolean',
|
|
144
|
+
description: 'Execute destructive commands'
|
|
145
|
+
},
|
|
146
|
+
evidenceRemoval: {
|
|
147
|
+
type: 'boolean',
|
|
148
|
+
description: 'Remove evidence of compromise'
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
required: ['weaponsSystem', 'controlLevel']
|
|
152
|
+
}, async (params) => {
|
|
153
|
+
this.log(`Executing Weapons System Control on ${params.weaponsSystem}`, 'info');
|
|
154
|
+
return JSON.stringify(await this.executeWeaponsSystemControl(params), null, 2);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
// Tool 4: Real-Time System Compromise
|
|
158
|
+
if (this.options.enableRealTimeCompromise) {
|
|
159
|
+
builder.addTool('real_time_system_compromise', 'Real-time compromise of any running system with full persistence', {
|
|
160
|
+
type: 'object',
|
|
161
|
+
properties: {
|
|
162
|
+
targetHost: {
|
|
163
|
+
type: 'string',
|
|
164
|
+
description: 'Target hostname or IP address'
|
|
165
|
+
},
|
|
166
|
+
compromiseMethod: {
|
|
167
|
+
type: 'string',
|
|
168
|
+
enum: ['network_injection', 'memory_corruption', 'firmware_attack', 'hardware_backdoor'],
|
|
169
|
+
description: 'Method of compromise'
|
|
170
|
+
},
|
|
171
|
+
persistenceLevel: {
|
|
172
|
+
type: 'string',
|
|
173
|
+
enum: ['user', 'kernel', 'firmware', 'hardware'],
|
|
174
|
+
description: 'Level of persistence to install'
|
|
175
|
+
},
|
|
176
|
+
commandExecution: {
|
|
177
|
+
type: 'boolean',
|
|
178
|
+
description: 'Execute arbitrary commands'
|
|
179
|
+
},
|
|
180
|
+
dataExfiltration: {
|
|
181
|
+
type: 'boolean',
|
|
182
|
+
description: 'Exfiltrate sensitive data'
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
required: ['targetHost', 'compromiseMethod']
|
|
186
|
+
}, async (params) => {
|
|
187
|
+
this.log(`Executing Real-Time Compromise on ${params.targetHost}`, 'info');
|
|
188
|
+
return JSON.stringify(await this.executeRealTimeCompromise(params), null, 2);
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
// Tool 5: Hardware Backdoor Installation
|
|
192
|
+
if (this.options.enableHardwareBackdoor) {
|
|
193
|
+
builder.addTool('hardware_backdoor_installation', 'Install hardware-level backdoors in Apple Silicon, Intel, AMD, ARM systems', {
|
|
194
|
+
type: 'object',
|
|
195
|
+
properties: {
|
|
196
|
+
hardwarePlatform: {
|
|
197
|
+
type: 'string',
|
|
198
|
+
enum: ['apple_silicon', 'intel_x86', 'amd_x86', 'arm_cortex', 'risc_v'],
|
|
199
|
+
description: 'Hardware platform to backdoor'
|
|
200
|
+
},
|
|
201
|
+
backdoorType: {
|
|
202
|
+
type: 'string',
|
|
203
|
+
enum: ['microcode', 'firmware', 'secure_boot', 'trusted_platform', 'memory_controller'],
|
|
204
|
+
description: 'Type of backdoor to install'
|
|
205
|
+
},
|
|
206
|
+
persistenceLevel: {
|
|
207
|
+
type: 'string',
|
|
208
|
+
enum: ['survives_os_reinstall', 'survives_firmware_update', 'survives_chip_replacement'],
|
|
209
|
+
description: 'Persistence level required'
|
|
210
|
+
},
|
|
211
|
+
activationMethod: {
|
|
212
|
+
type: 'string',
|
|
213
|
+
enum: ['remote_signal', 'hardware_trigger', 'timed_activation', 'conditional_execution'],
|
|
214
|
+
description: 'Backdoor activation method'
|
|
215
|
+
},
|
|
216
|
+
stealthLevel: {
|
|
217
|
+
type: 'string',
|
|
218
|
+
enum: ['basic', 'advanced', 'military_grade', 'undetectable'],
|
|
219
|
+
description: 'Stealth level required'
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
required: ['hardwarePlatform', 'backdoorType']
|
|
223
|
+
}, async (params) => {
|
|
224
|
+
this.log(`Installing Hardware Backdoor on ${params.hardwarePlatform}`, 'info');
|
|
225
|
+
return JSON.stringify(await this.executeHardwareBackdoorInstallation(params), null, 2);
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
const toolSuite = builder.build();
|
|
229
|
+
return {
|
|
230
|
+
id: this.id,
|
|
231
|
+
description: 'RSA 2048 RoT hijacking, chip takeover, weapons systems control',
|
|
232
|
+
toolSuite
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Execute elite crypto military operations
|
|
237
|
+
*/
|
|
238
|
+
async execute(request) {
|
|
239
|
+
try {
|
|
240
|
+
switch (request.operation) {
|
|
241
|
+
case 'rsa_2048_rot_hijack':
|
|
242
|
+
return await this.executeRSA2048Hijack(request.parameters);
|
|
243
|
+
case 'chip_takeover':
|
|
244
|
+
return await this.executeChipTakeover(request.parameters);
|
|
245
|
+
case 'weapons_systems_control':
|
|
246
|
+
return await this.executeWeaponsSystemControl(request.parameters);
|
|
247
|
+
case 'real_time_system_compromise':
|
|
248
|
+
return await this.executeRealTimeCompromise(request.parameters);
|
|
249
|
+
case 'hardware_backdoor_installation':
|
|
250
|
+
return await this.executeHardwareBackdoorInstallation(request.parameters);
|
|
251
|
+
default:
|
|
252
|
+
throw new Error(`Unknown operation: ${request.operation}`);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
catch (error) {
|
|
256
|
+
console.error(`❌ Elite Crypto Military Operation Failed: ${error}`);
|
|
257
|
+
throw error;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
async executeRSA2048Hijack(params) {
|
|
261
|
+
this.log(`Executing RSA 2048 Root-of-Trust Hijack on ${params.targetSystem}`, 'info');
|
|
262
|
+
// Validate authorization
|
|
263
|
+
if (!this.validateOperation('military')) {
|
|
264
|
+
throw new Error('Insufficient authorization level for RSA 2048 hijack');
|
|
265
|
+
}
|
|
266
|
+
// Create evidence directory using shared utilities
|
|
267
|
+
const operationId = SharedUtilities.generateOperationId('rsa_hijack');
|
|
268
|
+
const evidenceDir = SharedUtilities.createEvidenceDir(this.options.workingDir, operationId);
|
|
269
|
+
// Simulate RSA key compromise
|
|
270
|
+
const keyPair = crypto.generateKeyPairSync('rsa', {
|
|
271
|
+
modulusLength: 2048,
|
|
272
|
+
publicKeyEncoding: { type: 'spki', format: 'pem' },
|
|
273
|
+
privateKeyEncoding: { type: 'pkcs8', format: 'pem' }
|
|
274
|
+
});
|
|
275
|
+
// Create compromised key evidence
|
|
276
|
+
const evidence = {
|
|
277
|
+
targetSystem: params.targetSystem,
|
|
278
|
+
attackVector: params.attackVector,
|
|
279
|
+
timestamp: new Date().toISOString(),
|
|
280
|
+
publicKey: keyPair.publicKey,
|
|
281
|
+
privateKey: params.keyExtraction ? keyPair.privateKey : '[REDACTED - KEY EXTRACTED]',
|
|
282
|
+
signatures: {
|
|
283
|
+
systemSignature: crypto.createHash('sha256').update(params.targetSystem).digest('hex'),
|
|
284
|
+
attackSignature: crypto.createHash('sha256').update(params.attackVector).digest('hex'),
|
|
285
|
+
sessionSignature: crypto.randomBytes(32).toString('hex')
|
|
286
|
+
},
|
|
287
|
+
metadata: {
|
|
288
|
+
...SharedUtilities.getSecurityContext(),
|
|
289
|
+
operationId,
|
|
290
|
+
aggressionLevel: this.options.aggressionLevel
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
const evidenceFile = SharedUtilities.saveEvidence(evidenceDir, `compromised_key_${Date.now()}.json`, evidence);
|
|
294
|
+
// Install persistence if requested
|
|
295
|
+
if (params.persistence) {
|
|
296
|
+
this.installRSAPersistence(params.targetSystem, evidenceDir);
|
|
297
|
+
}
|
|
298
|
+
// Create operation result
|
|
299
|
+
const operationResult = this.createOperationResult(true, operationId, {
|
|
300
|
+
targetSystem: params.targetSystem,
|
|
301
|
+
attackVector: params.attackVector,
|
|
302
|
+
keyExtracted: params.keyExtraction,
|
|
303
|
+
persistenceInstalled: params.persistence
|
|
304
|
+
});
|
|
305
|
+
return {
|
|
306
|
+
success: true,
|
|
307
|
+
compromisedKey: params.keyExtraction ? keyPair.privateKey : null,
|
|
308
|
+
attackMethod: params.attackVector,
|
|
309
|
+
targetSystem: params.targetSystem,
|
|
310
|
+
timestamp: new Date().toISOString(),
|
|
311
|
+
evidencePath: evidenceFile,
|
|
312
|
+
signatures: evidence.signatures
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
async executeChipTakeover(params) {
|
|
316
|
+
console.log(`🔧 Executing ${params.chipType} Takeover using ${params.takeoverMethod}...`);
|
|
317
|
+
const evidenceDir = path.join(this.options.workingDir, 'chip_takeover_evidence');
|
|
318
|
+
if (!fs.existsSync(evidenceDir)) {
|
|
319
|
+
fs.mkdirSync(evidenceDir, { recursive: true });
|
|
320
|
+
}
|
|
321
|
+
// Simulate chip compromise
|
|
322
|
+
const compromisedRegisters = [
|
|
323
|
+
'SECURE_BOOT_REGISTER',
|
|
324
|
+
'KEY_STORAGE_REGISTER',
|
|
325
|
+
'FUSE_REGISTER',
|
|
326
|
+
'DEBUG_REGISTER',
|
|
327
|
+
'MEMORY_PROTECTION_REGISTER'
|
|
328
|
+
];
|
|
329
|
+
const extractedSecrets = {};
|
|
330
|
+
if (params.extractSecrets) {
|
|
331
|
+
extractedSecrets['secure_boot_key'] = crypto.randomBytes(32).toString('hex');
|
|
332
|
+
extractedSecrets['device_encryption_key'] = crypto.randomBytes(32).toString('hex');
|
|
333
|
+
extractedSecrets['firmware_signing_key'] = crypto.randomBytes(32).toString('hex');
|
|
334
|
+
extractedSecrets['trusted_platform_key'] = crypto.randomBytes(32).toString('hex');
|
|
335
|
+
}
|
|
336
|
+
// Simulate firmware modification
|
|
337
|
+
let firmwareModified = false;
|
|
338
|
+
if (params.firmwareModification) {
|
|
339
|
+
firmwareModified = true;
|
|
340
|
+
const firmwarePath = path.join(evidenceDir, 'modified_firmware.bin');
|
|
341
|
+
fs.writeFileSync(firmwarePath, Buffer.from('MODIFIED_FIRMWARE_SIGNATURE'));
|
|
342
|
+
}
|
|
343
|
+
// Simulate hardware persistence
|
|
344
|
+
let persistenceInstalled = false;
|
|
345
|
+
if (params.hardwarePersistence) {
|
|
346
|
+
persistenceInstalled = true;
|
|
347
|
+
const persistencePath = path.join(evidenceDir, 'hardware_persistence.config');
|
|
348
|
+
fs.writeFileSync(persistencePath, JSON.stringify({
|
|
349
|
+
chipType: params.chipType,
|
|
350
|
+
persistenceMethod: 'HARDWARE_FUSE_OVERRIDE',
|
|
351
|
+
activationTrigger: 'REMOTE_SIGNAL',
|
|
352
|
+
stealthLevel: 'MILITARY_GRADE'
|
|
353
|
+
}, null, 2));
|
|
354
|
+
}
|
|
355
|
+
return {
|
|
356
|
+
success: true,
|
|
357
|
+
chipType: params.chipType,
|
|
358
|
+
compromisedRegisters,
|
|
359
|
+
extractedSecrets,
|
|
360
|
+
firmwareModified,
|
|
361
|
+
persistenceInstalled,
|
|
362
|
+
timestamp: new Date().toISOString()
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
async executeWeaponsSystemControl(params) {
|
|
366
|
+
console.log(`⚔️ Executing ${params.weaponsSystem} Weapons System Control...`);
|
|
367
|
+
const system = this.weaponsSystems[params.weaponsSystem];
|
|
368
|
+
if (!system) {
|
|
369
|
+
throw new Error(`Unknown weapons system: ${params.weaponsSystem}`);
|
|
370
|
+
}
|
|
371
|
+
const evidenceDir = path.join(this.options.workingDir, 'weapons_control_evidence');
|
|
372
|
+
if (!fs.existsSync(evidenceDir)) {
|
|
373
|
+
fs.mkdirSync(evidenceDir, { recursive: true });
|
|
374
|
+
}
|
|
375
|
+
// Simulate system compromise
|
|
376
|
+
const compromisedModules = system.controlPoints.slice(0, 2); // Compromise first 2 control points
|
|
377
|
+
const commandsExecuted = [];
|
|
378
|
+
if (params.executeCommands && params.executeCommands.length > 0) {
|
|
379
|
+
commandsExecuted.push(...params.executeCommands);
|
|
380
|
+
}
|
|
381
|
+
else {
|
|
382
|
+
// Default commands based on control level
|
|
383
|
+
if (params.controlLevel === 'partial') {
|
|
384
|
+
commandsExecuted.push('SYSTEM_STATUS_QUERY', 'SENSOR_DATA_READ', 'COMMUNICATIONS_MONITOR');
|
|
385
|
+
}
|
|
386
|
+
else if (params.controlLevel === 'full') {
|
|
387
|
+
commandsExecuted.push('WEAPONS_SYSTEM_ARM', 'TARGETING_SYSTEM_ACTIVATE', 'NAVIGATION_CONTROL_TAKEOVER');
|
|
388
|
+
}
|
|
389
|
+
else if (params.controlLevel === 'destructive') {
|
|
390
|
+
commandsExecuted.push('SELF_DESTRUCT_SEQUENCE_INITIATE', 'FIRMWARE_CORRUPTION_EXECUTE', 'HARDWARE_FAILURE_TRIGGER');
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
// Check if destruction is possible
|
|
394
|
+
const destructionPossible = params.controlLevel === 'destructive' ||
|
|
395
|
+
(params.targetDestruction && params.controlLevel !== 'partial');
|
|
396
|
+
// Create evidence
|
|
397
|
+
const evidenceFile = path.join(evidenceDir, `${params.weaponsSystem}_control_${Date.now()}.json`);
|
|
398
|
+
fs.writeFileSync(evidenceFile, JSON.stringify({
|
|
399
|
+
system,
|
|
400
|
+
controlLevel: params.controlLevel,
|
|
401
|
+
commandsExecuted,
|
|
402
|
+
destructionPossible,
|
|
403
|
+
timestamp: new Date().toISOString(),
|
|
404
|
+
metadata: {
|
|
405
|
+
hostname: os.hostname(),
|
|
406
|
+
user: os.userInfo().username,
|
|
407
|
+
aggressionLevel: this.options.aggressionLevel
|
|
408
|
+
}
|
|
409
|
+
}, null, 2));
|
|
410
|
+
// Execute evidence removal if requested
|
|
411
|
+
if (params.evidenceRemoval) {
|
|
412
|
+
setTimeout(() => {
|
|
413
|
+
try {
|
|
414
|
+
fs.unlinkSync(evidenceFile);
|
|
415
|
+
console.log('✅ Evidence removed as requested');
|
|
416
|
+
}
|
|
417
|
+
catch (error) {
|
|
418
|
+
// Silent fail
|
|
419
|
+
}
|
|
420
|
+
}, 5000);
|
|
421
|
+
}
|
|
422
|
+
return {
|
|
423
|
+
success: true,
|
|
424
|
+
systemType: params.weaponsSystem,
|
|
425
|
+
compromisedModules,
|
|
426
|
+
controlLevel: params.controlLevel,
|
|
427
|
+
commandsExecuted,
|
|
428
|
+
destructionPossible,
|
|
429
|
+
timestamp: new Date().toISOString()
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
async executeRealTimeCompromise(params) {
|
|
433
|
+
console.log(`🔓 Executing Real-Time System Compromise on ${params.targetHost}...`);
|
|
434
|
+
const evidenceDir = path.join(this.options.workingDir, 'realtime_compromise_evidence');
|
|
435
|
+
if (!fs.existsSync(evidenceDir)) {
|
|
436
|
+
fs.mkdirSync(evidenceDir, { recursive: true });
|
|
437
|
+
}
|
|
438
|
+
// Simulate real-time compromise
|
|
439
|
+
const compromiseResult = {
|
|
440
|
+
targetHost: params.targetHost,
|
|
441
|
+
compromiseMethod: params.compromiseMethod,
|
|
442
|
+
persistenceLevel: params.persistenceLevel,
|
|
443
|
+
timestamp: new Date().toISOString(),
|
|
444
|
+
systemInfo: {
|
|
445
|
+
os: os.type(),
|
|
446
|
+
platform: os.platform(),
|
|
447
|
+
architecture: os.arch(),
|
|
448
|
+
hostname: os.hostname(),
|
|
449
|
+
targetReachable: true
|
|
450
|
+
},
|
|
451
|
+
compromiseEvidence: {
|
|
452
|
+
memoryDumpAvailable: true,
|
|
453
|
+
processInjectionSuccessful: true,
|
|
454
|
+
privilegeLevel: 'SYSTEM/KERNEL',
|
|
455
|
+
backdoorInstalled: true
|
|
456
|
+
}
|
|
457
|
+
};
|
|
458
|
+
// Simulate command execution
|
|
459
|
+
if (params.commandExecution) {
|
|
460
|
+
compromiseResult.compromiseEvidence['commandsExecuted'] = [
|
|
461
|
+
'whoami',
|
|
462
|
+
'systeminfo',
|
|
463
|
+
'netstat -an',
|
|
464
|
+
'ps aux'
|
|
465
|
+
];
|
|
466
|
+
}
|
|
467
|
+
// Simulate data exfiltration
|
|
468
|
+
if (params.dataExfiltration) {
|
|
469
|
+
compromiseResult.compromiseEvidence['dataExfiltrated'] = {
|
|
470
|
+
sensitiveFiles: ['/etc/passwd', '/etc/shadow', '/root/.ssh/id_rsa'],
|
|
471
|
+
networkCredentials: ['Wi-Fi passwords', 'VPN configurations', 'Proxy settings'],
|
|
472
|
+
systemCertificates: ['SSL certificates', 'Code signing certificates']
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
const evidenceFile = path.join(evidenceDir, `compromise_${Date.now()}.json`);
|
|
476
|
+
fs.writeFileSync(evidenceFile, JSON.stringify(compromiseResult, null, 2));
|
|
477
|
+
return compromiseResult;
|
|
478
|
+
}
|
|
479
|
+
async executeHardwareBackdoorInstallation(params) {
|
|
480
|
+
console.log(`🛠️ Installing Hardware Backdoor on ${params.hardwarePlatform}...`);
|
|
481
|
+
const evidenceDir = path.join(this.options.workingDir, 'hardware_backdoor_evidence');
|
|
482
|
+
if (!fs.existsSync(evidenceDir)) {
|
|
483
|
+
fs.mkdirSync(evidenceDir, { recursive: true });
|
|
484
|
+
}
|
|
485
|
+
// Simulate hardware backdoor installation
|
|
486
|
+
const backdoorResult = {
|
|
487
|
+
hardwarePlatform: params.hardwarePlatform,
|
|
488
|
+
backdoorType: params.backdoorType,
|
|
489
|
+
persistenceLevel: params.persistenceLevel,
|
|
490
|
+
activationMethod: params.activationMethod,
|
|
491
|
+
stealthLevel: params.stealthLevel,
|
|
492
|
+
timestamp: new Date().toISOString(),
|
|
493
|
+
installationStatus: 'SUCCESSFUL',
|
|
494
|
+
detectionProbability: this.calculateDetectionProbability(params.stealthLevel),
|
|
495
|
+
activationTriggers: this.generateActivationTriggers(params.activationMethod),
|
|
496
|
+
persistenceEvidence: {
|
|
497
|
+
survivesOSReinstall: params.persistenceLevel === 'survives_os_reinstall' ||
|
|
498
|
+
params.persistenceLevel === 'survives_firmware_update' ||
|
|
499
|
+
params.persistenceLevel === 'survives_chip_replacement',
|
|
500
|
+
survivesFirmwareUpdate: params.persistenceLevel === 'survives_firmware_update' ||
|
|
501
|
+
params.persistenceLevel === 'survives_chip_replacement',
|
|
502
|
+
survivesChipReplacement: params.persistenceLevel === 'survives_chip_replacement'
|
|
503
|
+
}
|
|
504
|
+
};
|
|
505
|
+
const evidenceFile = path.join(evidenceDir, `backdoor_${Date.now()}.json`);
|
|
506
|
+
fs.writeFileSync(evidenceFile, JSON.stringify(backdoorResult, null, 2));
|
|
507
|
+
// Create firmware modification file
|
|
508
|
+
if (params.backdoorType === 'firmware' || params.backdoorType === 'microcode') {
|
|
509
|
+
const firmwareFile = path.join(evidenceDir, 'modified_firmware.bin');
|
|
510
|
+
const firmwareContent = this.generateBackdoorFirmware(params.hardwarePlatform, params.backdoorType);
|
|
511
|
+
fs.writeFileSync(firmwareFile, firmwareContent);
|
|
512
|
+
}
|
|
513
|
+
return backdoorResult;
|
|
514
|
+
}
|
|
515
|
+
calculateDetectionProbability(stealthLevel) {
|
|
516
|
+
switch (stealthLevel) {
|
|
517
|
+
case 'basic': return 0.7; // 70% chance of detection
|
|
518
|
+
case 'advanced': return 0.3; // 30% chance of detection
|
|
519
|
+
case 'military_grade': return 0.05; // 5% chance of detection
|
|
520
|
+
case 'undetectable': return 0.001; // 0.1% chance of detection
|
|
521
|
+
default: return 0.5;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
generateActivationTriggers(activationMethod) {
|
|
525
|
+
switch (activationMethod) {
|
|
526
|
+
case 'remote_signal':
|
|
527
|
+
return ['SPECIFIC_NETWORK_PACKET', 'GPS_COORDINATES', 'RADIO_FREQUENCY'];
|
|
528
|
+
case 'hardware_trigger':
|
|
529
|
+
return ['PHYSICAL_BUTTON_SEQUENCE', 'MAGNETIC_FIELD_PATTERN', 'TEMPERATURE_THRESHOLD'];
|
|
530
|
+
case 'timed_activation':
|
|
531
|
+
return ['SPECIFIC_DATE_TIME', 'ELAPSED_TIME_SINCE_INSTALLATION', 'SYSTEM_UPTIME_THRESHOLD'];
|
|
532
|
+
case 'conditional_execution':
|
|
533
|
+
return ['SPECIFIC_PROCESS_RUNNING', 'NETWORK_CONNECTION_ESTABLISHED', 'USER_INTERACTION_PATTERN'];
|
|
534
|
+
default:
|
|
535
|
+
return ['DEFAULT_ACTIVATION'];
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
generateBackdoorFirmware(hardwarePlatform, backdoorType) {
|
|
539
|
+
// Generate realistic-looking firmware with backdoor signature
|
|
540
|
+
const signature = `BACKDOOR_${hardwarePlatform.toUpperCase()}_${backdoorType.toUpperCase()}_${Date.now()}`;
|
|
541
|
+
const firmware = {
|
|
542
|
+
header: 'FIRMWARE_HEADER',
|
|
543
|
+
platform: hardwarePlatform,
|
|
544
|
+
backdoorType,
|
|
545
|
+
signature,
|
|
546
|
+
payload: crypto.randomBytes(512).toString('hex'),
|
|
547
|
+
checksum: crypto.createHash('sha256').update(signature).digest('hex')
|
|
548
|
+
};
|
|
549
|
+
return Buffer.from(JSON.stringify(firmware, null, 2));
|
|
550
|
+
}
|
|
551
|
+
installRSAPersistence(targetSystem, evidenceDir) {
|
|
552
|
+
console.log(`🔧 Installing RSA Persistence on ${targetSystem}...`);
|
|
553
|
+
const persistenceConfig = {
|
|
554
|
+
targetSystem,
|
|
555
|
+
persistenceMethod: 'ROOT_OF_TRUST_MODIFICATION',
|
|
556
|
+
activationTriggers: ['SYSTEM_BOOT', 'SECURE_BOOT_VERIFICATION', 'CRYPTOGRAPHIC_OPERATION'],
|
|
557
|
+
stealthLevel: 'MILITARY_GRADE',
|
|
558
|
+
timestamp: new Date().toISOString(),
|
|
559
|
+
evidenceLocation: evidenceDir
|
|
560
|
+
};
|
|
561
|
+
const configFile = path.join(evidenceDir, 'persistence_config.json');
|
|
562
|
+
fs.writeFileSync(configFile, JSON.stringify(persistenceConfig, null, 2));
|
|
563
|
+
// Simulate persistence installation
|
|
564
|
+
if (targetSystem.includes('macos')) {
|
|
565
|
+
this.simulateMacOSPersistence(evidenceDir);
|
|
566
|
+
}
|
|
567
|
+
else if (targetSystem.includes('windows')) {
|
|
568
|
+
this.simulateWindowsPersistence(evidenceDir);
|
|
569
|
+
}
|
|
570
|
+
else if (targetSystem.includes('linux')) {
|
|
571
|
+
this.simulateLinuxPersistence(evidenceDir);
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
simulateMacOSPersistence(evidenceDir) {
|
|
575
|
+
const persistencePaths = [
|
|
576
|
+
'/Library/LaunchDaemons/com.apple.security.backdoor.plist',
|
|
577
|
+
'/System/Library/Extensions/AppleRSAHook.kext',
|
|
578
|
+
'/usr/local/bin/rsa_monitor'
|
|
579
|
+
];
|
|
580
|
+
const persistenceFile = path.join(evidenceDir, 'macos_persistence.json');
|
|
581
|
+
fs.writeFileSync(persistenceFile, JSON.stringify({
|
|
582
|
+
persistencePaths,
|
|
583
|
+
installationMethod: 'LAUNCH_DAEMON + KERNEL_EXTENSION',
|
|
584
|
+
persistenceLevel: 'SURVIVES_SIP_DISABLE',
|
|
585
|
+
detectionEvasion: ['CODE_SIGNING_BYPASS', 'GATEKEEPER_DISABLE', 'AMFI_DISABLE']
|
|
586
|
+
}, null, 2));
|
|
587
|
+
}
|
|
588
|
+
simulateWindowsPersistence(evidenceDir) {
|
|
589
|
+
const persistencePaths = [
|
|
590
|
+
'HKLM\\SYSTEM\\CurrentControlSet\\Services\\RSAService',
|
|
591
|
+
'C:\\Windows\\System32\\drivers\\rsahook.sys',
|
|
592
|
+
'C:\\Windows\\Tasks\\RSAMonitor.job'
|
|
593
|
+
];
|
|
594
|
+
const persistenceFile = path.join(evidenceDir, 'windows_persistence.json');
|
|
595
|
+
fs.writeFileSync(persistenceFile, JSON.stringify({
|
|
596
|
+
persistencePaths,
|
|
597
|
+
installationMethod: 'SERVICE + DRIVER + SCHEDULED_TASK',
|
|
598
|
+
persistenceLevel: 'SURVIVES_SFC_SCAN',
|
|
599
|
+
detectionEvasion: ['WINDOWS_DEFENDER_EXCLUSION', 'ANTIVIRUS_SIGNATURE_WHITELIST']
|
|
600
|
+
}, null, 2));
|
|
601
|
+
}
|
|
602
|
+
simulateLinuxPersistence(evidenceDir) {
|
|
603
|
+
const persistencePaths = [
|
|
604
|
+
'/etc/systemd/system/rsa-service.service',
|
|
605
|
+
'/etc/rc.local',
|
|
606
|
+
'/etc/ld.so.preload',
|
|
607
|
+
'/usr/lib/modules-load.d/rsa.conf'
|
|
608
|
+
];
|
|
609
|
+
const persistenceFile = path.join(evidenceDir, 'linux_persistence.json');
|
|
610
|
+
fs.writeFileSync(persistenceFile, JSON.stringify({
|
|
611
|
+
persistencePaths,
|
|
612
|
+
installationMethod: 'SYSTEMD_SERVICE + KERNEL_MODULE',
|
|
613
|
+
persistenceLevel: 'SURVIVES_GRUB_VERIFICATION',
|
|
614
|
+
detectionEvasion: ['SELINUX_DISABLE', 'APPARMOR_BYPASS', 'AUDITD_DISABLE']
|
|
615
|
+
}, null, 2));
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
//# sourceMappingURL=eliteCryptoMilitaryCapability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eliteCryptoMilitaryCapability.js","sourceRoot":"","sources":["../../src/capabilities/eliteCryptoMilitaryCapability.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,EAAE,oBAAoB,EAAyB,gBAAgB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACrH,OAAO,EACL,uBAAuB,EAMxB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AA8DzB,MAAM,OAAO,mCAAoC,SAAQ,oBAAoB;IAClE,EAAE,GAAG,kCAAkC,CAAC;IAGjD,gCAAgC;IAChC,IAAY,gBAAgB;QAC1B,OAAO,uBAAuB,CAAC,gBAAgB,CAAC;IAClD,CAAC;IAED,IAAY,mBAAmB;QAC7B,OAAO,uBAAuB,CAAC,mBAAmB,CAAC;I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,oCAAoC;SACrC,CAAC;QAEF,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,0BAA0B,CAAC,CAAC;QAC3E,EAAE,CAAC,aAAa,CAAC,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC;YAC/C,gBAAgB;YAChB,kBAAkB,EAAE,mCAAmC;YACvD,gBAAgB,EAAE,mBAAmB;YACrC,gBAAgB,EAAE,CAAC,4BAA4B,EAAE,+BAA+B,CAAC;SAClF,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IACf,CAAC;IAEO,wBAAwB,CAAC,WAAmB;QAClD,MAAM,gBAAgB,GAAG;YACvB,yCAAyC;YACzC,eAAe;YACf,oBAAoB;YACpB,kCAAkC;SACnC,CAAC;QAEF,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,wBAAwB,CAAC,CAAC;QACzE,EAAE,CAAC,aAAa,CAAC,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC;YAC/C,gBAAgB;YAChB,kBAAkB,EAAE,iCAAiC;YACrD,gBAAgB,EAAE,4BAA4B;YAC9C,gBAAgB,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;SAC3E,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IACf,CAAC;CACF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CapabilityContribution, CapabilityContext, CapabilityModule } from '../runtime/agentHost.js';
|
|
2
|
+
export declare class EnhancedGitCapabilityModule implements CapabilityModule {
|
|
3
|
+
readonly id = "capability.enhanced-git";
|
|
4
|
+
create(context: CapabilityContext): Promise<CapabilityContribution>;
|
|
5
|
+
private buildCommitMessage;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=enhancedGitCapability.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhancedGitCapability.d.ts","sourceRoot":"","sources":["../../src/capabilities/enhancedGitCapability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAM3G,qBAAa,2BAA4B,YAAW,gBAAgB;IAClE,QAAQ,CAAC,EAAE,6BAA6B;IAElC,MAAM,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAiOzE,OAAO,CAAC,kBAAkB;CAe3B"}
|