fix openrouter stream response parse error

This commit is contained in:
musi
2025-07-16 21:14:27 +08:00
parent 5174ddacfc
commit 84ac5b62cb
2 changed files with 7 additions and 7 deletions

View File

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

10
pnpm-lock.yaml generated
View File

@@ -9,8 +9,8 @@ importers:
.:
dependencies:
'@musistudio/llms':
specifier: ^1.0.5
version: 1.0.5(ws@8.18.3)(zod@3.25.67)
specifier: ^1.0.6
version: 1.0.6(ws@8.18.3)(zod@3.25.67)
dotenv:
specifier: ^16.4.7
version: 16.6.1
@@ -217,8 +217,8 @@ packages:
'@modelcontextprotocol/sdk':
optional: true
'@musistudio/llms@1.0.5':
resolution: {integrity: sha512-aa+qSQkr9GMfOZJihTZqPWfCR5ydBN7+yo+32LybgbBI0yhDXWanCpID8vkTBRAs6hpYtqkmSAV0C+RAhXOlFg==}
'@musistudio/llms@1.0.6':
resolution: {integrity: sha512-gBWd03s9BwcvGHRsg7gzyM+BmGNXAI8PsIDJmk45NI0xTEFac8TW1l11dBk0j9Ll49vf4DxabeVqAIRq1+gHJg==}
'@nodelib/fs.scandir@2.1.5':
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
@@ -812,7 +812,7 @@ snapshots:
- supports-color
- utf-8-validate
'@musistudio/llms@1.0.5(ws@8.18.3)(zod@3.25.67)':
'@musistudio/llms@1.0.6(ws@8.18.3)(zod@3.25.67)':
dependencies:
'@anthropic-ai/sdk': 0.54.0
'@fastify/cors': 11.0.1