@redaksjon/brennpunkt 0.0.3 → 0.1.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
@@ -482,6 +482,29 @@ For deeper integration, Brennpunkt runs as an MCP (Model Context Protocol) serve
482
482
  | `brennpunkt_get_file_coverage` | Detailed coverage for a specific file |
483
483
  | `brennpunkt_estimate_impact` | "If I test these files, will I hit 90%?" |
484
484
 
485
+ **Available MCP Resources (NEW):**
486
+
487
+ | Resource URI | Purpose |
488
+ |--------------|---------|
489
+ | `brennpunkt://coverage/{projectPath}` | Full coverage data as JSON for analysis |
490
+ | `brennpunkt://file/{projectPath}/{filePath}` | Detailed single-file coverage |
491
+ | `brennpunkt://priorities?project={path}&top={n}` | Pre-ranked priority list |
492
+ | `brennpunkt://config/{projectPath}` | Project configuration (yaml or defaults) |
493
+ | `brennpunkt://quick-wins?project={path}` | Small files with high impact |
494
+
495
+ Resources allow AI assistants to read coverage data directly without tool calls, enabling complex analysis like "Compare branch coverage across all auth files" and parallel data access.
496
+
497
+ **Available MCP Prompts (NEW):**
498
+
499
+ | Prompt | Purpose | Key Arguments |
500
+ |--------|---------|---------------|
501
+ | `improve_coverage` | Complete workflow to reach target percentage | projectPath, targetPercentage, focusMetric |
502
+ | `analyze_gaps` | Understand patterns in coverage gaps | projectPath, targetPercentage |
503
+ | `quick_wins_workflow` | Find fast paths to improvement | projectPath, timeConstraint |
504
+ | `coverage_review` | Detailed review with test suggestions | projectPath, filePattern |
505
+
506
+ Prompts transform brennpunkt from a data provider to a coverage improvement partner, guiding you through actionable workflows instead of just showing numbers.
507
+
485
508
  **One-Time Setup (works for all projects):**
486
509
 
487
510
  ```json
package/dist/main.js CHANGED
@@ -94,7 +94,7 @@ function formatJson(result) {
94
94
  return JSON.stringify(result, null, 2);
95
95
  }
96
96
 
97
- const VERSION = "0.0.3";
97
+ const VERSION = "0.1.0";
98
98
  const PROGRAM_NAME = "brennpunkt";
99
99
  const CONFIG_FILE_NAME = "brennpunkt.yaml";
100
100
  const COVERAGE_SEARCH_PATHS = [