Skip to content

feat: add export_report tool for markdown session reports - #160

Closed
TerminalGravity wants to merge 1 commit into
mainfrom
feat/export-report-v2
Closed

feat: add export_report tool for markdown session reports#160
TerminalGravity wants to merge 1 commit into
mainfrom
feat/export-report-v2

Conversation

@TerminalGravity

Copy link
Copy Markdown
Collaborator

Closes #5

Adds export_report MCP tool that generates markdown session reports from timeline data.

Features:

  • Summary stats table (prompts, corrections, commits, tool calls, errors, compactions)
  • Tool usage breakdown (top 10 most-used tools)
  • Daily activity grouped by day with commits, errors, and corrections highlighted
  • Prompt quality trend table showing daily correction rates over time
  • Configurable period (day/week/month/quarter) or custom date range via since/until
  • Optional saveTo parameter to write report to file
  • Scope filtering (current/related/all projects)

Builds on existing timeline infrastructure — reuses getTimeline, listIndexedProjects, and getRelatedProjects.

Implements #5. New MCP tool generates session reports from timeline data:
- Summary stats, tool usage breakdown, daily activity
- Prompt quality trend table with daily correction rates
- Configurable period or custom date range, optional file save

Closes #5
@TerminalGravity

Copy link
Copy Markdown
Collaborator Author

Superseded by new PR

@TerminalGravity
TerminalGravity deleted the feat/export-report-v2 branch March 8, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export timeline to markdown/PDF reports

1 participant