chore(ai-openrouter): upgrade @openrouter/sdk from 0.13.20 to 1.x
Los mantenedores suelen responder en 1 día
@AlemTuzlak ya está trabajando en esto.
Desde el 3/10/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- backend-api-design, testing-qa
Línea de trabajo
Start with the SDK 1.0 changelog and the dependency entries in packages/ai-openrouter/package.json and testing/e2e/package.json. Inspect the listed text, responses, image, video, HTTPClient, model-type, and provider-sync entry points, then run the e2e suite. Done means the SDK is upgraded, affected adapters and hooks still work, and the @tanstack/ai-openrouter changeset is included.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What
@openrouter/sdk is pinned at 0.13.20. The latest release is 1.4.21 (published 2026-10-02), one major version ahead.
Pinned in:
packages/ai-openrouter/package.jsontesting/e2e/package.json
Why
- We are a full major version behind the SDK that
@tanstack/ai-openrouterwraps. - New OpenRouter API fields and endpoints only reach the adapter through the SDK's generated types.
- The longer the gap, the larger the eventual migration.
Scope
The SDK is the core dependency of every OpenRouter adapter, so the upgrade touches all of them:
- Text (chat completions):
createOpenRouterText - Responses (beta):
createOpenRouterResponsesText - Image
- Video:
videoGeneration.generate/getGeneration/getVideoContent -
HTTPClienthooks used by the e2e suite to injectX-Test-Id(testing/e2e/src/lib/providers.ts) - Type imports from
@openrouter/sdk/models(for exampleVideoGenerationRequest,ContentPartImage) -
scripts/sync-provider-models.ts, if it reads SDK types - Changeset for
@tanstack/ai-openrouter
Notes
- Review the SDK's 1.0 changelog for breaking changes before starting.
- Video job creation: both
0.13.20and1.4.21accept only HTTP202fromPOST /api/v1/videos.@copilotkit/aimock1.43 answers200, so its built-in OpenRouter video mock fails with the real SDK on either version. The upgrade does not fix that. It needs a fix in aimock or a custom mount in the e2e suite. - Found while working on #539 / #1541.
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.3k
- Forks
- 378
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 226
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de TanStack/ai
-
openai-base: a Responses max_output_tokens cutoff ends as RUN_ERROR without usage instead of finishReason 'length'Posiblemente ocupada @tombeckenham la tomó hace 6 días. Abiertohas-pr waiting-on: maintainer
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
TanStack/ai#1916 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
ai-sandbox-cloudflare: upgrade @cloudflare/sandbox to 1.x for container snapshotsPosiblemente ocupada @jherr la tomó hace 1 día. Abiertowaiting-on: maintainer
TanStack/ai#1983 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
StreamProcessor folds long text and tool-call streams in quadratic memory and timePosiblemente ocupada @jherr la tomó hace 3 días. Abiertowaiting-on: maintainer
TanStack/ai#1963 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
ai-harness: view.dispose() doesn't cancel snapshot, transcript or describe requestsPosiblemente ocupada @AlemTuzlak la tomó hace 4 días. Abiertoneeds-repro waiting-on: maintainer
TanStack/ai#1960 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
ai-anthropic: 400 on signed thinking blocks after compaction rewrites history (missing block_binding drop_block)Posiblemente ocupada @tombeckenham la tomó hace 4 días. Abiertowaiting-on: maintainer
TanStack/ai#1959 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de TanStack/ai
Issues similares
-
needs-area-label
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 2 días
-
Website: the hero tip's video play() has no catch, so a refused play is an unhandled rejectionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
liberation-data/drivine#615 ·
Los mantenedores suelen responder en 1 día
-
backend bug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
geolens-io/geolens#3639 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
radius-project/ai-extensions#1196 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100