691 Commits

Author SHA1 Message Date
Noe
148ab72380 fix: update version to 1.6.0-beta in package.json 2026-02-19 21:12:34 +00:00
Noe
bcd2eb8fa8 feat: add debug_tui configuration option and resolve thinking issues 2026-02-19 21:11:55 +00:00
Noe
3f9c14e36f fix(request): copy thoughtSignature to all functionCall parts in the same turn to satisfy gemini-3.1-pro requirements 2026-02-19 20:49:59 +00:00
Noe
efafbb9dab feat: update fingerprint versioning to match current runtime version v1.5.5 2026-02-19 20:10:51 +00:00
Noe
d8b5ff87a0 fix: bump version to 1.5.4 v1.5.4 2026-02-19 19:56:18 +00:00
Noè
c2886e508b Merge pull request #470 from ndycode/fix/bump-version-fallback-468
fix: bump version fallback to 1.18.3 to unblock Gemini 3.1 Pro
2026-02-19 19:55:48 +00:00
ndycode
2685b9737b address CodeRabbit review: export fallback constant, fix test hygiene
- Export ANTIGRAVITY_VERSION_FALLBACK so tests import it instead of
  repeating the literal (single update surface on future bumps)
- Add afterEach(vi.unstubAllGlobals) to prevent stub leaks between tests
- Fix semver comparison to use explicit major/minor checks instead of
  major*100+minor encoding that breaks for minor >= 100
2026-02-20 03:33:48 +08:00
ndycode
00e748a4c6 fix: bump version fallback to 1.18.3 to unblock Gemini 3.1 Pro
The hardcoded ANTIGRAVITY_VERSION_FALLBACK (1.15.8) predates Gemini 3.1
Pro support on the backend. When the live version fetch fails (firewall,
WSL2 network restrictions, timeout), the stale fallback is used in
User-Agent headers. The backend then rejects requests with 'not
available on this version'.

Bump the fallback to 1.18.3 (current stable) and add 9 regression tests
covering the network-failure path.

Closes #468
2026-02-20 03:22:40 +08:00
Noè
126280198a Merge pull request #466 from NoeFabris/codex/gemini-3-1-support
Add Gemini 3.1 model support (prep for rollout)
v1.5.3
2026-02-19 17:01:12 +00:00
Noe
9dd268a14a fix(ci): avoid non-existent isDebugTuiEnabled import 2026-02-19 16:59:01 +00:00
Noe
b8284dfb81 fix(build): use extensionless debug import in logger 2026-02-19 16:56:15 +00:00
Noe
89993ef25c v1.5.3 2026-02-19 16:51:57 +00:00
Noe
acd38a5fcc feat: add Gemini 3.1 model support 2026-02-19 16:48:57 +00:00
Noè
eb2d9e4a3a Merge pull request #464 from NoeFabris/codex/main-unpushed-20260218-201821
Add Claude Sonnet 4.6 model + deprecated 4.5 fallback resolver
v1.5.2
2026-02-18 21:34:30 +00:00
Noe
19e65a5b49 pr fixes 2026-02-18 21:34:11 +00:00
Noe
3065595b52 chore: bump version to 1.5.2 and update changelog 2026-02-18 21:00:54 +00:00
Noe
2f273fd07d docs: update MODEL-VARIANTS and TROUBLESHOOTING for model naming conventions; refine test models 2026-02-18 20:45:19 +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
24d2645eca hive: merge 05-update-scripts-e2e-and-cross-model (squashed) 2026-02-18 13:10:02 +00:00
Noe
ff0bed38d1 hive: merge 04-update-remaining-test-files-45--46-fixtures (squashed) 2026-02-18 13:08:51 +00:00
Noe
9fcb35a9c9 hive: merge 03-simplify-isclaudesonnetnonthinking-in-requestts (squashed) 2026-02-18 13:04:03 +00:00
Noe
9e0ed6f3a4 hive: merge 02-remove-45-model-definitions-from-configmodelsts (squashed) 2026-02-18 13:02:55 +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
Noè
de09edc94e Merge pull request #438 from Qwinty/fix/delete-account-menu 2026-02-12 09:52:05 +00:00
Maxim Esipov
bb069b944a docs: add Invalid SemVer beta troubleshooting steps 2026-02-12 01:10:30 +03:00
Noe
f7e0c5025f - Changed ideType and platform in headers to reflect actual environment
- Updated Gemini CLI headers to match expected formats and behaviors
- Removed Linux support and adjusted fingerprint generation accordingly
- Cleaned up unused functions and constants
- Enhanced tests to validate new header behaviors
v1.5.1
2026-02-11 18:15:15 +00:00
Noè
b6710bc66f Merge pull request #429 from NoeFabris/dev v1.5.0 2026-02-11 14:53:50 +00:00
Noe
8889f74310 Fix auth callback when deleting final account 2026-02-11 13:57:08 +00:00
Noe
af7efd81e0 PR fixes 2026-02-11 13:12:30 +00:00
Noè
6333d168db Merge pull request #430 from Qwinty/fix/delete-account-menu 2026-02-11 12:55:16 +00:00
Noè
e7677d8c67 Merge pull request #431 from NoeFabris/fix/259-variant-thinking-budget 2026-02-11 12:30:08 +00:00
Noè
e40123fa94 Merge pull request #432 from NoeFabris/fix/422-schema-sync 2026-02-11 12:19:57 +00:00
Noe
de62be0235 fix: use strict undefined check for thinkingBudget to preserve 0 value
The falsy check !result.thinkingBudget treated thinkingBudget: 0 as missing,
allowing the generationConfig fallback to overwrite it. Use explicit
=== undefined check instead. Adds test for the edge case.

Co-authored-by: greptile[bot] <greptile[bot]@users.noreply.github.com>
2026-02-11 12:16:00 +00:00
Noe
9fd7c40533 fix: sync JSON schema with Zod schema, add missing properties (#422)
The JSON schema (with additionalProperties: false) was missing 8 properties
present in the Zod config schema, causing IDE validation errors for valid
config keys: scheduling_mode, max_cache_first_wait_seconds,
failure_ttl_seconds, toast_scope, request_jitter_max_ms,
soft_quota_threshold_percent, quota_refresh_interval_minutes,
soft_quota_cache_ttl_minutes.

Also adds descriptions for quota_fallback, cli_first, and all new properties
to the build script so they survive future regenerations.
2026-02-11 11:59:02 +00:00
Noe
466b4fe54b fix: extract variant thinking budget from generationConfig fallback (#259)
OpenCode passes variant thinking config in generationConfig rather than
providerOptions, causing extractVariantThinkingConfig to always return
undefined and the budget to fall back to the default 32768.

Add generationConfig as a second parameter to extractVariantThinkingConfig.
The function now checks providerOptions first (preserving existing behavior),
then falls back to generationConfig.thinkingConfig when providerOptions
yields no thinking configuration.
2026-02-11 11:56:48 +00:00
Noe
052124def4 v1.5.0 2026-02-11 11:27:07 +00:00
Maxim Esipov
65999876d6 fix: continue auth flow after deleting last account 2026-02-11 13:53:08 +03:00
Noè
2026fa7e67 Merge pull request #420 from NoeFabris/fix/align-gemini-cli-headers 2026-02-11 10:08:45 +00:00
Noè
9e685f3306 Merge pull request #417 from ChiR24/fix/strip-x-goog-user-project-header 2026-02-11 10:08:07 +00:00
Chirag Panwar
34d0c3b767 fix: strip x-goog-user-project for ALL headerStyles
The x-goog-user-project header causes 403 PERMISSION_DENIED on BOTH
Daily and Prod endpoints (verified with live testing on 11 models).

Previously, the fix only stripped this header for 'antigravity' style.
Now it strips unconditionally for all headerStyles including 'gemini-cli'.

Error message: 'Cloud Code Private API has not been used in project
{user_project} before or it is disabled'

Addresses PR review feedback from @NoeFabris.
2026-02-11 11:42:32 +05:30
Noe
8d411865e7 hive(01-update-constants-and-types): Updated src/constants.ts: changed `GEMINI_CLI_HE 2026-02-11 00:43:43 +00:00
Noè
17647bb8da Merge pull request #418 from NoeFabris/fix/fingerprint-alignment 2026-02-10 23:04:14 +00:00
Noe
73d2ac99a3 PR Fix 2026-02-10 21:48:49 +00:00
Noe
c4c8922db2 PR fixes 2026-02-10 16:14:55 +00:00
Noe
a14c5293f8 fix: align fingerprint headers to match Antigravity Manager behavior
Reduce fingerprint surface to minimize rate limiting by matching what
Antigravity Manager actually sends on content requests.

Changes:
- Remove X-Goog-QuotaUser and X-Client-Device-Id headers (AM doesn't send them)
- Remove X-Goog-Api-Client and Client-Metadata from fingerprint headers (AM only sends User-Agent on content requests)
- Fix ideType: replace random pool (INTELLIJ, ANDROID_STUDIO, etc.) with ANTIGRAVITY/IDE_UNSPECIFIED
- Remove wrong SDK clients (intellij/2024.1, android-studio/2024.1, jetbrains/2024.3) from randomization pools
- Strip extra Client-Metadata fields (osVersion, arch, sqmId) not present in AM
- Force-regenerate saved fingerprints on account load to clear stale data
- Set CODE_ASSIST_METADATA.ideType to ANTIGRAVITY (matching AM)
2026-02-10 15:05:07 +00:00
Chirag Panwar
53e3efdfc4 fix: strip x-goog-user-project header to enable opus 4.6 on Daily endpoint
- Strip x-goog-user-project header ONLY for antigravity headerStyle (Daily endpoint)
- Keep the header for gemini-cli style (Prod endpoint) where it may be needed for billing/quota
- Add test coverage for both headerStyle behaviors

Root cause:
The x-goog-user-project header (added by OpenCode/AI SDK) causes 403 Forbidden
errors on the Daily sandbox endpoint. This triggers fallback to Prod endpoint,
but claude-opus-4-6-thinking is only available on Daily, resulting in 404 errors.

By stripping this header only for antigravity requests, Daily endpoint works
while preserving potential billing/quota functionality for gemini-cli requests.

Fixes #410
2026-02-10 16:15:25 +05:30
Noè
e7c12d7523 Merge pull request #415 from NoeFabris/auto-fetch-antigravity-version 2026-02-10 10:02:26 +00:00
Noe
8c325c15f4 feat: enforce single runtime Antigravity version setting at startup 2026-02-10 09:51:28 +00:00
Noe
380a006974 fix: ensure timeout is cleared in tryFetchVersion function 2026-02-10 09:35:57 +00:00