Commit Graph

103 Commits

Author SHA1 Message Date
Noe
09ccf4bbfe Readme update 2026-03-06 11:16:57 +00:00
Noe
8ab862ad1b hive(05-full-verification-and-doc-alignment): Brought this task branch up to dependency state by 2026-02-20 17:30:43 +00:00
Noe
acd38a5fcc feat: add Gemini 3.1 model support 2026-02-19 16:48:57 +00:00
Noe
2e72744083 chore: checkpoint local changes 2026-02-18 20:18:21 +00:00
Noe
e5b62b4865 hive: merge 06-update-documentation-and-templates (squashed) 2026-02-18 13:11:43 +00:00
Noe
ca3e8d8cf6 Add Claude Sonnet 4.6 model + deprecated 4.5 fallback resolver
- Phase 1: Add claude-sonnet-4-6 model definition, alias, docs, and test entries
- Task 01: Add MODEL_FALLBACKS map for 4.5→4.6 redirects with deprecation warnings
- Task 01: Add DEPRECATED_MODELS set (10 entries) covering all legacy alias keys
- Task 01: Wire logToast deprecation warning in resolveModelWithTier
- Task 01: Update model-resolver tests (44/44 pass) with 4.6 fixtures and fallback tests
2026-02-18 13:00:07 +00:00
Noe
5234cfce5f fix: unify gemini routing and deprecate quota_fallback flag 2026-02-09 19:20:26 +00:00
Noe
1a8284cabf feat: add support for Claude Opus 4.6 model (not yet available in antigravity) 2026-02-05 20:37:48 +00:00
Noe
4c18ed3702 Update README.md to clarify model configuration options 2026-02-05 01:00:25 +00:00
Noe
50b621d40b hive: merge 05-update-readme-documentation (squashed) 2026-02-04 23:20:12 +00:00
Noe
f9b3f2856a fix: prevent empty content arrays from thinking block stripping
- Add safety check in stripAllThinkingBlocks() to inject placeholder when all content stripped
- Enhance debug logging: filter tool summary to only show problematic tools (hasSchema=n)
- Add content stats tracking (messages, text, tool_use, thinking, empty) to error debug info
- Add regression tests for the empty content and debug formatting scenarios

Fixes 400 'Request contains an invalid argument' errors that occurred when thinking
block stripping removed all content from a message.
2026-02-04 21:58:52 +00:00
Noè
4aa3529046 Merge pull request #302 from grota/remove_web_search_leftovers 2026-01-31 12:40:10 +00:00
Noe
1442cbbf3d hive: merge 04-simplify-model-configuration (squashed) 2026-01-29 12:12:18 +00:00
Giuseppe Rota
a8cfcb1b2e remove leftovers of web_search 2026-01-29 07:59:37 +01:00
Aaron Sewall
d18e9a36cd Update README.md
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Signed-off-by: Aaron Sewall <aaronsewall@gmail.com>
2026-01-28 13:27:05 -05:00
Aaron Sewall
fd50b305d6 feat: add soft quota protection with wait/retry behavior
Prevent Google from penalizing accounts by stopping usage before quota
is fully exhausted. Uses same wait/retry logic as rate limits.

Features:
- soft_quota_threshold_percent (default 90%): Skip account when usage
  exceeds this percentage
- quota_refresh_interval_minutes (default 15): Background refresh after
  successful API requests
- soft_quota_cache_ttl_minutes (default 'auto'): Cache freshness TTL,
  auto = max(2 * refresh_interval, 10)

Behavior:
- Accounts over threshold are skipped during selection
- When all accounts over threshold: wait for earliest reset time
- If wait exceeds max_rate_limit_wait_seconds: error immediately
- Stale/missing cache: fail-open (allow account)
- threshold=100 disables protection

Matches rate limit behavior for consistency.
2026-01-28 05:54:53 -05:00
Noe
f6fa5ec636 feat: enhance configuration management with legacy Windows support and custom path options 2026-01-28 00:50:39 +00:00
Noè
bfe19a56ff Merge pull request #280 from rothnic/docs/mcp-troubleshooting 2026-01-26 20:48:11 +00:00
Noe
94e42e3e3d feat: add quota checking and management options to documentation 2026-01-26 20:38:42 +00:00
Nick Roth
4c702a2470 Added fence language
Clarify error messages related to MCP tool names in README.

Signed-off-by: Nick Roth <nlr06886@gmail.com>
2026-01-23 09:28:45 -06:00
Nick Roth
7d1a79e959 docs: add MCP tool name troubleshooting 2026-01-23 15:19:49 +00:00
Noe
a0267b93e2 Merge remote-tracking branch 'origin/main' into dev 2026-01-22 12:09:55 +00:00
Noe
3f562c8cb2 docs: add Terms of Service warning and usage recommendations to README 2026-01-22 12:08:24 +00:00
tctinh
09528537a1 hive: merge 09-update-documentation (squashed) 2026-01-22 13:44:37 +07:00
tctinh
0407a66d30 docs: enhance documentation with load balancing details and formatting improvements 2026-01-17 04:32:22 +07:00
tctinh
f0c1abf2c6 fix: update default values for keep_thinking and auto_resume options in documentation and schema 2026-01-17 04:16:06 +07:00
tctinh
e975a1cae8 feat: Update issue templates and README for improved user guidance
- Enhanced issue template configuration with troubleshooting and existing issues links.
- Removed old feature request markdown and replaced it with a new YAML template for better structure.
- Updated README to include a comprehensive troubleshooting section and clarified configuration paths.
- Added detailed troubleshooting steps for common issues, including rate limits and OAuth callback problems.
- Incremented version to 1.2.9-beta.10 in package.json.
2026-01-17 04:11:01 +07:00
Noe
80efd94658 fix: update documentation and code comments for hybrid strategy implementation 2026-01-16 17:19:49 +00:00
Noe
1a6237c123 Add comprehensive documentation for Antigravity Auth plugin
- Created CONFIGURATION.md for detailed configuration options and examples.
- Added MODEL-VARIANTS.md to explain the variant system and its usage.
- Introduced MULTI-ACCOUNT.md to guide users on setting up and managing multiple accounts.
- Developed TROUBLESHOOTING.md to address common issues and provide solutions.
2026-01-16 00:01:52 +00:00
FrescoFlacko
a79d44a395 refactor: simplifying sentence structure 2026-01-10 21:49:17 -05:00
FrescoFlacko
2afcbe1568 Merge branch 'main' into gemini-project-id-doc-update 2026-01-10 21:43:58 -05:00
FrescoFlacko
402af3a8e3 docs: adding documentation for Gemini CLI model issues. 2026-01-10 21:30:07 -05:00
Chindriș Mihai Alexandru
094fca33ac docs: Make browser OAuth troubleshooting sections collapsible
Addresses review feedback from tctinh to make the troubleshooting
subsections expandable/collapsible for better readability.
2026-01-11 00:00:40 +02:00
Chindriș Mihai Alexandru
f3d4205688 docs: Address review feedback - add Windows commands and port hints
- Add Windows PowerShell/Command Prompt equivalents for port discovery
- Add hint about trying common ports (8080, 3000, 5000)
- Add alternative lsof command to list all listening processes

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-01-10 01:58:48 +02:00
Chindriș Mihai Alexandru
693a2bc429 docs: Add Safari/browser OAuth troubleshooting section
Add documentation for browser-specific OAuth callback issues:
- Safari HTTPS-Only Mode blocking localhost callbacks
- Port conflict resolution steps
- WSL2/SSH port forwarding guidance
- References issue #119 for manual auth feature
2026-01-10 01:51:25 +02:00
tctinh
462b429736 docs: add missing config options and improve documentation
- Add switch_on_first_rate_limit and pid_offset_enabled to JSON schema
- Document keep_thinking with experimental warning (fixes #150)
- Expand quota_fallback description explaining Gemini dual quota pools (fixes #151)
- Add Signature Cache section documenting cache settings
2026-01-09 14:00:06 +07:00
tctinh
3445cdaa88 feat: progressive rate limit retry with switch_on_first_rate_limit config
- Replace SHORT_RETRY_THRESHOLD_MS with progressive retry logic
- First 429: wait 1s, then switch account (if switch_on_first_rate_limit=true)
- Second 429: wait 5s, then switch (if switch_on_first_rate_limit=false)
- Single account: exponential backoff (1s, 2s, 4s... max 60s)
- Add switch_on_first_rate_limit config option (default: true)
- Update README with new config documentation

Fixes NoeFabris/opencode-antigravity-auth#147
2026-01-08 22:36:13 +07:00
Soungmin Son (Eddy)
972c877a44 Merge branch 'dev' into fix/antigravity-v6.6.89-compat 2026-01-08 14:26:22 +09:00
tctinh
d39d1f5c90 fix: Gemini 3 tool schema format and restore thinking deduplication
- Wrap tools in functionDeclarations format for Gemini 3 API
- Flatten incoming functionDeclarations and convert parameters to proper schema
- Re-implement session-level thinking deduplication after partial revert
- Update README model names for clarity (Antigravity vs Gemini CLI)
- Fix model resolver to append default tier for Antigravity Gemini 3 models
2026-01-07 03:09:40 +07:00
CasualDeveloper
f78ddf23af fix: merge dev, align defaults with Google/Anthropic docs, simplify variants
Merge conflict resolution and defaults per official API docs.

**Gemini 3** (https://cloud.google.com/vertex-ai/generative-ai/docs/thinking):
> HIGH: Allows the model to use more tokens for thinking... This is the
> default level for Gemini 3 Pro and Gemini 3 Flash.

- Default thinkingLevel: 'high' for both Pro and Flash
- Model-specific levels: Flash (minimal/low/medium/high), Pro (low/high only)

**Claude** (https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking):
> To turn on extended thinking, add a thinking object... and the
> budget_tokens to a specified token budget.

- budget_tokens is required when enabling extended thinking (no default)
- Default thinkingBudget: 32768 (max) for Claude thinking models without variant

**Additional changes per maintainer feedback:**
- Simplify Claude variants to 'low' and 'max' only (medium/high not much different)
- Update all README examples and config snippets
2026-01-07 02:59:28 +08:00
CasualDeveloper
f05bd6b45e fix: add minimal level and set Pro default to high per Google docs
- Add 'minimal' to GEMINI_3_THINKING_LEVELS constant
- Change Pro default from 'medium' to 'high' (per Google API docs)
- Document model-specific level availability:
  - Flash: minimal, low, medium, high
  - Pro: low, high only
- Update README variant examples with correct levels per model

Addresses CodeRabbit review feedback on #131
2026-01-07 00:53:32 +08:00
CasualDeveloper
6cab735ef1 feat: complete Gemini 3 variant config overhaul
Fixes #130

## Changes

### Model resolver (already in PR)
- Default thinkingLevel for base Gemini 3 models: Pro → 'medium', Flash → 'minimal'

### Native thinkingLevel support
- extractVariantThinkingConfig now extracts thinkingLevel string for Gemini 3
- Prefer native thinkingLevel when present
- Fall back to budget→level conversion with deprecation warning

### Correct variant config format (README)
- Remove providerOptions.google wrapper from all examples
- Gemini 3: use thinkingLevel string
- Claude: use thinkingConfig.thinkingBudget number

### Code cleanup
- Remove dead Anthropic/OpenRouter checks (all Antigravity routes through Google)
- Add deprecation warning for legacy thinkingBudget on Gemini 3

## Backward Compatibility
- Legacy thinkingBudget for Gemini 3 still works (deprecated)
- Tier-suffixed model names still work
2026-01-06 23:46:28 +08:00
tctinh
815068ff05 feat: add pid_offset_enabled config option (disabled by default)
- Add pid_offset_enabled config option (default: false)
- Add env var override OPENCODE_ANTIGRAVITY_PID_OFFSET_ENABLED
- Make PID-based account offset opt-in instead of always-on
- Update README with documentation

Fixes #122
2026-01-06 09:45:46 +07:00
tctinh
9eb09b5379 feat: implement variant thinking configuration extraction and model resolution 2026-01-06 00:21:15 +07:00
tctinh
eedafe5947 feat: smart account routing with error differentiation
- Add account_selection_strategy config: sticky, round-robin, hybrid
- Fix capacity vs quota error handling (Issue #111)
- Capacity errors: escalating backoff (5s→60s), retry same account
- Quota errors: switch to next account immediately
- Add touchedForQuota state tracking for hybrid strategy
- Add comprehensive tests for all strategies
2026-01-05 22:53:22 +07:00
Rico Sta. Cruz
caed29f867 Update model names in README.md 2026-01-04 00:49:02 +11:00
Tinh To
0c521a648b Add troubleshooting section to README
Added troubleshooting section for common issues related to multi-account authentication, Gemini model not found, and session errors.
2026-01-02 23:10:45 +07:00
Tinh To
b8b055da3e Update README with correct URL for Antigravity plugin 2026-01-01 17:05:11 +07:00
Tinh To
a98d992b66 Update schema URLs to NoeFabris repository 2026-01-01 17:00:14 +07:00
Tinh To
0f6167e983 Update URLs to NoeFabris repository 2026-01-01 16:59:18 +07:00