Skip to content

FEAT-15: Language statistics summary block in output (__stats__ key) #43

@subhan-f

Description

@subhan-f

Detect the programming language of each included file by extension and add a __stats__ block to the output summarising the language distribution. Helps LLMs understand the tech stack at a glance without needing to read individual files.

Example:

{
  "__stats__": {
    "totalFiles": 89,
    "languages": { "TypeScript": 41, "JSON": 18, "Markdown": 12, "CSS": 9 }
  },
  "src/cli.ts": "...",
  ...
}

Priority: Low

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions