erosolar-cli 1.7.55 → 1.7.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/shell/unifiedInputProcessor.d.ts +15 -12
- package/dist/shell/unifiedInputProcessor.d.ts.map +1 -1
- package/dist/shell/unifiedInputProcessor.js +45 -72
- package/dist/shell/unifiedInputProcessor.js.map +1 -1
- package/package.json +4 -4
- package/dist/active-stack-security.d.ts +0 -110
- package/dist/active-stack-security.js +0 -313
- package/dist/active-stack-security.js.map +0 -1
- package/dist/advanced-targeting.d.ts +0 -113
- package/dist/advanced-targeting.js +0 -252
- package/dist/advanced-targeting.js.map +0 -1
- package/dist/bin/adapters/node/index.js +0 -33
- package/dist/bin/adapters/types.js +0 -1
- package/dist/bin/alpha-zero/agentWrapper.js +0 -165
- package/dist/bin/alpha-zero/codeEvaluator.js +0 -272
- package/dist/bin/alpha-zero/competitiveRunner.js +0 -219
- package/dist/bin/alpha-zero/index.js +0 -98
- package/dist/bin/alpha-zero/introspection.js +0 -298
- package/dist/bin/alpha-zero/metricsTracker.js +0 -207
- package/dist/bin/alpha-zero/security/core.js +0 -269
- package/dist/bin/alpha-zero/security/google.js +0 -308
- package/dist/bin/alpha-zero/security/googleLoader.js +0 -40
- package/dist/bin/alpha-zero/security/index.js +0 -31
- package/dist/bin/alpha-zero/security/simulation.js +0 -274
- package/dist/bin/alpha-zero/selfModification.js +0 -231
- package/dist/bin/alpha-zero/types.js +0 -30
- package/dist/bin/bin/erosolar-optimized.js +0 -205
- package/dist/bin/capabilities/agentSpawningCapability.js +0 -116
- package/dist/bin/capabilities/bashCapability.js +0 -22
- package/dist/bin/capabilities/cloudCapability.js +0 -36
- package/dist/bin/capabilities/codeAnalysisCapability.js +0 -22
- package/dist/bin/capabilities/codeQualityCapability.js +0 -23
- package/dist/bin/capabilities/dependencySecurityCapability.js +0 -22
- package/dist/bin/capabilities/devCapability.js +0 -22
- package/dist/bin/capabilities/editCapability.js +0 -28
- package/dist/bin/capabilities/emailCapability.js +0 -20
- package/dist/bin/capabilities/enhancedGitCapability.js +0 -221
- package/dist/bin/capabilities/filesystemCapability.js +0 -22
- package/dist/bin/capabilities/globCapability.js +0 -28
- package/dist/bin/capabilities/interactionCapability.js +0 -20
- package/dist/bin/capabilities/learnCapability.js +0 -22
- package/dist/bin/capabilities/mcpCapability.js +0 -20
- package/dist/bin/capabilities/notebookCapability.js +0 -28
- package/dist/bin/capabilities/planningCapability.js +0 -27
- package/dist/bin/capabilities/refactoringCapability.js +0 -23
- package/dist/bin/capabilities/repoChecksCapability.js +0 -22
- package/dist/bin/capabilities/searchCapability.js +0 -22
- package/dist/bin/capabilities/skillCapability.js +0 -76
- package/dist/bin/capabilities/taskManagementCapability.js +0 -20
- package/dist/bin/capabilities/testingCapability.js +0 -23
- package/dist/bin/capabilities/toolManifest.js +0 -159
- package/dist/bin/capabilities/toolRegistry.js +0 -114
- package/dist/bin/capabilities/webCapability.js +0 -20
- package/dist/bin/config.js +0 -139
- package/dist/bin/contracts/v1/agent.js +0 -7
- package/dist/bin/contracts/v1/agentProfileManifest.js +0 -8
- package/dist/bin/contracts/v1/agentRules.js +0 -9
- package/dist/bin/contracts/v1/toolAccess.js +0 -8
- package/dist/bin/erosolar-optimized.d.ts +0 -12
- package/dist/bin/erosolar-optimized.d.ts.map +0 -1
- package/dist/bin/erosolar-optimized.js +0 -239
- package/dist/bin/erosolar-optimized.js.map +0 -1
- package/dist/bin/headless/headlessApp.js +0 -172
- package/dist/bin/mcp/config.js +0 -202
- package/dist/bin/mcp/stdioClient.js +0 -172
- package/dist/bin/mcp/toolBridge.js +0 -104
- package/dist/bin/mcp/types.js +0 -1
- package/dist/bin/plugins/index.js +0 -113
- package/dist/bin/plugins/providers/anthropic/index.js +0 -25
- package/dist/bin/plugins/providers/deepseek/index.js +0 -24
- package/dist/bin/plugins/providers/google/index.js +0 -26
- package/dist/bin/plugins/providers/index.js +0 -19
- package/dist/bin/plugins/providers/ollama/index.js +0 -59
- package/dist/bin/plugins/providers/openai/index.js +0 -26
- package/dist/bin/plugins/providers/xai/index.js +0 -24
- package/dist/bin/plugins/tools/agentSpawning/agentSpawningPlugin.js +0 -8
- package/dist/bin/plugins/tools/bash/localBashPlugin.js +0 -13
- package/dist/bin/plugins/tools/checks/localRepoChecksPlugin.js +0 -13
- package/dist/bin/plugins/tools/cloud/cloudPlugin.js +0 -13
- package/dist/bin/plugins/tools/codeAnalysis/codeAnalysisPlugin.js +0 -13
- package/dist/bin/plugins/tools/codeQuality/codeQualityPlugin.js +0 -13
- package/dist/bin/plugins/tools/dependency/dependencyPlugin.js +0 -11
- package/dist/bin/plugins/tools/development/devPlugin.js +0 -13
- package/dist/bin/plugins/tools/edit/editPlugin.js +0 -14
- package/dist/bin/plugins/tools/email/emailPlugin.js +0 -11
- package/dist/bin/plugins/tools/enhancedGit/enhancedGitPlugin.js +0 -8
- package/dist/bin/plugins/tools/filesystem/localFilesystemPlugin.js +0 -13
- package/dist/bin/plugins/tools/glob/globPlugin.js +0 -14
- package/dist/bin/plugins/tools/index.js +0 -2
- package/dist/bin/plugins/tools/interaction/interactionPlugin.js +0 -11
- package/dist/bin/plugins/tools/learn/learnPlugin.js +0 -13
- package/dist/bin/plugins/tools/mcp/mcpPlugin.js +0 -8
- package/dist/bin/plugins/tools/nodeDefaults.js +0 -56
- package/dist/bin/plugins/tools/notebook/notebookPlugin.js +0 -14
- package/dist/bin/plugins/tools/planning/planningPlugin.js +0 -14
- package/dist/bin/plugins/tools/refactoring/refactoringPlugin.js +0 -11
- package/dist/bin/plugins/tools/registry.js +0 -57
- package/dist/bin/plugins/tools/search/localSearchPlugin.js +0 -13
- package/dist/bin/plugins/tools/skills/skillPlugin.js +0 -8
- package/dist/bin/plugins/tools/taskManagement/taskManagementPlugin.js +0 -11
- package/dist/bin/plugins/tools/testing/testingPlugin.js +0 -11
- package/dist/bin/plugins/tools/web/webPlugin.js +0 -11
- package/dist/bin/providers/anthropicProvider.js +0 -329
- package/dist/bin/providers/googleProvider.js +0 -203
- package/dist/bin/providers/openaiChatCompletionsProvider.js +0 -208
- package/dist/bin/providers/openaiResponsesProvider.js +0 -249
- package/dist/bin/providers/providerFactory.js +0 -24
- package/dist/bin/runtime/agentController.js +0 -321
- package/dist/bin/runtime/agentHost.js +0 -153
- package/dist/bin/runtime/agentSession.js +0 -195
- package/dist/bin/runtime/node.js +0 -10
- package/dist/bin/runtime/universal.js +0 -28
- package/dist/bin/skills/skillRepository.js +0 -236
- package/dist/bin/skills/types.js +0 -1
- package/dist/bin/subagents/taskRunner.js +0 -269
- package/dist/bin/tools/backgroundBashTools.js +0 -211
- package/dist/bin/tools/bashTools.js +0 -159
- package/dist/bin/tools/cloudTools.js +0 -864
- package/dist/bin/tools/codeAnalysisTools.js +0 -641
- package/dist/bin/tools/codeQualityTools.js +0 -294
- package/dist/bin/tools/dependencyTools.js +0 -282
- package/dist/bin/tools/devTools.js +0 -238
- package/dist/bin/tools/diffUtils.js +0 -137
- package/dist/bin/tools/editTools.js +0 -134
- package/dist/bin/tools/emailTools.js +0 -448
- package/dist/bin/tools/fileTools.js +0 -282
- package/dist/bin/tools/globTools.js +0 -173
- package/dist/bin/tools/grepTools.js +0 -332
- package/dist/bin/tools/interactionTools.js +0 -170
- package/dist/bin/tools/learnTools.js +0 -1818
- package/dist/bin/tools/notebookEditTools.js +0 -196
- package/dist/bin/tools/planningTools.js +0 -46
- package/dist/bin/tools/refactoringTools.js +0 -293
- package/dist/bin/tools/repoChecksTools.js +0 -160
- package/dist/bin/tools/searchTools.js +0 -206
- package/dist/bin/tools/skillTools.js +0 -177
- package/dist/bin/tools/taskManagementTools.js +0 -156
- package/dist/bin/tools/testingTools.js +0 -232
- package/dist/bin/tools/webTools.js +0 -480
- package/dist/bin/workspace.js +0 -106
- package/dist/bin/workspace.validator.js +0 -213
- package/dist/capabilities/offensiveSecurityCapability.d.ts +0 -26
- package/dist/capabilities/offensiveSecurityCapability.d.ts.map +0 -1
- package/dist/capabilities/offensiveSecurityCapability.js +0 -58
- package/dist/capabilities/offensiveSecurityCapability.js.map +0 -1
- package/dist/capabilities/realSecurityCapability.d.ts +0 -26
- package/dist/capabilities/realSecurityCapability.d.ts.map +0 -1
- package/dist/capabilities/realSecurityCapability.js +0 -53
- package/dist/capabilities/realSecurityCapability.js.map +0 -1
- package/dist/capabilities/securityCapability.d.ts +0 -32
- package/dist/capabilities/securityCapability.d.ts.map +0 -1
- package/dist/capabilities/securityCapability.js +0 -57
- package/dist/capabilities/securityCapability.js.map +0 -1
- package/dist/capabilities/ultimateSecurityCapability.d.ts +0 -42
- package/dist/capabilities/ultimateSecurityCapability.d.ts.map +0 -1
- package/dist/capabilities/ultimateSecurityCapability.js +0 -96
- package/dist/capabilities/ultimateSecurityCapability.js.map +0 -1
- package/dist/core/designThoughtCheck.d.ts +0 -196
- package/dist/core/designThoughtCheck.d.ts.map +0 -1
- package/dist/core/designThoughtCheck.js +0 -287
- package/dist/core/designThoughtCheck.js.map +0 -1
- package/dist/core/designThoughtCheckEngine.d.ts +0 -58
- package/dist/core/designThoughtCheckEngine.d.ts.map +0 -1
- package/dist/core/designThoughtCheckEngine.js +0 -358
- package/dist/core/designThoughtCheckEngine.js.map +0 -1
- package/dist/core/designThoughtCheckIntegration.d.ts +0 -103
- package/dist/core/designThoughtCheckIntegration.d.ts.map +0 -1
- package/dist/core/designThoughtCheckIntegration.js +0 -207
- package/dist/core/designThoughtCheckIntegration.js.map +0 -1
- package/dist/core/intelligenceTools.d.ts +0 -19
- package/dist/core/intelligenceTools.d.ts.map +0 -1
- package/dist/core/intelligenceTools.js +0 -453
- package/dist/core/intelligenceTools.js.map +0 -1
- package/dist/core/operationalTools.d.ts +0 -19
- package/dist/core/operationalTools.d.ts.map +0 -1
- package/dist/core/operationalTools.js +0 -467
- package/dist/core/operationalTools.js.map +0 -1
- package/dist/offensive/core/offensive-engine.d.ts +0 -171
- package/dist/offensive/core/offensive-engine.d.ts.map +0 -1
- package/dist/offensive/core/offensive-engine.js +0 -345
- package/dist/offensive/core/offensive-engine.js.map +0 -1
- package/dist/offensive/core/offensive-integration.d.ts +0 -129
- package/dist/offensive/core/offensive-integration.d.ts.map +0 -1
- package/dist/offensive/core/offensive-integration.js +0 -364
- package/dist/offensive/core/offensive-integration.js.map +0 -1
- package/dist/offensive/core/offensive-tools.d.ts +0 -55
- package/dist/offensive/core/offensive-tools.d.ts.map +0 -1
- package/dist/offensive/core/offensive-tools.js +0 -438
- package/dist/offensive/core/offensive-tools.js.map +0 -1
- package/dist/offensive/offensive-cli.d.ts +0 -48
- package/dist/offensive/offensive-cli.d.ts.map +0 -1
- package/dist/offensive/offensive-cli.js +0 -233
- package/dist/offensive/offensive-cli.js.map +0 -1
- package/dist/security/apt-simulation-cli.d.ts +0 -57
- package/dist/security/apt-simulation-cli.d.ts.map +0 -1
- package/dist/security/apt-simulation-cli.js +0 -278
- package/dist/security/apt-simulation-cli.js.map +0 -1
- package/dist/security/apt-simulation-engine-complete.d.ts +0 -97
- package/dist/security/apt-simulation-engine-complete.d.ts.map +0 -1
- package/dist/security/apt-simulation-engine-complete.js +0 -441
- package/dist/security/apt-simulation-engine-complete.js.map +0 -1
- package/dist/security/apt-simulation-engine.d.ts +0 -97
- package/dist/security/apt-simulation-engine.d.ts.map +0 -1
- package/dist/security/apt-simulation-engine.js +0 -441
- package/dist/security/apt-simulation-engine.js.map +0 -1
- package/dist/security/authorization.d.ts +0 -45
- package/dist/security/authorization.d.ts.map +0 -1
- package/dist/security/authorization.js +0 -128
- package/dist/security/authorization.js.map +0 -1
- package/dist/security/comprehensive-security-research.d.ts +0 -84
- package/dist/security/comprehensive-security-research.d.ts.map +0 -1
- package/dist/security/comprehensive-security-research.js +0 -211
- package/dist/security/comprehensive-security-research.js.map +0 -1
- package/dist/security/offensive/exploitationEngine.d.ts +0 -54
- package/dist/security/offensive/exploitationEngine.d.ts.map +0 -1
- package/dist/security/offensive/exploitationEngine.js +0 -263
- package/dist/security/offensive/exploitationEngine.js.map +0 -1
- package/dist/security/real/networkExploitation.d.ts +0 -92
- package/dist/security/real/networkExploitation.d.ts.map +0 -1
- package/dist/security/real/networkExploitation.js +0 -316
- package/dist/security/real/networkExploitation.js.map +0 -1
- package/dist/security/real/persistenceImplementation.d.ts +0 -62
- package/dist/security/real/persistenceImplementation.d.ts.map +0 -1
- package/dist/security/real/persistenceImplementation.js +0 -323
- package/dist/security/real/persistenceImplementation.js.map +0 -1
- package/dist/security/real/vulnerabilityScanner.d.ts +0 -73
- package/dist/security/real/vulnerabilityScanner.d.ts.map +0 -1
- package/dist/security/real/vulnerabilityScanner.js +0 -341
- package/dist/security/real/vulnerabilityScanner.js.map +0 -1
- package/dist/shell/capturePastePatch.d.ts +0 -9
- package/dist/shell/capturePastePatch.d.ts.map +0 -1
- package/dist/shell/capturePastePatch.js +0 -98
- package/dist/shell/capturePastePatch.js.map +0 -1
- package/dist/shell/enhancedInteractiveShell.d.ts +0 -90
- package/dist/shell/enhancedInteractiveShell.d.ts.map +0 -1
- package/dist/shell/enhancedInteractiveShell.js +0 -248
- package/dist/shell/enhancedInteractiveShell.js.map +0 -1
- package/dist/shell/inputProcessor.d.ts +0 -56
- package/dist/shell/inputProcessor.d.ts.map +0 -1
- package/dist/shell/inputProcessor.js +0 -172
- package/dist/shell/inputProcessor.js.map +0 -1
- package/dist/shell/interactiveShell-patch.d.ts +0 -27
- package/dist/shell/interactiveShell-patch.d.ts.map +0 -1
- package/dist/shell/interactiveShell-patch.js +0 -38
- package/dist/shell/interactiveShell-patch.js.map +0 -1
- package/dist/shell/interactiveShell-robust.d.ts +0 -26
- package/dist/shell/interactiveShell-robust.d.ts.map +0 -1
- package/dist/shell/interactiveShell-robust.js +0 -34
- package/dist/shell/interactiveShell-robust.js.map +0 -1
- package/dist/shell/multiLinePasteManager.d.ts +0 -106
- package/dist/shell/multiLinePasteManager.d.ts.map +0 -1
- package/dist/shell/multiLinePasteManager.js +0 -308
- package/dist/shell/multiLinePasteManager.js.map +0 -1
- package/dist/shell/processInputBlockPatch.d.ts +0 -8
- package/dist/shell/processInputBlockPatch.d.ts.map +0 -1
- package/dist/shell/processInputBlockPatch.js +0 -133
- package/dist/shell/processInputBlockPatch.js.map +0 -1
- package/dist/tools/enhancedSecurityTools.d.ts +0 -19
- package/dist/tools/enhancedSecurityTools.d.ts.map +0 -1
- package/dist/tools/enhancedSecurityTools.js +0 -215
- package/dist/tools/enhancedSecurityTools.js.map +0 -1
- package/dist/tools/offensiveSecurityTools.d.ts +0 -16
- package/dist/tools/offensiveSecurityTools.d.ts.map +0 -1
- package/dist/tools/offensiveSecurityTools.js +0 -285
- package/dist/tools/offensiveSecurityTools.js.map +0 -1
- package/dist/tools/realSecurityTools.d.ts +0 -18
- package/dist/tools/realSecurityTools.d.ts.map +0 -1
- package/dist/tools/realSecurityTools.js +0 -468
- package/dist/tools/realSecurityTools.js.map +0 -1
- package/dist/tools/securityTools.d.ts +0 -20
- package/dist/tools/securityTools.d.ts.map +0 -1
- package/dist/tools/securityTools.js +0 -449
- package/dist/tools/securityTools.js.map +0 -1
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CodeQualityCapabilityModule } from '../../../capabilities/codeQualityCapability.js';
|
|
2
|
-
export function createCodeQualityToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.code-quality.linting',
|
|
5
|
-
description: 'Code quality helpers (lint orchestration, rule inspection, maintainability checks).',
|
|
6
|
-
targets: ['node'],
|
|
7
|
-
create: async (context) => {
|
|
8
|
-
return new CodeQualityCapabilityModule({
|
|
9
|
-
workingDir: context.workingDir,
|
|
10
|
-
});
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { DependencySecurityCapabilityModule } from '../../../capabilities/dependencySecurityCapability.js';
|
|
2
|
-
export function createDependencyToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.dependency.security',
|
|
5
|
-
description: 'Dependency analysis, lockfile insights, and npm audit orchestration.',
|
|
6
|
-
targets: ['node'],
|
|
7
|
-
create: async (context) => new DependencySecurityCapabilityModule({
|
|
8
|
-
workingDir: context.workingDir,
|
|
9
|
-
}),
|
|
10
|
-
};
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DevCapabilityModule } from '../../../capabilities/devCapability.js';
|
|
2
|
-
export function createDevToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.development.workflow',
|
|
5
|
-
description: 'Development workflow tools for testing, building, and dependency management.',
|
|
6
|
-
targets: ['node'],
|
|
7
|
-
create: async (context) => {
|
|
8
|
-
return new DevCapabilityModule({
|
|
9
|
-
workingDir: context.workingDir,
|
|
10
|
-
});
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EditCapabilityModule } from '../../../capabilities/editCapability.js';
|
|
2
|
-
/**
|
|
3
|
-
* Edit Tool Plugin
|
|
4
|
-
*
|
|
5
|
-
* Registers the Edit capability for surgical file modifications.
|
|
6
|
-
* Available in node and cloud runtimes.
|
|
7
|
-
*/
|
|
8
|
-
export function createEditToolPlugin() {
|
|
9
|
-
return {
|
|
10
|
-
id: 'tool.edit',
|
|
11
|
-
targets: ['node', 'cloud'],
|
|
12
|
-
create: () => new EditCapabilityModule(),
|
|
13
|
-
};
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { EmailCapabilityModule } from '../../../capabilities/emailCapability.js';
|
|
2
|
-
export function createEmailToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.email.smtp',
|
|
5
|
-
description: 'Email sending tools via SMTP with support for Gmail, Outlook, and custom providers.',
|
|
6
|
-
targets: ['node', 'cloud'],
|
|
7
|
-
create: (_context) => {
|
|
8
|
-
return new EmailCapabilityModule({});
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EnhancedGitCapabilityModule } from '../../../capabilities/enhancedGitCapability.js';
|
|
2
|
-
export function createEnhancedGitToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.enhanced-git',
|
|
5
|
-
targets: ['node', 'cloud'],
|
|
6
|
-
create: () => new EnhancedGitCapabilityModule(),
|
|
7
|
-
};
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FilesystemCapabilityModule } from '../../../capabilities/filesystemCapability.js';
|
|
2
|
-
export function createLocalFilesystemToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.filesystem.local',
|
|
5
|
-
description: 'Local file system access for Node/Cloud runtimes.',
|
|
6
|
-
targets: ['node', 'cloud'],
|
|
7
|
-
create: (context) => {
|
|
8
|
-
return new FilesystemCapabilityModule({
|
|
9
|
-
workingDir: context.workingDir,
|
|
10
|
-
});
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { GlobCapabilityModule } from '../../../capabilities/globCapability.js';
|
|
2
|
-
/**
|
|
3
|
-
* Glob Tool Plugin
|
|
4
|
-
*
|
|
5
|
-
* Registers fast file pattern matching capabilities.
|
|
6
|
-
* Available in node and cloud runtimes.
|
|
7
|
-
*/
|
|
8
|
-
export function createGlobToolPlugin() {
|
|
9
|
-
return {
|
|
10
|
-
id: 'tool.glob',
|
|
11
|
-
targets: ['node', 'cloud'],
|
|
12
|
-
create: () => new GlobCapabilityModule(),
|
|
13
|
-
};
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { InteractionCapabilityModule } from '../../../capabilities/interactionCapability.js';
|
|
2
|
-
export function createInteractionToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.interaction.local',
|
|
5
|
-
description: 'Interactive question and clarification tools for gathering user preferences.',
|
|
6
|
-
targets: ['node', 'cloud'],
|
|
7
|
-
create: (_context) => {
|
|
8
|
-
return new InteractionCapabilityModule({});
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LearnCapabilityModule } from '../../../capabilities/learnCapability.js';
|
|
2
|
-
export function createLearnToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.learn.exploration',
|
|
5
|
-
description: 'Core codebase exploration and learning tools for understanding project structure, patterns, and conventions without external APIs.',
|
|
6
|
-
targets: ['node', 'cloud'],
|
|
7
|
-
create: async (context) => {
|
|
8
|
-
return new LearnCapabilityModule({
|
|
9
|
-
workingDir: context.workingDir,
|
|
10
|
-
});
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { registerToolPlugin } from './registry.js';
|
|
2
|
-
import { createLocalFilesystemToolPlugin } from './filesystem/localFilesystemPlugin.js';
|
|
3
|
-
import { createEditToolPlugin } from './edit/editPlugin.js';
|
|
4
|
-
import { createNotebookToolPlugin } from './notebook/notebookPlugin.js';
|
|
5
|
-
import { createLocalSearchToolPlugin } from './search/localSearchPlugin.js';
|
|
6
|
-
import { createGlobToolPlugin } from './glob/globPlugin.js';
|
|
7
|
-
import { createLocalBashToolPlugin } from './bash/localBashPlugin.js';
|
|
8
|
-
import { createLocalRepoChecksPlugin } from './checks/localRepoChecksPlugin.js';
|
|
9
|
-
import { createCodeAnalysisToolPlugin } from './codeAnalysis/codeAnalysisPlugin.js';
|
|
10
|
-
import { createDevToolPlugin } from './development/devPlugin.js';
|
|
11
|
-
import { createCodeQualityToolPlugin } from './codeQuality/codeQualityPlugin.js';
|
|
12
|
-
import { createRefactoringToolPlugin } from './refactoring/refactoringPlugin.js';
|
|
13
|
-
import { createDependencyToolPlugin } from './dependency/dependencyPlugin.js';
|
|
14
|
-
import { createTestingToolPlugin } from './testing/testingPlugin.js';
|
|
15
|
-
import { createTaskManagementToolPlugin } from './taskManagement/taskManagementPlugin.js';
|
|
16
|
-
import { createPlanningToolPlugin } from './planning/planningPlugin.js';
|
|
17
|
-
import { createInteractionToolPlugin } from './interaction/interactionPlugin.js';
|
|
18
|
-
import { createWebToolPlugin } from './web/webPlugin.js';
|
|
19
|
-
import { createAgentSpawningToolPlugin } from './agentSpawning/agentSpawningPlugin.js';
|
|
20
|
-
import { createEnhancedGitToolPlugin } from './enhancedGit/enhancedGitPlugin.js';
|
|
21
|
-
import { createSkillToolPlugin } from './skills/skillPlugin.js';
|
|
22
|
-
import { createMcpToolPlugin } from './mcp/mcpPlugin.js';
|
|
23
|
-
import { createLearnToolPlugin } from './learn/learnPlugin.js';
|
|
24
|
-
import { createEmailToolPlugin } from './email/emailPlugin.js';
|
|
25
|
-
import { createCloudToolPlugin } from './cloud/cloudPlugin.js';
|
|
26
|
-
let registered = false;
|
|
27
|
-
export function registerDefaultNodeToolPlugins() {
|
|
28
|
-
if (registered) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
registerToolPlugin(createLocalFilesystemToolPlugin());
|
|
32
|
-
registerToolPlugin(createEditToolPlugin());
|
|
33
|
-
registerToolPlugin(createNotebookToolPlugin());
|
|
34
|
-
registerToolPlugin(createLocalSearchToolPlugin());
|
|
35
|
-
registerToolPlugin(createGlobToolPlugin());
|
|
36
|
-
registerToolPlugin(createLearnToolPlugin());
|
|
37
|
-
registerToolPlugin(createLocalBashToolPlugin());
|
|
38
|
-
registerToolPlugin(createLocalRepoChecksPlugin());
|
|
39
|
-
registerToolPlugin(createCodeAnalysisToolPlugin());
|
|
40
|
-
registerToolPlugin(createDevToolPlugin());
|
|
41
|
-
registerToolPlugin(createCodeQualityToolPlugin());
|
|
42
|
-
registerToolPlugin(createRefactoringToolPlugin());
|
|
43
|
-
registerToolPlugin(createDependencyToolPlugin());
|
|
44
|
-
registerToolPlugin(createTestingToolPlugin());
|
|
45
|
-
registerToolPlugin(createTaskManagementToolPlugin());
|
|
46
|
-
registerToolPlugin(createPlanningToolPlugin());
|
|
47
|
-
registerToolPlugin(createInteractionToolPlugin());
|
|
48
|
-
registerToolPlugin(createWebToolPlugin());
|
|
49
|
-
registerToolPlugin(createAgentSpawningToolPlugin());
|
|
50
|
-
registerToolPlugin(createEnhancedGitToolPlugin());
|
|
51
|
-
registerToolPlugin(createSkillToolPlugin());
|
|
52
|
-
registerToolPlugin(createMcpToolPlugin());
|
|
53
|
-
registerToolPlugin(createEmailToolPlugin());
|
|
54
|
-
registerToolPlugin(createCloudToolPlugin());
|
|
55
|
-
registered = true;
|
|
56
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NotebookCapabilityModule } from '../../../capabilities/notebookCapability.js';
|
|
2
|
-
/**
|
|
3
|
-
* Notebook Tool Plugin
|
|
4
|
-
*
|
|
5
|
-
* Registers Jupyter notebook editing capabilities.
|
|
6
|
-
* Available in node and cloud runtimes.
|
|
7
|
-
*/
|
|
8
|
-
export function createNotebookToolPlugin() {
|
|
9
|
-
return {
|
|
10
|
-
id: 'tool.notebook',
|
|
11
|
-
targets: ['node', 'cloud'],
|
|
12
|
-
create: () => new NotebookCapabilityModule(),
|
|
13
|
-
};
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PlanningCapabilityModule } from '../../../capabilities/planningCapability.js';
|
|
2
|
-
/**
|
|
3
|
-
* Planning Tool Plugin
|
|
4
|
-
*
|
|
5
|
-
* Registers workflow planning capabilities.
|
|
6
|
-
* Available in node and cloud runtimes.
|
|
7
|
-
*/
|
|
8
|
-
export function createPlanningToolPlugin() {
|
|
9
|
-
return {
|
|
10
|
-
id: 'tool.planning',
|
|
11
|
-
targets: ['node', 'cloud'],
|
|
12
|
-
create: () => new PlanningCapabilityModule(),
|
|
13
|
-
};
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { RefactoringCapabilityModule } from '../../../capabilities/refactoringCapability.js';
|
|
2
|
-
export function createRefactoringToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.refactoring.assistant',
|
|
5
|
-
description: 'Refactoring intelligence (hotspot detection, impact studies, plan generation).',
|
|
6
|
-
targets: ['node'],
|
|
7
|
-
create: async (context) => new RefactoringCapabilityModule({
|
|
8
|
-
workingDir: context.workingDir,
|
|
9
|
-
}),
|
|
10
|
-
};
|
|
11
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const registry = new Map();
|
|
2
|
-
export function registerToolPlugin(plugin) {
|
|
3
|
-
if (!plugin?.id?.trim()) {
|
|
4
|
-
throw new Error('Tool plugin id cannot be blank.');
|
|
5
|
-
}
|
|
6
|
-
registry.set(plugin.id, normalizePlugin(plugin));
|
|
7
|
-
}
|
|
8
|
-
export function unregisterToolPlugin(id) {
|
|
9
|
-
registry.delete(id);
|
|
10
|
-
}
|
|
11
|
-
export function listRegisteredToolPlugins() {
|
|
12
|
-
return Array.from(registry.values());
|
|
13
|
-
}
|
|
14
|
-
export async function instantiateToolPlugins(target, context, options = {}) {
|
|
15
|
-
const modules = [];
|
|
16
|
-
for (const plugin of registry.values()) {
|
|
17
|
-
if (!supportsTarget(plugin, target)) {
|
|
18
|
-
continue;
|
|
19
|
-
}
|
|
20
|
-
if (options.filter && !options.filter(plugin)) {
|
|
21
|
-
continue;
|
|
22
|
-
}
|
|
23
|
-
const result = await plugin.create(context);
|
|
24
|
-
if (!result) {
|
|
25
|
-
continue;
|
|
26
|
-
}
|
|
27
|
-
if (Array.isArray(result)) {
|
|
28
|
-
for (const entry of result) {
|
|
29
|
-
if (entry) {
|
|
30
|
-
modules.push(entry);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
modules.push(result);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return modules;
|
|
39
|
-
}
|
|
40
|
-
function normalizePlugin(plugin) {
|
|
41
|
-
if (!plugin.targets?.length) {
|
|
42
|
-
return {
|
|
43
|
-
...plugin,
|
|
44
|
-
targets: ['universal'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
...plugin,
|
|
49
|
-
targets: Array.from(new Set(plugin.targets)),
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function supportsTarget(plugin, target) {
|
|
53
|
-
if (plugin.targets.includes('universal')) {
|
|
54
|
-
return true;
|
|
55
|
-
}
|
|
56
|
-
return plugin.targets.includes(target);
|
|
57
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SearchCapabilityModule } from '../../../capabilities/searchCapability.js';
|
|
2
|
-
export function createLocalSearchToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.search.local',
|
|
5
|
-
description: 'Local ripgrep-based search tooling.',
|
|
6
|
-
targets: ['node', 'cloud'],
|
|
7
|
-
create: (context) => {
|
|
8
|
-
return new SearchCapabilityModule({
|
|
9
|
-
workingDir: context.workingDir,
|
|
10
|
-
});
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TaskManagementCapabilityModule } from '../../../capabilities/taskManagementCapability.js';
|
|
2
|
-
export function createTaskManagementToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.task-management.local',
|
|
5
|
-
description: 'Task tracking and planning tools for organizing complex multi-step work.',
|
|
6
|
-
targets: ['node', 'cloud'],
|
|
7
|
-
create: (_context) => {
|
|
8
|
-
return new TaskManagementCapabilityModule({});
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TestingCapabilityModule } from '../../../capabilities/testingCapability.js';
|
|
2
|
-
export function createTestingToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.testing.coverage',
|
|
5
|
-
description: 'Test generation scaffolding plus coverage execution/reporting utilities.',
|
|
6
|
-
targets: ['node'],
|
|
7
|
-
create: async (context) => new TestingCapabilityModule({
|
|
8
|
-
workingDir: context.workingDir,
|
|
9
|
-
}),
|
|
10
|
-
};
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { WebCapabilityModule } from '../../../capabilities/webCapability.js';
|
|
2
|
-
export function createWebToolPlugin() {
|
|
3
|
-
return {
|
|
4
|
-
id: 'tool.web.local',
|
|
5
|
-
description: 'Web content fetching and search tools for accessing online information.',
|
|
6
|
-
targets: ['node', 'cloud'],
|
|
7
|
-
create: (_context) => {
|
|
8
|
-
return new WebCapabilityModule({});
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
}
|