@stll/ai-catalog 0.2.1 → 0.3.0

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
@@ -349,11 +349,6 @@ export declare const MODEL_RATES: {
349
349
  readonly inputPerMTok: 7000;
350
350
  readonly outputPerMTok: 30000;
351
351
  };
352
- readonly "us.deepseek.r1-v1:0": {
353
- readonly kind: "flat";
354
- readonly inputPerMTok: 135000;
355
- readonly outputPerMTok: 540000;
356
- };
357
352
  readonly "mistral-large-latest": {
358
353
  readonly kind: "flat";
359
354
  readonly inputPerMTok: 50000;
@@ -401,6 +396,11 @@ export declare const MODEL_RATES: {
401
396
  readonly outputPerMTok: 1000000;
402
397
  readonly cachedInputPerMTok: 125000;
403
398
  };
399
+ readonly "us.deepseek.r1-v1:0": {
400
+ readonly kind: "flat";
401
+ readonly inputPerMTok: 135000;
402
+ readonly outputPerMTok: 540000;
403
+ };
404
404
  };
405
405
  //#endregion
406
406
  //#region src/model-rate-policy.d.ts
@@ -434,6 +434,10 @@ export declare const RETAINED_MODELS_DEV_RATE_ENTRIES: {
434
434
  readonly modelId: "gpt-4o";
435
435
  readonly provider: "openai";
436
436
  };
437
+ readonly "us.deepseek.r1-v1:0": {
438
+ readonly modelId: "us.deepseek.r1-v1:0";
439
+ readonly provider: "amazon-bedrock";
440
+ };
437
441
  };
438
442
  /**
439
443
  * Exact mappings where Stella uses a provider routing ID while models.dev
@@ -456,7 +460,14 @@ type CapabilityOverride = {
456
460
  documentInput: boolean;
457
461
  documentInputReason: string;
458
462
  reasoningEfforts: readonly ReasoningEffort[] | null;
463
+ /** The most output tokens one response may carry, from the provider docs. */
464
+ outputTokens: number;
459
465
  temperatureSupported: boolean;
466
+ /**
467
+ * Every role sends tool definitions or structured output, so an
468
+ * offered model must accept tools.
469
+ */
470
+ toolCalling: true;
460
471
  /** Why the upstream source cannot answer for this model. Dated. */
461
472
  reason: string;
462
473
  };
@@ -538,7 +549,6 @@ export declare const MODEL_REASONING_EFFORTS: {
538
549
  readonly "us.amazon.nova-micro-v1:0": null;
539
550
  readonly "openai.gpt-oss-120b-1:0": readonly ["low", "medium", "high"];
540
551
  readonly "openai.gpt-oss-20b-1:0": readonly ["low", "medium", "high"];
541
- readonly "us.deepseek.r1-v1:0": null;
542
552
  readonly "mistral-large-latest": null;
543
553
  readonly "mistral-medium-latest": readonly ["none", "high"];
544
554
  readonly "mistral-small-latest": readonly ["none", "high"];
@@ -603,7 +613,6 @@ export declare const MODEL_DEFAULT_REASONING_EFFORTS: {
603
613
  readonly "us.amazon.nova-micro-v1:0": null;
604
614
  readonly "openai.gpt-oss-120b-1:0": null;
605
615
  readonly "openai.gpt-oss-20b-1:0": null;
606
- readonly "us.deepseek.r1-v1:0": null;
607
616
  readonly "mistral-large-latest": null;
608
617
  readonly "mistral-medium-latest": null;
609
618
  readonly "mistral-small-latest": null;
@@ -668,11 +677,74 @@ export declare const MODEL_TEMPERATURE_POLICIES: {
668
677
  readonly "us.amazon.nova-micro-v1:0": "emit";
669
678
  readonly "openai.gpt-oss-120b-1:0": "emit";
670
679
  readonly "openai.gpt-oss-20b-1:0": "emit";
671
- readonly "us.deepseek.r1-v1:0": "emit";
672
680
  readonly "mistral-large-latest": "emit";
673
681
  readonly "mistral-medium-latest": "emit";
674
682
  readonly "mistral-small-latest": "emit";
675
683
  };
684
+ /**
685
+ * The most output tokens one response of each offered model may carry
686
+ * (models.dev `limit.output`). Consumers must go through
687
+ * `getOutputTokenLimit`.
688
+ */
689
+ export declare const MODEL_OUTPUT_TOKEN_LIMITS: {
690
+ readonly "gemini-3.8-flash": 65536;
691
+ readonly "gemini-3.7-flash": 65536;
692
+ readonly "gemini-3.6-flash": 65536;
693
+ readonly "gemini-3.5-flash-lite": 65536;
694
+ readonly "gemini-3.1-pro-preview": 65536;
695
+ readonly "gemini-3.5-flash": 65536;
696
+ readonly "gemini-3.1-flash-lite": 65536;
697
+ readonly "openai/gpt-6-astra": 128000;
698
+ readonly "openai/gpt-6-sol": 128000;
699
+ readonly "openai/gpt-6-luna": 128000;
700
+ readonly "openai/gpt-5.6-sol": 128000;
701
+ readonly "openai/gpt-5.6-terra": 128000;
702
+ readonly "openai/gpt-5.6-luna": 128000;
703
+ readonly "google/gemini-3.8-flash": 65536;
704
+ readonly "google/gemini-3.7-flash": 65536;
705
+ readonly "google/gemini-3.6-flash": 65536;
706
+ readonly "google/gemini-3.5-flash-lite": 65536;
707
+ readonly "google/gemini-3.1-pro-preview": 65536;
708
+ readonly "google/gemini-3.5-flash": 65536;
709
+ readonly "google/gemini-3.1-flash-lite": 65536;
710
+ readonly "anthropic/claude-sonnet-5": 128000;
711
+ readonly "anthropic/claude-opus-5": 128000;
712
+ readonly "anthropic/claude-opus-4.8": 128000;
713
+ readonly "anthropic/claude-sonnet-4.6": 128000;
714
+ readonly "openai/gpt-5.5": 128000;
715
+ readonly "openai/gpt-5.4-mini": 128000;
716
+ readonly "gpt-6-astra": 128000;
717
+ readonly "gpt-6-sol": 128000;
718
+ readonly "gpt-6-luna": 128000;
719
+ readonly "gpt-5.6": 128000;
720
+ readonly "gpt-5.6-terra": 128000;
721
+ readonly "gpt-5.6-luna": 128000;
722
+ readonly "gpt-5.5": 128000;
723
+ readonly "gpt-5.4": 128000;
724
+ readonly "gpt-5.4-mini": 128000;
725
+ readonly "gpt-5.4-nano": 128000;
726
+ readonly "gpt-5.2": 128000;
727
+ readonly "claude-sonnet-5": 128000;
728
+ readonly "claude-fable-5-1": 128000;
729
+ readonly "claude-fable-5": 128000;
730
+ readonly "claude-opus-5-5": 128000;
731
+ readonly "claude-opus-5": 128000;
732
+ readonly "claude-opus-4-8": 128000;
733
+ readonly "claude-opus-4-7": 128000;
734
+ readonly "claude-sonnet-4-6": 128000;
735
+ readonly "claude-opus-4-6": 128000;
736
+ readonly "claude-haiku-4-5-20251001": 64000;
737
+ readonly "us.anthropic.claude-sonnet-4-5-20250929-v1:0": 64000;
738
+ readonly "us.anthropic.claude-haiku-4-5-20251001-v1:0": 64000;
739
+ readonly "us.amazon.nova-pro-v1:0": 10000;
740
+ readonly "us.amazon.nova-lite-v1:0": 10000;
741
+ readonly "us.amazon.nova-micro-v1:0": 10000;
742
+ readonly "openai.gpt-oss-120b-1:0": 128000;
743
+ readonly "openai.gpt-oss-20b-1:0": 128000;
744
+ readonly "mistral-large-latest": 262144;
745
+ readonly "mistral-medium-latest": 262144;
746
+ readonly "mistral-small-latest": 256000;
747
+ };
676
748
  //#endregion
677
749
  //#region src/index.d.ts
678
750
  /**
@@ -841,7 +913,7 @@ export declare const BYOK_MODEL_OPTIONS: {
841
913
  readonly anthropic: readonly ["claude-sonnet-5", "claude-fable-5-1", "claude-fable-5", "claude-opus-5-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"];
842
914
  readonly openai: readonly [...("gpt-6-astra" | "gpt-6-sol" | "gpt-6-luna" | "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"];
843
915
  readonly openrouter: readonly [...("openai/gpt-6-astra" | "openai/gpt-6-sol" | "openai/gpt-6-luna" | "openai/gpt-5.6-sol" | "openai/gpt-5.6-terra" | "openai/gpt-5.6-luna")[], "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"];
844
- 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"];
916
+ 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"];
845
917
  readonly mistral: readonly ["mistral-large-latest", "mistral-medium-latest", "mistral-small-latest"];
846
918
  };
847
919
  export type BYOKProvider = keyof typeof BYOK_MODEL_OPTIONS;
@@ -1076,10 +1148,6 @@ export declare const MODEL_DISPLAY_METADATA: {
1076
1148
  readonly displayName: "GPT OSS 20B";
1077
1149
  readonly iconProvider: "openai";
1078
1150
  };
1079
- readonly "us.deepseek.r1-v1:0": {
1080
- readonly displayName: "DeepSeek R1";
1081
- readonly iconProvider: "bedrock";
1082
- };
1083
1151
  readonly "mistral-large-latest": {
1084
1152
  readonly displayName: "Mistral Large";
1085
1153
  readonly iconProvider: "mistral";
@@ -1222,6 +1290,14 @@ export declare const normalizeModelCatalogId: (modelId: string) => string;
1222
1290
  * a runtime string.
1223
1291
  */
1224
1292
  export declare const shouldEmitTemperature: (modelId: string) => boolean;
1293
+ /**
1294
+ * The most output tokens one response of `modelId` may carry, from the
1295
+ * catalog. `undefined` for an id the catalog does not list (a deployment
1296
+ * override, a dev model): the catalog knows nothing about it, so callers leave
1297
+ * the allowance to the provider rather than guess one. Callers must never
1298
+ * index `MODEL_OUTPUT_TOKEN_LIMITS` directly with a runtime string.
1299
+ */
1300
+ export declare const getOutputTokenLimit: (modelId: string) => number | undefined;
1225
1301
  /**
1226
1302
  * Whether a model accepts tool use on a streaming request.
1227
1303
  *
@@ -1289,7 +1365,6 @@ export declare const MODEL_STREAMING_TOOL_USE: {
1289
1365
  readonly "us.amazon.nova-micro-v1:0": "supported";
1290
1366
  readonly "openai.gpt-oss-120b-1:0": "supported";
1291
1367
  readonly "openai.gpt-oss-20b-1:0": "supported";
1292
- readonly "us.deepseek.r1-v1:0": "unsupported";
1293
1368
  readonly "mistral-large-latest": "supported";
1294
1369
  readonly "mistral-medium-latest": "supported";
1295
1370
  readonly "mistral-small-latest": "supported";
package/dist/index.js CHANGED
@@ -406,7 +406,6 @@ const MODEL_REASONING_EFFORTS = {
406
406
  "medium",
407
407
  "high"
408
408
  ],
409
- "us.deepseek.r1-v1:0": null,
410
409
  "mistral-large-latest": null,
411
410
  "mistral-medium-latest": ["none", "high"],
412
411
  "mistral-small-latest": ["none", "high"]
@@ -471,7 +470,6 @@ const MODEL_DEFAULT_REASONING_EFFORTS = {
471
470
  "us.amazon.nova-micro-v1:0": null,
472
471
  "openai.gpt-oss-120b-1:0": null,
473
472
  "openai.gpt-oss-20b-1:0": null,
474
- "us.deepseek.r1-v1:0": null,
475
473
  "mistral-large-latest": null,
476
474
  "mistral-medium-latest": null,
477
475
  "mistral-small-latest": null
@@ -536,11 +534,74 @@ const MODEL_TEMPERATURE_POLICIES = {
536
534
  "us.amazon.nova-micro-v1:0": "emit",
537
535
  "openai.gpt-oss-120b-1:0": "emit",
538
536
  "openai.gpt-oss-20b-1:0": "emit",
539
- "us.deepseek.r1-v1:0": "emit",
540
537
  "mistral-large-latest": "emit",
541
538
  "mistral-medium-latest": "emit",
542
539
  "mistral-small-latest": "emit"
543
540
  };
541
+ /**
542
+ * The most output tokens one response of each offered model may carry
543
+ * (models.dev `limit.output`). Consumers must go through
544
+ * `getOutputTokenLimit`.
545
+ */
546
+ const MODEL_OUTPUT_TOKEN_LIMITS = {
547
+ "gemini-3.8-flash": 65536,
548
+ "gemini-3.7-flash": 65536,
549
+ "gemini-3.6-flash": 65536,
550
+ "gemini-3.5-flash-lite": 65536,
551
+ "gemini-3.1-pro-preview": 65536,
552
+ "gemini-3.5-flash": 65536,
553
+ "gemini-3.1-flash-lite": 65536,
554
+ "openai/gpt-6-astra": 128e3,
555
+ "openai/gpt-6-sol": 128e3,
556
+ "openai/gpt-6-luna": 128e3,
557
+ "openai/gpt-5.6-sol": 128e3,
558
+ "openai/gpt-5.6-terra": 128e3,
559
+ "openai/gpt-5.6-luna": 128e3,
560
+ "google/gemini-3.8-flash": 65536,
561
+ "google/gemini-3.7-flash": 65536,
562
+ "google/gemini-3.6-flash": 65536,
563
+ "google/gemini-3.5-flash-lite": 65536,
564
+ "google/gemini-3.1-pro-preview": 65536,
565
+ "google/gemini-3.5-flash": 65536,
566
+ "google/gemini-3.1-flash-lite": 65536,
567
+ "anthropic/claude-sonnet-5": 128e3,
568
+ "anthropic/claude-opus-5": 128e3,
569
+ "anthropic/claude-opus-4.8": 128e3,
570
+ "anthropic/claude-sonnet-4.6": 128e3,
571
+ "openai/gpt-5.5": 128e3,
572
+ "openai/gpt-5.4-mini": 128e3,
573
+ "gpt-6-astra": 128e3,
574
+ "gpt-6-sol": 128e3,
575
+ "gpt-6-luna": 128e3,
576
+ "gpt-5.6": 128e3,
577
+ "gpt-5.6-terra": 128e3,
578
+ "gpt-5.6-luna": 128e3,
579
+ "gpt-5.5": 128e3,
580
+ "gpt-5.4": 128e3,
581
+ "gpt-5.4-mini": 128e3,
582
+ "gpt-5.4-nano": 128e3,
583
+ "gpt-5.2": 128e3,
584
+ "claude-sonnet-5": 128e3,
585
+ "claude-fable-5-1": 128e3,
586
+ "claude-fable-5": 128e3,
587
+ "claude-opus-5-5": 128e3,
588
+ "claude-opus-5": 128e3,
589
+ "claude-opus-4-8": 128e3,
590
+ "claude-opus-4-7": 128e3,
591
+ "claude-sonnet-4-6": 128e3,
592
+ "claude-opus-4-6": 128e3,
593
+ "claude-haiku-4-5-20251001": 64e3,
594
+ "us.anthropic.claude-sonnet-4-5-20250929-v1:0": 64e3,
595
+ "us.anthropic.claude-haiku-4-5-20251001-v1:0": 64e3,
596
+ "us.amazon.nova-pro-v1:0": 1e4,
597
+ "us.amazon.nova-lite-v1:0": 1e4,
598
+ "us.amazon.nova-micro-v1:0": 1e4,
599
+ "openai.gpt-oss-120b-1:0": 128e3,
600
+ "openai.gpt-oss-20b-1:0": 128e3,
601
+ "mistral-large-latest": 262144,
602
+ "mistral-medium-latest": 262144,
603
+ "mistral-small-latest": 256e3
604
+ };
544
605
  //#endregion
545
606
  //#region src/model-rates.gen.ts
546
607
  const MODEL_RATES = {
@@ -851,11 +912,6 @@ const MODEL_RATES = {
851
912
  inputPerMTok: 7e3,
852
913
  outputPerMTok: 3e4
853
914
  },
854
- "us.deepseek.r1-v1:0": {
855
- kind: "flat",
856
- inputPerMTok: 135e3,
857
- outputPerMTok: 54e4
858
- },
859
915
  "mistral-large-latest": {
860
916
  kind: "flat",
861
917
  inputPerMTok: 5e4,
@@ -902,6 +958,11 @@ const MODEL_RATES = {
902
958
  inputPerMTok: 25e4,
903
959
  outputPerMTok: 1e6,
904
960
  cachedInputPerMTok: 125e3
961
+ },
962
+ "us.deepseek.r1-v1:0": {
963
+ kind: "flat",
964
+ inputPerMTok: 135e3,
965
+ outputPerMTok: 54e4
905
966
  }
906
967
  };
907
968
  //#endregion
@@ -945,6 +1006,10 @@ const RETAINED_MODELS_DEV_RATE_ENTRIES = {
945
1006
  "gpt-4o": {
946
1007
  modelId: "gpt-4o",
947
1008
  provider: "openai"
1009
+ },
1010
+ "us.deepseek.r1-v1:0": {
1011
+ modelId: "us.deepseek.r1-v1:0",
1012
+ provider: "amazon-bedrock"
948
1013
  }
949
1014
  };
950
1015
  /**
@@ -1232,8 +1297,7 @@ const BYOK_MODEL_OPTIONS = {
1232
1297
  "us.amazon.nova-lite-v1:0",
1233
1298
  "us.amazon.nova-micro-v1:0",
1234
1299
  "openai.gpt-oss-120b-1:0",
1235
- "openai.gpt-oss-20b-1:0",
1236
- "us.deepseek.r1-v1:0"
1300
+ "openai.gpt-oss-20b-1:0"
1237
1301
  ],
1238
1302
  mistral: [
1239
1303
  "mistral-large-latest",
@@ -1464,10 +1528,6 @@ const MODEL_DISPLAY_METADATA = {
1464
1528
  displayName: "GPT OSS 20B",
1465
1529
  iconProvider: "openai"
1466
1530
  },
1467
- "us.deepseek.r1-v1:0": {
1468
- displayName: "DeepSeek R1",
1469
- iconProvider: "bedrock"
1470
- },
1471
1531
  "mistral-large-latest": {
1472
1532
  displayName: "Mistral Large",
1473
1533
  iconProvider: "mistral"
@@ -1629,6 +1689,15 @@ const MODEL_TEMPERATURE_POLICY_BY_ID = MODEL_TEMPERATURE_POLICIES;
1629
1689
  * a runtime string.
1630
1690
  */
1631
1691
  const shouldEmitTemperature = (modelId) => MODEL_TEMPERATURE_POLICY_BY_ID[normalizeModelCatalogId(modelId)] === "emit";
1692
+ const MODEL_OUTPUT_TOKEN_LIMIT_BY_ID = MODEL_OUTPUT_TOKEN_LIMITS;
1693
+ /**
1694
+ * The most output tokens one response of `modelId` may carry, from the
1695
+ * catalog. `undefined` for an id the catalog does not list (a deployment
1696
+ * override, a dev model): the catalog knows nothing about it, so callers leave
1697
+ * the allowance to the provider rather than guess one. Callers must never
1698
+ * index `MODEL_OUTPUT_TOKEN_LIMITS` directly with a runtime string.
1699
+ */
1700
+ const getOutputTokenLimit = (modelId) => MODEL_OUTPUT_TOKEN_LIMIT_BY_ID[normalizeModelCatalogId(modelId)];
1632
1701
  /**
1633
1702
  * Whether a model accepts tool use on a streaming request.
1634
1703
  *
@@ -1696,12 +1765,18 @@ const MODEL_STREAMING_TOOL_USE = {
1696
1765
  "us.amazon.nova-micro-v1:0": "supported",
1697
1766
  "openai.gpt-oss-120b-1:0": "supported",
1698
1767
  "openai.gpt-oss-20b-1:0": "supported",
1699
- "us.deepseek.r1-v1:0": "unsupported",
1700
1768
  "mistral-large-latest": "supported",
1701
1769
  "mistral-medium-latest": "supported",
1702
1770
  "mistral-small-latest": "supported"
1703
1771
  };
1704
- const MODEL_STREAMING_TOOL_USE_BY_ID = MODEL_STREAMING_TOOL_USE;
1772
+ const MODEL_STREAMING_TOOL_USE_BY_ID = {
1773
+ "gemini-2.5-flash": "supported",
1774
+ "gemini-2.5-pro": "supported",
1775
+ "gpt-4o-mini": "supported",
1776
+ "gpt-4o": "supported",
1777
+ "us.deepseek.r1-v1:0": "unsupported",
1778
+ ...MODEL_STREAMING_TOOL_USE
1779
+ };
1705
1780
  /**
1706
1781
  * Whether stella may send tools (or a structured-output schema) to this
1707
1782
  * model on a streaming request. Unlisted ids resolve to `true`: custom
@@ -1860,4 +1935,4 @@ const DEFAULT_CONTEXT_WINDOW_TOKENS = 128e3;
1860
1935
  */
1861
1936
  const getContextWindowTokens = (modelId) => CONTEXT_WINDOW_TOKENS_BY_ID[normalizeModelCatalogId(modelId)] ?? 128e3;
1862
1937
  //#endregion
1863
- export { AI_PROVIDERS, ANTHROPIC_ADAPTIVE_THINKING_MODELS, BYOK_DEFAULT_MODELS, BYOK_DOCUMENT_INPUT_MODEL_OPTIONS, BYOK_MODEL_OPTIONS, CAPABILITY_OVERRIDES, CHAT_PDF_ATTACHMENT_MODEL_OPTIONS, CONTEXT_WINDOW_TOKENS, DEFAULT_CONTEXT_WINDOW_TOKENS, DEFAULT_MODELS, DOCUMENT_INPUT_OVERRIDES, FALLBACK_CHAT_MODEL_BY_PROVIDER, FIRST_PARTY_MODEL_PROVIDERS, MODELS_DEV_RATE_PROVIDER_BY_CATALOG_PROVIDER, MODELS_DEV_RATE_SOURCE_ALIASES, MODEL_CATALOG_ID_ALIASES, MODEL_CATALOG_PROVIDER_KIND, MODEL_DEFAULT_REASONING_EFFORTS, MODEL_DISPLAY_METADATA, MODEL_RATES, MODEL_RATE_UNITS_PER_USD, MODEL_REASONING_EFFORTS, MODEL_ROLES, MODEL_STREAMING_TOOL_USE, MODEL_TEMPERATURE_POLICIES, REASONING_EFFORTS, RETAINED_MODELS_DEV_RATE_ENTRIES, STREAMING_TOOL_USE_SUPPORTS, TANSTACK_AI_PROVIDERS, TEMPERATURE_POLICIES, getContextWindowTokens, getModelDefaultReasoningEffort, getModelDisplayMetadata, getModelRate, getModelReasoningEfforts, getStandardModelRate, isBYOKModelRoleSupported, isBYOKProviderRoleSupported, isChatPdfAttachmentModelSupported, normalizeModelCatalogId, resolveModelRate, resolveReasoningEffort, resolveWorkingBYOKModelForRole, shouldEmitTemperature, supportsStreamingToolUse };
1938
+ export { AI_PROVIDERS, ANTHROPIC_ADAPTIVE_THINKING_MODELS, BYOK_DEFAULT_MODELS, BYOK_DOCUMENT_INPUT_MODEL_OPTIONS, BYOK_MODEL_OPTIONS, CAPABILITY_OVERRIDES, CHAT_PDF_ATTACHMENT_MODEL_OPTIONS, CONTEXT_WINDOW_TOKENS, DEFAULT_CONTEXT_WINDOW_TOKENS, DEFAULT_MODELS, DOCUMENT_INPUT_OVERRIDES, FALLBACK_CHAT_MODEL_BY_PROVIDER, FIRST_PARTY_MODEL_PROVIDERS, MODELS_DEV_RATE_PROVIDER_BY_CATALOG_PROVIDER, MODELS_DEV_RATE_SOURCE_ALIASES, MODEL_CATALOG_ID_ALIASES, MODEL_CATALOG_PROVIDER_KIND, MODEL_DEFAULT_REASONING_EFFORTS, MODEL_DISPLAY_METADATA, MODEL_OUTPUT_TOKEN_LIMITS, MODEL_RATES, MODEL_RATE_UNITS_PER_USD, MODEL_REASONING_EFFORTS, MODEL_ROLES, MODEL_STREAMING_TOOL_USE, MODEL_TEMPERATURE_POLICIES, REASONING_EFFORTS, RETAINED_MODELS_DEV_RATE_ENTRIES, STREAMING_TOOL_USE_SUPPORTS, TANSTACK_AI_PROVIDERS, TEMPERATURE_POLICIES, getContextWindowTokens, getModelDefaultReasoningEffort, getModelDisplayMetadata, getModelRate, getModelReasoningEfforts, getOutputTokenLimit, getStandardModelRate, isBYOKModelRoleSupported, isBYOKProviderRoleSupported, isChatPdfAttachmentModelSupported, normalizeModelCatalogId, resolveModelRate, resolveReasoningEffort, resolveWorkingBYOKModelForRole, shouldEmitTemperature, supportsStreamingToolUse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/ai-catalog",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Provider-neutral AI model roles, capabilities, and curated model metadata.",
5
5
  "keywords": [
6
6
  "ai",
@@ -41,7 +41,7 @@
41
41
  "pack:dry-run": "bun pm pack --dry-run",
42
42
  "test": "bun test src",
43
43
  "typecheck": "bun ../../packages/scripts/src/tsc-native.ts --noEmit",
44
- "lint": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --report-unused-disable-directives-severity=error --deny-warnings --type-aware packages/ai-catalog",
44
+ "lint": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --report-unused-disable-directives-severity=error --type-aware packages/ai-catalog",
45
45
  "lint:fix": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --type-aware --fix packages/ai-catalog",
46
46
  "format": "bun ../../scripts/run-oxfmt.ts .",
47
47
  "prepack": "bun run build"