@stll/ai-catalog 0.1.5 → 0.1.6

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 CHANGED
@@ -40,6 +40,7 @@ declare const DOCUMENT_INPUT_OVERRIDES: Partial<Record<OfferedBYOKModelId, Docum
40
40
  * through `resolveReasoningEffort`.
41
41
  */
42
42
  declare const MODEL_REASONING_EFFORTS: {
43
+ readonly "gemini-3.8-flash": readonly ["low", "medium", "high"];
43
44
  readonly "gemini-3.7-flash": readonly ["low", "medium", "high"];
44
45
  readonly "gemini-3.6-flash": readonly ["minimal", "low", "medium", "high"];
45
46
  readonly "gemini-3.5-flash-lite": readonly ["minimal", "low", "medium", "high"];
@@ -48,6 +49,7 @@ declare const MODEL_REASONING_EFFORTS: {
48
49
  readonly "gemini-3.1-flash-lite": readonly ["minimal", "low", "medium", "high"];
49
50
  readonly "openai/gpt-5.6-luna": readonly ["none", "low", "medium", "high", "xhigh", "max"];
50
51
  readonly "openai/gpt-5.6-terra": readonly ["none", "low", "medium", "high", "xhigh", "max"];
52
+ readonly "google/gemini-3.8-flash": readonly ["low", "medium", "high"];
51
53
  readonly "google/gemini-3.7-flash": readonly ["low", "medium", "high"];
52
54
  readonly "google/gemini-3.6-flash": readonly ["minimal", "low", "medium", "high"];
53
55
  readonly "google/gemini-3.5-flash-lite": readonly ["minimal", "low", "medium", "high"];
@@ -98,6 +100,7 @@ declare const MODEL_REASONING_EFFORTS: {
98
100
  * a truthful named default, so clients must retain a separate Default choice.
99
101
  */
100
102
  declare const MODEL_DEFAULT_REASONING_EFFORTS: {
103
+ readonly "gemini-3.8-flash": null;
101
104
  readonly "gemini-3.7-flash": null;
102
105
  readonly "gemini-3.6-flash": null;
103
106
  readonly "gemini-3.5-flash-lite": null;
@@ -106,6 +109,7 @@ declare const MODEL_DEFAULT_REASONING_EFFORTS: {
106
109
  readonly "gemini-3.1-flash-lite": null;
107
110
  readonly "openai/gpt-5.6-luna": "medium";
108
111
  readonly "openai/gpt-5.6-terra": "medium";
112
+ readonly "google/gemini-3.8-flash": "medium";
109
113
  readonly "google/gemini-3.7-flash": "medium";
110
114
  readonly "google/gemini-3.6-flash": "medium";
111
115
  readonly "google/gemini-3.5-flash-lite": "minimal";
@@ -156,6 +160,7 @@ declare const MODEL_DEFAULT_REASONING_EFFORTS: {
156
160
  * parameters. Consumers must go through `shouldEmitTemperature`.
157
161
  */
158
162
  declare const MODEL_TEMPERATURE_POLICIES: {
163
+ readonly "gemini-3.8-flash": "omit";
159
164
  readonly "gemini-3.7-flash": "omit";
160
165
  readonly "gemini-3.6-flash": "omit";
161
166
  readonly "gemini-3.5-flash-lite": "omit";
@@ -164,6 +169,7 @@ declare const MODEL_TEMPERATURE_POLICIES: {
164
169
  readonly "gemini-3.1-flash-lite": "emit";
165
170
  readonly "openai/gpt-5.6-luna": "omit";
166
171
  readonly "openai/gpt-5.6-terra": "omit";
172
+ readonly "google/gemini-3.8-flash": "omit";
167
173
  readonly "google/gemini-3.7-flash": "omit";
168
174
  readonly "google/gemini-3.6-flash": "omit";
169
175
  readonly "google/gemini-3.5-flash-lite": "omit";
@@ -370,10 +376,10 @@ declare const DEFAULT_MODELS: {
370
376
  * not accepted at this boundary.
371
377
  */
372
378
  declare const BYOK_MODEL_OPTIONS: {
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"];
379
+ readonly google: readonly ["gemini-3.8-flash", "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"];
374
380
  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"];
375
381
  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"];
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"];
382
+ readonly openrouter: readonly ["openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.8-flash", "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"];
377
383
  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"];
378
384
  readonly mistral: readonly ["mistral-large-latest", "mistral-medium-latest", "mistral-small-latest", "magistral-medium-latest", "magistral-small", "pixtral-large-latest"];
379
385
  };
@@ -393,6 +399,10 @@ type ModelDisplayMetadata = {
393
399
  * creator's icon while their routing provider remains available separately.
394
400
  */
395
401
  declare const MODEL_DISPLAY_METADATA: {
402
+ readonly "gemini-3.8-flash": {
403
+ readonly displayName: "Gemini 3.8 Flash";
404
+ readonly iconProvider: "google";
405
+ };
396
406
  readonly "gemini-3.7-flash": {
397
407
  readonly displayName: "Gemini 3.7 Flash";
398
408
  readonly iconProvider: "google";
@@ -493,6 +503,10 @@ declare const MODEL_DISPLAY_METADATA: {
493
503
  readonly displayName: "GPT-5.6 Terra";
494
504
  readonly iconProvider: "openai";
495
505
  };
506
+ readonly "google/gemini-3.8-flash": {
507
+ readonly displayName: "Gemini 3.8 Flash";
508
+ readonly iconProvider: "google";
509
+ };
496
510
  readonly "google/gemini-3.7-flash": {
497
511
  readonly displayName: "Gemini 3.7 Flash";
498
512
  readonly iconProvider: "google";
@@ -605,8 +619,8 @@ declare const getModelDisplayMetadata: (modelId: string) => ModelDisplayMetadata
605
619
  * the nightly upstream check rejects drift.
606
620
  */
607
621
  declare const BYOK_DOCUMENT_INPUT_MODEL_OPTIONS: {
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"];
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"];
622
+ readonly google: readonly ["gemini-3.8-flash", "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"];
623
+ readonly openrouter: readonly ["openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.8-flash", "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"];
610
624
  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"];
611
625
  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"];
612
626
  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"];
@@ -636,8 +650,8 @@ declare const isBYOKModelRoleSupported: ({ provider, modelId, role }: {
636
650
  */
637
651
  declare const CHAT_PDF_ATTACHMENT_MODEL_OPTIONS: {
638
652
  readonly mistral: readonly ["mistral-medium-latest", "mistral-small-latest", "pixtral-large-latest"];
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"];
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"];
653
+ readonly google: readonly ["gemini-3.8-flash", "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"];
654
+ readonly openrouter: readonly ["openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "google/gemini-3.8-flash", "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"];
641
655
  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"];
642
656
  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"];
643
657
  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"];
@@ -846,6 +860,12 @@ declare const MODEL_RATES: {
846
860
  readonly outputPerMTok: 375000;
847
861
  readonly cachedInputPerMTok: 7500;
848
862
  };
863
+ readonly "gemini-3.8-flash": {
864
+ readonly kind: "flat";
865
+ readonly inputPerMTok: 75000;
866
+ readonly outputPerMTok: 375000;
867
+ readonly cachedInputPerMTok: 7500;
868
+ };
849
869
  readonly "gemini-3.1-pro-preview": {
850
870
  readonly kind: "input-token-tiered";
851
871
  readonly inputTokenThreshold: 200000;
@@ -1123,6 +1143,7 @@ declare const CONTEXT_WINDOW_TOKENS: {
1123
1143
  readonly "gemini-3.5-flash-lite": 1048576;
1124
1144
  readonly "gemini-3.6-flash": 1048576;
1125
1145
  readonly "gemini-3.7-flash": 1048576;
1146
+ readonly "gemini-3.8-flash": 1048576;
1126
1147
  readonly "gemini-3.1-pro-preview": 1048576;
1127
1148
  readonly "gpt-4o-mini": 128000;
1128
1149
  readonly "gpt-4o": 128000;
@@ -1151,6 +1172,7 @@ declare const CONTEXT_WINDOW_TOKENS: {
1151
1172
  readonly "magistral-small-latest": 128000;
1152
1173
  readonly "magistral-small": 128000;
1153
1174
  readonly "pixtral-large-latest": 128000;
1175
+ readonly "google/gemini-3.8-flash": 1048576;
1154
1176
  readonly "google/gemini-3.7-flash": 1048576;
1155
1177
  readonly "google/gemini-3.6-flash": 1048576;
1156
1178
  readonly "google/gemini-3.5-flash-lite": 1048576;
package/dist/index.js CHANGED
@@ -6,6 +6,7 @@ import * as v from "valibot";
6
6
  */
7
7
  const MODEL_DOCUMENT_INPUT_OPTIONS = {
8
8
  google: [
9
+ "gemini-3.8-flash",
9
10
  "gemini-3.7-flash",
10
11
  "gemini-3.6-flash",
11
12
  "gemini-3.5-flash-lite",
@@ -16,6 +17,7 @@ const MODEL_DOCUMENT_INPUT_OPTIONS = {
16
17
  openrouter: [
17
18
  "openai/gpt-5.6-luna",
18
19
  "openai/gpt-5.6-terra",
20
+ "google/gemini-3.8-flash",
19
21
  "google/gemini-3.7-flash",
20
22
  "google/gemini-3.6-flash",
21
23
  "google/gemini-3.5-flash-lite",
@@ -65,6 +67,11 @@ const MODEL_DOCUMENT_INPUT_OPTIONS = {
65
67
  * through `resolveReasoningEffort`.
66
68
  */
67
69
  const MODEL_REASONING_EFFORTS = {
70
+ "gemini-3.8-flash": [
71
+ "low",
72
+ "medium",
73
+ "high"
74
+ ],
68
75
  "gemini-3.7-flash": [
69
76
  "low",
70
77
  "medium",
@@ -115,6 +122,11 @@ const MODEL_REASONING_EFFORTS = {
115
122
  "xhigh",
116
123
  "max"
117
124
  ],
125
+ "google/gemini-3.8-flash": [
126
+ "low",
127
+ "medium",
128
+ "high"
129
+ ],
118
130
  "google/gemini-3.7-flash": [
119
131
  "low",
120
132
  "medium",
@@ -339,6 +351,7 @@ const MODEL_REASONING_EFFORTS = {
339
351
  * a truthful named default, so clients must retain a separate Default choice.
340
352
  */
341
353
  const MODEL_DEFAULT_REASONING_EFFORTS = {
354
+ "gemini-3.8-flash": null,
342
355
  "gemini-3.7-flash": null,
343
356
  "gemini-3.6-flash": null,
344
357
  "gemini-3.5-flash-lite": null,
@@ -347,6 +360,7 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
347
360
  "gemini-3.1-flash-lite": null,
348
361
  "openai/gpt-5.6-luna": "medium",
349
362
  "openai/gpt-5.6-terra": "medium",
363
+ "google/gemini-3.8-flash": "medium",
350
364
  "google/gemini-3.7-flash": "medium",
351
365
  "google/gemini-3.6-flash": "medium",
352
366
  "google/gemini-3.5-flash-lite": "minimal",
@@ -397,6 +411,7 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
397
411
  * parameters. Consumers must go through `shouldEmitTemperature`.
398
412
  */
399
413
  const MODEL_TEMPERATURE_POLICIES = {
414
+ "gemini-3.8-flash": "omit",
400
415
  "gemini-3.7-flash": "omit",
401
416
  "gemini-3.6-flash": "omit",
402
417
  "gemini-3.5-flash-lite": "omit",
@@ -405,6 +420,7 @@ const MODEL_TEMPERATURE_POLICIES = {
405
420
  "gemini-3.1-flash-lite": "emit",
406
421
  "openai/gpt-5.6-luna": "omit",
407
422
  "openai/gpt-5.6-terra": "omit",
423
+ "google/gemini-3.8-flash": "omit",
408
424
  "google/gemini-3.7-flash": "omit",
409
425
  "google/gemini-3.6-flash": "omit",
410
426
  "google/gemini-3.5-flash-lite": "omit",
@@ -653,6 +669,7 @@ const DEFAULT_MODELS = {
653
669
  */
654
670
  const BYOK_MODEL_OPTIONS = {
655
671
  google: [
672
+ "gemini-3.8-flash",
656
673
  "gemini-3.7-flash",
657
674
  "gemini-3.6-flash",
658
675
  "gemini-3.5-flash-lite",
@@ -684,6 +701,7 @@ const BYOK_MODEL_OPTIONS = {
684
701
  openrouter: [
685
702
  "openai/gpt-5.6-luna",
686
703
  "openai/gpt-5.6-terra",
704
+ "google/gemini-3.8-flash",
687
705
  "google/gemini-3.7-flash",
688
706
  "google/gemini-3.6-flash",
689
707
  "google/gemini-3.5-flash-lite",
@@ -723,6 +741,10 @@ const BYOK_MODEL_OPTIONS = {
723
741
  * creator's icon while their routing provider remains available separately.
724
742
  */
725
743
  const MODEL_DISPLAY_METADATA = {
744
+ "gemini-3.8-flash": {
745
+ displayName: "Gemini 3.8 Flash",
746
+ iconProvider: "google"
747
+ },
726
748
  "gemini-3.7-flash": {
727
749
  displayName: "Gemini 3.7 Flash",
728
750
  iconProvider: "google"
@@ -823,6 +845,10 @@ const MODEL_DISPLAY_METADATA = {
823
845
  displayName: "GPT-5.6 Terra",
824
846
  iconProvider: "openai"
825
847
  },
848
+ "google/gemini-3.8-flash": {
849
+ displayName: "Gemini 3.8 Flash",
850
+ iconProvider: "google"
851
+ },
826
852
  "google/gemini-3.7-flash": {
827
853
  displayName: "Gemini 3.7 Flash",
828
854
  iconProvider: "google"
@@ -1175,6 +1201,12 @@ const MODEL_RATES = {
1175
1201
  outputPerMTok: 375e3,
1176
1202
  cachedInputPerMTok: 7500
1177
1203
  },
1204
+ "gemini-3.8-flash": {
1205
+ kind: "flat",
1206
+ inputPerMTok: 75e3,
1207
+ outputPerMTok: 375e3,
1208
+ cachedInputPerMTok: 7500
1209
+ },
1178
1210
  "gemini-3.1-pro-preview": {
1179
1211
  kind: "input-token-tiered",
1180
1212
  inputTokenThreshold: 2e5,
@@ -1460,6 +1492,7 @@ const CONTEXT_WINDOW_TOKENS = {
1460
1492
  "gemini-3.5-flash-lite": 1048576,
1461
1493
  "gemini-3.6-flash": 1048576,
1462
1494
  "gemini-3.7-flash": 1048576,
1495
+ "gemini-3.8-flash": 1048576,
1463
1496
  "gemini-3.1-pro-preview": 1048576,
1464
1497
  "gpt-4o-mini": 128e3,
1465
1498
  "gpt-4o": 128e3,
@@ -1488,6 +1521,7 @@ const CONTEXT_WINDOW_TOKENS = {
1488
1521
  "magistral-small-latest": 128e3,
1489
1522
  "magistral-small": 128e3,
1490
1523
  "pixtral-large-latest": 128e3,
1524
+ "google/gemini-3.8-flash": 1048576,
1491
1525
  "google/gemini-3.7-flash": 1048576,
1492
1526
  "google/gemini-3.6-flash": 1048576,
1493
1527
  "google/gemini-3.5-flash-lite": 1048576,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/ai-catalog",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Provider-neutral AI model roles, capabilities, and curated model metadata.",
5
5
  "keywords": [
6
6
  "ai",