Fix Claude 5 context window selection (#2433)

* fix(claude): select the correct Opus 5 context window

Bare Opus 5 IDs resolve to 200K behind third-party gateways. Expose explicit context variants and require a Claude Code version that recognizes the model.

* fix(claude): add Fable and Sonnet context variants

* test(cli): expect Claude context variants

* test(cli): compose Claude catalog expectations

* fix(claude): preserve catalog on version probe failure

* fix(claude): preserve parsed context variants

* chore(release): cut 0.2.2
This commit is contained in:
Mohamed Boudra
2026-07-26 10:03:44 +02:00
committed by GitHub
parent 51ab86bab6
commit c9fb31f709
19 changed files with 371 additions and 125 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@getpaseo/protocol",
"version": "0.2.1",
"version": "0.2.2",
"description": "Paseo shared protocol schemas and wire types",
"files": [
"dist",