erosolar-cli 1.0.2 → 1.0.3
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/Agents.md +411 -200
- package/README.md +77 -44
- package/dist/adapters/browser/index.d.ts +12 -0
- package/dist/adapters/browser/index.d.ts.map +1 -0
- package/dist/adapters/browser/index.js +1 -0
- package/dist/adapters/browser/index.js.map +1 -0
- package/dist/adapters/node/index.d.ts +17 -0
- package/dist/adapters/node/index.d.ts.map +1 -0
- package/dist/adapters/node/index.js +1 -0
- package/dist/adapters/node/index.js.map +1 -0
- package/dist/adapters/remote/index.d.ts +13 -0
- package/dist/adapters/remote/index.d.ts.map +1 -0
- package/dist/adapters/remote/index.js +1 -0
- package/dist/adapters/remote/index.js.map +1 -0
- package/dist/adapters/types.d.ts +14 -0
- package/dist/adapters/types.d.ts.map +1 -0
- package/dist/adapters/types.js +1 -0
- package/dist/adapters/types.js.map +1 -0
- package/dist/bin/erosolar.d.ts +3 -0
- package/dist/bin/erosolar.d.ts.map +1 -0
- package/dist/bin/erosolar.js +1 -0
- package/dist/bin/erosolar.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 +1 -0
- package/dist/capabilities/bashCapability.js.map +1 -0
- package/dist/capabilities/codeAnalysisCapability.d.ts +13 -0
- package/dist/capabilities/codeAnalysisCapability.d.ts.map +1 -0
- package/dist/capabilities/codeAnalysisCapability.js +24 -0
- package/dist/capabilities/codeAnalysisCapability.js.map +1 -0
- package/dist/capabilities/codeGenerationCapability.d.ts +13 -0
- package/dist/capabilities/codeGenerationCapability.d.ts.map +1 -0
- package/dist/capabilities/codeGenerationCapability.js +25 -0
- package/dist/capabilities/codeGenerationCapability.js.map +1 -0
- package/dist/capabilities/codeQualityCapability.d.ts +13 -0
- package/dist/capabilities/codeQualityCapability.d.ts.map +1 -0
- package/dist/capabilities/codeQualityCapability.js +25 -0
- package/dist/capabilities/codeQualityCapability.js.map +1 -0
- package/dist/capabilities/dependencySecurityCapability.d.ts +13 -0
- package/dist/capabilities/dependencySecurityCapability.d.ts.map +1 -0
- package/dist/capabilities/dependencySecurityCapability.js +24 -0
- package/dist/capabilities/dependencySecurityCapability.js.map +1 -0
- package/dist/capabilities/devCapability.d.ts +13 -0
- package/dist/capabilities/devCapability.d.ts.map +1 -0
- package/dist/capabilities/devCapability.js +24 -0
- package/dist/capabilities/devCapability.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 +1 -0
- package/dist/capabilities/filesystemCapability.js.map +1 -0
- package/dist/capabilities/index.d.ts +10 -0
- package/dist/capabilities/index.d.ts.map +1 -0
- package/dist/capabilities/index.js +7 -0
- package/dist/capabilities/index.js.map +1 -0
- package/dist/capabilities/refactoringCapability.d.ts +13 -0
- package/dist/capabilities/refactoringCapability.d.ts.map +1 -0
- package/dist/capabilities/refactoringCapability.js +25 -0
- package/dist/capabilities/refactoringCapability.js.map +1 -0
- package/dist/capabilities/repoChecksCapability.d.ts +10 -0
- package/dist/capabilities/repoChecksCapability.d.ts.map +1 -0
- package/dist/capabilities/repoChecksCapability.js +24 -0
- package/dist/capabilities/repoChecksCapability.js.map +1 -0
- package/dist/capabilities/searchCapability.d.ts +13 -0
- package/dist/capabilities/searchCapability.d.ts.map +1 -0
- package/dist/capabilities/searchCapability.js +1 -0
- package/dist/capabilities/searchCapability.js.map +1 -0
- package/dist/capabilities/testingCapability.d.ts +13 -0
- package/dist/capabilities/testingCapability.d.ts.map +1 -0
- package/dist/capabilities/testingCapability.js +25 -0
- package/dist/capabilities/testingCapability.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 +160 -0
- package/dist/capabilities/toolManifest.js.map +1 -0
- package/dist/capabilities/toolRegistry.d.ts +22 -0
- package/dist/capabilities/toolRegistry.d.ts.map +1 -0
- package/dist/capabilities/toolRegistry.js +49 -32
- package/dist/capabilities/toolRegistry.js.map +1 -0
- package/dist/config.d.ts +28 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +98 -23
- package/dist/config.js.map +1 -0
- package/dist/contracts/agent-profiles.schema.json +43 -0
- package/dist/contracts/agent-schema.snapshot.json +437 -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.schema.json +89 -0
- package/dist/contracts/schemas/tool-selection.schema.json +174 -0
- package/dist/contracts/tools.schema.json +100 -0
- package/dist/contracts/v1/agent.d.ts +147 -0
- package/dist/contracts/v1/agent.d.ts.map +1 -0
- package/dist/contracts/v1/agent.js +1 -0
- package/dist/contracts/v1/agent.js.map +1 -0
- package/dist/contracts/v1/agentProfileManifest.d.ts +52 -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 +1 -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 +1 -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 +35 -0
- package/dist/core/agent.d.ts.map +1 -0
- package/dist/core/agent.js +17 -9
- 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 +176 -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 +1 -0
- package/dist/core/agentProfiles.js.map +1 -0
- package/dist/core/agentRulebook.d.ts +10 -0
- package/dist/core/agentRulebook.d.ts.map +1 -0
- package/dist/core/agentRulebook.js +153 -0
- package/dist/core/agentRulebook.js.map +1 -0
- package/dist/core/agentSchemaSnapshot.d.ts +14 -0
- package/dist/core/agentSchemaSnapshot.d.ts.map +1 -0
- package/dist/core/agentSchemaSnapshot.js +38 -0
- package/dist/core/agentSchemaSnapshot.js.map +1 -0
- package/dist/core/agentsDocument.d.ts +4 -0
- package/dist/core/agentsDocument.d.ts.map +1 -0
- package/dist/core/agentsDocument.js +70 -0
- package/dist/core/agentsDocument.js.map +1 -0
- package/dist/core/contextWindow.d.ts +6 -0
- package/dist/core/contextWindow.d.ts.map +1 -0
- package/dist/core/contextWindow.js +1 -0
- package/dist/core/contextWindow.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 +1 -0
- package/dist/core/errors/apiKeyErrors.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/preferences.d.ts +21 -0
- package/dist/core/preferences.d.ts.map +1 -0
- package/dist/core/preferences.js +13 -7
- package/dist/core/preferences.js.map +1 -0
- package/dist/core/schemaValidator.d.ts +6 -0
- package/dist/core/schemaValidator.d.ts.map +1 -0
- package/dist/core/schemaValidator.js +93 -0
- package/dist/core/schemaValidator.js.map +1 -0
- package/dist/core/secretStore.d.ts +20 -0
- package/dist/core/secretStore.d.ts.map +1 -0
- package/dist/core/secretStore.js +3 -8
- package/dist/core/secretStore.js.map +1 -0
- package/dist/core/toolRuntime.d.ts +48 -0
- package/dist/core/toolRuntime.d.ts.map +1 -0
- package/dist/core/toolRuntime.js +34 -11
- package/dist/core/toolRuntime.js.map +1 -0
- package/dist/core/types.d.ts +86 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +1 -0
- package/dist/core/types.js.map +1 -0
- package/dist/plugins/providers/anthropic/index.d.ts +2 -0
- package/dist/plugins/providers/anthropic/index.d.ts.map +1 -0
- package/dist/plugins/providers/anthropic/index.js +6 -4
- package/dist/plugins/providers/anthropic/index.js.map +1 -0
- package/dist/plugins/providers/deepseek/index.d.ts +2 -0
- package/dist/plugins/providers/deepseek/index.d.ts.map +1 -0
- package/dist/plugins/providers/deepseek/index.js +1 -0
- package/dist/plugins/providers/deepseek/index.js.map +1 -0
- package/dist/plugins/providers/google/index.d.ts +2 -0
- package/dist/plugins/providers/google/index.d.ts.map +1 -0
- package/dist/plugins/providers/google/index.js +6 -4
- package/dist/plugins/providers/google/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 +1 -0
- package/dist/plugins/providers/index.js.map +1 -0
- package/dist/plugins/providers/openai/index.d.ts +3 -0
- package/dist/plugins/providers/openai/index.d.ts.map +1 -0
- package/dist/plugins/providers/openai/index.js +6 -4
- package/dist/plugins/providers/openai/index.js.map +1 -0
- package/dist/plugins/providers/xai/index.d.ts +2 -0
- package/dist/plugins/providers/xai/index.d.ts.map +1 -0
- package/dist/plugins/providers/xai/index.js +1 -0
- package/dist/plugins/providers/xai/index.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 +1 -0
- package/dist/plugins/tools/bash/localBashPlugin.js.map +1 -0
- package/dist/plugins/tools/checks/localRepoChecksPlugin.d.ts +3 -0
- package/dist/plugins/tools/checks/localRepoChecksPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/checks/localRepoChecksPlugin.js +14 -0
- package/dist/plugins/tools/checks/localRepoChecksPlugin.js.map +1 -0
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.d.ts +3 -0
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.js +14 -0
- package/dist/plugins/tools/codeAnalysis/codeAnalysisPlugin.js.map +1 -0
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.d.ts +3 -0
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.js +14 -0
- package/dist/plugins/tools/codeQuality/codeQualityPlugin.js.map +1 -0
- package/dist/plugins/tools/dependency/dependencyPlugin.d.ts +3 -0
- package/dist/plugins/tools/dependency/dependencyPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/dependency/dependencyPlugin.js +12 -0
- package/dist/plugins/tools/dependency/dependencyPlugin.js.map +1 -0
- package/dist/plugins/tools/development/devPlugin.d.ts +3 -0
- package/dist/plugins/tools/development/devPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/development/devPlugin.js +14 -0
- package/dist/plugins/tools/development/devPlugin.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 +1 -0
- package/dist/plugins/tools/filesystem/localFilesystemPlugin.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 +1 -0
- package/dist/plugins/tools/index.js.map +1 -0
- package/dist/plugins/tools/nodeDefaults.d.ts +2 -0
- package/dist/plugins/tools/nodeDefaults.d.ts.map +1 -0
- package/dist/plugins/tools/nodeDefaults.js +15 -2
- package/dist/plugins/tools/nodeDefaults.js.map +1 -0
- package/dist/plugins/tools/refactoring/refactoringPlugin.d.ts +3 -0
- package/dist/plugins/tools/refactoring/refactoringPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/refactoring/refactoringPlugin.js +12 -0
- package/dist/plugins/tools/refactoring/refactoringPlugin.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 +1 -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 +1 -0
- package/dist/plugins/tools/search/localSearchPlugin.js.map +1 -0
- package/dist/plugins/tools/testing/testingPlugin.d.ts +3 -0
- package/dist/plugins/tools/testing/testingPlugin.d.ts.map +1 -0
- package/dist/plugins/tools/testing/testingPlugin.js +12 -0
- package/dist/plugins/tools/testing/testingPlugin.js.map +1 -0
- package/dist/providers/anthropicProvider.d.ts +23 -0
- package/dist/providers/anthropicProvider.d.ts.map +1 -0
- package/dist/providers/anthropicProvider.js +3 -2
- package/dist/providers/anthropicProvider.js.map +1 -0
- package/dist/providers/googleProvider.d.ts +19 -0
- package/dist/providers/googleProvider.d.ts.map +1 -0
- package/dist/providers/googleProvider.js +1 -1
- package/dist/providers/googleProvider.js.map +1 -0
- package/dist/providers/openaiChatCompletionsProvider.d.ts +16 -0
- package/dist/providers/openaiChatCompletionsProvider.d.ts.map +1 -0
- package/dist/providers/openaiChatCompletionsProvider.js +1 -0
- package/dist/providers/openaiChatCompletionsProvider.js.map +1 -0
- package/dist/providers/openaiResponsesProvider.d.ts +20 -0
- package/dist/providers/openaiResponsesProvider.d.ts.map +1 -0
- package/dist/providers/openaiResponsesProvider.js +1 -0
- package/dist/providers/openaiResponsesProvider.js.map +1 -0
- package/dist/providers/providerFactory.d.ts +18 -0
- package/dist/providers/providerFactory.d.ts.map +1 -0
- package/dist/providers/providerFactory.js +5 -1
- package/dist/providers/providerFactory.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 +5 -1
- package/dist/runtime/agentHost.js.map +1 -0
- package/dist/runtime/agentSession.d.ts +32 -0
- package/dist/runtime/agentSession.d.ts.map +1 -0
- package/dist/runtime/agentSession.js +23 -1
- package/dist/runtime/agentSession.js.map +1 -0
- package/dist/runtime/browser.d.ts +7 -0
- package/dist/runtime/browser.d.ts.map +1 -0
- package/dist/runtime/browser.js +1 -0
- package/dist/runtime/browser.js.map +1 -0
- package/dist/runtime/cloud.d.ts +7 -0
- package/dist/runtime/cloud.d.ts.map +1 -0
- package/dist/runtime/cloud.js +1 -0
- package/dist/runtime/cloud.js.map +1 -0
- package/dist/runtime/node.d.ts +8 -0
- package/dist/runtime/node.d.ts.map +1 -0
- package/dist/runtime/node.js +1 -0
- package/dist/runtime/node.js.map +1 -0
- package/dist/runtime/universal.d.ts +21 -0
- package/dist/runtime/universal.d.ts.map +1 -0
- package/dist/runtime/universal.js +1 -0
- package/dist/runtime/universal.js.map +1 -0
- package/dist/shell/bracketedPasteManager.d.ts +23 -0
- package/dist/shell/bracketedPasteManager.d.ts.map +1 -0
- package/dist/shell/bracketedPasteManager.js +1 -0
- package/dist/shell/bracketedPasteManager.js.map +1 -0
- package/dist/shell/interactiveShell.d.ts +128 -0
- package/dist/shell/interactiveShell.d.ts.map +1 -0
- package/dist/shell/interactiveShell.js +264 -146
- package/dist/shell/interactiveShell.js.map +1 -0
- package/dist/shell/liveStatus.d.ts +33 -0
- package/dist/shell/liveStatus.d.ts.map +1 -0
- package/dist/shell/liveStatus.js +89 -0
- package/dist/shell/liveStatus.js.map +1 -0
- package/dist/shell/promptSkin.d.ts +50 -0
- package/dist/shell/promptSkin.d.ts.map +1 -0
- package/dist/shell/promptSkin.js +380 -0
- package/dist/shell/promptSkin.js.map +1 -0
- package/dist/shell/shellApp.d.ts +10 -0
- package/dist/shell/shellApp.d.ts.map +1 -0
- package/dist/shell/shellApp.js +155 -78
- package/dist/shell/shellApp.js.map +1 -0
- package/dist/shell/systemPrompt.d.ts +3 -0
- package/dist/shell/systemPrompt.d.ts.map +1 -0
- package/dist/shell/systemPrompt.js +64 -0
- package/dist/shell/systemPrompt.js.map +1 -0
- package/dist/shell/updateManager.d.ts +2 -0
- package/dist/shell/updateManager.d.ts.map +1 -0
- package/dist/shell/updateManager.js +109 -0
- package/dist/shell/updateManager.js.map +1 -0
- package/dist/tools/bashTools.d.ts +8 -0
- package/dist/tools/bashTools.d.ts.map +1 -0
- package/dist/tools/bashTools.js +18 -15
- package/dist/tools/bashTools.js.map +1 -0
- package/dist/tools/codeAnalysisTools.d.ts +74 -0
- package/dist/tools/codeAnalysisTools.d.ts.map +1 -0
- package/dist/tools/codeAnalysisTools.js +642 -0
- package/dist/tools/codeAnalysisTools.js.map +1 -0
- package/dist/tools/codeGenerationTools.d.ts +3 -0
- package/dist/tools/codeGenerationTools.d.ts.map +1 -0
- package/dist/tools/codeGenerationTools.js +369 -0
- package/dist/tools/codeGenerationTools.js.map +1 -0
- package/dist/tools/codeQualityTools.d.ts +3 -0
- package/dist/tools/codeQualityTools.d.ts.map +1 -0
- package/dist/tools/codeQualityTools.js +295 -0
- package/dist/tools/codeQualityTools.js.map +1 -0
- package/dist/tools/dependencyTools.d.ts +3 -0
- package/dist/tools/dependencyTools.d.ts.map +1 -0
- package/dist/tools/dependencyTools.js +283 -0
- package/dist/tools/dependencyTools.js.map +1 -0
- package/dist/tools/devTools.d.ts +10 -0
- package/dist/tools/devTools.d.ts.map +1 -0
- package/dist/tools/devTools.js +239 -0
- package/dist/tools/devTools.js.map +1 -0
- package/dist/tools/diffUtils.d.ts +8 -0
- package/dist/tools/diffUtils.d.ts.map +1 -0
- package/dist/tools/diffUtils.js +2 -1
- package/dist/tools/diffUtils.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 +72 -21
- package/dist/tools/fileTools.js.map +1 -0
- package/dist/tools/refactoringTools.d.ts +3 -0
- package/dist/tools/refactoringTools.d.ts.map +1 -0
- package/dist/tools/refactoringTools.js +294 -0
- package/dist/tools/refactoringTools.js.map +1 -0
- package/dist/tools/repoChecksTools.d.ts +3 -0
- package/dist/tools/repoChecksTools.d.ts.map +1 -0
- package/dist/tools/repoChecksTools.js +161 -0
- package/dist/tools/repoChecksTools.js.map +1 -0
- package/dist/tools/searchTools.d.ts +3 -0
- package/dist/tools/searchTools.d.ts.map +1 -0
- package/dist/tools/searchTools.js +50 -22
- package/dist/tools/searchTools.js.map +1 -0
- package/dist/tools/testingTools.d.ts +3 -0
- package/dist/tools/testingTools.d.ts.map +1 -0
- package/dist/tools/testingTools.js +233 -0
- package/dist/tools/testingTools.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 +41 -29
- 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 +1 -0
- package/dist/ui/designSystem.js.map +1 -0
- package/dist/ui/display.d.ts +78 -0
- package/dist/ui/display.d.ts.map +1 -0
- package/dist/ui/display.js +211 -153
- package/dist/ui/display.js.map +1 -0
- package/dist/ui/layout.d.ts +17 -0
- package/dist/ui/layout.d.ts.map +1 -0
- package/dist/ui/layout.js +12 -7
- package/dist/ui/layout.js.map +1 -0
- package/dist/ui/richText.d.ts +6 -0
- package/dist/ui/richText.d.ts.map +1 -0
- package/dist/ui/richText.js +13 -4
- package/dist/ui/richText.js.map +1 -0
- package/dist/ui/theme.d.ts +77 -0
- package/dist/ui/theme.d.ts.map +1 -0
- package/dist/ui/theme.js +19 -6
- package/dist/ui/theme.js.map +1 -0
- package/dist/ui/unified/UIEventBus.d.ts +93 -0
- package/dist/ui/unified/UIEventBus.d.ts.map +1 -0
- package/dist/ui/unified/UIEventBus.js +124 -0
- package/dist/ui/unified/UIEventBus.js.map +1 -0
- package/dist/ui/unified/UIState.d.ts +123 -0
- package/dist/ui/unified/UIState.d.ts.map +1 -0
- package/dist/ui/unified/UIState.js +188 -0
- package/dist/ui/unified/UIState.js.map +1 -0
- package/dist/utils/errorUtils.d.ts +16 -0
- package/dist/utils/errorUtils.d.ts.map +1 -0
- package/dist/utils/errorUtils.js +68 -0
- package/dist/utils/errorUtils.js.map +1 -0
- package/dist/utils/nodeVersion.d.ts +3 -0
- package/dist/utils/nodeVersion.d.ts.map +1 -0
- package/dist/utils/nodeVersion.js +51 -0
- package/dist/utils/nodeVersion.js.map +1 -0
- package/dist/workspace.d.ts +8 -0
- package/dist/workspace.d.ts.map +1 -0
- package/dist/workspace.js +63 -11
- package/dist/workspace.js.map +1 -0
- package/package.json +27 -14
- package/scripts/health-check.mjs +179 -0
- package/ARCHITECTURE.json +0 -157
- package/SOURCE_OF_TRUTH.json +0 -103
- package/dist/capabilities/tavilyCapability.js +0 -26
- package/dist/plugins/tools/tavily/tavilyPlugin.js +0 -16
- package/dist/shell/__tests__/bracketedPasteManager.test.js +0 -35
- package/dist/tools/tavilyTools.js +0 -176
- package/dist/ui/__tests__/richText.test.js +0 -36
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "Agent Profile Manifest v1.0",
|
|
4
|
+
"description": "Schema describing agent profiles, their default providers/models, and how system prompts are constructed.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["contractVersion", "version", "profiles"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"contractVersion": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Version of the profile manifest contract the payload implements."
|
|
11
|
+
},
|
|
12
|
+
"version": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Semantic or date-based version identifier for the manifest."
|
|
15
|
+
},
|
|
16
|
+
"label": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Optional display label for the manifest."
|
|
19
|
+
},
|
|
20
|
+
"description": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Optional description for operators."
|
|
23
|
+
},
|
|
24
|
+
"profiles": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"minItems": 1,
|
|
27
|
+
"items": {
|
|
28
|
+
"$ref": "#/definitions/ProfileEntry"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"metadata": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"description": "Implementation specific metadata."
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"definitions": {
|
|
37
|
+
"ProfileEntry": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"required": ["name", "label", "defaultProvider", "defaultModel", "systemPrompt", "rulebook"],
|
|
40
|
+
"properties": {
|
|
41
|
+
"name": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "Stable identifier for the agent profile."
|
|
44
|
+
},
|
|
45
|
+
"label": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"description": "Human readable profile label."
|
|
48
|
+
},
|
|
49
|
+
"description": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "Optional description rendered in UIs."
|
|
52
|
+
},
|
|
53
|
+
"defaultProvider": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "Provider identifier the profile defaults to."
|
|
56
|
+
},
|
|
57
|
+
"defaultModel": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Default model identifier for the profile."
|
|
60
|
+
},
|
|
61
|
+
"temperature": {
|
|
62
|
+
"type": "number",
|
|
63
|
+
"description": "Optional default temperature."
|
|
64
|
+
},
|
|
65
|
+
"maxTokens": {
|
|
66
|
+
"type": "integer",
|
|
67
|
+
"minimum": 1,
|
|
68
|
+
"description": "Optional default max token count."
|
|
69
|
+
},
|
|
70
|
+
"systemPrompt": {
|
|
71
|
+
"$ref": "#/definitions/PromptConfig"
|
|
72
|
+
},
|
|
73
|
+
"rulebook": {
|
|
74
|
+
"$ref": "#/definitions/RulebookReference"
|
|
75
|
+
},
|
|
76
|
+
"metadata": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"description": "Implementation specific metadata."
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"additionalProperties": false
|
|
82
|
+
},
|
|
83
|
+
"PromptConfig": {
|
|
84
|
+
"oneOf": [
|
|
85
|
+
{
|
|
86
|
+
"$ref": "#/definitions/RulebookPromptConfig"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"$ref": "#/definitions/LiteralPromptConfig"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"RulebookPromptConfig": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"required": ["type"],
|
|
96
|
+
"properties": {
|
|
97
|
+
"type": {
|
|
98
|
+
"const": "rulebook"
|
|
99
|
+
},
|
|
100
|
+
"template": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "Optional template with placeholders like {{rulebook}}."
|
|
103
|
+
},
|
|
104
|
+
"metadata": {
|
|
105
|
+
"type": "object",
|
|
106
|
+
"description": "Implementation specific metadata."
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"additionalProperties": false
|
|
110
|
+
},
|
|
111
|
+
"LiteralPromptConfig": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"required": ["type", "content"],
|
|
114
|
+
"properties": {
|
|
115
|
+
"type": {
|
|
116
|
+
"const": "literal"
|
|
117
|
+
},
|
|
118
|
+
"content": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"description": "Static system prompt to use verbatim."
|
|
121
|
+
},
|
|
122
|
+
"metadata": {
|
|
123
|
+
"type": "object",
|
|
124
|
+
"description": "Implementation specific metadata."
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"additionalProperties": false
|
|
128
|
+
},
|
|
129
|
+
"RulebookReference": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"required": ["file"],
|
|
132
|
+
"properties": {
|
|
133
|
+
"file": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"description": "Relative path to the rulebook JSON file."
|
|
136
|
+
},
|
|
137
|
+
"version": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"description": "Optional human readable version of the rulebook."
|
|
140
|
+
},
|
|
141
|
+
"contractVersion": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"description": "Optional contract version for the referenced rulebook."
|
|
144
|
+
},
|
|
145
|
+
"description": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"description": "Summary of what the rulebook enforces."
|
|
148
|
+
},
|
|
149
|
+
"metadata": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"description": "Implementation specific metadata."
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"additionalProperties": false
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "Agent Ruleset Contract v1.0",
|
|
4
|
+
"description": "Schema describing the ordered phases, steps, and rules that govern agent execution.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["contractVersion", "profile", "version", "phases"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"contractVersion": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Version of the agent rules contract the payload adheres to."
|
|
11
|
+
},
|
|
12
|
+
"profile": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Profile identifier the ruleset targets (e.g., general, erosolar-code)."
|
|
15
|
+
},
|
|
16
|
+
"version": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Semantic or date-based version of the ruleset."
|
|
19
|
+
},
|
|
20
|
+
"label": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Optional human readable name for the ruleset."
|
|
23
|
+
},
|
|
24
|
+
"description": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Optional long form description for the ruleset."
|
|
27
|
+
},
|
|
28
|
+
"globalPrinciples": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"description": "Rules that apply to every phase and step.",
|
|
31
|
+
"items": {
|
|
32
|
+
"$ref": "#/definitions/Rule"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"phases": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"minItems": 1,
|
|
38
|
+
"items": {
|
|
39
|
+
"$ref": "#/definitions/Phase"
|
|
40
|
+
},
|
|
41
|
+
"description": "Ordered phases the agent should move through."
|
|
42
|
+
},
|
|
43
|
+
"metadata": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"description": "Optional implementation specific metadata."
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"definitions": {
|
|
49
|
+
"Phase": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"required": ["id", "label", "steps"],
|
|
52
|
+
"properties": {
|
|
53
|
+
"id": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "Stable identifier for the phase."
|
|
56
|
+
},
|
|
57
|
+
"label": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Display name for operators."
|
|
60
|
+
},
|
|
61
|
+
"description": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "What the phase accomplishes."
|
|
64
|
+
},
|
|
65
|
+
"trigger": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "Events or conditions that start the phase."
|
|
68
|
+
},
|
|
69
|
+
"steps": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"minItems": 1,
|
|
72
|
+
"items": {
|
|
73
|
+
"$ref": "#/definitions/Step"
|
|
74
|
+
},
|
|
75
|
+
"description": "Steps within the phase."
|
|
76
|
+
},
|
|
77
|
+
"metadata": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"description": "Additional data used by tooling."
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"Step": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"required": ["id", "title", "rules"],
|
|
86
|
+
"properties": {
|
|
87
|
+
"id": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Stable identifier for the step."
|
|
90
|
+
},
|
|
91
|
+
"title": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "Name of the step."
|
|
94
|
+
},
|
|
95
|
+
"description": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"description": "High-level summary of the step."
|
|
98
|
+
},
|
|
99
|
+
"intent": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"description": "Goal the agent should accomplish."
|
|
102
|
+
},
|
|
103
|
+
"entryCriteria": {
|
|
104
|
+
"type": "array",
|
|
105
|
+
"description": "Conditions that must be true before the step begins.",
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"exitCriteria": {
|
|
111
|
+
"type": "array",
|
|
112
|
+
"description": "Conditions that must be satisfied before leaving the step.",
|
|
113
|
+
"items": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"allowedTools": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"description": "Tool IDs explicitly allowed during the step.",
|
|
120
|
+
"items": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
"uniqueItems": true
|
|
124
|
+
},
|
|
125
|
+
"blockedTools": {
|
|
126
|
+
"type": "array",
|
|
127
|
+
"description": "Tool IDs that are prohibited while inside the step.",
|
|
128
|
+
"items": {
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
131
|
+
"uniqueItems": true
|
|
132
|
+
},
|
|
133
|
+
"notes": {
|
|
134
|
+
"type": "array",
|
|
135
|
+
"description": "Free-form operator notes for the step.",
|
|
136
|
+
"items": {
|
|
137
|
+
"type": "string"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"rules": {
|
|
141
|
+
"type": "array",
|
|
142
|
+
"minItems": 1,
|
|
143
|
+
"items": {
|
|
144
|
+
"$ref": "#/definitions/Rule"
|
|
145
|
+
},
|
|
146
|
+
"description": "Rules that must be followed while executing the step."
|
|
147
|
+
},
|
|
148
|
+
"subSteps": {
|
|
149
|
+
"type": "array",
|
|
150
|
+
"description": "Nested sub-steps that inherit context from the parent.",
|
|
151
|
+
"items": {
|
|
152
|
+
"$ref": "#/definitions/Step"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"metadata": {
|
|
156
|
+
"type": "object",
|
|
157
|
+
"description": "Implementation specific details."
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"Rule": {
|
|
162
|
+
"type": "object",
|
|
163
|
+
"required": ["id", "summary", "severity"],
|
|
164
|
+
"properties": {
|
|
165
|
+
"id": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"description": "Stable identifier for the rule."
|
|
168
|
+
},
|
|
169
|
+
"summary": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"description": "Short instruction that must be enforced."
|
|
172
|
+
},
|
|
173
|
+
"detail": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"description": "Extended rationale or clarification."
|
|
176
|
+
},
|
|
177
|
+
"severity": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"enum": ["critical", "required", "recommended"],
|
|
180
|
+
"description": "How strictly the rule must be enforced."
|
|
181
|
+
},
|
|
182
|
+
"appliesDuring": {
|
|
183
|
+
"type": "array",
|
|
184
|
+
"description": "Optional labels describing where the rule applies (analysis, planning, edits, etc.).",
|
|
185
|
+
"items": {
|
|
186
|
+
"type": "string"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"evidenceRequired": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "Evidence the agent must cite when reporting compliance."
|
|
192
|
+
},
|
|
193
|
+
"references": {
|
|
194
|
+
"type": "array",
|
|
195
|
+
"description": "Supporting documentation for the rule.",
|
|
196
|
+
"items": {
|
|
197
|
+
"$ref": "#/definitions/Reference"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"toolHints": {
|
|
201
|
+
"type": "array",
|
|
202
|
+
"description": "Suggested tools for satisfying the rule.",
|
|
203
|
+
"items": {
|
|
204
|
+
"type": "string"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"metadata": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"description": "Implementation specific metadata."
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"Reference": {
|
|
214
|
+
"type": "object",
|
|
215
|
+
"required": ["label"],
|
|
216
|
+
"properties": {
|
|
217
|
+
"label": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"description": "Human readable name for the reference."
|
|
220
|
+
},
|
|
221
|
+
"url": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"format": "uri",
|
|
224
|
+
"description": "Optional link to supporting documentation."
|
|
225
|
+
},
|
|
226
|
+
"file": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"description": "Workspace relative file reference."
|
|
229
|
+
},
|
|
230
|
+
"line": {
|
|
231
|
+
"type": "integer",
|
|
232
|
+
"minimum": 1,
|
|
233
|
+
"description": "Line number in the referenced file."
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "Agent Contract v1.0",
|
|
4
|
+
"description": "JSON Schema for agent interaction contract",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"definitions": {
|
|
7
|
+
"AgentEvent": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"required": ["type", "timestamp"],
|
|
10
|
+
"properties": {
|
|
11
|
+
"type": {
|
|
12
|
+
"enum": [
|
|
13
|
+
"message.start",
|
|
14
|
+
"message.delta",
|
|
15
|
+
"message.complete",
|
|
16
|
+
"tool.start",
|
|
17
|
+
"tool.complete",
|
|
18
|
+
"tool.error",
|
|
19
|
+
"error",
|
|
20
|
+
"usage"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"timestamp": {
|
|
24
|
+
"type": "number"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"ModelConfig": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"required": ["provider", "model"],
|
|
31
|
+
"properties": {
|
|
32
|
+
"provider": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"model": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
"temperature": {
|
|
39
|
+
"type": "number",
|
|
40
|
+
"minimum": 0,
|
|
41
|
+
"maximum": 2
|
|
42
|
+
},
|
|
43
|
+
"maxTokens": {
|
|
44
|
+
"type": "integer",
|
|
45
|
+
"minimum": 1
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"CapabilityManifest": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"required": ["contractVersion", "profile", "model", "tools", "features"],
|
|
52
|
+
"properties": {
|
|
53
|
+
"contractVersion": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"profile": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"model": {
|
|
60
|
+
"$ref": "#/definitions/ModelConfig"
|
|
61
|
+
},
|
|
62
|
+
"tools": {
|
|
63
|
+
"type": "array",
|
|
64
|
+
"items": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"required": ["name", "description", "category"],
|
|
67
|
+
"properties": {
|
|
68
|
+
"name": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"description": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"category": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"features": {
|
|
81
|
+
"type": "array",
|
|
82
|
+
"items": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "Tool Selection Contract v1.0",
|
|
4
|
+
"description": "Schema describing toggleable tool suites and presets exposed to an agent runtime.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["contractVersion", "profile", "version", "options"],
|
|
7
|
+
"properties": {
|
|
8
|
+
"contractVersion": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Version of the tool selection contract implemented by the payload."
|
|
11
|
+
},
|
|
12
|
+
"profile": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Agent profile identifier that the tool selection applies to."
|
|
15
|
+
},
|
|
16
|
+
"version": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Semantic or date-based version for the manifest."
|
|
19
|
+
},
|
|
20
|
+
"label": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Optional human readable label for the manifest."
|
|
23
|
+
},
|
|
24
|
+
"description": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "Optional longer description."
|
|
27
|
+
},
|
|
28
|
+
"options": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"minItems": 1,
|
|
31
|
+
"items": {
|
|
32
|
+
"$ref": "#/definitions/ToolOption"
|
|
33
|
+
},
|
|
34
|
+
"description": "Toggleable tool suites."
|
|
35
|
+
},
|
|
36
|
+
"presets": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"description": "Optional named sets of enabled/disabled tools.",
|
|
39
|
+
"items": {
|
|
40
|
+
"$ref": "#/definitions/ToolPreset"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"metadata": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"description": "Implementation specific metadata."
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"definitions": {
|
|
49
|
+
"ToolOption": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"required": ["id", "label", "description", "defaultEnabled", "pluginIds"],
|
|
52
|
+
"properties": {
|
|
53
|
+
"id": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "Unique identifier for the tool option."
|
|
56
|
+
},
|
|
57
|
+
"label": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Human readable name."
|
|
60
|
+
},
|
|
61
|
+
"description": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "Operator facing description."
|
|
64
|
+
},
|
|
65
|
+
"category": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "Optional grouping/category label."
|
|
68
|
+
},
|
|
69
|
+
"defaultEnabled": {
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"description": "Whether the tool is enabled by default."
|
|
72
|
+
},
|
|
73
|
+
"pluginIds": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"minItems": 1,
|
|
76
|
+
"description": "IDs of the tool plugins activated by this option.",
|
|
77
|
+
"items": {
|
|
78
|
+
"type": "string"
|
|
79
|
+
},
|
|
80
|
+
"uniqueItems": true
|
|
81
|
+
},
|
|
82
|
+
"requiresSecret": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "Identifier of a secret that must be configured before the tool can load."
|
|
85
|
+
},
|
|
86
|
+
"scopes": {
|
|
87
|
+
"type": "array",
|
|
88
|
+
"description": "Capabilities unlocked when this option is enabled.",
|
|
89
|
+
"items": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"enum": [
|
|
92
|
+
"filesystem:read",
|
|
93
|
+
"filesystem:write",
|
|
94
|
+
"process:exec",
|
|
95
|
+
"network:web",
|
|
96
|
+
"network:api",
|
|
97
|
+
"analysis:code",
|
|
98
|
+
"analysis:quality",
|
|
99
|
+
"analysis:dependency",
|
|
100
|
+
"analysis:testing",
|
|
101
|
+
"analysis:security",
|
|
102
|
+
"planning:refactor",
|
|
103
|
+
"external:web-search"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"uniqueItems": true
|
|
107
|
+
},
|
|
108
|
+
"metadata": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"description": "Implementation specific metadata."
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"ToolPreset": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"required": ["id", "label"],
|
|
117
|
+
"properties": {
|
|
118
|
+
"id": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"description": "Unique identifier for the preset."
|
|
121
|
+
},
|
|
122
|
+
"label": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"description": "Human readable name for the preset."
|
|
125
|
+
},
|
|
126
|
+
"description": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"description": "Longer description or guidance."
|
|
129
|
+
},
|
|
130
|
+
"enabled": {
|
|
131
|
+
"type": "array",
|
|
132
|
+
"description": "Tool option IDs forced on by the preset.",
|
|
133
|
+
"items": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
"uniqueItems": true
|
|
137
|
+
},
|
|
138
|
+
"disabled": {
|
|
139
|
+
"type": "array",
|
|
140
|
+
"description": "Tool option IDs forced off by the preset.",
|
|
141
|
+
"items": {
|
|
142
|
+
"type": "string"
|
|
143
|
+
},
|
|
144
|
+
"uniqueItems": true
|
|
145
|
+
},
|
|
146
|
+
"locked": {
|
|
147
|
+
"type": "array",
|
|
148
|
+
"description": "Tool option IDs that cannot be toggled while the preset is active.",
|
|
149
|
+
"items": {
|
|
150
|
+
"type": "string"
|
|
151
|
+
},
|
|
152
|
+
"uniqueItems": true
|
|
153
|
+
},
|
|
154
|
+
"appliesTo": {
|
|
155
|
+
"type": "array",
|
|
156
|
+
"description": "Frontends where this preset should be available.",
|
|
157
|
+
"items": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"enum": ["cli", "browser", "http", "worker", "service"]
|
|
160
|
+
},
|
|
161
|
+
"uniqueItems": true
|
|
162
|
+
},
|
|
163
|
+
"notes": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"description": "Optional operator note rendered with the preset."
|
|
166
|
+
},
|
|
167
|
+
"metadata": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"description": "Implementation specific metadata."
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|