fix gemini auth error

This commit is contained in:
jinhui.li
2025-07-03 09:08:31 +08:00
parent 936f697110
commit f9ba3805a6
3 changed files with 1006 additions and 9 deletions

1001
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{ {
"name": "@musistudio/claude-code-router", "name": "@musistudio/claude-code-router",
"version": "1.0.11", "version": "1.0.12",
"description": "Use Claude Code without an Anthropics account and route it to another LLM provider", "description": "Use Claude Code without an Anthropics account and route it to another LLM provider",
"bin": { "bin": {
"ccr": "./dist/cli.js" "ccr": "./dist/cli.js"
@@ -18,7 +18,7 @@
"author": "musistudio", "author": "musistudio",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@musistudio/llms": "^1.0.0", "@musistudio/llms": "^1.0.1",
"dotenv": "^16.4.7", "dotenv": "^16.4.7",
"tiktoken": "^1.0.21", "tiktoken": "^1.0.21",
"uuid": "^11.1.0" "uuid": "^11.1.0"

10
pnpm-lock.yaml generated
View File

@@ -9,8 +9,8 @@ importers:
.: .:
dependencies: dependencies:
'@musistudio/llms': '@musistudio/llms':
specifier: ^1.0.0 specifier: ^1.0.1
version: 1.0.0(ws@8.18.3)(zod@3.25.67) version: 1.0.1(ws@8.18.3)(zod@3.25.67)
dotenv: dotenv:
specifier: ^16.4.7 specifier: ^16.4.7
version: 16.6.1 version: 16.6.1
@@ -214,8 +214,8 @@ packages:
'@modelcontextprotocol/sdk': '@modelcontextprotocol/sdk':
optional: true optional: true
'@musistudio/llms@1.0.0': '@musistudio/llms@1.0.1':
resolution: {integrity: sha512-O5pSV3q3XOxP/8WsPLEJFoQ7gN7zZD6+hSW+5TgNlbJhXl1WImzI1ljjUm97efcZV93ij79/xz9GwwNzx/pjmA==} resolution: {integrity: sha512-ORA2dI92PgzOh0UfTg2DUjmWac9Iwi92Q7G6Bf2AQxYI9wsc/SO5vUhaH2QInjYhlNZC9AeK07wi+WjMopBeiQ==}
abstract-logging@2.0.1: abstract-logging@2.0.1:
resolution: {integrity: sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==} resolution: {integrity: sha512-2BjRTZxTPvheOvGbBslFSYOUkr+SjPtOnrLP33f+VIWLzezQpZcqVg7ja3L4dBXmzzgwT+a029jRx5PCi3JuiA==}
@@ -634,7 +634,7 @@ snapshots:
- supports-color - supports-color
- utf-8-validate - utf-8-validate
'@musistudio/llms@1.0.0(ws@8.18.3)(zod@3.25.67)': '@musistudio/llms@1.0.1(ws@8.18.3)(zod@3.25.67)':
dependencies: dependencies:
'@anthropic-ai/sdk': 0.54.0 '@anthropic-ai/sdk': 0.54.0
'@fastify/cors': 11.0.1 '@fastify/cors': 11.0.1