@qulib/mcp 0.4.3 → 0.5.0

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/README.md CHANGED
@@ -24,6 +24,25 @@ To enable LLM-powered scenario generation, add your Anthropic API key to the
24
24
  Without this key, qulib still runs but uses built-in template scenarios only.
25
25
  Your key is never stored by qulib — it is read from your local config at runtime.
26
26
 
27
+ After updating this config, restart your MCP host (Claude Desktop / Claude Code / Cursor) so the new environment variables are picked up.
28
+
29
+ For verbose server-side stderr logs while troubleshooting host wiring, add:
30
+
31
+ ```json
32
+ {
33
+ "mcpServers": {
34
+ "qulib": {
35
+ "command": "npx",
36
+ "args": ["@qulib/mcp"],
37
+ "env": {
38
+ "ANTHROPIC_API_KEY": "sk-ant-...",
39
+ "QULIB_DEBUG": "1"
40
+ }
41
+ }
42
+ }
43
+ }
44
+ ```
45
+
27
46
  ## What it does
28
47
 
29
48
  Tools:
@@ -69,6 +69,12 @@ export declare function summarizeAnalyzeResult(result: AnalyzeResult, includeFul
69
69
  level: number;
70
70
  label: string;
71
71
  topRecommendations: string[];
72
+ dimensions: {
73
+ guidance?: string | undefined;
74
+ dimension: "test-coverage-breadth" | "framework-adoption" | "test-id-hygiene" | "ci-integration" | "auth-test-coverage" | "component-test-ratio";
75
+ score: number;
76
+ applicability: "unknown" | "applicable" | "not_applicable";
77
+ }[];
72
78
  } | undefined;
73
79
  summary: {
74
80
  status: import("@qulib/core").AnalyzeStatus;
@@ -1 +1 @@
1
- {"version":3,"file":"summarize-analyze-result.d.ts","sourceRoot":"","sources":["../src/summarize-analyze-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAqBjD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,aAAa,EAAE,iBAAiB,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAuGu+d,CAAC;sBAA4C,CAAC;sBAA4C,CAAC;iBAAuC,CAAC;;;;;;;;;;;;;;;;;uBAAghB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;EADltf"}
1
+ {"version":3,"file":"summarize-analyze-result.d.ts","sourceRoot":"","sources":["../src/summarize-analyze-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAqBjD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,aAAa,EAAE,iBAAiB,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA6G0td,CAAC;sBAA4C,CAAC;sBAA4C,CAAC;iBAAuC,CAAC;;;;;;;;;;;;;;;;;uBAAghB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;EADr8e"}
@@ -104,6 +104,12 @@ export function summarizeAnalyzeResult(result, includeFullReport) {
104
104
  level: repo.automationMaturity.level,
105
105
  label: repo.automationMaturity.label,
106
106
  topRecommendations: repo.automationMaturity.topRecommendations,
107
+ dimensions: repo.automationMaturity.dimensions.map((d) => ({
108
+ dimension: d.dimension,
109
+ score: d.score,
110
+ applicability: d.applicability ?? 'applicable',
111
+ ...(d.guidance !== undefined && { guidance: d.guidance }),
112
+ })),
107
113
  },
108
114
  }),
109
115
  repoInventorySummary,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qulib/mcp",
3
- "version": "0.4.3",
3
+ "version": "0.5.0",
4
4
  "description": "MCP server for Qulib — AI-callable QA gap analysis",
5
5
  "license": "MIT",
6
6
  "author": "Tapesh Nagarwal",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@modelcontextprotocol/sdk": "^1.0.0",
36
- "@qulib/core": "0.4.3",
36
+ "@qulib/core": "0.5.0",
37
37
  "zod": "^3.23.0"
38
38
  },
39
39
  "devDependencies": {