Skip to content

Commit f62d0a7

Browse files
feat: add export_report tool for timeline report generation
Adds export_report MCP tool that generates structured session reports from timeline data. Supports markdown and HTML output with: - Activity overview stats (prompts, tool calls, commits, corrections) - Daily activity sparklines and hourly distribution - Tool usage breakdown with visual bars - Weekly summaries with commit logs - Correction tracking and rate calculation - Save-to-file support Closes #5
1 parent e786aba commit f62d0a7

2 files changed

Lines changed: 543 additions & 0 deletions

File tree

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ import { registerScanSessions } from "./tools/scan-sessions.js";
4949
import { registerGenerateScorecard } from "./tools/generate-scorecard.js";
5050
import { registerSearchContracts } from "./tools/search-contracts.js";
5151
import { registerEstimateCost } from "./tools/estimate-cost.js";
52+
import { registerExportReport } from "./tools/export-report.js";
5253

5354
// Validate related projects from config
5455
function validateRelatedProjects(): void {
@@ -110,6 +111,7 @@ const toolRegistry: Array<[string, RegisterFn]> = [
110111
["generate_scorecard", registerGenerateScorecard],
111112
["estimate_cost", registerEstimateCost],
112113
["search_contracts", registerSearchContracts],
114+
["export_report", registerExportReport],
113115
];
114116

115117
let registered = 0;

0 commit comments

Comments
 (0)