0xray 2.0.1 → 2.1.1
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/.opencode/codex.codex +1 -1
- package/.opencode/commands/dependency-audit.md +3 -3
- package/.opencode/enforcer-config.json +2 -2
- package/.opencode/hooks/post-commit +1 -1
- package/.opencode/init.sh +2 -2
- package/AGENTS.md +1 -1
- package/README.md +2 -2
- package/dist/AGENTS.md +1 -1
- package/dist/CHANGELOG.md +10 -0
- package/dist/README.md +2 -2
- package/dist/analytics/routing-refiner.js +1 -1
- package/dist/benchmark/performance-benchmark.d.ts +2 -2
- package/dist/benchmark/performance-benchmark.js +3 -3
- package/dist/cli/commands/hermes-install.js +4 -4
- package/dist/cli/commands/mcp-install.js +1 -1
- package/dist/cli/commands/openclaw-install.js +1 -1
- package/dist/cli/commands/plugin-commands.js +2 -2
- package/dist/cli/commands/publish-agent.js +5 -5
- package/dist/cli/commands/skill-install.js +1 -1
- package/dist/cli/commands/status.js +3 -3
- package/dist/cli/commands/storyteller.js +2 -2
- package/dist/cli/index.js +8 -8
- package/dist/cli/server.js +1 -1
- package/dist/core/agent-spawn-gate.d.ts +1 -1
- package/dist/core/agent-spawn-gate.js +1 -1
- package/dist/core/boot-orchestrator.d.ts +4 -4
- package/dist/core/boot-orchestrator.js +27 -27
- package/dist/core/bridge.mjs +22 -22
- package/dist/core/codex-formatter.js +2 -2
- package/dist/core/codex-injector.d.ts +4 -3
- package/dist/core/codex-injector.js +11 -10
- package/dist/core/config-loader.d.ts +5 -4
- package/dist/core/config-loader.js +4 -2
- package/dist/core/config-paths.d.ts +9 -8
- package/dist/core/config-paths.js +24 -23
- package/dist/core/context-loader.d.ts +4 -3
- package/dist/core/context-loader.js +7 -5
- package/dist/core/features-config.js +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/orchestrator.d.ts +1 -0
- package/dist/core/orchestrator.js +3 -2
- package/dist/core/system-prompt-generator.js +2 -2
- package/dist/core/xray-activation.d.ts +4 -4
- package/dist/core/xray-activation.js +29 -24
- package/dist/delegation/agent-delegator.d.ts +3 -3
- package/dist/delegation/agent-delegator.js +3 -3
- package/dist/delegation/metrics-aggregator.d.ts +11 -11
- package/dist/delegation/session-coordinator.d.ts +3 -3
- package/dist/delegation/voting-coordinator.d.ts +3 -3
- package/dist/enforcement/enforcer-tools.js +2 -2
- package/dist/enforcement/loaders/codex-loader.d.ts +1 -1
- package/dist/enforcement/loaders/codex-loader.js +2 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -6
- package/dist/inference/deploy-verifier.js +1 -1
- package/dist/inference/inference-cycle.js +7 -7
- package/dist/integrations/base/README.md +2 -2
- package/dist/integrations/governance/index.js +1 -1
- package/dist/integrations/grok/grok-cli.d.ts +1 -1
- package/dist/integrations/grok/grok-cli.js +6 -6
- package/dist/integrations/grok/hooks/pre-tool-use.js +1 -1
- package/dist/integrations/grok/plugin/0xray/.mcp.json +3 -3
- package/dist/integrations/grok/plugin/0xray/hooks/hooks.json +2 -2
- package/dist/integrations/hermes-agent/__init__.py +77 -71
- package/dist/integrations/hermes-agent/__pycache__/__init__.cpython-313.pyc +0 -0
- package/dist/integrations/hermes-agent/__pycache__/conftest.cpython-313-pytest-9.0.2.pyc +0 -0
- package/dist/integrations/hermes-agent/__pycache__/schemas.cpython-313.pyc +0 -0
- package/dist/integrations/hermes-agent/__pycache__/test_plugin.cpython-313-pytest-9.0.2.pyc +0 -0
- package/dist/integrations/hermes-agent/__pycache__/test_plugin.cpython-313.pyc +0 -0
- package/dist/integrations/hermes-agent/__pycache__/tools.cpython-313.pyc +0 -0
- package/dist/integrations/hermes-agent/after-install.md +14 -14
- package/dist/integrations/hermes-agent/bridge.mjs +14 -14
- package/dist/integrations/hermes-agent/logs/framework/routing-outcomes.json +1 -0
- package/dist/integrations/hermes-agent/plugin.yaml +5 -5
- package/dist/integrations/hermes-agent/schemas.py +12 -12
- package/dist/integrations/hermes-agent/test_plugin.py +128 -125
- package/dist/integrations/hermes-agent/tools.py +85 -23
- package/dist/integrations/openclaw/README.md +16 -16
- package/dist/integrations/openclaw/api-server.d.ts +4 -4
- package/dist/integrations/openclaw/api-server.js +9 -9
- package/dist/integrations/openclaw/config.js +1 -1
- package/dist/integrations/openclaw/hooks/{strray-hooks.d.ts → xray-hooks.d.ts} +4 -4
- package/dist/integrations/openclaw/index.d.ts +4 -4
- package/dist/integrations/openclaw/index.js +4 -4
- package/dist/integrations/openclaw/types.d.ts +1 -1
- package/dist/integrations/plugins/plugin-registry.js +2 -2
- package/dist/mcps/architect-tools.server.d.ts +2 -2
- package/dist/mcps/architect-tools.server.js +4 -4
- package/dist/mcps/auto-format.server.d.ts +2 -2
- package/dist/mcps/auto-format.server.js +4 -4
- package/dist/mcps/boot-orchestrator.server.d.ts +2 -2
- package/dist/mcps/boot-orchestrator.server.js +4 -4
- package/dist/mcps/config/server-config-registry.d.ts +1 -1
- package/dist/mcps/config/server-config-registry.js +7 -7
- package/dist/mcps/connection/mcp-connection.js +1 -1
- package/dist/mcps/enforcer-tools.server.d.ts +2 -2
- package/dist/mcps/enforcer-tools.server.js +4 -4
- package/dist/mcps/estimation.server.js +1 -1
- package/dist/mcps/framework-compliance-audit.server.d.ts +2 -2
- package/dist/mcps/framework-compliance-audit.server.js +4 -4
- package/dist/mcps/framework-help.server.js +7 -7
- package/dist/mcps/governance.server.js +1 -1
- package/dist/mcps/in-process-skill-registry.js +6 -6
- package/dist/mcps/knowledge-skills/api-design.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/api-design.server.js +4 -4
- package/dist/mcps/knowledge-skills/architecture-patterns.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/architecture-patterns.server.js +4 -4
- package/dist/mcps/knowledge-skills/bug-triage-specialist.server.js +1 -1
- package/dist/mcps/knowledge-skills/code-analyzer.server.js +1 -1
- package/dist/mcps/knowledge-skills/code-review.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/code-review.server.js +4 -4
- package/dist/mcps/knowledge-skills/content-creator.server.js +1 -1
- package/dist/mcps/knowledge-skills/database-design.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/database-design.server.js +4 -4
- package/dist/mcps/knowledge-skills/devops-deployment.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/devops-deployment.server.js +4 -4
- package/dist/mcps/knowledge-skills/git-workflow.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/git-workflow.server.js +4 -4
- package/dist/mcps/knowledge-skills/growth-strategist.server.js +1 -1
- package/dist/mcps/knowledge-skills/log-monitor.server.js +1 -1
- package/dist/mcps/knowledge-skills/mobile-development.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/mobile-development.server.js +4 -4
- package/dist/mcps/knowledge-skills/multimodal-looker.server.js +1 -1
- package/dist/mcps/knowledge-skills/performance-optimization.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/performance-optimization.server.js +4 -4
- package/dist/mcps/knowledge-skills/project-analysis.server.js +1 -1
- package/dist/mcps/knowledge-skills/refactoring-strategies.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/refactoring-strategies.server.js +4 -4
- package/dist/mcps/knowledge-skills/security-audit.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/security-audit.server.js +4 -4
- package/dist/mcps/knowledge-skills/seo-consultant.server.js +1 -1
- package/dist/mcps/knowledge-skills/session-management.server.js +1 -1
- package/dist/mcps/knowledge-skills/skill-invocation.server.js +1 -1
- package/dist/mcps/knowledge-skills/strategist.server.js +1 -1
- package/dist/mcps/knowledge-skills/tech-writer.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/tech-writer.server.js +5 -5
- package/dist/mcps/knowledge-skills/testing-best-practices.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/testing-best-practices.server.js +4 -4
- package/dist/mcps/knowledge-skills/testing-strategy.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/testing-strategy.server.js +4 -4
- package/dist/mcps/knowledge-skills/ui-ux-design.server.d.ts +2 -2
- package/dist/mcps/knowledge-skills/ui-ux-design.server.js +6 -6
- package/dist/mcps/lint.server.d.ts +2 -2
- package/dist/mcps/lint.server.js +6 -6
- package/dist/mcps/mcp-client.js +3 -3
- package/dist/mcps/model-health-check.server.d.ts +2 -2
- package/dist/mcps/model-health-check.server.js +4 -4
- package/dist/mcps/orchestrator/server.js +2 -2
- package/dist/mcps/performance-analysis.server.d.ts +2 -2
- package/dist/mcps/performance-analysis.server.js +4 -4
- package/dist/mcps/processor-pipeline.server.d.ts +2 -2
- package/dist/mcps/processor-pipeline.server.js +4 -4
- package/dist/mcps/registry.json +1 -1
- package/dist/mcps/researcher.server.d.ts +3 -3
- package/dist/mcps/researcher.server.js +5 -5
- package/dist/mcps/security-scan.server.d.ts +2 -2
- package/dist/mcps/security-scan.server.js +4 -4
- package/dist/mcps/simulation/server-simulations.js +3 -3
- package/dist/mcps/state-manager.server.js +1 -1
- package/dist/metrics/agent-metrics.d.ts +4 -4
- package/dist/metrics/agent-metrics.js +1 -1
- package/dist/orchestrator/enhanced-multi-agent-orchestrator.d.ts +2 -2
- package/dist/orchestrator/enhanced-multi-agent-orchestrator.js +2 -2
- package/dist/orchestrator/intelligent-commit-batcher.d.ts +1 -1
- package/dist/orchestrator/intelligent-commit-batcher.js +3 -3
- package/dist/orchestrator/multi-agent-orchestration-coordinator.d.ts +3 -3
- package/dist/orchestrator/multi-agent-orchestration-coordinator.js +9 -9
- package/dist/orchestrator/orchestrator.d.ts +3 -2
- package/dist/orchestrator/orchestrator.js +8 -6
- package/dist/orchestrator/universal-registry-bridge.js +1 -1
- package/dist/plugin/xray-codex-injection.d.ts +1 -1
- package/dist/plugin/xray-codex-injection.js +8 -7
- package/dist/postprocessor/PostProcessor.d.ts +2 -2
- package/dist/postprocessor/PostProcessor.js +1 -1
- package/dist/postprocessor/monitoring/MonitoringEngine.d.ts +2 -2
- package/dist/postprocessor/services/RegressionAnalysisService.js +2 -2
- package/dist/postprocessor/triggers/GitHookTrigger.js +14 -14
- package/dist/processors/implementations/agents-md-validation-processor.js +2 -2
- package/dist/processors/implementations/inference-improvement-processor.js +2 -2
- package/dist/processors/implementations/log-protection-processor.d.ts +1 -1
- package/dist/processors/implementations/log-protection-processor.js +2 -2
- package/dist/processors/implementations/publish-preflight-processor.d.ts +1 -1
- package/dist/processors/implementations/publish-preflight-processor.js +3 -3
- package/dist/processors/implementations/regression-testing-processor.js +2 -2
- package/dist/processors/implementations/session-summary-processor.js +2 -2
- package/dist/processors/implementations/storytelling-trigger-processor.js +2 -2
- package/dist/processors/processor-manager.d.ts +2 -2
- package/dist/public/about.html +6 -6
- package/dist/public/enterprise.html +1 -1
- package/dist/public/features.html +2 -2
- package/dist/public/index.html +4 -4
- package/dist/reporting/report-formatter.js +1 -1
- package/dist/scripts/activate-kernel-pipeline.js +2 -2
- package/dist/scripts/pre-command +1 -1
- package/dist/services/inference-tuner.js +2 -2
- package/dist/session/session-cleanup-manager.d.ts +3 -3
- package/dist/session/session-monitor.d.ts +3 -3
- package/dist/session/session-state-manager.d.ts +3 -3
- package/dist/skills/hermes-agent/SKILL.md +12 -12
- package/dist/skills/registry.json +1 -1
- package/dist/skills/storyteller/SKILL.md +1 -1
- package/dist/skills/xray-orchestrator/SKILL.md +141 -0
- package/dist/skills/xray-orchestrator/index.d.ts +13 -0
- package/dist/skills/xray-orchestrator/index.js +224 -0
- package/dist/state/index.d.ts +2 -1
- package/dist/state/index.js +2 -1
- package/dist/state/state-manager.d.ts +2 -2
- package/dist/state/state-manager.js +5 -4
- package/dist/utils/import-resolver.js +1 -1
- package/dist/utils/path-resolver.js +2 -2
- package/dist/utils/token-manager.js +1 -1
- package/dist/validation/estimation-validator.js +1 -1
- package/package.json +2 -2
- package/scripts/hooks/pre-command +1 -1
- package/scripts/hooks/run-hook.js +2 -2
- package/scripts/node/auto-reflection-generator.mjs +2 -2
- package/scripts/node/postinstall.cjs +1 -1
- package/scripts/node/pre-publish-guard.js +16 -10
- package/scripts/node/release.js +6 -6
- package/scripts/node/release.mjs +11 -11
- package/scripts/node/universal-version-manager.js +2 -2
- package/scripts/node/version-manager.mjs +1 -1
- package/src/integrations/grok/plugin/0xray/.mcp.json +3 -3
- package/src/integrations/grok/plugin/0xray/hooks/hooks.json +2 -2
- package/src/mcps/architect-tools.server.ts +4 -4
- package/src/mcps/auto-format.server.ts +4 -4
- package/src/mcps/boot-orchestrator.server.ts +4 -4
- package/src/mcps/config/server-config-registry.ts +7 -7
- package/src/mcps/connection/mcp-connection.ts +1 -1
- package/src/mcps/enforcer-tools.server.ts +4 -4
- package/src/mcps/estimation.server.ts +1 -1
- package/src/mcps/framework-compliance-audit.server.ts +4 -4
- package/src/mcps/framework-help.server.ts +7 -7
- package/src/mcps/governance.server.ts +1 -1
- package/src/mcps/in-process-skill-registry.ts +6 -6
- package/src/mcps/knowledge-skills/api-design.server.test.ts +8 -8
- package/src/mcps/knowledge-skills/api-design.server.ts +4 -4
- package/src/mcps/knowledge-skills/architecture-patterns.server.ts +4 -4
- package/src/mcps/knowledge-skills/bug-triage-specialist.server.ts +1 -1
- package/src/mcps/knowledge-skills/code-analyzer.server.ts +1 -1
- package/src/mcps/knowledge-skills/code-review.server.ts +4 -4
- package/src/mcps/knowledge-skills/content-creator.server.ts +1 -1
- package/src/mcps/knowledge-skills/database-design.server.ts +4 -4
- package/src/mcps/knowledge-skills/devops-deployment.server.ts +4 -4
- package/src/mcps/knowledge-skills/git-workflow.server.ts +4 -4
- package/src/mcps/knowledge-skills/growth-strategist.server.ts +1 -1
- package/src/mcps/knowledge-skills/log-monitor.server.ts +1 -1
- package/src/mcps/knowledge-skills/mobile-development.server.ts +4 -4
- package/src/mcps/knowledge-skills/multimodal-looker.server.ts +1 -1
- package/src/mcps/knowledge-skills/performance-optimization.server.ts +4 -4
- package/src/mcps/knowledge-skills/project-analysis.server.ts +1 -1
- package/src/mcps/knowledge-skills/refactoring-strategies.server.ts +4 -4
- package/src/mcps/knowledge-skills/security-audit.server.test.ts +23 -23
- package/src/mcps/knowledge-skills/security-audit.server.ts +4 -4
- package/src/mcps/knowledge-skills/seo-consultant.server.ts +1 -1
- package/src/mcps/knowledge-skills/session-management.server.ts +1 -1
- package/src/mcps/knowledge-skills/skill-invocation.server.ts +1 -1
- package/src/mcps/knowledge-skills/strategist.server.ts +1 -1
- package/src/mcps/knowledge-skills/tech-writer.server.ts +5 -5
- package/src/mcps/knowledge-skills/testing-best-practices.server.test.ts +28 -28
- package/src/mcps/knowledge-skills/testing-best-practices.server.ts +4 -4
- package/src/mcps/knowledge-skills/testing-strategy.server.test.ts +19 -19
- package/src/mcps/knowledge-skills/testing-strategy.server.ts +4 -4
- package/src/mcps/knowledge-skills/ui-ux-design.server.ts +6 -6
- package/src/mcps/lint.server.ts +6 -6
- package/src/mcps/mcp-client.ts +3 -3
- package/src/mcps/model-health-check.server.ts +4 -4
- package/src/mcps/orchestrator/server.ts +2 -2
- package/src/mcps/performance-analysis.server.ts +4 -4
- package/src/mcps/processor-pipeline.server.ts +4 -4
- package/src/mcps/registry.json +1 -1
- package/src/mcps/researcher.server.ts +5 -5
- package/src/mcps/security-scan.server.ts +4 -4
- package/src/mcps/simulation/server-simulations.ts +3 -3
- package/src/mcps/state-manager.server.ts +1 -1
- package/src/opencode/codex.codex +1 -1
- package/src/opencode/commands/dependency-audit.md +3 -3
- package/src/opencode/enforcer-config.json +2 -2
- package/src/skills/hermes-agent/SKILL.md +12 -12
- package/src/skills/registry.json +1 -1
- package/src/skills/storyteller/SKILL.md +1 -1
- package/src/skills/xray-orchestrator/SKILL.md +141 -0
- package/src/skills/xray-orchestrator/index.ts +268 -0
- package/scripts/validate-stringray-comprehensive.js +0 -636
- /package/dist/integrations/openclaw/hooks/{strray-hooks.js → xray-hooks.js} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Knowledge skill for code refactoring, technical debt elimination,
|
|
5
5
|
* modernization, and code improvement patterns
|
|
6
6
|
*/
|
|
7
|
-
declare class
|
|
7
|
+
declare class XrayRefactoringStrategiesServer {
|
|
8
8
|
private server;
|
|
9
9
|
constructor();
|
|
10
10
|
private setupToolHandlers;
|
|
@@ -30,4 +30,4 @@ declare class StringRayRefactoringStrategiesServer {
|
|
|
30
30
|
private getMigrationIcon;
|
|
31
31
|
run(): Promise<void>;
|
|
32
32
|
}
|
|
33
|
-
export {
|
|
33
|
+
export { XrayRefactoringStrategiesServer };
|
|
@@ -8,11 +8,11 @@ import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
|
8
8
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
9
9
|
import { createGracefulShutdown } from "../../utils/shutdown-handler.js";
|
|
10
10
|
import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
11
|
-
class
|
|
11
|
+
class XrayRefactoringStrategiesServer {
|
|
12
12
|
server;
|
|
13
13
|
constructor() {
|
|
14
14
|
this.server = new Server({
|
|
15
|
-
name: "refactoring-strategies", version: "2.0.
|
|
15
|
+
name: "refactoring-strategies", version: "2.0.1",
|
|
16
16
|
}, {
|
|
17
17
|
capabilities: {
|
|
18
18
|
tools: {},
|
|
@@ -790,7 +790,7 @@ class StringRayRefactoringStrategiesServer {
|
|
|
790
790
|
}
|
|
791
791
|
// Run the server if this file is executed directly
|
|
792
792
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
793
|
-
const server = new
|
|
793
|
+
const server = new XrayRefactoringStrategiesServer();
|
|
794
794
|
server.run().catch(() => { });
|
|
795
795
|
}
|
|
796
|
-
export {
|
|
796
|
+
export { XrayRefactoringStrategiesServer };
|
|
@@ -10,7 +10,7 @@ interface AnalyzeProposalArgs {
|
|
|
10
10
|
evidence?: string[];
|
|
11
11
|
proposalType?: string;
|
|
12
12
|
}
|
|
13
|
-
declare class
|
|
13
|
+
declare class XraySecurityAuditServer {
|
|
14
14
|
private server;
|
|
15
15
|
constructor();
|
|
16
16
|
private setupToolHandlers;
|
|
@@ -45,4 +45,4 @@ declare class StringRaySecurityAuditServer {
|
|
|
45
45
|
}>;
|
|
46
46
|
run(): Promise<void>;
|
|
47
47
|
}
|
|
48
|
-
export {
|
|
48
|
+
export { XraySecurityAuditServer };
|
|
@@ -10,11 +10,11 @@ import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextpro
|
|
|
10
10
|
import * as fs from "fs";
|
|
11
11
|
import * as path from "path";
|
|
12
12
|
import { createGracefulShutdown } from "../../utils/shutdown-handler.js";
|
|
13
|
-
class
|
|
13
|
+
class XraySecurityAuditServer {
|
|
14
14
|
server;
|
|
15
15
|
constructor() {
|
|
16
16
|
this.server = new Server({
|
|
17
|
-
name: "security-audit", version: "2.0.
|
|
17
|
+
name: "security-audit", version: "2.0.1",
|
|
18
18
|
}, {
|
|
19
19
|
capabilities: {
|
|
20
20
|
tools: {},
|
|
@@ -840,7 +840,7 @@ class StringRaySecurityAuditServer {
|
|
|
840
840
|
}
|
|
841
841
|
// Run the server if this file is executed directly
|
|
842
842
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
843
|
-
const server = new
|
|
843
|
+
const server = new XraySecurityAuditServer();
|
|
844
844
|
server.run().catch(() => { });
|
|
845
845
|
}
|
|
846
|
-
export {
|
|
846
|
+
export { XraySecurityAuditServer };
|
|
@@ -12,7 +12,7 @@ import { createGracefulShutdown } from "../../utils/shutdown-handler.js";
|
|
|
12
12
|
class SEOSpecialistServer {
|
|
13
13
|
server;
|
|
14
14
|
constructor() {
|
|
15
|
-
this.server = new Server({ name: "seo-consultant", version: "2.0.
|
|
15
|
+
this.server = new Server({ name: "seo-consultant", version: "2.0.1" }, { capabilities: { tools: {} } });
|
|
16
16
|
this.setupToolHandlers();
|
|
17
17
|
}
|
|
18
18
|
setupToolHandlers() {
|
|
@@ -132,7 +132,7 @@ class SessionManagementServer {
|
|
|
132
132
|
},
|
|
133
133
|
];
|
|
134
134
|
constructor() {
|
|
135
|
-
this.server = new Server({ name: "session-management", version: "2.0.
|
|
135
|
+
this.server = new Server({ name: "session-management", version: "2.0.1" }, { capabilities: { tools: {} } });
|
|
136
136
|
this.server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
137
137
|
tools: this.tools,
|
|
138
138
|
}));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Knowledge skill for automated documentation creation, API docs generation,
|
|
5
5
|
* code documentation maintenance, and technical writing assistance
|
|
6
6
|
*/
|
|
7
|
-
declare class
|
|
7
|
+
declare class XrayDocumentationGenerationServer {
|
|
8
8
|
private server;
|
|
9
9
|
constructor();
|
|
10
10
|
private setupToolHandlers;
|
|
@@ -44,4 +44,4 @@ declare class StringRayDocumentationGenerationServer {
|
|
|
44
44
|
private getSeverityIcon;
|
|
45
45
|
run(): Promise<void>;
|
|
46
46
|
}
|
|
47
|
-
export {
|
|
47
|
+
export { XrayDocumentationGenerationServer };
|
|
@@ -10,11 +10,11 @@ import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextpro
|
|
|
10
10
|
import * as fs from "fs";
|
|
11
11
|
import * as path from "path";
|
|
12
12
|
import { createGracefulShutdown } from "../../utils/shutdown-handler.js";
|
|
13
|
-
class
|
|
13
|
+
class XrayDocumentationGenerationServer {
|
|
14
14
|
server;
|
|
15
15
|
constructor() {
|
|
16
16
|
this.server = new Server({
|
|
17
|
-
name: "documentation-generation", version: "2.0.
|
|
17
|
+
name: "documentation-generation", version: "2.0.1",
|
|
18
18
|
}, {
|
|
19
19
|
capabilities: {
|
|
20
20
|
tools: {},
|
|
@@ -727,7 +727,7 @@ class StringRayDocumentationGenerationServer {
|
|
|
727
727
|
openapi: "3.0.0",
|
|
728
728
|
info: {
|
|
729
729
|
title: "API Documentation",
|
|
730
|
-
version: "2.0.
|
|
730
|
+
version: "2.0.1",
|
|
731
731
|
description: "Generated API documentation",
|
|
732
732
|
},
|
|
733
733
|
servers: [
|
|
@@ -1185,7 +1185,7 @@ class StringRayDocumentationGenerationServer {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
// Run the server if this file is executed directly
|
|
1187
1187
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
1188
|
-
const server = new
|
|
1188
|
+
const server = new XrayDocumentationGenerationServer();
|
|
1189
1189
|
server.run().catch(() => { });
|
|
1190
1190
|
}
|
|
1191
|
-
export {
|
|
1191
|
+
export { XrayDocumentationGenerationServer };
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Knowledge skill for comprehensive testing strategies, TDD/BDD implementation,
|
|
5
5
|
* test coverage optimization, and automated testing workflows
|
|
6
6
|
*/
|
|
7
|
-
declare class
|
|
7
|
+
declare class XrayTestingBestPracticesServer {
|
|
8
8
|
private server;
|
|
9
9
|
constructor();
|
|
10
10
|
private setupToolHandlers;
|
|
@@ -33,4 +33,4 @@ declare class StringRayTestingBestPracticesServer {
|
|
|
33
33
|
private getTestTypeIcon;
|
|
34
34
|
run(): Promise<void>;
|
|
35
35
|
}
|
|
36
|
-
export {
|
|
36
|
+
export { XrayTestingBestPracticesServer };
|
|
@@ -8,11 +8,11 @@ import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
|
8
8
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
9
9
|
import { createGracefulShutdown } from "../../utils/shutdown-handler.js";
|
|
10
10
|
import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
11
|
-
class
|
|
11
|
+
class XrayTestingBestPracticesServer {
|
|
12
12
|
server;
|
|
13
13
|
constructor() {
|
|
14
14
|
this.server = new Server({
|
|
15
|
-
name: "testing-best-practices", version: "2.0.
|
|
15
|
+
name: "testing-best-practices", version: "2.0.1",
|
|
16
16
|
}, {
|
|
17
17
|
capabilities: {
|
|
18
18
|
tools: {},
|
|
@@ -860,7 +860,7 @@ class StringRayTestingBestPracticesServer {
|
|
|
860
860
|
}
|
|
861
861
|
// Run the server if this file is executed directly
|
|
862
862
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
863
|
-
const server = new
|
|
863
|
+
const server = new XrayTestingBestPracticesServer();
|
|
864
864
|
server.run().catch(() => { });
|
|
865
865
|
}
|
|
866
|
-
export {
|
|
866
|
+
export { XrayTestingBestPracticesServer };
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Knowledge skill for test planning, coverage optimization,
|
|
5
5
|
* and testing methodology recommendations
|
|
6
6
|
*/
|
|
7
|
-
declare class
|
|
7
|
+
declare class XrayTestingStrategyServer {
|
|
8
8
|
private server;
|
|
9
9
|
constructor();
|
|
10
10
|
private setupToolHandlers;
|
|
@@ -44,4 +44,4 @@ declare class StringRayTestingStrategyServer {
|
|
|
44
44
|
private shouldIgnorePath;
|
|
45
45
|
run(): Promise<void>;
|
|
46
46
|
}
|
|
47
|
-
export default
|
|
47
|
+
export default XrayTestingStrategyServer;
|
|
@@ -12,11 +12,11 @@ import * as path from "path";
|
|
|
12
12
|
import { frameworkLogger } from "../../core/framework-logger.js";
|
|
13
13
|
import { createGracefulShutdown } from "../../utils/shutdown-handler.js";
|
|
14
14
|
import { detectProjectLanguage, LANGUAGE_CONFIGS, } from "../../utils/language-detector.js";
|
|
15
|
-
class
|
|
15
|
+
class XrayTestingStrategyServer {
|
|
16
16
|
server;
|
|
17
17
|
constructor() {
|
|
18
18
|
this.server = new Server({
|
|
19
|
-
name: "testing-strategy", version: "2.0.
|
|
19
|
+
name: "testing-strategy", version: "2.0.1",
|
|
20
20
|
}, {
|
|
21
21
|
capabilities: {
|
|
22
22
|
tools: {},
|
|
@@ -821,7 +821,7 @@ describe("${pathModule.basename(sourceFile, ".ts")}", () => {${testCases}
|
|
|
821
821
|
}
|
|
822
822
|
// Start the server if run directly
|
|
823
823
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
824
|
-
const server = new
|
|
824
|
+
const server = new XrayTestingStrategyServer();
|
|
825
825
|
server.run().catch(() => { });
|
|
826
826
|
}
|
|
827
|
-
export default
|
|
827
|
+
export default XrayTestingStrategyServer;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Knowledge skill for user interface and user experience design,
|
|
5
5
|
* component patterns, accessibility compliance, and design system guidance
|
|
6
6
|
*/
|
|
7
|
-
declare class
|
|
7
|
+
declare class XrayUIUXDesignServer {
|
|
8
8
|
private server;
|
|
9
9
|
constructor();
|
|
10
10
|
private setupToolHandlers;
|
|
@@ -66,4 +66,4 @@ declare class StringRayUIUXDesignServer {
|
|
|
66
66
|
private recommendImages;
|
|
67
67
|
run(): Promise<void>;
|
|
68
68
|
}
|
|
69
|
-
export {
|
|
69
|
+
export { XrayUIUXDesignServer };
|
|
@@ -8,11 +8,11 @@ import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
|
8
8
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
9
9
|
import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
10
10
|
import { frameworkLogger } from "../../core/framework-logger.js";
|
|
11
|
-
class
|
|
11
|
+
class XrayUIUXDesignServer {
|
|
12
12
|
server;
|
|
13
13
|
constructor() {
|
|
14
14
|
this.server = new Server({
|
|
15
|
-
name: "ui-ux-design", version: "2.0.
|
|
15
|
+
name: "ui-ux-design", version: "2.0.1",
|
|
16
16
|
}, {
|
|
17
17
|
capabilities: {
|
|
18
18
|
tools: {},
|
|
@@ -1475,7 +1475,7 @@ Available: ${Object.keys(system.components).length} component types
|
|
|
1475
1475
|
async run() {
|
|
1476
1476
|
const transport = new StdioServerTransport();
|
|
1477
1477
|
await this.server.connect(transport);
|
|
1478
|
-
await frameworkLogger.log("ui-ux-design.server", "-
|
|
1478
|
+
await frameworkLogger.log("ui-ux-design.server", "-xray-ui-ux-design-mcp-server-running-", "info", { message: "xray UI/UX Design MCP Server running..." });
|
|
1479
1479
|
const cleanup = async (signal) => {
|
|
1480
1480
|
await frameworkLogger.log("ui-ux-design.server", "-received-signal-shutting-down-gracefully-", "info", { message: `Received ${signal}, shutting down gracefully...` });
|
|
1481
1481
|
// Set a timeout to force exit if graceful shutdown fails
|
|
@@ -1488,7 +1488,7 @@ Available: ${Object.keys(system.components).length} component types
|
|
|
1488
1488
|
await this.server.close();
|
|
1489
1489
|
}
|
|
1490
1490
|
clearTimeout(timeout);
|
|
1491
|
-
await frameworkLogger.log("ui-ux-design.server", "-
|
|
1491
|
+
await frameworkLogger.log("ui-ux-design.server", "-xray-mcp-server-shut-down-gracefully-", "info", { message: "xray MCP Server shut down gracefully" });
|
|
1492
1492
|
process.exit(0);
|
|
1493
1493
|
}
|
|
1494
1494
|
catch (error) {
|
|
@@ -1532,7 +1532,7 @@ Available: ${Object.keys(system.components).length} component types
|
|
|
1532
1532
|
}
|
|
1533
1533
|
// Run the server if this file is executed directly
|
|
1534
1534
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
1535
|
-
const server = new
|
|
1535
|
+
const server = new XrayUIUXDesignServer();
|
|
1536
1536
|
server.run().catch((error) => frameworkLogger.log("mcps/ui-ux-design", "run", "error", { error: String(error) }));
|
|
1537
1537
|
}
|
|
1538
|
-
export {
|
|
1538
|
+
export { XrayUIUXDesignServer };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Comprehensive ESLint validation and automated code quality checking
|
|
5
5
|
*/
|
|
6
|
-
declare class
|
|
6
|
+
declare class XrayLintServer {
|
|
7
7
|
private server;
|
|
8
8
|
constructor();
|
|
9
9
|
private setupToolHandlers;
|
|
@@ -14,4 +14,4 @@ declare class StringRayLintServer {
|
|
|
14
14
|
private generateLintSummary;
|
|
15
15
|
run(): Promise<void>;
|
|
16
16
|
}
|
|
17
|
-
export {
|
|
17
|
+
export { XrayLintServer };
|
package/dist/mcps/lint.server.js
CHANGED
|
@@ -9,18 +9,18 @@ import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextpro
|
|
|
9
9
|
import { execFileSync } from "child_process";
|
|
10
10
|
import fs from "fs";
|
|
11
11
|
import { frameworkLogger } from "../core/framework-logger.js";
|
|
12
|
-
class
|
|
12
|
+
class XrayLintServer {
|
|
13
13
|
server;
|
|
14
14
|
constructor() {
|
|
15
15
|
this.server = new Server({
|
|
16
|
-
name: "lint", version: "2.0.
|
|
16
|
+
name: "lint", version: "2.0.1",
|
|
17
17
|
}, {
|
|
18
18
|
capabilities: {
|
|
19
19
|
tools: {},
|
|
20
20
|
},
|
|
21
21
|
});
|
|
22
22
|
this.setupToolHandlers();
|
|
23
|
-
void frameworkLogger.log("lint.server", "-
|
|
23
|
+
void frameworkLogger.log("lint.server", "-xray-lint-mcp-server-initialized-", "info", { message: "0xRay Lint MCP Server initialized" });
|
|
24
24
|
}
|
|
25
25
|
setupToolHandlers() {
|
|
26
26
|
// List available tools
|
|
@@ -370,12 +370,12 @@ ${checkResults.details.map((d) => `• ${d}`).join("\n")}
|
|
|
370
370
|
async run() {
|
|
371
371
|
const transport = new StdioServerTransport();
|
|
372
372
|
await this.server.connect(transport);
|
|
373
|
-
await frameworkLogger.log("lint.server", "-
|
|
373
|
+
await frameworkLogger.log("lint.server", "-xray-lint-mcp-server-started-", "info", { message: "0xRay Lint MCP Server started" });
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
// Start the server if run directly
|
|
377
377
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
378
|
-
const server = new
|
|
378
|
+
const server = new XrayLintServer();
|
|
379
379
|
server.run().catch((error) => frameworkLogger.log("mcps/lint", "run", "error", { error: String(error) }));
|
|
380
380
|
}
|
|
381
|
-
export {
|
|
381
|
+
export { XrayLintServer };
|
package/dist/mcps/mcp-client.js
CHANGED
|
@@ -267,17 +267,17 @@ export class MCPClient extends EventEmitter {
|
|
|
267
267
|
],
|
|
268
268
|
'framework-help': [
|
|
269
269
|
{
|
|
270
|
-
name: '
|
|
270
|
+
name: 'xray_get_capabilities',
|
|
271
271
|
description: 'Get 0xRay framework capabilities',
|
|
272
272
|
inputSchema: { type: 'object', properties: {} },
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
|
-
name: '
|
|
275
|
+
name: 'xray_get_commands',
|
|
276
276
|
description: 'Get available 0xRay commands',
|
|
277
277
|
inputSchema: { type: 'object', properties: {} },
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
|
-
name: '
|
|
280
|
+
name: 'xray_explain_capability',
|
|
281
281
|
description: 'Explain a specific capability',
|
|
282
282
|
inputSchema: {
|
|
283
283
|
type: 'object',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Advanced model compatibility validation and dynamic health assessment
|
|
5
5
|
*/
|
|
6
|
-
declare class
|
|
6
|
+
declare class XrayModelHealthCheckServer {
|
|
7
7
|
private server;
|
|
8
8
|
constructor();
|
|
9
9
|
private setupToolHandlers;
|
|
@@ -13,4 +13,4 @@ declare class StringRayModelHealthCheckServer {
|
|
|
13
13
|
private generateHealthReport;
|
|
14
14
|
start(): Promise<void>;
|
|
15
15
|
}
|
|
16
|
-
export default
|
|
16
|
+
export default XrayModelHealthCheckServer;
|
|
@@ -8,11 +8,11 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
|
|
|
8
8
|
import { modelRouter } from "../core/model-router.js";
|
|
9
9
|
import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
10
10
|
import { frameworkLogger } from "../core/framework-logger.js";
|
|
11
|
-
class
|
|
11
|
+
class XrayModelHealthCheckServer {
|
|
12
12
|
server;
|
|
13
13
|
constructor() {
|
|
14
14
|
this.server = new Server({
|
|
15
|
-
name: "model-health-check", version: "2.0.
|
|
15
|
+
name: "model-health-check", version: "2.0.1",
|
|
16
16
|
}, {
|
|
17
17
|
capabilities: {
|
|
18
18
|
tools: {},
|
|
@@ -222,7 +222,7 @@ class StringRayModelHealthCheckServer {
|
|
|
222
222
|
}
|
|
223
223
|
// Start the server if this file is run directly
|
|
224
224
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
225
|
-
const server = new
|
|
225
|
+
const server = new XrayModelHealthCheckServer();
|
|
226
226
|
server.start().catch((error) => frameworkLogger.log("mcps/model-health-check", "run", "error", { error: String(error) }));
|
|
227
227
|
}
|
|
228
|
-
export default
|
|
228
|
+
export default XrayModelHealthCheckServer;
|
|
@@ -8,7 +8,7 @@ import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
|
8
8
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
9
9
|
import { CallToolRequestSchema, ListToolsRequestSchema, } from '@modelcontextprotocol/sdk/types.js';
|
|
10
10
|
import { frameworkLogger } from '../../core/framework-logger.js';
|
|
11
|
-
import {
|
|
11
|
+
import { XrayStateManager } from '../../state/state-manager.js';
|
|
12
12
|
import { MultiAgentOrchestrationCoordinator } from '../../orchestrator/multi-agent-orchestration-coordinator.js';
|
|
13
13
|
import { TaskHandler } from './handlers/task-handler.js';
|
|
14
14
|
import { ComplexityHandler } from './handlers/complexity-handler.js';
|
|
@@ -29,7 +29,7 @@ export class OrchestratorServer {
|
|
|
29
29
|
coordinator;
|
|
30
30
|
constructor() {
|
|
31
31
|
// Initialize actual coordinator
|
|
32
|
-
const stateManager = new
|
|
32
|
+
const stateManager = new XrayStateManager();
|
|
33
33
|
this.coordinator = new MultiAgentOrchestrationCoordinator(stateManager);
|
|
34
34
|
// Initialize handlers
|
|
35
35
|
this.taskHandler = new TaskHandler();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Comprehensive metrics analysis for framework integration and optimization
|
|
5
5
|
*/
|
|
6
|
-
declare class
|
|
6
|
+
declare class XrayPerformanceAnalysisServer {
|
|
7
7
|
private server;
|
|
8
8
|
private startTime;
|
|
9
9
|
constructor();
|
|
@@ -24,4 +24,4 @@ declare class StringRayPerformanceAnalysisServer {
|
|
|
24
24
|
private generateDetailedReport;
|
|
25
25
|
run(): Promise<void>;
|
|
26
26
|
}
|
|
27
|
-
export {
|
|
27
|
+
export { XrayPerformanceAnalysisServer };
|
|
@@ -11,12 +11,12 @@ import { execSync } from "child_process";
|
|
|
11
11
|
import fs from "fs";
|
|
12
12
|
import os from "os";
|
|
13
13
|
import path from "path";
|
|
14
|
-
class
|
|
14
|
+
class XrayPerformanceAnalysisServer {
|
|
15
15
|
server;
|
|
16
16
|
startTime;
|
|
17
17
|
constructor() {
|
|
18
18
|
this.server = new Server({
|
|
19
|
-
name: "performance-analysis", version: "2.0.
|
|
19
|
+
name: "performance-analysis", version: "2.0.1",
|
|
20
20
|
}, {
|
|
21
21
|
capabilities: {
|
|
22
22
|
tools: {},
|
|
@@ -513,7 +513,7 @@ ${results.recommendations.map((r) => `• 💡 ${r}`).join("\n") || "No recommen
|
|
|
513
513
|
}
|
|
514
514
|
// Start the server if run directly
|
|
515
515
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
516
|
-
const server = new
|
|
516
|
+
const server = new XrayPerformanceAnalysisServer();
|
|
517
517
|
server.run().catch((error) => frameworkLogger.log("mcps/performance-analysis", "run", "error", { error: String(error) }));
|
|
518
518
|
}
|
|
519
|
-
export {
|
|
519
|
+
export { XrayPerformanceAnalysisServer };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Advanced processor pipeline with codex validation, compliance monitoring, and framework enforcement
|
|
5
5
|
*/
|
|
6
|
-
declare class
|
|
6
|
+
declare class XrayProcessorPipelineServer {
|
|
7
7
|
private server;
|
|
8
8
|
private codexLoader;
|
|
9
9
|
private codexRules;
|
|
@@ -28,4 +28,4 @@ declare class StringRayProcessorPipelineServer {
|
|
|
28
28
|
private checkFrameworkCompliance;
|
|
29
29
|
run(): Promise<void>;
|
|
30
30
|
}
|
|
31
|
-
export {
|
|
31
|
+
export { XrayProcessorPipelineServer };
|
|
@@ -8,7 +8,7 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
|
|
|
8
8
|
import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
9
9
|
import { frameworkLogger } from "../core/framework-logger.js";
|
|
10
10
|
import { CodexLoader } from "../enforcement/loaders/codex-loader.js";
|
|
11
|
-
class
|
|
11
|
+
class XrayProcessorPipelineServer {
|
|
12
12
|
server;
|
|
13
13
|
codexLoader;
|
|
14
14
|
codexRules = [];
|
|
@@ -26,7 +26,7 @@ class StringRayProcessorPipelineServer {
|
|
|
26
26
|
constructor() {
|
|
27
27
|
this.codexLoader = new CodexLoader();
|
|
28
28
|
this.server = new Server({
|
|
29
|
-
name: "processor-pipeline", version: "2.0.
|
|
29
|
+
name: "processor-pipeline", version: "2.0.1",
|
|
30
30
|
}, {
|
|
31
31
|
capabilities: {
|
|
32
32
|
tools: {},
|
|
@@ -555,7 +555,7 @@ ${complianceResults.actions.map((a) => `• 🔧 ${a}`).join("\n") || "None requ
|
|
|
555
555
|
}
|
|
556
556
|
// Start the server if run directly
|
|
557
557
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
558
|
-
const server = new
|
|
558
|
+
const server = new XrayProcessorPipelineServer();
|
|
559
559
|
server.run().catch((error) => frameworkLogger.log("mcps/processor-pipeline", "run", "error", { error: String(error) }));
|
|
560
560
|
}
|
|
561
|
-
export {
|
|
561
|
+
export { XrayProcessorPipelineServer };
|
package/dist/mcps/registry.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Knowledge skill for codebase documentation lookup, implementation examples,
|
|
5
5
|
* and multi-repo analysis - serves as the universal documentation reference
|
|
6
6
|
*
|
|
7
|
-
* NOTE: Class is named
|
|
7
|
+
* NOTE: Class is named XrayLibrarianServer but the MCP server name is
|
|
8
8
|
* "researcher" for backwards compatibility with existing tool references.
|
|
9
9
|
*/
|
|
10
10
|
import { type CallToolResult } from "@modelcontextprotocol/sdk/types.js";
|
|
@@ -14,7 +14,7 @@ interface AnalyzeProposalArgs {
|
|
|
14
14
|
evidence?: string[];
|
|
15
15
|
proposalType?: string;
|
|
16
16
|
}
|
|
17
|
-
declare class
|
|
17
|
+
declare class XrayLibrarianServer {
|
|
18
18
|
private server;
|
|
19
19
|
constructor();
|
|
20
20
|
private setupToolHandlers;
|
|
@@ -28,4 +28,4 @@ declare class StringRayLibrarianServer {
|
|
|
28
28
|
analyzeProposal(args: AnalyzeProposalArgs): Promise<CallToolResult>;
|
|
29
29
|
run(): Promise<void>;
|
|
30
30
|
}
|
|
31
|
-
export {
|
|
31
|
+
export { XrayLibrarianServer };
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Knowledge skill for codebase documentation lookup, implementation examples,
|
|
5
5
|
* and multi-repo analysis - serves as the universal documentation reference
|
|
6
6
|
*
|
|
7
|
-
* NOTE: Class is named
|
|
7
|
+
* NOTE: Class is named XrayLibrarianServer but the MCP server name is
|
|
8
8
|
* "researcher" for backwards compatibility with existing tool references.
|
|
9
9
|
*/
|
|
10
10
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
@@ -13,11 +13,11 @@ import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextpro
|
|
|
13
13
|
import * as fs from "fs";
|
|
14
14
|
import * as path from "path";
|
|
15
15
|
import { frameworkLogger } from "../core/framework-logger.js";
|
|
16
|
-
class
|
|
16
|
+
class XrayLibrarianServer {
|
|
17
17
|
server;
|
|
18
18
|
constructor() {
|
|
19
19
|
this.server = new Server({
|
|
20
|
-
name: "researcher", version: "2.0.
|
|
20
|
+
name: "researcher", version: "2.0.1",
|
|
21
21
|
}, {
|
|
22
22
|
capabilities: {
|
|
23
23
|
tools: {},
|
|
@@ -498,7 +498,7 @@ class StringRayLibrarianServer {
|
|
|
498
498
|
}
|
|
499
499
|
// Run the server if this file is executed directly
|
|
500
500
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
501
|
-
const server = new
|
|
501
|
+
const server = new XrayLibrarianServer();
|
|
502
502
|
server.run().catch((error) => frameworkLogger.log("mcps/researcher", "run", "error", { error: String(error) }));
|
|
503
503
|
}
|
|
504
|
-
export {
|
|
504
|
+
export { XrayLibrarianServer };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Automated security vulnerability scanning with dependency and code analysis
|
|
5
5
|
*/
|
|
6
|
-
declare class
|
|
6
|
+
declare class XraySecurityScanServer {
|
|
7
7
|
private server;
|
|
8
8
|
constructor();
|
|
9
9
|
private setupToolHandlers;
|
|
@@ -17,4 +17,4 @@ declare class StringRaySecurityScanServer {
|
|
|
17
17
|
private generateSecuritySummary;
|
|
18
18
|
run(): Promise<void>;
|
|
19
19
|
}
|
|
20
|
-
export {
|
|
20
|
+
export { XraySecurityScanServer };
|
|
@@ -11,11 +11,11 @@ import fs from "fs";
|
|
|
11
11
|
import path from "path";
|
|
12
12
|
import { detectProjectLanguage, LANGUAGE_CONFIGS, } from "../utils/language-detector.js";
|
|
13
13
|
import { frameworkLogger } from "../core/framework-logger.js";
|
|
14
|
-
class
|
|
14
|
+
class XraySecurityScanServer {
|
|
15
15
|
server;
|
|
16
16
|
constructor() {
|
|
17
17
|
this.server = new Server({
|
|
18
|
-
name: "security-scan", version: "2.0.
|
|
18
|
+
name: "security-scan", version: "2.0.1",
|
|
19
19
|
}, {
|
|
20
20
|
capabilities: {
|
|
21
21
|
tools: {},
|
|
@@ -525,7 +525,7 @@ ${results.recommendations.map((r) => `• ${r}`).join("\n") || "No recommendatio
|
|
|
525
525
|
}
|
|
526
526
|
// Start the server if run directly
|
|
527
527
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
528
|
-
const server = new
|
|
528
|
+
const server = new XraySecurityScanServer();
|
|
529
529
|
server.run().catch((error) => frameworkLogger.log("mcps/security-scan", "run", "error", { error: String(error) }));
|
|
530
530
|
}
|
|
531
|
-
export {
|
|
531
|
+
export { XraySecurityScanServer };
|