JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 47
  • Score
    100M100P100Q102633F
  • License MIT

CLI for AIDA (AI Development Accounting) - Track and measure AI-assisted development

Package Exports

  • @aida-dev/cli
  • @aida-dev/cli/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aida-dev/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@aida-dev/cli

Command-line interface for AIDA (AI Development Accounting) metrics.

Installation

pnpm install
pnpm build

Usage

Basic workflow

# Collect commits from last 90 days
aida collect --since 90d

# Analyze collected data
aida analyze

# Generate reports
aida report --format both

Commands

aida collect

Collect commits and generate commit-stream.json

Options:

  • --repo <path> - Repository path (default: current directory)
  • --since <date> - Start date (ISO or relative like 90d)
  • --until <date> - End date (ISO or relative)
  • --ai-pattern <pattern> - Custom AI detection pattern (repeatable)
  • --default-branch <name> - Default branch name (auto-detect if omitted)
  • --out-dir <path> - Output directory (default: ./aida-output)
  • --verbose - Verbose logging

aida analyze

Analyze commit stream and generate metrics.json

aida report

Generate human-readable reports from metrics

Options:

  • --format <format> - Output format: json, md, both (default: both)

Output Files

  • commit-stream.json - Normalized commit data with AI tagging
  • metrics.json - Calculated merge ratio and persistence metrics
  • report.json - JSON report (same as metrics.json)
  • report.md - Human-readable Markdown report