v1.7.0

git-ai-project/git-aiv1.7.0Aug 26, 2026by github-actions[bot]

AI Summary

This major version introduces a comprehensive token-usage tracking system, new metrics management commands, and fixes for path handling and locale issues.

Key Highlights

  • Introduction of a robust token-usage tracking system with database deduplication
  • New git-ai reingest command for managing metrics
  • New --period flag for the usage command
  • Throttling of transcript passes to manage CPU usage
  • Default HTTP notes for API key users

New Features

  • Token-usage state database with dedup and bucket aggregation
  • git-ai reingest command
  • --period flag for usage command
  • uninstall command alias
  • Default HTTP notes for API key users
  • Token usage parsing core

Full Release Notes

## git-ai v1.7.0

### Release Channel
`latest`

> **Beta:** The Windows MSI and macOS PKG installers are beta.

---

> **Detailed AI-generated changelog is being generated and will appear here shortly...**

---

### Installation
Install this specific version with checksum verification:

**macOS/Linux:**
```bash
curl -fsSL https://github.com/git-ai-project/git-ai/releases/download/v1.7.0/install.sh | bash
```

**Windows (PowerShell):**
```powershell
irm https://github.com/git-ai-project/git-ai/releases/download/v1.7.0/install.ps1 | iex
```

### Downloads
- **Linux (x64)**: `git-ai-linux-x64`
- **Linux (ARM64)**: `git-ai-linux-arm64`
- **Windows (x64)**: `git-ai-windows-x64.exe`
- **Windows (ARM64)**: `git-ai-windows-arm64.exe`
- **Windows MSI (x64)**: `git-ai-windows-x64.msi`
- **Windows MSI (ARM64)**: `git-ai-windows-arm64.msi`
- **macOS (Intel)**: `git-ai-macos-x64`
- **macOS (Apple Silicon)**: `git-ai-macos-arm64`
- **macOS PKG (Intel)**: `git-ai-macos-x64.pkg`
- **macOS PKG (Apple Silicon)**: `git-ai-macos-arm64.pkg`
- **macOS PKG (Universal)**: `git-ai-macos-universal.pkg`

### SHA256 Checksums
```
$(cat release/SHA256SUMS)
```

### Attestation Verification
Verify build provenance with the GitHub CLI:
```bash
gh attestation verify git-ai-<platform> --repo git-ai-project/git-ai
```


<!-- Release notes generated using configuration in .github/release.yml at main -->

## What's Changed
### Other Changes
* Add metrics reingestion database reset by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2194
* Route metrics reingestion through daemon by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2195
* Add git-ai reingest command by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2196
* fix(authorship): copy tool and model onto edge recovery metrics by @qqzhangyanhua in https://github.com/git-ai-project/git-ai/pull/2214
* Add `--period` flag to `usage` command by @ethanhann in https://github.com/git-ai-project/git-ai/pull/2167
* Add uninstall command alias by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2217
* Default VS Code line gutters to off by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2218
* Add token_usage parsing core ported from ccusage by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2206
* Add token-usage state database with dedup and bucket aggregation by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2207
* Add TokenUsage metric event wire format and feature flag by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2208
* Add token-usage daemon worker with backfill and event emission by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2209
* Token-usage emission-dedup e2e coverage, retention prune, exclude gate, and spec by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2210
* Throttle transcript passes to a ~30% CPU duty cycle by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2215
* Expose a public notes_add_batch_direct on the crate by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2222
* Default HTTP notes for API key users by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2219
* Key codex checkpoint streams by rollout filename, not hook session id by @svarlamov in https://github.com/git-ai-project/git-ai/pull/2204
* chore(vscode-plugin): bump ovsx from 1.0.1 to 1.1.1 in /agent-support/vscode by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/2199
* chore(vscode-plugin): bump posthog-node from 5.47.3 to 5.49.1 in /agent-support/vscode by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/2200
* chore(opencode-plugin): bump @opencode-ai/plugin from 1.18.11 to 1.18.18 in /agent-support/opencode by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/2165
* chore(intellij-plugin): bump io.sentry.jvm.gradle from 6.17.0 to 6.19.0 in /agent-support/intellij by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/2164
* chore(ci): bump gradle/actions/setup-gradle from 6.2.0 to 6.3.0 by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/2133
* chore(ci): bump azure/login from 3.0.0 to 3.0.1 by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/2132
* chore(ci): bump actions/attest-build-provenance from 4.1.0 to 4.2.2 by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/2131
* chore(ci): bump the codeql group across 1 directory with 2 updates by @dependabot[bot] in https://github.com/git-ai-project/git-ai/pull/2130
* Fix macOS path matching in the codex stream-identity e2e by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2223
* fix: force C locale for internal git by @nalajcie in https://github.com/git-ai-project/git-ai/pull/1294
* fix(status): normalize stored pathspecs to NFC by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2224

## New Contributors
* @qqzhangyanhua made their first contribution in https://github.com/git-ai-project/git-ai/pull/2214
* @ethanhann made their first contribution in https://github.com/git-ai-project/git-ai/pull/2167
* @nalajcie made their first contribution in https://github.com/git-ai-project/git-ai/pull/1294

**Full Changelog**: https://github.com/git-ai-project/git-ai/compare/v1.6.24...v1.7.0