@stll/ai-catalog 0.2.1 → 0.2.2
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 +15 -14
- package/dist/index.js +18 -16
- package/package.json +2 -2
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
|
|
@@ -457,6 +461,11 @@ type CapabilityOverride = {
|
|
|
457
461
|
documentInputReason: string;
|
|
458
462
|
reasoningEfforts: readonly ReasoningEffort[] | null;
|
|
459
463
|
temperatureSupported: boolean;
|
|
464
|
+
/**
|
|
465
|
+
* Every role sends tool definitions or structured output, so an
|
|
466
|
+
* offered model must accept tools.
|
|
467
|
+
*/
|
|
468
|
+
toolCalling: true;
|
|
460
469
|
/** Why the upstream source cannot answer for this model. Dated. */
|
|
461
470
|
reason: string;
|
|
462
471
|
};
|
|
@@ -538,7 +547,6 @@ export declare const MODEL_REASONING_EFFORTS: {
|
|
|
538
547
|
readonly "us.amazon.nova-micro-v1:0": null;
|
|
539
548
|
readonly "openai.gpt-oss-120b-1:0": readonly ["low", "medium", "high"];
|
|
540
549
|
readonly "openai.gpt-oss-20b-1:0": readonly ["low", "medium", "high"];
|
|
541
|
-
readonly "us.deepseek.r1-v1:0": null;
|
|
542
550
|
readonly "mistral-large-latest": null;
|
|
543
551
|
readonly "mistral-medium-latest": readonly ["none", "high"];
|
|
544
552
|
readonly "mistral-small-latest": readonly ["none", "high"];
|
|
@@ -603,7 +611,6 @@ export declare const MODEL_DEFAULT_REASONING_EFFORTS: {
|
|
|
603
611
|
readonly "us.amazon.nova-micro-v1:0": null;
|
|
604
612
|
readonly "openai.gpt-oss-120b-1:0": null;
|
|
605
613
|
readonly "openai.gpt-oss-20b-1:0": null;
|
|
606
|
-
readonly "us.deepseek.r1-v1:0": null;
|
|
607
614
|
readonly "mistral-large-latest": null;
|
|
608
615
|
readonly "mistral-medium-latest": null;
|
|
609
616
|
readonly "mistral-small-latest": null;
|
|
@@ -668,7 +675,6 @@ export declare const MODEL_TEMPERATURE_POLICIES: {
|
|
|
668
675
|
readonly "us.amazon.nova-micro-v1:0": "emit";
|
|
669
676
|
readonly "openai.gpt-oss-120b-1:0": "emit";
|
|
670
677
|
readonly "openai.gpt-oss-20b-1:0": "emit";
|
|
671
|
-
readonly "us.deepseek.r1-v1:0": "emit";
|
|
672
678
|
readonly "mistral-large-latest": "emit";
|
|
673
679
|
readonly "mistral-medium-latest": "emit";
|
|
674
680
|
readonly "mistral-small-latest": "emit";
|
|
@@ -841,7 +847,7 @@ export declare const BYOK_MODEL_OPTIONS: {
|
|
|
841
847
|
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
848
|
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
849
|
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"
|
|
850
|
+
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
851
|
readonly mistral: readonly ["mistral-large-latest", "mistral-medium-latest", "mistral-small-latest"];
|
|
846
852
|
};
|
|
847
853
|
export type BYOKProvider = keyof typeof BYOK_MODEL_OPTIONS;
|
|
@@ -1076,10 +1082,6 @@ export declare const MODEL_DISPLAY_METADATA: {
|
|
|
1076
1082
|
readonly displayName: "GPT OSS 20B";
|
|
1077
1083
|
readonly iconProvider: "openai";
|
|
1078
1084
|
};
|
|
1079
|
-
readonly "us.deepseek.r1-v1:0": {
|
|
1080
|
-
readonly displayName: "DeepSeek R1";
|
|
1081
|
-
readonly iconProvider: "bedrock";
|
|
1082
|
-
};
|
|
1083
1085
|
readonly "mistral-large-latest": {
|
|
1084
1086
|
readonly displayName: "Mistral Large";
|
|
1085
1087
|
readonly iconProvider: "mistral";
|
|
@@ -1289,7 +1291,6 @@ export declare const MODEL_STREAMING_TOOL_USE: {
|
|
|
1289
1291
|
readonly "us.amazon.nova-micro-v1:0": "supported";
|
|
1290
1292
|
readonly "openai.gpt-oss-120b-1:0": "supported";
|
|
1291
1293
|
readonly "openai.gpt-oss-20b-1:0": "supported";
|
|
1292
|
-
readonly "us.deepseek.r1-v1:0": "unsupported";
|
|
1293
1294
|
readonly "mistral-large-latest": "supported";
|
|
1294
1295
|
readonly "mistral-medium-latest": "supported";
|
|
1295
1296
|
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,7 +534,6 @@ 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"
|
|
@@ -851,11 +848,6 @@ const MODEL_RATES = {
|
|
|
851
848
|
inputPerMTok: 7e3,
|
|
852
849
|
outputPerMTok: 3e4
|
|
853
850
|
},
|
|
854
|
-
"us.deepseek.r1-v1:0": {
|
|
855
|
-
kind: "flat",
|
|
856
|
-
inputPerMTok: 135e3,
|
|
857
|
-
outputPerMTok: 54e4
|
|
858
|
-
},
|
|
859
851
|
"mistral-large-latest": {
|
|
860
852
|
kind: "flat",
|
|
861
853
|
inputPerMTok: 5e4,
|
|
@@ -902,6 +894,11 @@ const MODEL_RATES = {
|
|
|
902
894
|
inputPerMTok: 25e4,
|
|
903
895
|
outputPerMTok: 1e6,
|
|
904
896
|
cachedInputPerMTok: 125e3
|
|
897
|
+
},
|
|
898
|
+
"us.deepseek.r1-v1:0": {
|
|
899
|
+
kind: "flat",
|
|
900
|
+
inputPerMTok: 135e3,
|
|
901
|
+
outputPerMTok: 54e4
|
|
905
902
|
}
|
|
906
903
|
};
|
|
907
904
|
//#endregion
|
|
@@ -945,6 +942,10 @@ const RETAINED_MODELS_DEV_RATE_ENTRIES = {
|
|
|
945
942
|
"gpt-4o": {
|
|
946
943
|
modelId: "gpt-4o",
|
|
947
944
|
provider: "openai"
|
|
945
|
+
},
|
|
946
|
+
"us.deepseek.r1-v1:0": {
|
|
947
|
+
modelId: "us.deepseek.r1-v1:0",
|
|
948
|
+
provider: "amazon-bedrock"
|
|
948
949
|
}
|
|
949
950
|
};
|
|
950
951
|
/**
|
|
@@ -1232,8 +1233,7 @@ const BYOK_MODEL_OPTIONS = {
|
|
|
1232
1233
|
"us.amazon.nova-lite-v1:0",
|
|
1233
1234
|
"us.amazon.nova-micro-v1:0",
|
|
1234
1235
|
"openai.gpt-oss-120b-1:0",
|
|
1235
|
-
"openai.gpt-oss-20b-1:0"
|
|
1236
|
-
"us.deepseek.r1-v1:0"
|
|
1236
|
+
"openai.gpt-oss-20b-1:0"
|
|
1237
1237
|
],
|
|
1238
1238
|
mistral: [
|
|
1239
1239
|
"mistral-large-latest",
|
|
@@ -1464,10 +1464,6 @@ const MODEL_DISPLAY_METADATA = {
|
|
|
1464
1464
|
displayName: "GPT OSS 20B",
|
|
1465
1465
|
iconProvider: "openai"
|
|
1466
1466
|
},
|
|
1467
|
-
"us.deepseek.r1-v1:0": {
|
|
1468
|
-
displayName: "DeepSeek R1",
|
|
1469
|
-
iconProvider: "bedrock"
|
|
1470
|
-
},
|
|
1471
1467
|
"mistral-large-latest": {
|
|
1472
1468
|
displayName: "Mistral Large",
|
|
1473
1469
|
iconProvider: "mistral"
|
|
@@ -1696,12 +1692,18 @@ const MODEL_STREAMING_TOOL_USE = {
|
|
|
1696
1692
|
"us.amazon.nova-micro-v1:0": "supported",
|
|
1697
1693
|
"openai.gpt-oss-120b-1:0": "supported",
|
|
1698
1694
|
"openai.gpt-oss-20b-1:0": "supported",
|
|
1699
|
-
"us.deepseek.r1-v1:0": "unsupported",
|
|
1700
1695
|
"mistral-large-latest": "supported",
|
|
1701
1696
|
"mistral-medium-latest": "supported",
|
|
1702
1697
|
"mistral-small-latest": "supported"
|
|
1703
1698
|
};
|
|
1704
|
-
const MODEL_STREAMING_TOOL_USE_BY_ID =
|
|
1699
|
+
const MODEL_STREAMING_TOOL_USE_BY_ID = {
|
|
1700
|
+
"gemini-2.5-flash": "supported",
|
|
1701
|
+
"gemini-2.5-pro": "supported",
|
|
1702
|
+
"gpt-4o-mini": "supported",
|
|
1703
|
+
"gpt-4o": "supported",
|
|
1704
|
+
"us.deepseek.r1-v1:0": "unsupported",
|
|
1705
|
+
...MODEL_STREAMING_TOOL_USE
|
|
1706
|
+
};
|
|
1705
1707
|
/**
|
|
1706
1708
|
* Whether stella may send tools (or a structured-output schema) to this
|
|
1707
1709
|
* model on a streaming request. Unlisted ids resolve to `true`: custom
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/ai-catalog",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
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 --
|
|
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"
|