@rigour-labs/mcp 5.1.0 → 5.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.
|
@@ -10,7 +10,7 @@ describe('handleCheckDeep privacy routing', () => {
|
|
|
10
10
|
score: 100,
|
|
11
11
|
ai_health_score: 100,
|
|
12
12
|
structural_score: 100,
|
|
13
|
-
deep: { enabled: true, tier: 'lite', model: '
|
|
13
|
+
deep: { enabled: true, tier: 'lite', model: 'Qwen2.5-Coder-0.5B', total_ms: 1000 },
|
|
14
14
|
},
|
|
15
15
|
};
|
|
16
16
|
it('reports local execution by default', async () => {
|
|
@@ -34,7 +34,7 @@ export const TOOL_DEFINITIONS = [
|
|
|
34
34
|
...cwdParam(),
|
|
35
35
|
files: { type: "array", items: { type: "string" }, description: "Optional file paths (relative to cwd) to limit scan scope for both deterministic and deep checks." },
|
|
36
36
|
deep: { type: "string", enum: ["off", "quick", "full"], description: "Deep mode: 'off' (default), 'quick' (deep enabled with lite model), 'full' (deep enabled, combine with pro=true for full deep model)." },
|
|
37
|
-
pro: { type: "boolean", description: "Use full deep model (Qwen2.5-Coder-1.5B) instead of lite (
|
|
37
|
+
pro: { type: "boolean", description: "Use full deep model (Qwen2.5-Coder-1.5B) instead of lite (Qwen2.5-Coder-0.5B) when deep is enabled." },
|
|
38
38
|
apiKey: { type: "string", description: "Optional cloud API key for deep analysis." },
|
|
39
39
|
provider: { type: "string", description: "Cloud provider for deep analysis (claude, openai, gemini, groq, mistral, together, deepseek, ollama, etc.)." },
|
|
40
40
|
apiBaseUrl: { type: "string", description: "Custom API base URL for self-hosted/proxy deep endpoints." },
|
|
@@ -461,12 +461,12 @@ export const TOOL_DEFINITIONS = [
|
|
|
461
461
|
// ─── Deep Analysis (v4.0+) ──────────────────────────────
|
|
462
462
|
{
|
|
463
463
|
name: "rigour_check_deep",
|
|
464
|
-
description: "Run quality gates WITH deep LLM-powered analysis. Three-step pipeline: AST extracts facts → LLM interprets → AST verifies. Local-first by default (
|
|
464
|
+
description: "Run quality gates WITH deep LLM-powered analysis. Three-step pipeline: AST extracts facts → LLM interprets → AST verifies. Local-first by default (Qwen2.5-Coder-0.5B lite sidecar), or bring your own API key for any cloud provider.",
|
|
465
465
|
inputSchema: {
|
|
466
466
|
type: "object",
|
|
467
467
|
properties: {
|
|
468
468
|
...cwdParam(),
|
|
469
|
-
pro: { type: "boolean", description: "Use full deep model (Qwen2.5-Coder-1.5B) instead of default lite model (
|
|
469
|
+
pro: { type: "boolean", description: "Use full deep model (Qwen2.5-Coder-1.5B) instead of default lite model (Qwen2.5-Coder-0.5B)." },
|
|
470
470
|
apiKey: { type: "string", description: "API key for cloud LLM provider. If provided, uses cloud instead of local sidecar." },
|
|
471
471
|
provider: { type: "string", description: "Cloud provider name (e.g., 'claude', 'openai', 'gemini', 'groq', 'mistral', 'together', 'fireworks', 'deepseek', 'perplexity', 'ollama', 'lmstudio'). Default: 'claude' when apiKey is provided." },
|
|
472
472
|
apiBaseUrl: { type: "string", description: "Custom API base URL for self-hosted or proxy endpoints." },
|
|
@@ -23,7 +23,7 @@ describe('handleCheck deep routing', () => {
|
|
|
23
23
|
...baseReport,
|
|
24
24
|
stats: {
|
|
25
25
|
...baseReport.stats,
|
|
26
|
-
deep: { enabled: true, tier: 'lite', model: '
|
|
26
|
+
deep: { enabled: true, tier: 'lite', model: 'Qwen2.5-Coder-0.5B' },
|
|
27
27
|
},
|
|
28
28
|
});
|
|
29
29
|
const runner = { run };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rigour-labs/mcp",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "MCP server for AI code governance — OWASP LLM Top 10 (10/10), real-time hooks, 25+ security patterns, hallucinated import detection, multi-agent governance. Works with Claude, Cursor, Cline, Windsurf, Gemini. Industry presets for HIPAA, SOC2, FedRAMP.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://rigour.run",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"execa": "^8.0.1",
|
|
49
49
|
"fs-extra": "^11.2.0",
|
|
50
50
|
"yaml": "^2.8.2",
|
|
51
|
-
"@rigour-labs/core": "5.1.
|
|
51
|
+
"@rigour-labs/core": "5.1.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/node": "^25.0.3",
|