feat: share model catalog protocol with pi.dev (#9763)

Move catalog layout, index validation, version selection, and request
negotiation into scripts/model-catalog-protocol.ts. pi.dev keeps an
identical copy, so the publisher and a test running the current client
exercise the same selection pi.dev performs. Replaces the cross-repository
compatibility dispatch.

Related to #9099.
This commit is contained in:
Armin Ronacher 2026-09-23 20:08:05 +02:00
parent a328aa89ad
commit 7fd564cbb7
8 changed files with 571 additions and 74 deletions

View file

@ -25,6 +25,8 @@
},
"files": {
"includes": [
"scripts/model-catalog-protocol.ts",
"scripts/model-catalog-protocol.test.ts",
"packages/*/src/**/*.ts",
"packages/*/test/**/*.ts",
"packages/session-backends/*/src/**/*.ts",