Skip to content

Add Aider parser #1

Description

@khadinakbarlabs

Tool

Aider — terminal AI pair-programmer. One of the most-installed AI coding CLIs.

What we'd need

Find where Aider persists per-session token data, then parse tokens sent: N / tokens received: N + model name per turn — same shape as the existing parsers in src/cli.js. Never read the prompt or response body — only tokens + model.

Likely locations

  • ~/.aider.chat.history.md (global) and per-repo .aider.chat.history.md
  • ~/.aider/ directory
  • ~/.aider.input.history

A regex over the chat history file is probably enough for v1.

Acceptance

  • New entry in the source registry inside src/cli.js.
  • Returns { source: "aider", model, input_tokens, output_tokens, cost_usd?, synced_at } per session/day.
  • README updated with the file path it reads.
  • Honest caveats note if cost isn't available on subscription tiers.

Tag the PR with parser and mention this issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions