16 Commits

Author SHA1 Message Date
Noe
908928237c chore: remove header-style.test.ts due to @opencode-ai/plugin package issue 2026-01-29 12:14:26 +00:00
tctinh
814709c8e6 fix: v1.3.1 bugfixes - Zod v4 upgrade, keep_thinking, tool params, auth headers, quiet_mode
Changes:
- Upgraded to Zod v4 and adjusted schema generation for compatibility
- Fixed keep_thinking=true failing without debug mode (signature validation)
- Fixed tool calls failing for tools with no parameters (default args to {})
- Aligned auth headers with official Gemini CLI to reduce account issues
- Fixed quiet_mode not suppressing all toast notifications
2026-01-19 11:13:02 +07:00
Romanok
4d30357918 fix: improve interactive account menu reliability 2026-01-18 05:43:15 +05:00
Noe
e4ae356459 chore: update version to 1.3.0 in package.json and package-lock.json 2026-01-17 10:31:11 +00:00
Noe
d91cc28aa4 feat: add Google Search (Grounding) configuration and integration 2026-01-16 00:07:06 +00:00
tctinh
f713005f38 feat: add file locking and multi-session PID offset
- File locking via proper-lockfile for concurrent write safety
- Atomic writes with temp file + rename pattern
- Merge-on-write pattern to preserve concurrent changes
- PID-based offset so different sessions start at different accounts
- Remove unused import (extractVariantThinkingConfig)
2026-01-05 23:23:37 +07:00
tctinh
ee80aeaba4 fix: apply cross-model signature sanitization to single requests
Fixes #70 - Gemini thoughtSignature persisting when switching to Claude

Root cause: sanitizeCrossModelPayloadInPlace() was only called for batched
requests, not for single requests. Gemini's thoughtSignature in tool metadata
persisted and caused Claude to reject with 'Invalid signature in thinking block'.

Bumps version to 1.2.8-beta.0
2026-01-01 10:34:48 +07:00
tctinh
d2006b6bb4 bump version to 1.2.7-beta.2 in package.json 2025-12-28 16:13:56 +07:00
tctinh
ba2891bf57 Update README.md and bump beta version 2025-12-27 16:47:32 +07:00
tctinh
53e21a7264 Merge remote-tracking branch 'origin/dev' into feature/gemini-cli-routing 2025-12-26 21:40:59 +07:00
tctinh
59a108819e chore: update version to 1.2.5-beta.5 and add zod-to-json-schema dependency 2025-12-26 17:57:21 +07:00
tctinh
7c43511f7a feat: add prefix-based quota routing for Gemini CLI vs Antigravity
- Add 'antigravity-' prefix to route to Antigravity quota
- Models without prefix route to Gemini CLI quota
- Claude/GPT models auto-route to Antigravity (only available there)
- Gemini 3 tiers: Pro supports low/high, Flash supports minimal/low/medium/high
- Add thinkingLevel param for Gemini CLI, keep tier in model name for Antigravity

Resolves #51
2025-12-26 17:36:20 +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
e382fcd644 Improves Gemini quota handling with dual pools
Enhances Gemini quota management by introducing dual quota pools (Antigravity and Gemini CLI) for increased quota availability.

Gemini models now automatically fall back to the second quota pool when the first is exhausted, effectively doubling the quota per account.
2025-12-22 23:07:57 +01:00
Noe
8e58a2474c better repo config 2025-12-10 15:18:43 +00:00
Noe
5d229bf44e First commit - auth and models working 2025-12-09 23:59:18 +00:00