691 Commits

Author SHA1 Message Date
Noe
26edee5310 feat: add support for Gemini 3 Flash 2025-12-17 17:47:18 +00:00
fgonzalezurriola
6d78ea5d91 refactor: Using {@email} toast doesn't show for users with less than 2 accounts 2025-12-17 14:37:20 -03:00
Noe
314ac9d427 feat(claude): add multi-turn thinking signature caching and real-time SSE streaming
Implement comprehensive support for Claude thinking models with interleaved
thinking in multi-turn conversations:

- Add signature caching system to preserve and restore thinking block
  signatures across conversation turns, preventing "invalid signature" errors
- Enable real-time SSE streaming with immediate forwarding of thinking tokens
- Add interleaved-thinking-2025-05-14 beta header for Claude thinking models
- Implement smart system hints to encourage thinking during tool use
- Add VALIDATED mode for tool calling on Claude models
- Ensure output token limits accommodate thinking budgets
- Filter and sanitize thinking blocks, removing SDK-injected cache_control
- Add comprehensive test suites for auth, cache, and request-helpers modules
- Update build config to exclude test files from production builds
- Document streaming and thinking features in README
2025-12-17 15:52:40 +00:00
github-actions[bot]
9839d25cf4 docs: update readme version to 1.1.2 [skip ci] v1.1.2 2025-12-17 00:18:37 +00:00
Noe
debcfb7443 fix: add modalities support for input/output in configuration and improve toast notifications in plugin 2025-12-17 00:18:21 +00:00
github-actions[bot]
17a0e15e74 docs: update readme version to 1.1.1 [skip ci] v1.1.1 2025-12-17 00:09:31 +00:00
Noe
c42a90d645 feat(auth): add login mode selection and improve rate limit handling
- Add CLI prompt to choose between adding accounts or starting fresh
- Implement automatic retry with backoff for single-account rate limits
- Show toast notifications for account switching and rate limit status
- Clear stale account storage when OpenCode auth state changes
- Add sleep helper function with abort signal support
- Improve README with clearer step-by-step setup instructions

TUI flow now adds accounts non-destructively; CLI flow offers choice.
2025-12-17 00:09:17 +00:00
github-actions[bot]
5ed85a398c docs: update readme version to 1.1.0 [skip ci] v1.1.0 2025-12-16 01:42:09 +00:00
Noè
c08f591850 Merge pull request #19 from NoeFabris/multi-account 2025-12-16 01:41:57 +00:00
Noe
2052e4d580 Add multi-account load balancing and improved OAuth UX
Adds multi-account support and round-robin load balancing for Google Antigravity OAuth to increase request throughput and resilience. Introduces an on-disk account pool with cooldowns for rate-limited accounts, automatic removal of revoked refresh tokens, and persistence of rotation state.

Improves OAuth flows and UX: CLI flow can add multiple accounts with per-account project IDs, TUI flow remains single-account, improved browser opening/fallback copy-paste handling, and clearer prompts for pasting redirect URLs or codes. Adds robust parsing of callback input and better headless handling.

Makes token refresh handling explicit and typed (throws a specific error on invalid_grant) and centralizes account management logic into an in-memory manager with persistence utilities. Adds tests for account rotation and rate-limit behavior and bumps package version.

Overall, this increases reliability under rate limits, makes multi-account configuration straightforward, and improves error handling and developer/user experience.
2025-12-16 01:35:02 +00:00
Noe
2db90da28d readme update 2025-12-15 14:42:10 +00:00
github-actions[bot]
b1479cfdfd docs: update readme version to 1.0.7 [skip ci] v1.0.7 2025-12-13 13:39:23 +00:00
Noè
be17ae830c Merge pull request #14 from tctinh/main 2025-12-13 13:39:10 +00:00
Noe
2a0ea17bfe v1.0.7 2025-12-13 13:36:44 +00:00
tctinh
98fe23a19b feat: add headers initialization for response transformation in Antigravity 2025-12-13 17:00:10 +07:00
tctinh
09509c3038 Merge branch 'main' of github.com:tctinh/opencode-antigravity-auth 2025-12-13 16:57:54 +07:00
tctinh
a85e6be8dc feat: enhance schema normalization and streaming response handling in Antigravity requests 2025-12-13 16:39:45 +07:00
tctinh
85d2847baf feat: implement true streaming support for SSE responses with TransformStream and enhance response transformation 2025-12-13 10:36:48 +07:00
github-actions[bot]
f12ad6d83d docs: update readme version to 1.0.6 [skip ci] v1.0.6 2025-12-12 10:23:04 +00:00
Noè
e10685d326 Merge pull request #8 from tctinh/feature/thinking-support 2025-12-12 10:22:51 +00:00
Noe
902b796fbf v1.0.6 2025-12-12 10:20:23 +00:00
tctinh
52597a212b feat: enhance thinking/reasoning support with configuration extraction and filtering 2025-12-12 12:41:16 +07:00
tctinh
7bd9474a88 feat: add thinking/reasoning support for Claude and Gemini models
- Add transformThinkingParts() to transform thinking content in responses
- Handle both Gemini-style (thought: true) and Anthropic-style (type: thinking)
- Extract thinking config from extra_body and Anthropic-style options
- Auto-enable thinking for thinking-capable models (opus, gemini-3, thinking)
- Filter unsigned thinking blocks for Claude multi-turn conversations
- Apply transformations to both streaming and JSON responses
2025-12-12 11:36:03 +07:00
github-actions[bot]
59c1701fc5 docs: update readme version to 1.0.5 [skip ci] v1.0.5 2025-12-11 14:12:08 +00:00
Noe
8c52406bd5 v1.0.5 2025-12-11 14:11:53 +00:00
Noe
9993624d73 Fixed an issue with the NPM package version 2025-12-11 14:09:58 +00:00
Noe
91dcca5730 Updated workflow 2025-12-11 13:49:17 +00:00
github-actions[bot]
6cbfdcbf82 docs: update readme version to 1.0.4 [skip ci] v1.0.4 2025-12-11 13:33:44 +00:00
Noe
678c046e75 v1.0.4 2025-12-11 13:21:22 +00:00
Noè
37273746ee Merge pull request #3 from tctinh/main 2025-12-11 13:04:26 +00:00
tctinh
e2b2e9b955 Fix tool call issue with claude model cause by multiples tool call result 2025-12-11 00:17:37 +07:00
github-actions[bot]
a0ebd5b1ca docs: update readme version to 1.0.3 [skip ci] v1.0.3 2025-12-10 15:47:17 +00:00
Noe
0b83b4e030 better repo config 2025-12-10 15:47:00 +00:00
Noe
8e58a2474c better repo config 2025-12-10 15:18:43 +00:00
Noe
ea529ce52b Update readme v1.0.2 2025-12-10 13:15:40 +00:00
Noe
fe39ca886d Fixed anthropic models tool use 2025-12-10 13:14:55 +00:00
Noe
a9518b8cfe reamde update v1.0.1 2025-12-10 11:37:53 +00:00
Noe
d946805235 Updates to make it work with workspace accounts 2025-12-10 11:33:03 +00:00
Noe
38ccf23ab3 update readme 2025-12-10 11:03:50 +00:00
Noe
6a801b6373 Removed fallback logic 2025-12-10 10:32:32 +00:00
Noe
5d229bf44e First commit - auth and models working v1.0.0 2025-12-09 23:59:18 +00:00