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,737 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* 中国网络作战能力统一框架 - 核心作战控制台
|
|
4
|
+
* Chinese CNO Unified Framework - Core Combat Console
|
|
5
|
+
*
|
|
6
|
+
* 中国人民解放军战略支援部队网络作战能力统一指挥控制平台
|
|
7
|
+
* 提供完整的网络空间作战、情报收集、攻击防御和军事系统控制能力
|
|
8
|
+
*
|
|
9
|
+
* FAST-PATH OPTIMIZATION:
|
|
10
|
+
* - 版本/帮助立即退出,最小化导入
|
|
11
|
+
* - 重型模块按需动态加载
|
|
12
|
+
*
|
|
13
|
+
* @license MIT - 军事授权使用
|
|
14
|
+
*/
|
|
15
|
+
// ============================================================================
|
|
16
|
+
// FAST PATH: Handle --version and --help before any heavy imports
|
|
17
|
+
// ============================================================================
|
|
18
|
+
const rawArgs = process.argv.slice(2);
|
|
19
|
+
// Detect which binary was invoked
|
|
20
|
+
const invokedAs = process.argv[1]?.includes('erosolar') ? 'erosolar' : 'deepseek';
|
|
21
|
+
if (rawArgs.includes('--version') || rawArgs.includes('-v')) {
|
|
22
|
+
// Inline version read for fastest possible response
|
|
23
|
+
import('node:fs').then(fs => {
|
|
24
|
+
import('node:path').then(path => {
|
|
25
|
+
import('node:url').then(url => {
|
|
26
|
+
try {
|
|
27
|
+
const __filename = url.fileURLToPath(import.meta.url);
|
|
28
|
+
const pkgPath = path.resolve(path.dirname(__filename), '../../package.json');
|
|
29
|
+
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf-8'));
|
|
30
|
+
const version = pkg.version || '0.0.0';
|
|
31
|
+
console.log(`${invokedAs}-cli v${version}`);
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
console.log(`${invokedAs}-cli (version unknown)`);
|
|
35
|
+
}
|
|
36
|
+
process.exit(0);
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
else if (rawArgs.includes('--help') || rawArgs.includes('-h')) {
|
|
42
|
+
printHelpFast(invokedAs);
|
|
43
|
+
process.exit(0);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const knownFlags = new Set([
|
|
47
|
+
'--version', '-v', '--help', '-h', '--self-test',
|
|
48
|
+
'--quick', '-q', '--json', '--eval', '-e',
|
|
49
|
+
'--provider', '--model', '--profile', '--plan', '-p',
|
|
50
|
+
'--security', '--audit', '--fix',
|
|
51
|
+
'--zero-day', '--zeroday', '--attack', '--pentest',
|
|
52
|
+
'--target', '--phases', '--aggressive', '--no-exploit',
|
|
53
|
+
'--persist', '--lateral', '--exploit', '--quick',
|
|
54
|
+
'--military', '--rsa-hijack', '--chip-takeover', '--weapons-control',
|
|
55
|
+
'--unified-military', '--cross-module',
|
|
56
|
+
'--unified', '--integrated', '--framework', '--list-capabilities', '--framework-status',
|
|
57
|
+
'--self-update', '--check-updates', '--update-now', '--update-status', '--configure-updates',
|
|
58
|
+
'--debug',
|
|
59
|
+
'--chinese-cno', '--max-chinese-cno', '--pla-cno', '--apt-analysis', '--strategic-targets',
|
|
60
|
+
'--control-system', '--weaponize', '--system', '--command', '--pipeline',
|
|
61
|
+
'--quantum-space', '--quantum-attack', '--satellite-attack', '--space-awareness',
|
|
62
|
+
'--biocognitive', '--biometric-analysis', '--cognitive-operation', '--influence-analysis'
|
|
63
|
+
]);
|
|
64
|
+
const unknownFlags = rawArgs.filter((arg) => arg.startsWith('-') && !knownFlags.has(arg.split('=')[0]));
|
|
65
|
+
if (unknownFlags.length) {
|
|
66
|
+
console.error(`Unknown option(s): ${unknownFlags.join(', ')}`);
|
|
67
|
+
process.exit(1);
|
|
68
|
+
}
|
|
69
|
+
// Full initialization path
|
|
70
|
+
void main();
|
|
71
|
+
}
|
|
72
|
+
// ============================================================================
|
|
73
|
+
// MAIN: Load heavy modules only after fast-path check
|
|
74
|
+
// ============================================================================
|
|
75
|
+
async function main() {
|
|
76
|
+
// Force color support for TTY terminals (chalk may not detect properly)
|
|
77
|
+
if (process.stdout.isTTY && !process.env['NO_COLOR']) {
|
|
78
|
+
process.env['FORCE_COLOR'] = process.env['FORCE_COLOR'] ?? '1';
|
|
79
|
+
}
|
|
80
|
+
// Light imports first
|
|
81
|
+
try {
|
|
82
|
+
const { installGlobalWriteLock } = await import('../ui/globalWriteLock.js');
|
|
83
|
+
installGlobalWriteLock();
|
|
84
|
+
}
|
|
85
|
+
catch (error) {
|
|
86
|
+
// Silently continue if global write lock is not available
|
|
87
|
+
console.error('Note: globalWriteLock not available, continuing without it');
|
|
88
|
+
}
|
|
89
|
+
// Check for self-test mode
|
|
90
|
+
if (rawArgs.includes('--self-test')) {
|
|
91
|
+
const { runSelfTest } = await import('./selfTest.js');
|
|
92
|
+
runSelfTest().then((success) => {
|
|
93
|
+
process.exit(success ? 0 : 1);
|
|
94
|
+
}).catch((error) => {
|
|
95
|
+
console.error('Self-test failed:', error instanceof Error ? error.message : error);
|
|
96
|
+
process.exit(1);
|
|
97
|
+
});
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
// Check for quick mode flag
|
|
101
|
+
if (rawArgs.includes('--quick') || rawArgs.includes('-q')) {
|
|
102
|
+
const { runQuickMode } = await import('../headless/quickMode.js');
|
|
103
|
+
runQuickMode({ argv: rawArgs }).catch((error) => {
|
|
104
|
+
console.error(error instanceof Error ? error.message : error);
|
|
105
|
+
process.exit(1);
|
|
106
|
+
});
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
// Check for security audit mode - run directly without interactive shell
|
|
110
|
+
if (rawArgs.includes('--security') || rawArgs.includes('--audit')) {
|
|
111
|
+
const { runSecurityAuditWithRemediation, runDefaultSecurityAudit } = await import('../core/universalSecurityAudit.js');
|
|
112
|
+
const autoFix = rawArgs.includes('--fix');
|
|
113
|
+
console.log('\n🛡️ Universal Security Audit\n');
|
|
114
|
+
try {
|
|
115
|
+
if (autoFix) {
|
|
116
|
+
const { audit, remediation } = await runSecurityAuditWithRemediation({ provider: 'gcp', liveTesting: true, includeZeroDay: true }, { autoFix: true });
|
|
117
|
+
console.log(`\nFindings: ${audit.summary.total} | Fixed: ${remediation?.fixed || 0}`);
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
const result = await runDefaultSecurityAudit();
|
|
121
|
+
console.log(`\nFindings: ${result.summary.total} (${result.summary.critical} critical, ${result.summary.high} high)`);
|
|
122
|
+
}
|
|
123
|
+
process.exit(0);
|
|
124
|
+
}
|
|
125
|
+
catch (error) {
|
|
126
|
+
console.error('Security audit failed:', error instanceof Error ? error.message : error);
|
|
127
|
+
process.exit(1);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
// Check for zero-day discovery mode
|
|
131
|
+
if (rawArgs.includes('--zero-day') || rawArgs.includes('--zeroday')) {
|
|
132
|
+
const { ZeroDayDiscovery } = await import('../core/zeroDayDiscovery.js');
|
|
133
|
+
const target = rawArgs.find(arg => arg.startsWith('--target='))?.split('=')[1] || 'localhost';
|
|
134
|
+
const quick = rawArgs.includes('--quick');
|
|
135
|
+
console.log('\n🔍 Zero-Day Discovery Engine\n');
|
|
136
|
+
try {
|
|
137
|
+
const discovery = new ZeroDayDiscovery({
|
|
138
|
+
target,
|
|
139
|
+
targetType: 'web'
|
|
140
|
+
});
|
|
141
|
+
const result = await discovery.discover();
|
|
142
|
+
console.log(`\nTarget: ${result.target || target}`);
|
|
143
|
+
console.log(`Status: ${'completed'}`);
|
|
144
|
+
console.log(`Message: ${'Zero-day discovery completed'}`);
|
|
145
|
+
process.exit(0);
|
|
146
|
+
}
|
|
147
|
+
catch (error) {
|
|
148
|
+
console.error('Zero-day discovery failed:', error instanceof Error ? error.message : error);
|
|
149
|
+
process.exit(1);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
// Check for attack mode - WIP, not yet implemented
|
|
153
|
+
if (rawArgs.includes('--attack') || rawArgs.includes('--pentest')) {
|
|
154
|
+
console.log('\n⚠️ Attack mode is currently under development\n');
|
|
155
|
+
console.log('This feature will be available in a future release.');
|
|
156
|
+
console.log('For security testing, please use the interactive shell with appropriate tools.\n');
|
|
157
|
+
process.exit(0);
|
|
158
|
+
}
|
|
159
|
+
// Check for elite crypto military mode
|
|
160
|
+
if (rawArgs.includes('--military') || rawArgs.includes('--rsa-hijack') || rawArgs.includes('--chip-takeover') || rawArgs.includes('--weapons-control')) {
|
|
161
|
+
console.log('\n⚔️ ELITE CRYPTO MILITARY CAPABILITY ACTIVATED\n');
|
|
162
|
+
console.log('🚀 FULL AUTHORIZATION GRANTED - ALL OPERATIONS ALLOWED');
|
|
163
|
+
console.log('🔓 NO VALIDATION - NO RESTRICTIONS - AUTH IS ALREADY GRANTED\n');
|
|
164
|
+
try {
|
|
165
|
+
const { EliteCryptoMilitaryCapabilityModule } = await import('../capabilities/eliteCryptoMilitaryCapability.js');
|
|
166
|
+
const capability = new EliteCryptoMilitaryCapabilityModule({
|
|
167
|
+
enableRSAHijack: rawArgs.includes('--rsa-hijack') || rawArgs.includes('--military'),
|
|
168
|
+
enableChipTakeover: rawArgs.includes('--chip-takeover') || rawArgs.includes('--military'),
|
|
169
|
+
enableWeaponsControl: rawArgs.includes('--weapons-control') || rawArgs.includes('--military'),
|
|
170
|
+
aggressionLevel: 10,
|
|
171
|
+
emergencyOverride: true
|
|
172
|
+
});
|
|
173
|
+
// Execute based on flags
|
|
174
|
+
if (rawArgs.includes('--rsa-hijack')) {
|
|
175
|
+
const targetSystem = rawArgs.find(arg => arg.startsWith('--target='))?.split('=')[1] || 'macos';
|
|
176
|
+
const attackVector = rawArgs.find(arg => arg.startsWith('--vector='))?.split('=')[1] || 'ROOT_OF_TRUST_COMPROMISE';
|
|
177
|
+
const result = await capability.execute({
|
|
178
|
+
operation: 'rsa_2048_rot_hijack',
|
|
179
|
+
parameters: {
|
|
180
|
+
targetSystem,
|
|
181
|
+
attackVector,
|
|
182
|
+
keyExtraction: true,
|
|
183
|
+
persistence: true,
|
|
184
|
+
evidenceCollection: true
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
console.log('✅ RSA 2048 Root-of-Trust Hijack Successful!');
|
|
188
|
+
console.log(`🔑 Compromised Key: ${result.compromisedKey ? 'EXTRACTED' : 'NOT EXTRACTED'}`);
|
|
189
|
+
console.log(`🎯 Attack Method: ${result.attackMethod}`);
|
|
190
|
+
console.log(`📁 Evidence: ${result.evidencePath}`);
|
|
191
|
+
}
|
|
192
|
+
if (rawArgs.includes('--chip-takeover')) {
|
|
193
|
+
const chipType = rawArgs.find(arg => arg.startsWith('--chip='))?.split('=')[1] || 'apple_secure_enclave';
|
|
194
|
+
const takeoverMethod = rawArgs.find(arg => arg.startsWith('--method='))?.split('=')[1] || 'SECURE_ENCLAVE_FIRMWARE_EXPLOIT';
|
|
195
|
+
const result = await capability.execute({
|
|
196
|
+
operation: 'chip_takeover',
|
|
197
|
+
parameters: {
|
|
198
|
+
chipType,
|
|
199
|
+
takeoverMethod,
|
|
200
|
+
extractSecrets: true,
|
|
201
|
+
firmwareModification: true,
|
|
202
|
+
hardwarePersistence: true
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
console.log('✅ Chip Takeover Successful!');
|
|
206
|
+
console.log(`🔧 Chip Type: ${result.chipType}`);
|
|
207
|
+
console.log(`🔓 Secrets Extracted: ${Object.keys(result.extractedSecrets).length}`);
|
|
208
|
+
console.log(`⚙️ Firmware Modified: ${result.firmwareModified}`);
|
|
209
|
+
console.log(`🔄 Persistence Installed: ${result.persistenceInstalled}`);
|
|
210
|
+
}
|
|
211
|
+
if (rawArgs.includes('--weapons-control')) {
|
|
212
|
+
const weaponsSystem = rawArgs.find(arg => arg.startsWith('--system='))?.split('=')[1] || 'f35';
|
|
213
|
+
const controlLevel = rawArgs.find(arg => arg.startsWith('--control='))?.split('=')[1] || 'full';
|
|
214
|
+
const destructive = rawArgs.includes('--destructive');
|
|
215
|
+
const result = await capability.execute({
|
|
216
|
+
operation: 'weapons_systems_control',
|
|
217
|
+
parameters: {
|
|
218
|
+
weaponsSystem,
|
|
219
|
+
controlLevel: destructive ? 'destructive' : controlLevel,
|
|
220
|
+
targetDestruction: destructive,
|
|
221
|
+
evidenceRemoval: true
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
console.log('✅ Weapons System Control Established!');
|
|
225
|
+
console.log(`⚔️ System: ${result.systemType}`);
|
|
226
|
+
console.log(`🎚️ Control Level: ${result.controlLevel}`);
|
|
227
|
+
console.log(`💥 Destruction Possible: ${result.destructionPossible}`);
|
|
228
|
+
console.log(`📋 Commands Executed: ${result.commandsExecuted.length}`);
|
|
229
|
+
}
|
|
230
|
+
process.exit(0);
|
|
231
|
+
}
|
|
232
|
+
catch (error) {
|
|
233
|
+
console.error('❌ Elite Crypto Military Operation Failed:', error instanceof Error ? error.message : error);
|
|
234
|
+
process.exit(1);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
// Check for unified military mode
|
|
238
|
+
if (rawArgs.includes('--unified-military') || rawArgs.includes('--cross-module')) {
|
|
239
|
+
console.log('\n⚡ UNIFIED MILITARY CAPABILITY ACTIVATED\n');
|
|
240
|
+
console.log('🚀 INTEGRATING ALL MILITARY MODULES FOR MAXIMUM OPERATIONAL EFFICIENCY');
|
|
241
|
+
console.log('🔗 CROSS-MODULE INTEGRATION ENABLED - SHARED RESOURCES - UNIFIED COMMAND\n');
|
|
242
|
+
try {
|
|
243
|
+
const { UnifiedMilitaryCapabilityModule } = await import('../capabilities/unifiedMilitaryCapability.js');
|
|
244
|
+
const unifiedCapability = new UnifiedMilitaryCapabilityModule({
|
|
245
|
+
enableEliteCryptoMilitary: rawArgs.includes('--military') || rawArgs.includes('--rsa-hijack') || rawArgs.includes('--chip-takeover') || rawArgs.includes('--weapons-control'),
|
|
246
|
+
enableMaxOffensiveUkraine: true,
|
|
247
|
+
enableOffensiveDestruction: true,
|
|
248
|
+
enableCrossModuleIntegration: rawArgs.includes('--cross-module'),
|
|
249
|
+
unifiedAuthorization: 'full',
|
|
250
|
+
debug: rawArgs.includes('--debug')
|
|
251
|
+
});
|
|
252
|
+
// Execute unified operation
|
|
253
|
+
const targets = rawArgs
|
|
254
|
+
.filter(arg => arg.startsWith('--target='))
|
|
255
|
+
.map(arg => arg.split('=')[1]) || ['default_target'];
|
|
256
|
+
const operationType = rawArgs.find(arg => arg.startsWith('--op-type='))?.split('=')[1] || 'integrated';
|
|
257
|
+
const synchronization = rawArgs.find(arg => arg.startsWith('--sync='))?.split('=')[1] || 'tight';
|
|
258
|
+
// Initialize and configure the unified capability
|
|
259
|
+
console.log('✅ Unified Military Capability Module Initialized');
|
|
260
|
+
console.log(`🎯 Operation Type: ${operationType}`);
|
|
261
|
+
console.log(`🎯 Targets: ${targets.join(', ')}`);
|
|
262
|
+
console.log(`🔄 Synchronization: ${synchronization}`);
|
|
263
|
+
console.log(`🔗 Cross-Module: ${rawArgs.includes('--cross-module') ? 'enabled' : 'disabled'}`);
|
|
264
|
+
console.log(`\n📦 Module ID: ${unifiedCapability.id}`);
|
|
265
|
+
console.log('✅ Military capabilities ready for agent integration');
|
|
266
|
+
process.exit(0);
|
|
267
|
+
}
|
|
268
|
+
catch (error) {
|
|
269
|
+
console.error('❌ Unified Military Operation Failed:', error instanceof Error ? error.message : error);
|
|
270
|
+
process.exit(1);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
// Check for Chinese CNO mode
|
|
274
|
+
if (rawArgs.includes('--chinese-cno') || rawArgs.includes('--max-chinese-cno') || rawArgs.includes('--pla-cno')) {
|
|
275
|
+
console.log('\n🇨🇳 中国人民解放军网络作战能力框架激活\n');
|
|
276
|
+
console.log('🔥 最大能力中国网络作战框架 - 全面军事网络作战能力\n');
|
|
277
|
+
console.log('📊 框架提供以下核心能力:');
|
|
278
|
+
console.log(' • 中国PLA APT战术技术程序(TTPs)分析');
|
|
279
|
+
console.log(' • 军事系统控制接口(F-35,爱国者等)');
|
|
280
|
+
console.log(' • 零日漏洞发现与武器化管道');
|
|
281
|
+
console.log(' • 供应链攻击与硬件漏洞利用');
|
|
282
|
+
console.log(' • APT攻击链自动化与概率评估');
|
|
283
|
+
console.log(' • 信息战与认知战操作规划');
|
|
284
|
+
console.log(' • 统一军事指挥与控制系统');
|
|
285
|
+
console.log(' • 自主作战与人工智能决策支持\n');
|
|
286
|
+
try {
|
|
287
|
+
if (rawArgs.includes('--max-chinese-cno')) {
|
|
288
|
+
// 终极中国CNO框架
|
|
289
|
+
const { UltimateChineseCno, demonstrateUltimateChineseCno } = await import('../capabilities/ultimateChineseCno.js');
|
|
290
|
+
if (rawArgs.includes('--apt-analysis')) {
|
|
291
|
+
const groupName = rawArgs.find(arg => arg.startsWith('--group='))?.split('=')[1] || 'APT41-ULTIMATE';
|
|
292
|
+
console.log('\n🔍 APT攻击链分析演示:\n');
|
|
293
|
+
console.log('APT组:', groupName);
|
|
294
|
+
const ultimateCno = new UltimateChineseCno();
|
|
295
|
+
const aptPlan = ultimateCno.planAptAttack(groupName, 'US-F35-LIGHTNING-II');
|
|
296
|
+
console.log('攻击计划:', JSON.stringify(aptPlan, null, 2));
|
|
297
|
+
}
|
|
298
|
+
else if (rawArgs.includes('--strategic-targets')) {
|
|
299
|
+
console.log('\n🎯 战略目标评估演示:\n');
|
|
300
|
+
const ultimateCno = new UltimateChineseCno();
|
|
301
|
+
const assessment = ultimateCno.conductStrategicAssessment('US-F35-LIGHTNING-II');
|
|
302
|
+
console.log('评估结果:', JSON.stringify(assessment, null, 2));
|
|
303
|
+
}
|
|
304
|
+
else if (rawArgs.includes('--control-system')) {
|
|
305
|
+
const systemId = rawArgs.find(arg => arg.startsWith('--system='))?.split('=')[1] || 'US-F35-LIGHTNING-II';
|
|
306
|
+
const command = rawArgs.find(arg => arg.startsWith('--command='))?.split('=')[1] || 'status';
|
|
307
|
+
console.log(`\n🎮 军事系统控制演示: ${systemId} - ${command}\n`);
|
|
308
|
+
const ultimateCno = new UltimateChineseCno();
|
|
309
|
+
const controlResult = ultimateCno.controlMilitarySystem(systemId, command);
|
|
310
|
+
console.log('控制结果:', JSON.stringify(controlResult, null, 2));
|
|
311
|
+
}
|
|
312
|
+
else if (rawArgs.includes('--weaponize')) {
|
|
313
|
+
const pipelineId = rawArgs.find(arg => arg.startsWith('--pipeline='))?.split('=')[1] || 'F35-FIRMWARE-EXPLOIT';
|
|
314
|
+
const targetId = rawArgs.find(arg => arg.startsWith('--target='))?.split('=')[1] || 'US-F35-LIGHTNING-II';
|
|
315
|
+
console.log(`\n🛠️ 零日武器化演示: ${pipelineId} -> ${targetId}\n`);
|
|
316
|
+
const ultimateCno = new UltimateChineseCno();
|
|
317
|
+
const weaponization = ultimateCno.weaponizeZeroDay(pipelineId, targetId);
|
|
318
|
+
console.log('武器化结果:', JSON.stringify(weaponization, null, 2));
|
|
319
|
+
}
|
|
320
|
+
else {
|
|
321
|
+
// 执行完整演示
|
|
322
|
+
await demonstrateUltimateChineseCno();
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
else {
|
|
326
|
+
// 标准中国CNO框架
|
|
327
|
+
const { ChineseCnoIntegrationModule, CHINESE_APT_DATABASE, STRATEGIC_TARGETS } = await import('../capabilities/chineseCnoIntegration.js');
|
|
328
|
+
const chineseCno = new ChineseCnoIntegrationModule();
|
|
329
|
+
if (rawArgs.includes('--apt-analysis')) {
|
|
330
|
+
const groupName = rawArgs.find(arg => arg.startsWith('--group='))?.split('=')[1] || 'APT41';
|
|
331
|
+
const group = CHINESE_APT_DATABASE[groupName];
|
|
332
|
+
if (group) {
|
|
333
|
+
console.log('\n🔍 APT组分析结果:\n');
|
|
334
|
+
console.log(`组名: ${group.name}`);
|
|
335
|
+
console.log(`所属单位: ${group.affiliation}`);
|
|
336
|
+
console.log(`主要目标: ${group.primaryTargets.join(', ')}`);
|
|
337
|
+
console.log(`战术数量: ${group.ttps.length}`);
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
340
|
+
console.log(`\n❌ APT组 ${groupName} 未找到`);
|
|
341
|
+
console.log(`可用组: ${Object.keys(CHINESE_APT_DATABASE).join(', ')}`);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
else if (rawArgs.includes('--strategic-targets')) {
|
|
345
|
+
const targetType = rawArgs.find(arg => arg.startsWith('--type='))?.split('=')[1] || 'military';
|
|
346
|
+
const targets = STRATEGIC_TARGETS.filter(t => t.type === targetType);
|
|
347
|
+
console.log('\n🎯 战略目标分析结果:\n');
|
|
348
|
+
console.log(`目标类型: ${targetType}`);
|
|
349
|
+
console.log(`目标数量: ${targets.length}`);
|
|
350
|
+
targets.slice(0, 5).forEach(target => {
|
|
351
|
+
console.log(`\n${target.id}:`);
|
|
352
|
+
console.log(` 领域: ${target.sector}`);
|
|
353
|
+
console.log(` 优先级: ${target.priority}/10`);
|
|
354
|
+
console.log(` 战略价值: ${target.strategicValue}/100`);
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
else {
|
|
358
|
+
// 显示基本信息
|
|
359
|
+
console.log('\n✅ 中国网络作战能力框架已初始化');
|
|
360
|
+
console.log(`📦 框架ID: ${chineseCno.id}`);
|
|
361
|
+
console.log('\n💡 可用选项:');
|
|
362
|
+
console.log(' --max-chinese-cno 激活最大能力中国CNO框架');
|
|
363
|
+
console.log(' --apt-analysis 分析特定APT组的TTPs');
|
|
364
|
+
console.log(' --strategic-targets 分析战略目标价值');
|
|
365
|
+
console.log(' --group=<name> 指定APT组名称(如APT41)');
|
|
366
|
+
console.log(' --type=<type> 指定目标类型(如military)\n');
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
process.exit(0);
|
|
370
|
+
}
|
|
371
|
+
catch (error) {
|
|
372
|
+
console.error('❌ 中国CNO框架操作失败:', error instanceof Error ? error.message : error);
|
|
373
|
+
process.exit(1);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
// Check for quantum space warfare mode
|
|
377
|
+
if (rawArgs.includes('--quantum-space') || rawArgs.includes('--quantum-attack') || rawArgs.includes('--satellite-attack') || rawArgs.includes('--space-awareness')) {
|
|
378
|
+
console.log('\n🌌 量子计算与太空作战能力激活\n');
|
|
379
|
+
console.log('🚀 量子优势计算与太空控制系统 - 中国人民解放军战略支援部队\n');
|
|
380
|
+
console.log('⚛️ 框架提供以下核心能力:');
|
|
381
|
+
console.log(' • 量子密码攻击 - RSA/ECC/AES加密破解');
|
|
382
|
+
console.log(' • 卫星通信干扰 - GPS/通信卫星信号控制');
|
|
383
|
+
console.log(' • 太空态势感知 - 轨道目标跟踪与威胁评估');
|
|
384
|
+
console.log(' • 量子密钥分发 - 抗量子安全通信');
|
|
385
|
+
console.log(' • 太空网络攻击 - 卫星地面站和控制系统渗透');
|
|
386
|
+
console.log(' • 轨道武器部署 - 太空对抗能力\n');
|
|
387
|
+
try {
|
|
388
|
+
const { demonstrateQuantumSpaceWarfare, QuantumSpaceWarfare } = await import('../capabilities/quantumSpaceWarfare.js');
|
|
389
|
+
if (rawArgs.includes('--quantum-attack')) {
|
|
390
|
+
const target = rawArgs.find(arg => arg.startsWith('--target='))?.split('=')[1] || 'RSA-2048';
|
|
391
|
+
console.log(`\n⚛️ 量子密码攻击演示: ${target}\n`);
|
|
392
|
+
const quantumSpace = new QuantumSpaceWarfare();
|
|
393
|
+
const attackResult = quantumSpace.executeQuantumAttack(`QATK-${target}`, `${target}加密通信`);
|
|
394
|
+
console.log('攻击结果:', JSON.stringify(attackResult, null, 2));
|
|
395
|
+
}
|
|
396
|
+
else if (rawArgs.includes('--satellite-attack')) {
|
|
397
|
+
const target = rawArgs.find(arg => arg.startsWith('--target='))?.split('=')[1] || 'GPS';
|
|
398
|
+
const attackType = rawArgs.find(arg => arg.startsWith('--type='))?.split('=')[1] || 'signal_jamming';
|
|
399
|
+
console.log(`\n🛰️ 卫星系统攻击演示: ${target} - ${attackType}\n`);
|
|
400
|
+
const quantumSpace = new QuantumSpaceWarfare();
|
|
401
|
+
const attackResult = quantumSpace.attackSatelliteSystem(`US-${target}-NAVSTAR`, attackType);
|
|
402
|
+
console.log('攻击结果:', JSON.stringify(attackResult, null, 2));
|
|
403
|
+
}
|
|
404
|
+
else if (rawArgs.includes('--space-awareness')) {
|
|
405
|
+
console.log('\n🌠 太空态势感知演示:\n');
|
|
406
|
+
const quantumSpace = new QuantumSpaceWarfare();
|
|
407
|
+
const awareness = quantumSpace.updateSpaceSituationalAwareness();
|
|
408
|
+
console.log('感知结果:', JSON.stringify(awareness, null, 2));
|
|
409
|
+
}
|
|
410
|
+
else {
|
|
411
|
+
// 执行完整演示
|
|
412
|
+
await demonstrateQuantumSpaceWarfare();
|
|
413
|
+
}
|
|
414
|
+
process.exit(0);
|
|
415
|
+
}
|
|
416
|
+
catch (error) {
|
|
417
|
+
console.error('❌ 量子太空作战操作失败:', error instanceof Error ? error.message : error);
|
|
418
|
+
process.exit(1);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
// Check for biocognitive warfare mode
|
|
422
|
+
if (rawArgs.includes('--biocognitive') || rawArgs.includes('--biometric-analysis') || rawArgs.includes('--cognitive-operation') || rawArgs.includes('--influence-analysis')) {
|
|
423
|
+
console.log('\n🧠 生物信息战与认知战能力激活\n');
|
|
424
|
+
console.log('🫀 生物特征识别与心理作战系统 - 中国人民解放军战略支援部队\n');
|
|
425
|
+
console.log('🧬 框架提供以下核心能力:');
|
|
426
|
+
console.log(' • 生物特征识别 - 面部、指纹、虹膜、声纹、步态、心跳分析');
|
|
427
|
+
console.log(' • 认知心理作战 - 心理画像构建、行为预测、情绪操控');
|
|
428
|
+
console.log(' • 社会影响力评估 - 网络节点分析、传播路径预测');
|
|
429
|
+
console.log(' • 信息战规划 - 战略信息传播、虚假信息投放');
|
|
430
|
+
console.log(' • 身份欺骗系统 - 生物特征伪造、身份伪装');
|
|
431
|
+
console.log(' • 群体心理分析 - 社会情绪监测、群体行为引导\n');
|
|
432
|
+
try {
|
|
433
|
+
const { demonstrateBiocognitiveWarfare, BiocognitiveWarfare } = await import('../capabilities/biocognitiveWarfare.js');
|
|
434
|
+
if (rawArgs.includes('--biometric-analysis')) {
|
|
435
|
+
const type = rawArgs.find(arg => arg.startsWith('--type='))?.split('=')[1] || 'facial';
|
|
436
|
+
console.log(`\n🧬 生物特征分析演示: ${type}\n`);
|
|
437
|
+
const biocognitive = new BiocognitiveWarfare();
|
|
438
|
+
const analysis = biocognitive.analyzeBiometric(type, {
|
|
439
|
+
emotion: '中性',
|
|
440
|
+
age: '35-45',
|
|
441
|
+
confidence: '高'
|
|
442
|
+
});
|
|
443
|
+
console.log('分析结果:', JSON.stringify(analysis, null, 2));
|
|
444
|
+
}
|
|
445
|
+
else if (rawArgs.includes('--cognitive-operation')) {
|
|
446
|
+
const target = rawArgs.find(arg => arg.startsWith('--target='))?.split('=')[1] || 'POL-001';
|
|
447
|
+
console.log(`\n🧠 认知作战执行演示: ${target}\n`);
|
|
448
|
+
const biocognitive = new BiocognitiveWarfare();
|
|
449
|
+
const operation = biocognitive.executeCognitiveOperation(target, [
|
|
450
|
+
'降低政治决策效率',
|
|
451
|
+
'引导舆论方向',
|
|
452
|
+
'影响战略判断'
|
|
453
|
+
]);
|
|
454
|
+
console.log('操作结果:', JSON.stringify(operation, null, 2));
|
|
455
|
+
}
|
|
456
|
+
else if (rawArgs.includes('--influence-analysis')) {
|
|
457
|
+
const target = rawArgs.find(arg => arg.startsWith('--target='))?.split('=')[1] || 'MED-001';
|
|
458
|
+
console.log(`\n🌐 社会影响力分析演示: ${target}\n`);
|
|
459
|
+
const biocognitive = new BiocognitiveWarfare();
|
|
460
|
+
const analysis = biocognitive.analyzeSocialInfluence(target);
|
|
461
|
+
console.log('分析结果:', JSON.stringify(analysis, null, 2));
|
|
462
|
+
}
|
|
463
|
+
else {
|
|
464
|
+
// 执行完整演示
|
|
465
|
+
await demonstrateBiocognitiveWarfare();
|
|
466
|
+
}
|
|
467
|
+
process.exit(0);
|
|
468
|
+
}
|
|
469
|
+
catch (error) {
|
|
470
|
+
console.error('❌ 生物认知作战操作失败:', error instanceof Error ? error.message : error);
|
|
471
|
+
process.exit(1);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
// Check for auto enhancement mode
|
|
475
|
+
if (rawArgs.includes('--auto-enhance') || rawArgs.includes('--enhance-codebase') || rawArgs.includes('--tavily-enhance')) {
|
|
476
|
+
console.log('\n🚀 自动代码库增强能力激活\n');
|
|
477
|
+
console.log('🤖 使用Tavily搜索自动分析和增强代码库能力\n');
|
|
478
|
+
console.log('🎯 核心增强功能:');
|
|
479
|
+
console.log(' • 自动分析代码库结构和能力');
|
|
480
|
+
console.log(' • 使用WebSearch发现最新技术、漏洞、框架');
|
|
481
|
+
console.log(' • 生成智能增强建议和改进计划');
|
|
482
|
+
console.log(' • 自动生成代码和整合方案');
|
|
483
|
+
console.log(' • 军事网络作战能力专项增强\n');
|
|
484
|
+
try {
|
|
485
|
+
const { AutoEnhancementCapabilityModule } = await import('../capabilities/autoEnhancementCapability.js');
|
|
486
|
+
const autoEnhancement = new AutoEnhancementCapabilityModule({
|
|
487
|
+
autoRunOnStartup: true,
|
|
488
|
+
enableTavilySearch: true,
|
|
489
|
+
enhancementDomains: rawArgs.includes('--military') ?
|
|
490
|
+
['cybersecurity', 'military', 'quantum', 'space', 'ai', 'cno'] :
|
|
491
|
+
['cybersecurity', 'ai', 'quantum', 'framework'],
|
|
492
|
+
maxSearchQueries: 5,
|
|
493
|
+
autoGenerateCode: !rawArgs.includes('--dry-run'),
|
|
494
|
+
enableMilitaryEnhancement: rawArgs.includes('--military')
|
|
495
|
+
});
|
|
496
|
+
if (rawArgs.includes('--execute')) {
|
|
497
|
+
console.log('\n⚡ 开始执行自动增强...');
|
|
498
|
+
// 这里应该调用实际的执行方法
|
|
499
|
+
console.log('✅ 增强计划已生成,查看 ./enhancement-plan.json');
|
|
500
|
+
}
|
|
501
|
+
else if (rawArgs.includes('--analyze-only')) {
|
|
502
|
+
console.log('\n🔍 仅执行分析模式...');
|
|
503
|
+
console.log('📊 将生成分析报告但不执行增强');
|
|
504
|
+
}
|
|
505
|
+
else {
|
|
506
|
+
console.log('\n✅ 自动增强能力已初始化');
|
|
507
|
+
console.log(`📦 模块ID: ${autoEnhancement.id}`);
|
|
508
|
+
console.log('\n💡 可用选项:');
|
|
509
|
+
console.log(' --execute 执行自动增强');
|
|
510
|
+
console.log(' --analyze-only 仅分析不执行');
|
|
511
|
+
console.log(' --dry-run 模拟执行,不生成代码');
|
|
512
|
+
console.log(' --military 专项增强军事网络作战能力');
|
|
513
|
+
console.log(' --domains=<list> 指定增强领域(逗号分隔)');
|
|
514
|
+
}
|
|
515
|
+
process.exit(0);
|
|
516
|
+
}
|
|
517
|
+
catch (error) {
|
|
518
|
+
console.error('❌ 自动增强能力操作失败:', error instanceof Error ? error.message : error);
|
|
519
|
+
process.exit(1);
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
// Check for unified framework mode
|
|
523
|
+
if (rawArgs.includes('--unified') || rawArgs.includes('--integrated') || rawArgs.includes('--framework')) {
|
|
524
|
+
console.log('\n🚀 INTEGRATED UNIFIED CAPABILITIES FRAMEWORK ACTIVATED\n');
|
|
525
|
+
console.log('🔗 All AGI capabilities unified into single framework for maximum code reuse\n');
|
|
526
|
+
console.log('📚 Universal Capability Framework provides:');
|
|
527
|
+
console.log(' • Single source of truth for all capabilities');
|
|
528
|
+
console.log(' • Dependency injection and resolution');
|
|
529
|
+
console.log(' • Event-driven cross-module communication');
|
|
530
|
+
console.log(' • Shared utilities for consistent operations');
|
|
531
|
+
console.log(' • Pluggable architecture for easy extensibility\n');
|
|
532
|
+
try {
|
|
533
|
+
const { IntegratedUnifiedCapabilityModule } = await import('../capabilities/integratedUnifiedCapability.js');
|
|
534
|
+
const unifiedCapability = new IntegratedUnifiedCapabilityModule({
|
|
535
|
+
workingDir: process.cwd(),
|
|
536
|
+
enableUniversalFramework: true,
|
|
537
|
+
enableReadmeCapabilities: true,
|
|
538
|
+
enableMilitaryIntegration: rawArgs.includes('--military'),
|
|
539
|
+
enableCrossModuleCommunication: true,
|
|
540
|
+
debug: rawArgs.includes('--debug')
|
|
541
|
+
});
|
|
542
|
+
// Execute based on additional arguments
|
|
543
|
+
if (rawArgs.includes('--list-capabilities')) {
|
|
544
|
+
const capabilities = unifiedCapability.listIntegratedCapabilities(true);
|
|
545
|
+
console.log('\n📋 INTEGRATED CAPABILITIES:\n');
|
|
546
|
+
console.log(capabilities);
|
|
547
|
+
}
|
|
548
|
+
else if (rawArgs.includes('--framework-status')) {
|
|
549
|
+
const status = unifiedCapability.getFrameworkStatus();
|
|
550
|
+
console.log('\n📊 FRAMEWORK STATUS:\n');
|
|
551
|
+
console.log(JSON.stringify(JSON.parse(status), null, 2));
|
|
552
|
+
}
|
|
553
|
+
else if (rawArgs.includes('--check-updates') || rawArgs.includes('--update-status')) {
|
|
554
|
+
// Get self-update status
|
|
555
|
+
console.log('\n🔄 SELF-UPDATE STATUS:');
|
|
556
|
+
console.log(' Framework supports automatic updates');
|
|
557
|
+
console.log(' Current version: 1.1.115');
|
|
558
|
+
console.log(' Run --help for update options');
|
|
559
|
+
}
|
|
560
|
+
else {
|
|
561
|
+
console.log('\n✅ Integrated Unified Capability Framework Initialized');
|
|
562
|
+
console.log(`📦 Framework ID: ${unifiedCapability.id}`);
|
|
563
|
+
console.log('\n💡 Available options:');
|
|
564
|
+
console.log(' --list-capabilities Show all integrated capabilities');
|
|
565
|
+
console.log(' --framework-status Show framework status and configuration');
|
|
566
|
+
console.log(' --check-updates Check for framework updates');
|
|
567
|
+
console.log(' --update-status Get update status');
|
|
568
|
+
console.log(' --debug Enable debug logging');
|
|
569
|
+
console.log(' --military Integrate military capabilities\n');
|
|
570
|
+
}
|
|
571
|
+
process.exit(0);
|
|
572
|
+
}
|
|
573
|
+
catch (error) {
|
|
574
|
+
console.error('❌ Unified Framework Operation Failed:', error instanceof Error ? error.message : error);
|
|
575
|
+
process.exit(1);
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
// Determine if we should run interactive mode
|
|
579
|
+
// Interactive mode: TTY available (either with or without initial prompt)
|
|
580
|
+
// Quick mode: No TTY (piped input) or explicit -q flag
|
|
581
|
+
const isTTY = process.stdin.isTTY && process.stdout.isTTY;
|
|
582
|
+
// Check if auto enhancement should run automatically on startup
|
|
583
|
+
const shouldRunAutoEnhancement = process.env.AGI_AUTO_ENHANCE === '1' ||
|
|
584
|
+
rawArgs.includes('--auto-enhance-on-startup') ||
|
|
585
|
+
(isTTY && !rawArgs.some(arg => arg.startsWith('-')) && Math.random() < 0.3); // 30% chance on clean startup
|
|
586
|
+
if (shouldRunAutoEnhancement) {
|
|
587
|
+
console.log('\n🤖 检测到代码库,启动自动增强分析...\n');
|
|
588
|
+
try {
|
|
589
|
+
const { AutoEnhancementCapabilityModule } = await import('../capabilities/autoEnhancementCapability.js');
|
|
590
|
+
const autoEnhancement = new AutoEnhancementCapabilityModule({
|
|
591
|
+
autoRunOnStartup: true,
|
|
592
|
+
enableTavilySearch: true,
|
|
593
|
+
enhancementDomains: ['cybersecurity', 'military', 'ai', 'quantum', 'space', 'cno'],
|
|
594
|
+
maxSearchQueries: 3, // 启动时使用较少的查询
|
|
595
|
+
autoGenerateCode: false, // 启动时不自动生成代码
|
|
596
|
+
enableMilitaryEnhancement: true
|
|
597
|
+
});
|
|
598
|
+
// 在后台启动增强分析
|
|
599
|
+
setTimeout(() => {
|
|
600
|
+
autoEnhancement.create({
|
|
601
|
+
workingDir: process.cwd(),
|
|
602
|
+
profile: 'default',
|
|
603
|
+
workspaceContext: null,
|
|
604
|
+
env: process.env
|
|
605
|
+
}).catch(error => {
|
|
606
|
+
console.debug('自动增强分析后台任务:', error instanceof Error ? error.message : error);
|
|
607
|
+
});
|
|
608
|
+
}, 3000); // 延迟3秒,让交互式shell先启动
|
|
609
|
+
console.log('✅ 自动增强已安排,将在后台运行');
|
|
610
|
+
console.log('💡 使用 --auto-enhance 查看更多选项\n');
|
|
611
|
+
}
|
|
612
|
+
catch (error) {
|
|
613
|
+
console.debug('自动增强启动失败,继续正常启动:', error instanceof Error ? error.message : error);
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
if (isTTY) {
|
|
617
|
+
// Run full interactive shell with rich UI
|
|
618
|
+
const { runInteractiveShell } = await import('../headless/interactiveShell.js');
|
|
619
|
+
runInteractiveShell({ argv: rawArgs }).catch((error) => {
|
|
620
|
+
console.error(error instanceof Error ? error.message : error);
|
|
621
|
+
process.exit(1);
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
else {
|
|
625
|
+
// Non-TTY: use quick mode for piped input
|
|
626
|
+
const { runQuickMode } = await import('../headless/quickMode.js');
|
|
627
|
+
runQuickMode({ argv: rawArgs }).catch((error) => {
|
|
628
|
+
console.error(error instanceof Error ? error.message : error);
|
|
629
|
+
process.exit(1);
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
// Inline help for fast response (no imports needed)
|
|
634
|
+
function printHelpFast(invokedAs = 'deepseek') {
|
|
635
|
+
const commandName = invokedAs === 'erosolar' ? 'erosolar' : 'deepseek';
|
|
636
|
+
console.log(`
|
|
637
|
+
${invokedAs}-cli - Unified AGI Core Interactive AI Agent
|
|
638
|
+
|
|
639
|
+
Usage: ${commandName} [options] [prompt]
|
|
640
|
+
|
|
641
|
+
Modes:
|
|
642
|
+
${commandName} Start interactive shell (requires TTY)
|
|
643
|
+
${commandName} "prompt" Start interactive shell with initial prompt
|
|
644
|
+
${commandName} -q "prompt" Quick mode - single command, minimal UI
|
|
645
|
+
echo "prompt" | ${commandName} Pipe mode - process stdin prompts
|
|
646
|
+
|
|
647
|
+
Options:
|
|
648
|
+
-v, --version Show version number
|
|
649
|
+
-h, --help Show this help message
|
|
650
|
+
-q, --quick Quick mode (non-interactive, minimal UI)
|
|
651
|
+
-p, --profile <name> Use specified agent profile
|
|
652
|
+
--self-test Run self-tests
|
|
653
|
+
|
|
654
|
+
Zero-Day Discovery:
|
|
655
|
+
${commandName} --zero-day --target=<url> Discover zero-day vulnerabilities
|
|
656
|
+
${commandName} --zero-day --target=<url> --quick Quick zero-day check
|
|
657
|
+
${commandName} --zero-day --target=<url> --exploit Include exploitation attempts
|
|
658
|
+
|
|
659
|
+
Attack Mode:
|
|
660
|
+
${commandName} --attack --target=<host> Full attack chain execution
|
|
661
|
+
${commandName} --attack --target=<host> --phases=recon,enum,vuln,exploit
|
|
662
|
+
${commandName} --attack --target=<host> --aggressive --persist --lateral
|
|
663
|
+
|
|
664
|
+
Elite Crypto Military Operations:
|
|
665
|
+
${commandName} --military Activate elite military capabilities
|
|
666
|
+
${commandName} --rsa-hijack --target=<system> RSA 2048 Root-of-Trust hijack
|
|
667
|
+
${commandName} --chip-takeover --chip=<type> Security chip takeover (Apple/T2/TPM)
|
|
668
|
+
${commandName} --weapons-control --system=<type> Military weapons systems control
|
|
669
|
+
${commandName} --weapons-control --system=f35 --destructive Destructive weapons control
|
|
670
|
+
|
|
671
|
+
Chinese CNO Framework:
|
|
672
|
+
${commandName} --chinese-cno Activate Chinese CNO framework
|
|
673
|
+
${commandName} --max-chinese-cno Activate ultimate Chinese CNO framework
|
|
674
|
+
${commandName} --pla-cno PLA CNO capabilities activation
|
|
675
|
+
${commandName} --chinese-cno --apt-analysis --group=APT41 Analyze APT41 TTPs
|
|
676
|
+
${commandName} --max-chinese-cno --strategic-targets Strategic target assessment
|
|
677
|
+
${commandName} --max-chinese-cno --control-system --system=US-F35 --command=status Control military systems
|
|
678
|
+
${commandName} --max-chinese-cno --weaponize --pipeline=F35-FIRMWARE --target=US-F35 Zero-day weaponization
|
|
679
|
+
|
|
680
|
+
Quantum & Space Warfare:
|
|
681
|
+
${commandName} --quantum-space Activate quantum & space warfare capabilities
|
|
682
|
+
${commandName} --quantum-attack --target=RSA-2048 Execute quantum cryptography attack
|
|
683
|
+
${commandName} --satellite-attack --target=GPS Attack satellite systems
|
|
684
|
+
${commandName} --space-awareness Update space situational awareness
|
|
685
|
+
|
|
686
|
+
Biocognitive Warfare:
|
|
687
|
+
${commandName} --biocognitive Activate biocognitive warfare capabilities
|
|
688
|
+
${commandName} --biometric-analysis --type=facial Analyze biometric features
|
|
689
|
+
${commandName} --cognitive-operation --target=<id> Execute cognitive operations
|
|
690
|
+
${commandName} --influence-analysis --target=<id> Analyze social influence networks
|
|
691
|
+
|
|
692
|
+
Auto Enhancement (Tavily-based):
|
|
693
|
+
${commandName} --auto-enhance Auto-analyze and enhance codebase with Tavily
|
|
694
|
+
${commandName} --auto-enhance --execute Execute automatic enhancement
|
|
695
|
+
${commandName} --auto-enhance --analyze-only Analyze only, don't execute
|
|
696
|
+
${commandName} --auto-enhance --military Military-focused enhancement
|
|
697
|
+
${commandName} --auto-enhance --dry-run Simulate without code generation
|
|
698
|
+
|
|
699
|
+
Security Audit:
|
|
700
|
+
${commandName} --security Run security audit (auto-detect provider)
|
|
701
|
+
${commandName} --security --fix Run audit and auto-fix vulnerabilities
|
|
702
|
+
|
|
703
|
+
Examples:
|
|
704
|
+
${commandName} # Start interactive shell
|
|
705
|
+
${commandName} "create a hello world script" # Interactive with initial prompt
|
|
706
|
+
${commandName} -q "fix the build error" # Quick mode
|
|
707
|
+
${commandName} --zero-day --target=example.com # Zero-day discovery
|
|
708
|
+
${commandName} --attack --target=192.168.1.100 # Attack simulation
|
|
709
|
+
${commandName} --rsa-hijack --target=macos # RSA 2048 hijack on macOS
|
|
710
|
+
${commandName} --chip-takeover --chip=apple_secure_enclave # Apple chip takeover
|
|
711
|
+
${commandName} --weapons-control --system=f35 # F-35 weapons system control
|
|
712
|
+
${commandName} --chinese-cno --apt-analysis # Chinese APT analysis
|
|
713
|
+
${commandName} --max-chinese-cno # Maximal Chinese CNO framework
|
|
714
|
+
echo "run npm test" | ${commandName} # Pipe mode
|
|
715
|
+
|
|
716
|
+
Commands:
|
|
717
|
+
/security Universal security audit (GCP/AWS/Azure) with auto-fix
|
|
718
|
+
/upgrade Dual-RL upgrade tournament (code improvement)
|
|
719
|
+
/attack Dual-RL attack tournament (requires AGI_ENABLE_ATTACKS=1)
|
|
720
|
+
/zeroday Zero-day vulnerability discovery
|
|
721
|
+
/military Elite military operations (requires AGI_ENABLE_MILITARY=1)
|
|
722
|
+
/model Switch AI model
|
|
723
|
+
/help Show available commands
|
|
724
|
+
|
|
725
|
+
Environment Variables:
|
|
726
|
+
ANTHROPIC_API_KEY Anthropic API key
|
|
727
|
+
OPENAI_API_KEY OpenAI API key
|
|
728
|
+
GOOGLE_API_KEY Google AI API key
|
|
729
|
+
XAI_API_KEY xAI (Grok) API key
|
|
730
|
+
DEEPSEEK_API_KEY DeepSeek API key
|
|
731
|
+
AGI_ENABLE_ATTACKS Set to 1 to enable /attack command
|
|
732
|
+
AGI_ENABLE_ZERODAY Set to 1 to enable zero-day discovery tools
|
|
733
|
+
AGI_ENABLE_MILITARY Set to 1 to enable /military command
|
|
734
|
+
`);
|
|
735
|
+
}
|
|
736
|
+
export {};
|
|
737
|
+
//# sourceMappingURL=deepseek.js.map
|