Problem
chore: sync model metadata (#1158) (583ad2235) regenerated packages/ai-openrouter/src/model-meta.ts and deleted the hand-maintained block added by #836:
type OpenRouterCombinedToolsAndSchemaModelId
OPENROUTER_COMBINED_TOOLS_AND_SCHEMA_MODEL_IDS
export const OPENROUTER_COMBINED_TOOLS_AND_SCHEMA_MODELS
src/index.ts:83, src/internal/combined-tools-and-schema.ts:21 and docs/adapters/openrouter.md:139 still import it, so on main:
@tanstack/ai-openrouter:build, test:types, test:lib fail
root:test:kiira fails
- every example /
testing/ package depending on ai-openrouter fails test:pr
Latest Release run on main: https://github.com/TanStack/ai/actions/runs/32352172255
Root cause
scripts/sync-provider-models.ts rewrites model-meta.ts wholesale and has no notion of that hand-maintained list, so any sync run clobbers it.
Fix
Restore the list, and move it out of the generated file (into src/internal/combined-tools-and-schema.ts) so the sync can't drop it again.
Problem
chore: sync model metadata (#1158)(583ad2235) regeneratedpackages/ai-openrouter/src/model-meta.tsand deleted the hand-maintained block added by #836:type OpenRouterCombinedToolsAndSchemaModelIdOPENROUTER_COMBINED_TOOLS_AND_SCHEMA_MODEL_IDSexport const OPENROUTER_COMBINED_TOOLS_AND_SCHEMA_MODELSsrc/index.ts:83,src/internal/combined-tools-and-schema.ts:21anddocs/adapters/openrouter.md:139still import it, so onmain:@tanstack/ai-openrouter:build,test:types,test:libfailroot:test:kiirafailstesting/package depending onai-openrouterfailstest:prLatest Release run on main: https://github.com/TanStack/ai/actions/runs/32352172255
Root cause
scripts/sync-provider-models.tsrewritesmodel-meta.tswholesale and has no notion of that hand-maintained list, so any sync run clobbers it.Fix
Restore the list, and move it out of the generated file (into
src/internal/combined-tools-and-schema.ts) so the sync can't drop it again.