v1.7.4

git-ai-project/git-aiv1.7.4Sep 8, 2026by github-actions[bot]

AI Summary

This release introduces MDM login-start scripts for macOS, Linux, and Windows, allowing the daemon to register for automatic startup. It also enables token usage metrics by default and improves the daemon's retry logic to handle login-time lock races.

Key Highlights

  • MDM login-start scripts for macOS, Linux, and Windows
  • Token usage metrics enabled by default in release builds
  • Daemon `bg start --retry-secs` option for login-time lock races
  • Exclusive sourcing of tokens and cost from TokenUsage events

New Features

  • MDM login-start scripts for macOS, Linux, and Windows
  • Default enablement of token usage metrics
  • Daemon retry logic for background start
  • Token and cost source changes to TokenUsage events

Full Release Notes

## git-ai v1.7.4

### 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.4/install.sh | bash
```

**Windows (PowerShell):**
```powershell
irm https://github.com/git-ai-project/git-ai/releases/download/v1.7.4/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`

### MDM login-start scripts
Register `git-ai bg start` to run at login (see `mdm/README.md`):
- **macOS LaunchAgent**: `git-ai-login-start-macos.sh`
- **Linux systemd user unit**: `git-ai-login-start-linux.sh`
- **Windows Scheduled Task**: `git-ai-login-start-windows.ps1`

### 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
* feat(mdm): login-start scripts for macOS, Linux, and Windows by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2312
* ci(mdm): per-PR end-to-end tests for the login-start scripts by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2313
* ci(mdm): nightly login-start tests against published releases by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2315
* release: publish MDM login-start scripts as release assets by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2316
* feat(token-usage): enable token_usage_metrics by default in release builds by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2335
* feat(daemon): bg start --retry-secs for login-time lock races by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2332
* fix(mdm): run git-ai directly from the launchers using bg start --retry-secs by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2333
* feat(usage): source tokens and cost from TokenUsage events exclusively by @svarlamov-git-ai in https://github.com/git-ai-project/git-ai/pull/2336


**Full Changelog**: https://github.com/git-ai-project/git-ai/compare/v1.7.3...v1.7.4