@rigour-labs/mcp 4.3.2 → 4.3.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.
@@ -40,7 +40,7 @@ export async function handleCheckDeep(runner, cwd, config, args) {
40
40
  if (db) {
41
41
  const repoName = path.basename(cwd);
42
42
  const scanId = insertScan(db, repoName, report, {
43
- deepTier: args.pro ? 'pro' : (execution.isLocal ? 'deep' : 'cloud'),
43
+ deepTier: args.pro ? 'deep' : (execution.isLocal ? 'lite' : 'cloud'),
44
44
  deepModel: report.stats.deep?.model,
45
45
  });
46
46
  insertFindings(db, scanId, report.failures);
@@ -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: 'deep', model: 'Qwen2.5-Coder-0.5B', total_ms: 1000 },
13
+ deep: { enabled: true, tier: 'lite', model: 'Qwen3.5-0.8B', total_ms: 1000 },
14
14
  },
15
15
  };
16
16
  it('reports local execution by default', async () => {
@@ -27,14 +27,14 @@ export const TOOL_DEFINITIONS = [
27
27
  // ─── Core Quality Gates ───────────────────────────────
28
28
  {
29
29
  name: "rigour_check",
30
- description: "Run quality gate checks on the project. Deep modes: off (fast deterministic gates only), quick (deep enabled with standard local tier unless cloud provider is configured), full (deep enabled, optional pro model).",
30
+ description: "Run quality gate checks on the project. Deep modes: off (fast deterministic gates only), quick (deep enabled with lite local model unless cloud provider is configured), full (deep enabled, optional pro flag for full deep model).",
31
31
  inputSchema: {
32
32
  type: "object",
33
33
  properties: {
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
- deep: { type: "string", enum: ["off", "quick", "full"], description: "Deep mode: 'off' (default), 'quick' (deep enabled with standard model), 'full' (deep enabled, combine with pro=true for larger local model)." },
37
- pro: { type: "boolean", description: "Use larger local deep model tier when deep is enabled." },
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 (Qwen3.5-0.8B) 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 (Qwen2.5-Coder), or bring your own API key for any cloud provider.",
464
+ description: "Run quality gates WITH deep LLM-powered analysis. Three-step pipeline: AST extracts facts → LLM interprets → AST verifies. Local-first by default (Qwen3.5-0.8B 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 the larger 1.5B model (--pro tier). Default: false (0.5B model)." },
469
+ pro: { type: "boolean", description: "Use full deep model (Qwen2.5-Coder-1.5B) instead of default lite model (Qwen3.5-0.8B)." },
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: 'deep', model: 'Qwen2.5-Coder-0.5B' },
26
+ deep: { enabled: true, tier: 'lite', model: 'Qwen3.5-0.8B' },
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": "4.3.2",
3
+ "version": "4.3.3",
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": "4.3.2"
51
+ "@rigour-labs/core": "4.3.3"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/node": "^25.0.3",