@stll/ai-catalog 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +18 -4
- package/dist/index.js +24 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ declare const MODEL_REASONING_EFFORTS: {
|
|
|
69
69
|
readonly "gpt-5.4-nano": readonly ["none", "low", "medium", "high", "xhigh"];
|
|
70
70
|
readonly "gpt-5.2": readonly ["none", "low", "medium", "high", "xhigh"];
|
|
71
71
|
readonly "claude-sonnet-5": readonly ["none", "low", "medium", "high", "xhigh", "max"];
|
|
72
|
+
readonly "claude-fable-5-1": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
72
73
|
readonly "claude-fable-5": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
73
74
|
readonly "claude-opus-5": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
74
75
|
readonly "claude-opus-4-8": readonly ["low", "medium", "high", "xhigh", "max"];
|
|
@@ -126,6 +127,7 @@ declare const MODEL_DEFAULT_REASONING_EFFORTS: {
|
|
|
126
127
|
readonly "gpt-5.4-nano": null;
|
|
127
128
|
readonly "gpt-5.2": null;
|
|
128
129
|
readonly "claude-sonnet-5": null;
|
|
130
|
+
readonly "claude-fable-5-1": null;
|
|
129
131
|
readonly "claude-fable-5": null;
|
|
130
132
|
readonly "claude-opus-5": null;
|
|
131
133
|
readonly "claude-opus-4-8": null;
|
|
@@ -183,6 +185,7 @@ declare const MODEL_TEMPERATURE_POLICIES: {
|
|
|
183
185
|
readonly "gpt-5.4-nano": "emit";
|
|
184
186
|
readonly "gpt-5.2": "emit";
|
|
185
187
|
readonly "claude-sonnet-5": "omit";
|
|
188
|
+
readonly "claude-fable-5-1": "omit";
|
|
186
189
|
readonly "claude-fable-5": "omit";
|
|
187
190
|
readonly "claude-opus-5": "omit";
|
|
188
191
|
readonly "claude-opus-4-8": "omit";
|
|
@@ -368,7 +371,7 @@ declare const DEFAULT_MODELS: {
|
|
|
368
371
|
*/
|
|
369
372
|
declare const BYOK_MODEL_OPTIONS: {
|
|
370
373
|
readonly google: readonly ["gemini-3.7-flash", "gemini-3.6-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview", "gemini-3.5-flash", "gemini-3.1-flash-lite"];
|
|
371
|
-
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-opus-4-7", "claude-sonnet-4-6", "claude-opus-4-6", "claude-haiku-4-5-20251001"];
|
|
374
|
+
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-opus-4-7", "claude-sonnet-4-6", "claude-opus-4-6", "claude-haiku-4-5-20251001"];
|
|
372
375
|
readonly openai: readonly ["gpt-5.6", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", "gpt-5.2"];
|
|
373
376
|
readonly openrouter: readonly ["openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.7-flash", "google/gemini-3.6-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-3.1-flash-lite", "anthropic/claude-sonnet-5", "anthropic/claude-opus-5", "anthropic/claude-opus-4.8", "anthropic/claude-sonnet-4.6", "openai/gpt-5.5", "openai/gpt-5.4-mini"];
|
|
374
377
|
readonly bedrock: readonly ["us.anthropic.claude-sonnet-4-5-20250929-v1:0", "us.anthropic.claude-haiku-4-5-20251001-v1:0", "us.amazon.nova-pro-v1:0", "us.amazon.nova-lite-v1:0", "us.amazon.nova-micro-v1:0", "openai.gpt-oss-120b-1:0", "openai.gpt-oss-20b-1:0", "us.deepseek.r1-v1:0"];
|
|
@@ -418,6 +421,10 @@ declare const MODEL_DISPLAY_METADATA: {
|
|
|
418
421
|
readonly displayName: "Claude Sonnet 5";
|
|
419
422
|
readonly iconProvider: "anthropic";
|
|
420
423
|
};
|
|
424
|
+
readonly "claude-fable-5-1": {
|
|
425
|
+
readonly displayName: "Claude Fable 5.1";
|
|
426
|
+
readonly iconProvider: "anthropic";
|
|
427
|
+
};
|
|
421
428
|
readonly "claude-fable-5": {
|
|
422
429
|
readonly displayName: "Claude Fable 5";
|
|
423
430
|
readonly iconProvider: "anthropic";
|
|
@@ -601,7 +608,7 @@ declare const BYOK_DOCUMENT_INPUT_MODEL_OPTIONS: {
|
|
|
601
608
|
readonly google: readonly ["gemini-3.7-flash", "gemini-3.6-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview", "gemini-3.5-flash", "gemini-3.1-flash-lite"];
|
|
602
609
|
readonly openrouter: readonly ["openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.7-flash", "google/gemini-3.6-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-3.1-flash-lite", "anthropic/claude-sonnet-5", "anthropic/claude-opus-5", "anthropic/claude-opus-4.8", "anthropic/claude-sonnet-4.6", "openai/gpt-5.5", "openai/gpt-5.4-mini"];
|
|
603
610
|
readonly openai: readonly ["gpt-5.6", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", "gpt-5.2"];
|
|
604
|
-
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-opus-4-7", "claude-sonnet-4-6", "claude-opus-4-6", "claude-haiku-4-5-20251001"];
|
|
611
|
+
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-opus-4-7", "claude-sonnet-4-6", "claude-opus-4-6", "claude-haiku-4-5-20251001"];
|
|
605
612
|
readonly bedrock: readonly ["us.anthropic.claude-sonnet-4-5-20250929-v1:0", "us.anthropic.claude-haiku-4-5-20251001-v1:0", "us.amazon.nova-pro-v1:0", "us.amazon.nova-lite-v1:0"];
|
|
606
613
|
readonly mistral: readonly [];
|
|
607
614
|
};
|
|
@@ -632,7 +639,7 @@ declare const CHAT_PDF_ATTACHMENT_MODEL_OPTIONS: {
|
|
|
632
639
|
readonly google: readonly ["gemini-3.7-flash", "gemini-3.6-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview", "gemini-3.5-flash", "gemini-3.1-flash-lite"];
|
|
633
640
|
readonly openrouter: readonly ["openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.7-flash", "google/gemini-3.6-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-3.1-flash-lite", "anthropic/claude-sonnet-5", "anthropic/claude-opus-5", "anthropic/claude-opus-4.8", "anthropic/claude-sonnet-4.6", "openai/gpt-5.5", "openai/gpt-5.4-mini"];
|
|
634
641
|
readonly openai: readonly ["gpt-5.6", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", "gpt-5.2"];
|
|
635
|
-
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-opus-4-7", "claude-sonnet-4-6", "claude-opus-4-6", "claude-haiku-4-5-20251001"];
|
|
642
|
+
readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-opus-4-7", "claude-sonnet-4-6", "claude-opus-4-6", "claude-haiku-4-5-20251001"];
|
|
636
643
|
readonly bedrock: readonly ["us.anthropic.claude-sonnet-4-5-20250929-v1:0", "us.anthropic.claude-haiku-4-5-20251001-v1:0", "us.amazon.nova-pro-v1:0", "us.amazon.nova-lite-v1:0"];
|
|
637
644
|
};
|
|
638
645
|
declare const isChatPdfAttachmentModelSupported: ({ provider, modelId }: {
|
|
@@ -664,7 +671,7 @@ declare const resolveWorkingBYOKModelForRole: ({ provider, modelId, role }: {
|
|
|
664
671
|
* legacy budget-based form, so every Opus 4.6+/Sonnet 4.6/Fable entry
|
|
665
672
|
* offered above must appear here or it will 400 on the reasoning role.
|
|
666
673
|
*/
|
|
667
|
-
declare const ANTHROPIC_ADAPTIVE_THINKING_MODELS: readonly ["claude-sonnet-5", "claude-opus-5", "claude-sonnet-4-6", "claude-opus-4-6", "claude-opus-4-7", "claude-opus-4-8", "claude-fable-5"];
|
|
674
|
+
declare const ANTHROPIC_ADAPTIVE_THINKING_MODELS: readonly ["claude-sonnet-5", "claude-opus-5", "claude-sonnet-4-6", "claude-opus-4-6", "claude-opus-4-7", "claude-opus-4-8", "claude-fable-5", "claude-fable-5-1"];
|
|
668
675
|
/**
|
|
669
676
|
* Canonical reasoning-effort ladder, ordered weakest to strongest.
|
|
670
677
|
* Union of every effort keyword the offered providers accept; no
|
|
@@ -1001,6 +1008,12 @@ declare const MODEL_RATES: {
|
|
|
1001
1008
|
readonly outputPerMTok: 5000000;
|
|
1002
1009
|
readonly cachedInputPerMTok: 100000;
|
|
1003
1010
|
};
|
|
1011
|
+
readonly "claude-fable-5-1": {
|
|
1012
|
+
readonly kind: "flat";
|
|
1013
|
+
readonly inputPerMTok: 1000000;
|
|
1014
|
+
readonly outputPerMTok: 5000000;
|
|
1015
|
+
readonly cachedInputPerMTok: 25000;
|
|
1016
|
+
};
|
|
1004
1017
|
readonly "mistral-small-latest": {
|
|
1005
1018
|
readonly kind: "flat";
|
|
1006
1019
|
readonly inputPerMTok: 15000;
|
|
@@ -1129,6 +1142,7 @@ declare const CONTEXT_WINDOW_TOKENS: {
|
|
|
1129
1142
|
readonly "claude-opus-4-8": 200000;
|
|
1130
1143
|
readonly "claude-opus-5": 1000000;
|
|
1131
1144
|
readonly "claude-fable-5": 200000;
|
|
1145
|
+
readonly "claude-fable-5-1": 1000000;
|
|
1132
1146
|
readonly "mistral-small-latest": 128000;
|
|
1133
1147
|
readonly "mistral-large-latest": 128000;
|
|
1134
1148
|
readonly "mistral-medium-latest": 128000;
|
package/dist/index.js
CHANGED
|
@@ -41,6 +41,7 @@ const MODEL_DOCUMENT_INPUT_OPTIONS = {
|
|
|
41
41
|
],
|
|
42
42
|
anthropic: [
|
|
43
43
|
"claude-sonnet-5",
|
|
44
|
+
"claude-fable-5-1",
|
|
44
45
|
"claude-fable-5",
|
|
45
46
|
"claude-opus-5",
|
|
46
47
|
"claude-opus-4-8",
|
|
@@ -261,6 +262,13 @@ const MODEL_REASONING_EFFORTS = {
|
|
|
261
262
|
"xhigh",
|
|
262
263
|
"max"
|
|
263
264
|
],
|
|
265
|
+
"claude-fable-5-1": [
|
|
266
|
+
"low",
|
|
267
|
+
"medium",
|
|
268
|
+
"high",
|
|
269
|
+
"xhigh",
|
|
270
|
+
"max"
|
|
271
|
+
],
|
|
264
272
|
"claude-fable-5": [
|
|
265
273
|
"low",
|
|
266
274
|
"medium",
|
|
@@ -360,6 +368,7 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
|
|
|
360
368
|
"gpt-5.4-nano": null,
|
|
361
369
|
"gpt-5.2": null,
|
|
362
370
|
"claude-sonnet-5": null,
|
|
371
|
+
"claude-fable-5-1": null,
|
|
363
372
|
"claude-fable-5": null,
|
|
364
373
|
"claude-opus-5": null,
|
|
365
374
|
"claude-opus-4-8": null,
|
|
@@ -417,6 +426,7 @@ const MODEL_TEMPERATURE_POLICIES = {
|
|
|
417
426
|
"gpt-5.4-nano": "emit",
|
|
418
427
|
"gpt-5.2": "emit",
|
|
419
428
|
"claude-sonnet-5": "omit",
|
|
429
|
+
"claude-fable-5-1": "omit",
|
|
420
430
|
"claude-fable-5": "omit",
|
|
421
431
|
"claude-opus-5": "omit",
|
|
422
432
|
"claude-opus-4-8": "omit",
|
|
@@ -652,6 +662,7 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
652
662
|
],
|
|
653
663
|
anthropic: [
|
|
654
664
|
"claude-sonnet-5",
|
|
665
|
+
"claude-fable-5-1",
|
|
655
666
|
"claude-fable-5",
|
|
656
667
|
"claude-opus-5",
|
|
657
668
|
"claude-opus-4-8",
|
|
@@ -740,6 +751,10 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
740
751
|
displayName: "Claude Sonnet 5",
|
|
741
752
|
iconProvider: "anthropic"
|
|
742
753
|
},
|
|
754
|
+
"claude-fable-5-1": {
|
|
755
|
+
displayName: "Claude Fable 5.1",
|
|
756
|
+
iconProvider: "anthropic"
|
|
757
|
+
},
|
|
743
758
|
"claude-fable-5": {
|
|
744
759
|
displayName: "Claude Fable 5",
|
|
745
760
|
iconProvider: "anthropic"
|
|
@@ -1005,7 +1020,8 @@ const ANTHROPIC_ADAPTIVE_THINKING_MODELS = [
|
|
|
1005
1020
|
"claude-opus-4-6",
|
|
1006
1021
|
"claude-opus-4-7",
|
|
1007
1022
|
"claude-opus-4-8",
|
|
1008
|
-
"claude-fable-5"
|
|
1023
|
+
"claude-fable-5",
|
|
1024
|
+
"claude-fable-5-1"
|
|
1009
1025
|
];
|
|
1010
1026
|
/**
|
|
1011
1027
|
* Canonical reasoning-effort ladder, ordered weakest to strongest.
|
|
@@ -1321,6 +1337,12 @@ const MODEL_RATES = {
|
|
|
1321
1337
|
outputPerMTok: 5e6,
|
|
1322
1338
|
cachedInputPerMTok: 1e5
|
|
1323
1339
|
},
|
|
1340
|
+
"claude-fable-5-1": {
|
|
1341
|
+
kind: "flat",
|
|
1342
|
+
inputPerMTok: 1e6,
|
|
1343
|
+
outputPerMTok: 5e6,
|
|
1344
|
+
cachedInputPerMTok: 25e3
|
|
1345
|
+
},
|
|
1324
1346
|
"mistral-small-latest": {
|
|
1325
1347
|
kind: "flat",
|
|
1326
1348
|
inputPerMTok: 15e3,
|
|
@@ -1457,6 +1479,7 @@ const CONTEXT_WINDOW_TOKENS = {
|
|
|
1457
1479
|
"claude-opus-4-8": 2e5,
|
|
1458
1480
|
"claude-opus-5": 1e6,
|
|
1459
1481
|
"claude-fable-5": 2e5,
|
|
1482
|
+
"claude-fable-5-1": 1e6,
|
|
1460
1483
|
"mistral-small-latest": 128e3,
|
|
1461
1484
|
"mistral-large-latest": 128e3,
|
|
1462
1485
|
"mistral-medium-latest": 128e3,
|