• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jyablonski / arc / 25285534676
69%

Build:
DEFAULT BRANCH: main
Ran 03 May 2026 05:14PM UTC
Jobs 1
Files 44
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 May 2026 05:13PM UTC coverage: 56.317% (-8.6%) from 64.877%
25285534676

push

github

web-flow
feat(ai): add `arc ai usage` cmd for tracking (#14)

### Description

Adds `arc ai usage` to pull quota usage from Claude Code (Anthropic
OAuth), Codex (`codex app-server` RPC), and Cursor (SQLite +
dashboard/REST APIs) in parallel, with optional TTL cache and structured
JSON via the root `-j` flag.

## Added

- `arc ai usage` plus `internal/ai` providers, parallel runner
(`errgroup`), file cache, and terminal presentation in
`internal/ai/presentation`
- `docs/ai_usage.md` for credentials, call budget, cache, and human vs
JSON output

## Updated

- `go.mod` / `go.sum` (`golang.org/x/sync`, `modernc.org/sqlite`) and
`internal/output` (`SectionAccent` for section headers)

## Deleted

- None

418 of 1133 new or added lines in 12 files covered. (36.89%)

2086 of 3704 relevant lines covered (56.32%)

3.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
136
41.63
internal/ai/cursor/dashboard.go
106
22.63
internal/ai/codex/appserver.go
101
25.19
internal/ai/cursor/usage.go
99
21.43
internal/ai/presentation/presentation.go
76
7.32
cmd/ai.go
64
28.89
internal/ai/claude/token.go
59
52.42
internal/ai/claude/usage.go
32
42.86
internal/ai/cursor/jwt.go
20
62.26
internal/ai/cache.go
12
57.14
internal/ai/cursor/db.go
10
84.38
internal/ai/runner.go
Jobs
ID Job ID Ran Files Coverage
1 25285534676.1 03 May 2026 05:14PM UTC 44
56.32
GitHub Action Run
Source Files on build 25285534676
  • Tree
  • List 44
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 05acb6ba on github
  • Prev Build on main (#24610705291)
  • Next Build on main (#25286184645)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc