Skip to content

Discover Antigravity CLI models and display account quota windows - #8990

Draft
junhoi-pk wants to merge 1 commit into
lidge-jun:devfrom
junhoi-pk:feat/agy-acp-discovery-usage
Draft

junhoi-pk wants to merge 1 commit into
lidge-jun:devfrom
junhoi-pk:feat/agy-acp-discovery-usage

Conversation

@junhoi-pk

@junhoi-pk junhoi-pk commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Discover the signed-in local Antigravity CLI's Gemini model families with agy models and use the same source for the provider connection test. Keep the existing cache, fallback and model visibility controls.
  • Read account quota windows from headless /usage on CLI 1.5.13 or newer, converting remaining percentages to the used percentages expected by the dashboard. The provider's 30-day traffic history continues to use proxy request records.
  • Existing installations with discovery explicitly disabled can enable it with ocx provider edit antigravity-acp --live-models on.

Verification

  • Ran typecheck, structure checks and the privacy scan. The four focused adapter, protocol, config and server test files passed (266 tests).
  • Applied the runtime changes to a local v2.100.6 installation with CLI 1.5.13 and restarted the proxy. Provider discovery and the connection test found six Gemini model families, including Neon. The live catalog included Neon and the quota API returned five windows with reset timestamps.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs were updated.
  • The probes use fixed commands, a private workspace and an allowlisted environment.

Review readiness checklist

This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:

  • Required local validation passed; commands, results, and any full-suite exception are documented.

  • I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).

  • I resolved all correct Codex and CodeRabbit findings.

  • My PR is ready for review.

- Gemini 모델 목록을 CLI에서 조회하고 연결 검사에 반영
- 사용량 패널에 CLI 계정별 잔여율을 사용률로 변환해 표시
@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

@github-actions

Copy link
Copy Markdown
Contributor

⏳ DRAFT

  • review readiness checklist open (0/4 boxes ticked).

What to do

  • Tick all four boxes in the PR description once you're done (currently 0/4).

Review readiness checklist

  • ⬜ Required local validation passed; commands, results, and any full-suite exception are documented.
  • ⬜ I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
  • ⬜ I resolved all correct Codex and CodeRabbit findings.
  • ⬜ My PR is ready for review.

0/4 boxes ticked.

This PR stays in draft until every box above is ticked.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant