Commit Graph

30 Commits

Author SHA1 Message Date
Noe
00ec4e29f3 fix: update fallback description for Gemini CLI in multi-account setup 2026-02-09 20:28:22 +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
0e61bcbf44 Update MODEL-VARIANTS.md to reflect antigravity model names and configurations 2026-02-05 12:47:28 +00:00
Noe
87d577f33f Merge remote-tracking branch 'origin/main' into dev 2026-01-31 12:50:57 +00:00
Noe
2be5a341aa fix: update troubleshooting guide for outdated Antigravity User-Agent and process management 2026-01-31 12:13:27 +00:00
Noe
d876049ef8 Merge branch 'main' into dev 2026-01-30 12:08:03 +00:00
Noe
ffa560ccd1 fix: update Antigravity version to 1.15.8 and synchronize user agents 2026-01-30 09:35:04 +00:00
Noe
1442cbbf3d hive: merge 04-simplify-model-configuration (squashed) 2026-01-29 12:12:18 +00:00
Noe
94e42e3e3d feat: add quota checking and management options to documentation 2026-01-26 20:38:42 +00:00
Noe
3557760917 feat(search): implement google_search tool for web search with enhanced capabilities and deprecate legacy configurations 2026-01-21 00:04:10 +00: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
e698fa4f62 Improves Claude thinking block handling
Refactors how Claude thinking blocks are handled to improve reliability and address signature validation issues.

- Removes the deprecated `KEEP_THINKING_BLOCKS` constant and associated environment variable.
- Introduces runtime configuration for `keep_thinking` to control whether thinking blocks are preserved.
- Implements logic to inject a sentinel value (`SKIP_THOUGHT_SIGNATURE`) when a thinking block's signature is invalid or missing, allowing the API to bypass validation. This addresses scenarios like cache misses, session mismatches, and plugin restarts.

This change enhances the robustness of Claude integrations by providing a mechanism to handle signature issues gracefully.
2026-01-16 12:15:26 +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
tctinh
802dfe1fdb Refactor rate limit handling and improve error responses
- Deleted the RATE_LIMIT_ROUTING_ANALYSIS.md document as it is no longer needed.
- Enhanced the regression test to provide detailed failure information, including the first failure's stderr output.
- Updated the plugin to handle 400 errors ("Prompt too long") with a synthetic response instead of returning a session-locking error.
- Introduced createSyntheticErrorResponse function to generate a synthetic SSE response for error messages, allowing continued session usage.
- Added tests for createSyntheticErrorResponse to ensure correct behavior and structure of the synthetic SSE events.
2025-12-28 18:28:56 +07:00
tctinh
457b3ac12b fix: improve rate limit handling and add prompt-too-long toast
- Add 2s deduplication window to prevent rate limit counter inflation from concurrent 429s
- Separate cooldown system from rate limits for non-429 errors (auth failures, 5xx)
- Add quota_fallback config option for automatic quota switching on rate limit
- Add toast notification for 400 'Prompt is too long' errors guiding users to /compact
- Add 5 new cooldown unit tests
- Enhance regression test suite with concurrent test infrastructure
- Add comprehensive rate limit analysis documentation
2025-12-28 16:09:52 +07:00
tctinh
ab86d6d8d1 fix: prevent tool_use without tool_result errors
Add defense-in-depth protection against Claude API tool pairing errors:

- findOrphanedToolUseIds(): Detect orphaned tool_use blocks
- fixClaudeToolPairing(): Inject placeholder tool_result responses
- validateAndFixClaudeToolPairing(): Nuclear fallback removes broken blocks
- 12 new unit tests covering all edge cases

Fixes permanent session corruption when ESC pressed or context compacted.
2025-12-26 11:44:06 +07:00
tctinh
5ee1e9302e Merge branch 'dev' of github.com:NoeFabris/opencode-antigravity-auth into dev 2025-12-26 02:34:34 +07:00
tctinh
096d2516bd chore: bump version to 1.2.5-beta.0 for beta release
- Add release-beta.yml workflow for dev branch
- Add CLAUDE_INSTABILITY_RESEARCH.md documentation
- Add PR description.md
2025-12-26 02:32:56 +07:00
tctinh
6c1e3b7b40 feat: Implement session recovery module for handling recoverable errors
- Added recovery functionality for tool_result_missing, thinking_block_order, and thinking_disabled_violation errors.
- Introduced constants and types for session recovery.
- Created storage utilities for reading and writing session data.
- Enhanced debug logging capabilities in debug.ts.
- Refactored debug state management for better initialization and access.
2025-12-26 02:09:15 +07:00
Noe
b7c6222ce3 feat: add option to preserve thinking blocks for Claude models with trade-offs 2025-12-24 10:44:05 +01:00
tctinh
0f74555d0c feat: improve thinking block handling in Antigravity request preparation 2025-12-24 15:09:02 +07:00
tctinh
dd5ea5556f feat: update Claude model handling to strip all thinking blocks, eliminating signature errors, improve parsing tool and thinking logic reference to CLIProxyAPI 2025-12-24 14:35:12 +07:00
tctinh
9e430af3e6 feat: implement thinking signature safeguards and enhance filtering mechanisms 2025-12-23 14:40:27 +07:00
tctinh
ed4dabf434 docs: expand Claude model flow with comprehensive quirks and adaptations 2025-12-18 11:17:35 +07:00
tctinh
bb1bbaf1ef docs: add Claude model flow documentation for both branches 2025-12-18 11:07:49 +07:00
tctinh
08f9da97f7 feat: implement thinking block sanitization for Claude API compliance 2025-12-18 10:47:02 +07:00