Luis Pater
7b2ae7377a
chore(auth): add net/url import to auth_files.go for URL handling
2026-01-25 21:53:20 +08:00
Luis Pater
dbb433fcf8
Merge branch 'main' into plus
2026-01-25 21:51:02 +08:00
Luis Pater
2abf00b5a6
Merge pull request #126 from jellyfish-p/main
...
feat(kiro): 添加用于令牌额度查询的api-call兼容
2026-01-25 21:49:07 +08:00
jellyfish-p
497339f055
feat(kiro): 添加用于令牌额度查询的api-call兼容
2026-01-25 11:36:52 +08:00
hkfires
5743b78694
test(claude): update expectations for system message handling
2026-01-25 08:31:29 +08:00
Luis Pater
2e6a2b655c
Merge pull request #1132 from XYenon/fix/gemini-models-displayname-override
...
fix(gemini): preserve displayName and description in models list
2026-01-25 03:40:04 +08:00
Luis Pater
cb47ac21bf
Merge pull request #1179 from mallendeo/main
...
fix(claude): skip built-in tools in OAuth tool prefix
2026-01-25 03:31:58 +08:00
Luis Pater
a1394b4596
Merge pull request #1183 from Darley-Wey/fix/api-align
...
fix(api): enhance ClaudeModels response to align with api.anthropic.com
2026-01-25 03:30:14 +08:00
yuechenglong.5
8f780e7280
fix(kiro): always attempt token refresh on 401 before checking retry count
...
Refactor 401 error handling in both executeWithRetry and
executeStreamWithRetry to always attempt token refresh regardless of
remaining retry attempts. Previously, token refresh was only attempted
when retries remained, which could leave valid refreshed tokens unused.
Also add auth directory resolution in RefreshManager.Initialize to
properly resolve the base directory path before creating the token
repository.
2026-01-24 20:02:09 +08:00
Darley
46c6fb1e7a
fix(api): enhance ClaudeModels response to align with api.anthropic.com
2026-01-24 04:41:08 +03:30
hkfires
9f9fec5d4c
fix(auth): improve antigravity token exchange errors
2026-01-24 09:04:15 +08:00
hkfires
e95be10485
fix(auth): validate antigravity token userinfo email
2026-01-24 08:33:52 +08:00
hkfires
f3d58fa0ce
fix(auth): correct antigravity oauth redirect and expiry
2026-01-24 08:33:52 +08:00
hkfires
8c0eaa1f71
refactor(auth): export Gemini constants and use in handler
2026-01-24 08:33:52 +08:00
hkfires
405df58f72
refactor(auth): export Codex constants and slim down handler
2026-01-24 08:33:52 +08:00
hkfires
e7f13aa008
refactor(api): slim down RequestAnthropicToken to use internal/auth
2026-01-24 08:33:51 +08:00
hkfires
7cb6a9b89a
refactor(auth): export Claude OAuth constants for reuse
2026-01-24 08:33:51 +08:00
hkfires
9aa5344c29
refactor(api): slim down RequestAntigravityToken to use internal/auth
2026-01-24 08:33:51 +08:00
hkfires
c65407ab9f
refactor(auth): extract Antigravity OAuth constants to internal/auth
2026-01-24 08:33:51 +08:00
hkfires
9e59685212
refactor(auth): implement Antigravity AuthService in internal/auth
2026-01-24 08:33:51 +08:00
hkfires
4a4dfaa910
refactor(auth): replace sanitizeAntigravityFileName with antigravity.CredentialFileName
2026-01-24 08:33:51 +08:00
Luis Pater
0d6ecb0191
Fixed : #1077
...
refactor(translator): improve tools handling by separating functionDeclarations and googleSearch nodes
2026-01-24 05:51:11 +08:00
Mauricio Allende
f16461bfe7
fix(claude): skip built-in tools in OAuth tool prefix
2026-01-23 21:29:39 +00:00
Luis Pater
9fccc86b71
fix(executor): include requested model in payload configuration
2026-01-24 05:06:02 +08:00
Luis Pater
b9ff916494
Merge branch 'main' into plus
2026-01-24 05:02:32 +08:00
Luis Pater
873d41582f
Merge pull request #1125 from NightHammer1000/dev
...
Filter out Top_P when Temp is set on Claude
2026-01-24 02:03:33 +08:00
Luis Pater
6fb7d85558
Merge pull request #1137 from augustVino/fix/remove_empty_systemmsg
...
fix(translator): ensure system message is only added if it contains c…
2026-01-24 02:02:18 +08:00
hkfires
d5e3e32d58
fix(auth): normalize plan type filenames to lowercase
2026-01-23 20:13:09 +08:00
hkfires
ecc850bfb7
feat(executor): apply payload rules using requested model
2026-01-23 16:38:41 +08:00
Chén Mù
19b4ef33e0
Merge pull request #1102 from aldinokemal/main
...
feat(management): add PATCH endpoint to enable/disable auth files
2026-01-23 09:05:24 +08:00
hkfires
7ca045d8b9
fix(executor): adjust model-specific request payload
2026-01-22 20:28:08 +08:00
Cyrus
25b9df478c
fix(auth): normalize authMethod to lowercase on Kiro token import
...
- Add strings.ToLower() normalization in LoadKiroIDEToken()
- Add same normalization in LoadKiroTokenFromPath()
- Fixes issue where Kiro IDE exports "IdC" but code expects "idc"
2026-01-22 19:54:48 +08:00
hkfires
abfca6aab2
refactor(util): reorder gemini schema cleaner helpers
2026-01-22 18:38:48 +08:00
sowar1987
9c2992bfb2
test: align signature cache tests with cache behavior
...
Co-Authored-By: Warp <agent@warp.dev >
2026-01-22 17:12:47 +08:00
sowar1987
269a1c5452
refactor: reuse placeholder reason description
...
Co-Authored-By: Warp <agent@warp.dev >
2026-01-22 17:12:47 +08:00
sowar1987
22ce65ac72
test: update signature cache tests
...
Revert gemini translator changes for scheme A
Co-Authored-By: Warp <agent@warp.dev >
2026-01-22 17:12:47 +08:00
sowar1987
a2f8f59192
Fix Gemini function-calling INVALID_ARGUMENT by relaxing Gemini tool validation and cleaning schema
2026-01-22 17:11:07 +08:00
XYenon
8c7c446f33
fix(gemini): preserve displayName and description in models list
...
Previously GeminiModels handler unconditionally overwrote displayName
and description with the model name, losing the original values defined
in model definitions (e.g., 'Gemini 3 Pro Preview').
Now only set these fields as fallback when they are missing or empty.
2026-01-22 15:19:27 +08:00
Luis Pater
51611c25d7
Merge branch 'router-for-me:main' into main
2026-01-21 22:12:28 +08:00
yuechenglong.5
4c8026ac3d
chore(build): 更新 .gitignore 文件
...
- 添加 *.bak 文件扩展名到忽略列表
2026-01-21 21:38:47 +08:00
hkfires
c8884f5e25
refactor(translator): enhance signature handling in Claude and Gemini requests, streamline cache usage and remove unnecessary tests
2026-01-21 20:21:49 +08:00
Luis Pater
d9c6317c84
refactor(cache, translator): refine signature caching logic and tests, replace session-based logic with model group handling
2026-01-21 18:30:05 +08:00
Vino
d29ec95526
fix(translator): ensure system message is only added if it contains content
2026-01-21 16:45:50 +08:00
Luis Pater
ef4508dbc8
refactor(cache, translator): remove session ID from signature caching and clean up logic
2026-01-21 13:37:10 +08:00
Luis Pater
f775e46fe2
refactor(translator): remove session ID logic from signature caching and associated tests
2026-01-21 12:45:07 +08:00
Luis Pater
65ad5c0c9d
refactor(cache): simplify signature caching by removing sessionID parameter
2026-01-21 12:38:05 +08:00
Luis Pater
88bf4e77ec
fix(translator): update HasValidSignature to require modelName parameter for improved validation
2026-01-21 11:31:37 +08:00
yuechenglong.5
194f66ca9c
feat(kiro): 添加后台令牌刷新通知机制
...
- 在 BackgroundRefresher 中添加 onTokenRefreshed 回调函数和并发安全锁
- 实现 WithOnTokenRefreshed 选项函数用于设置刷新成功回调
- 在 RefreshManager 中添加 SetOnTokenRefreshed 方法支持运行时更新回调
- 为 KiroExecutor 添加 reloadAuthFromFile 方法实现文件重新加载回退机制
- 在 Watcher 中实现 NotifyTokenRefreshed 方法处理刷新通知并更新内存Auth对象
- 通过 Service.GetWatcher 连接刷新器回调到 Watcher 通知链路
- 添加方案A和方案B双重保障解决后台刷新与内存对象时间差问题
2026-01-21 11:03:07 +08:00
Luis Pater
a4f8015caa
test(logging): add unit tests for GinLogrusRecovery middleware panic handling
2026-01-21 10:57:27 +08:00
hkfires
9332316383
fix(translator): preserve thinking blocks by skipping signature
2026-01-21 10:49:20 +08:00