@chainfuse/types 4.2.19 → 4.2.21
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/ai-tools/index.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ export declare const ZodLanguageModelValues: zm.ZodMiniEnum<{
|
|
|
89
89
|
"workersai:@hf/nexusflow/starling-lm-7b-beta": "workersai:@hf/nexusflow/starling-lm-7b-beta";
|
|
90
90
|
"workersai:@cf/meta/llama-3-8b-instruct": "workersai:@cf/meta/llama-3-8b-instruct";
|
|
91
91
|
"workersai:@cf/meta/llama-3.2-3b-instruct": "workersai:@cf/meta/llama-3.2-3b-instruct";
|
|
92
|
+
"workersai:@cf/moonshotai/kimi-k2.5": "workersai:@cf/moonshotai/kimi-k2.5";
|
|
92
93
|
"workersai:@hf/thebloke/neural-chat-7b-v3-1-awq": "workersai:@hf/thebloke/neural-chat-7b-v3-1-awq";
|
|
93
94
|
"workersai:@cf/meta/llama-guard-3-8b": "workersai:@cf/meta/llama-guard-3-8b";
|
|
94
95
|
"workersai:@cf/meta/llama-2-7b-chat-fp16": "workersai:@cf/meta/llama-2-7b-chat-fp16";
|
|
@@ -116,6 +117,7 @@ export declare const ZodLanguageModelValues: zm.ZodMiniEnum<{
|
|
|
116
117
|
"workersai:@cf/deepseek-ai/deepseek-math-7b-instruct": "workersai:@cf/deepseek-ai/deepseek-math-7b-instruct";
|
|
117
118
|
"workersai:@cf/tiiuae/falcon-7b-instruct": "workersai:@cf/tiiuae/falcon-7b-instruct";
|
|
118
119
|
"workersai:@hf/nousresearch/hermes-2-pro-mistral-7b": "workersai:@hf/nousresearch/hermes-2-pro-mistral-7b";
|
|
120
|
+
"workersai:@cf/nvidia/nemotron-3-120b-a12b": "workersai:@cf/nvidia/nemotron-3-120b-a12b";
|
|
119
121
|
"workersai:@cf/aisingapore/gemma-sea-lion-v4-27b-it": "workersai:@cf/aisingapore/gemma-sea-lion-v4-27b-it";
|
|
120
122
|
"workersai:@cf/qwen/qwen3-30b-a3b-fp8": "workersai:@cf/qwen/qwen3-30b-a3b-fp8";
|
|
121
123
|
"workersai:@cf/meta/llama-3.1-8b-instruct-awq": "workersai:@cf/meta/llama-3.1-8b-instruct-awq";
|
|
@@ -174,6 +176,7 @@ export declare const ZodLanguageModelValues4: z4.ZodEnum<{
|
|
|
174
176
|
"workersai:@hf/nexusflow/starling-lm-7b-beta": "workersai:@hf/nexusflow/starling-lm-7b-beta";
|
|
175
177
|
"workersai:@cf/meta/llama-3-8b-instruct": "workersai:@cf/meta/llama-3-8b-instruct";
|
|
176
178
|
"workersai:@cf/meta/llama-3.2-3b-instruct": "workersai:@cf/meta/llama-3.2-3b-instruct";
|
|
179
|
+
"workersai:@cf/moonshotai/kimi-k2.5": "workersai:@cf/moonshotai/kimi-k2.5";
|
|
177
180
|
"workersai:@hf/thebloke/neural-chat-7b-v3-1-awq": "workersai:@hf/thebloke/neural-chat-7b-v3-1-awq";
|
|
178
181
|
"workersai:@cf/meta/llama-guard-3-8b": "workersai:@cf/meta/llama-guard-3-8b";
|
|
179
182
|
"workersai:@cf/meta/llama-2-7b-chat-fp16": "workersai:@cf/meta/llama-2-7b-chat-fp16";
|
|
@@ -201,6 +204,7 @@ export declare const ZodLanguageModelValues4: z4.ZodEnum<{
|
|
|
201
204
|
"workersai:@cf/deepseek-ai/deepseek-math-7b-instruct": "workersai:@cf/deepseek-ai/deepseek-math-7b-instruct";
|
|
202
205
|
"workersai:@cf/tiiuae/falcon-7b-instruct": "workersai:@cf/tiiuae/falcon-7b-instruct";
|
|
203
206
|
"workersai:@hf/nousresearch/hermes-2-pro-mistral-7b": "workersai:@hf/nousresearch/hermes-2-pro-mistral-7b";
|
|
207
|
+
"workersai:@cf/nvidia/nemotron-3-120b-a12b": "workersai:@cf/nvidia/nemotron-3-120b-a12b";
|
|
204
208
|
"workersai:@cf/aisingapore/gemma-sea-lion-v4-27b-it": "workersai:@cf/aisingapore/gemma-sea-lion-v4-27b-it";
|
|
205
209
|
"workersai:@cf/qwen/qwen3-30b-a3b-fp8": "workersai:@cf/qwen/qwen3-30b-a3b-fp8";
|
|
206
210
|
"workersai:@cf/meta/llama-3.1-8b-instruct-awq": "workersai:@cf/meta/llama-3.1-8b-instruct-awq";
|
|
@@ -42,6 +42,8 @@ export declare const workersAiCatalog: {
|
|
|
42
42
|
readonly price: 0.75;
|
|
43
43
|
readonly currency: "USD";
|
|
44
44
|
}];
|
|
45
|
+
readonly function_calling: true;
|
|
46
|
+
readonly reasoning: true;
|
|
45
47
|
};
|
|
46
48
|
}, {
|
|
47
49
|
readonly id: "f8703a00-ed54-4f98-bdc3-cd9a813286f3";
|
|
@@ -122,9 +124,24 @@ export declare const workersAiCatalog: {
|
|
|
122
124
|
readonly price: 0.34;
|
|
123
125
|
readonly currency: "USD";
|
|
124
126
|
}];
|
|
125
|
-
readonly context_window:
|
|
127
|
+
readonly context_window: 80000;
|
|
126
128
|
readonly terms: "https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE";
|
|
127
129
|
};
|
|
130
|
+
}, {
|
|
131
|
+
readonly id: "d7948af7-749a-4fa3-8480-2a9f4215f427";
|
|
132
|
+
readonly source: 1;
|
|
133
|
+
readonly name: "@cf/moonshotai/kimi-k2.5";
|
|
134
|
+
readonly description: "Kimi K2.5 is a frontier-scale open-source model with a 256k context window, multi-turn tool calling, vision inputs, and structured outputs for agentic workloads.";
|
|
135
|
+
readonly created_at: "2026-02-02 21:11:49.874";
|
|
136
|
+
readonly tags: readonly [];
|
|
137
|
+
readonly properties: {
|
|
138
|
+
readonly async_queue: true;
|
|
139
|
+
readonly context_window: 256000;
|
|
140
|
+
readonly function_calling: true;
|
|
141
|
+
readonly reasoning: true;
|
|
142
|
+
readonly terms: "https://github.com/MoonshotAI/Kimi-K2.5/blob/master/LICENSE";
|
|
143
|
+
readonly vision: true;
|
|
144
|
+
};
|
|
128
145
|
}, {
|
|
129
146
|
readonly id: "d2ba5c6b-bbb7-49d6-b466-900654870cd6";
|
|
130
147
|
readonly source: 2;
|
|
@@ -270,6 +287,7 @@ export declare const workersAiCatalog: {
|
|
|
270
287
|
readonly price: 4.88;
|
|
271
288
|
readonly currency: "USD";
|
|
272
289
|
}];
|
|
290
|
+
readonly reasoning: true;
|
|
273
291
|
readonly terms: "https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE";
|
|
274
292
|
};
|
|
275
293
|
}, {
|
|
@@ -380,6 +398,7 @@ export declare const workersAiCatalog: {
|
|
|
380
398
|
readonly currency: "USD";
|
|
381
399
|
}];
|
|
382
400
|
readonly function_calling: true;
|
|
401
|
+
readonly reasoning: true;
|
|
383
402
|
};
|
|
384
403
|
}, {
|
|
385
404
|
readonly id: "85c5a3c6-24b0-45e7-b23a-023182578822";
|
|
@@ -546,6 +565,28 @@ export declare const workersAiCatalog: {
|
|
|
546
565
|
readonly function_calling: true;
|
|
547
566
|
readonly info: "https://huggingface.co/NousResearch/Hermes-2-Pro-Mistral-7B";
|
|
548
567
|
};
|
|
568
|
+
}, {
|
|
569
|
+
readonly id: "43dbadb4-2b0a-47e9-8479-34a49b971f1e";
|
|
570
|
+
readonly source: 1;
|
|
571
|
+
readonly name: "@cf/nvidia/nemotron-3-120b-a12b";
|
|
572
|
+
readonly description: "NVIDIA Nemotron 3 Super is a hybrid MoE model with leading accuracy for multi-agent applications and specialized agentic AI systems.";
|
|
573
|
+
readonly created_at: "2026-02-24 23:22:47.215";
|
|
574
|
+
readonly tags: readonly [];
|
|
575
|
+
readonly properties: {
|
|
576
|
+
readonly context_window: 256000;
|
|
577
|
+
readonly price: readonly [{
|
|
578
|
+
readonly unit: "per M input tokens";
|
|
579
|
+
readonly price: 0;
|
|
580
|
+
readonly currency: "USD";
|
|
581
|
+
}, {
|
|
582
|
+
readonly unit: "per M output tokens";
|
|
583
|
+
readonly price: 0;
|
|
584
|
+
readonly currency: "USD";
|
|
585
|
+
}];
|
|
586
|
+
readonly function_calling: true;
|
|
587
|
+
readonly reasoning: true;
|
|
588
|
+
readonly terms: "https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-nemotron-open-model-license/";
|
|
589
|
+
};
|
|
549
590
|
}, {
|
|
550
591
|
readonly id: "41ca173f-72d5-4420-8915-49e835d2676e";
|
|
551
592
|
readonly source: 1;
|
|
@@ -585,6 +626,7 @@ export declare const workersAiCatalog: {
|
|
|
585
626
|
readonly currency: "USD";
|
|
586
627
|
}];
|
|
587
628
|
readonly function_calling: true;
|
|
629
|
+
readonly reasoning: true;
|
|
588
630
|
};
|
|
589
631
|
}, {
|
|
590
632
|
readonly id: "3dcb4f2d-26a8-412b-b6e3-2a368beff66b";
|
|
@@ -705,6 +747,7 @@ export declare const workersAiCatalog: {
|
|
|
705
747
|
}];
|
|
706
748
|
readonly lora: true;
|
|
707
749
|
readonly terms: "https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE";
|
|
750
|
+
readonly vision: true;
|
|
708
751
|
};
|
|
709
752
|
}, {
|
|
710
753
|
readonly id: "1dc9e589-df6b-4e66-ac9f-ceff42d64983";
|
|
@@ -749,6 +792,8 @@ export declare const workersAiCatalog: {
|
|
|
749
792
|
readonly price: 0.3;
|
|
750
793
|
readonly currency: "USD";
|
|
751
794
|
}];
|
|
795
|
+
readonly function_calling: true;
|
|
796
|
+
readonly reasoning: true;
|
|
752
797
|
};
|
|
753
798
|
}, {
|
|
754
799
|
readonly id: "0f002249-7d86-4698-aabf-8529ed86cefb";
|
|
@@ -811,6 +856,7 @@ export declare const workersAiCatalog: {
|
|
|
811
856
|
}];
|
|
812
857
|
readonly function_calling: true;
|
|
813
858
|
readonly terms: "https://github.com/meta-llama/llama-models/blob/main/models/llama4/LICENSE";
|
|
859
|
+
readonly vision: true;
|
|
814
860
|
};
|
|
815
861
|
}, {
|
|
816
862
|
readonly id: "053d5ac0-861b-4d3b-8501-e58d00417ef8";
|
|
@@ -851,6 +897,7 @@ export declare const workersAiCatalog: {
|
|
|
851
897
|
readonly currency: "USD";
|
|
852
898
|
}];
|
|
853
899
|
readonly lora: true;
|
|
900
|
+
readonly reasoning: true;
|
|
854
901
|
};
|
|
855
902
|
}];
|
|
856
903
|
};
|
|
@@ -50,6 +50,8 @@ export const workersAiCatalog = {
|
|
|
50
50
|
currency: 'USD',
|
|
51
51
|
},
|
|
52
52
|
],
|
|
53
|
+
function_calling: true,
|
|
54
|
+
reasoning: true,
|
|
53
55
|
},
|
|
54
56
|
},
|
|
55
57
|
{
|
|
@@ -141,10 +143,26 @@ export const workersAiCatalog = {
|
|
|
141
143
|
currency: 'USD',
|
|
142
144
|
},
|
|
143
145
|
],
|
|
144
|
-
context_window:
|
|
146
|
+
context_window: 80000,
|
|
145
147
|
terms: 'https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE',
|
|
146
148
|
},
|
|
147
149
|
},
|
|
150
|
+
{
|
|
151
|
+
id: 'd7948af7-749a-4fa3-8480-2a9f4215f427',
|
|
152
|
+
source: 1,
|
|
153
|
+
name: '@cf/moonshotai/kimi-k2.5',
|
|
154
|
+
description: 'Kimi K2.5 is a frontier-scale open-source model with a 256k context window, multi-turn tool calling, vision inputs, and structured outputs for agentic workloads.',
|
|
155
|
+
created_at: '2026-02-02 21:11:49.874',
|
|
156
|
+
tags: [],
|
|
157
|
+
properties: {
|
|
158
|
+
async_queue: true,
|
|
159
|
+
context_window: 256000,
|
|
160
|
+
function_calling: true,
|
|
161
|
+
reasoning: true,
|
|
162
|
+
terms: 'https://github.com/MoonshotAI/Kimi-K2.5/blob/master/LICENSE',
|
|
163
|
+
vision: true,
|
|
164
|
+
},
|
|
165
|
+
},
|
|
148
166
|
{
|
|
149
167
|
id: 'd2ba5c6b-bbb7-49d6-b466-900654870cd6',
|
|
150
168
|
source: 2,
|
|
@@ -310,6 +328,7 @@ export const workersAiCatalog = {
|
|
|
310
328
|
currency: 'USD',
|
|
311
329
|
},
|
|
312
330
|
],
|
|
331
|
+
reasoning: true,
|
|
313
332
|
terms: 'https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE',
|
|
314
333
|
},
|
|
315
334
|
},
|
|
@@ -436,6 +455,7 @@ export const workersAiCatalog = {
|
|
|
436
455
|
},
|
|
437
456
|
],
|
|
438
457
|
function_calling: true,
|
|
458
|
+
reasoning: true,
|
|
439
459
|
},
|
|
440
460
|
},
|
|
441
461
|
{
|
|
@@ -623,6 +643,32 @@ export const workersAiCatalog = {
|
|
|
623
643
|
info: 'https://huggingface.co/NousResearch/Hermes-2-Pro-Mistral-7B',
|
|
624
644
|
},
|
|
625
645
|
},
|
|
646
|
+
{
|
|
647
|
+
id: '43dbadb4-2b0a-47e9-8479-34a49b971f1e',
|
|
648
|
+
source: 1,
|
|
649
|
+
name: '@cf/nvidia/nemotron-3-120b-a12b',
|
|
650
|
+
description: 'NVIDIA Nemotron 3 Super is a hybrid MoE model with leading accuracy for multi-agent applications and specialized agentic AI systems.',
|
|
651
|
+
created_at: '2026-02-24 23:22:47.215',
|
|
652
|
+
tags: [],
|
|
653
|
+
properties: {
|
|
654
|
+
context_window: 256000,
|
|
655
|
+
price: [
|
|
656
|
+
{
|
|
657
|
+
unit: 'per M input tokens',
|
|
658
|
+
price: 0,
|
|
659
|
+
currency: 'USD',
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
unit: 'per M output tokens',
|
|
663
|
+
price: 0,
|
|
664
|
+
currency: 'USD',
|
|
665
|
+
},
|
|
666
|
+
],
|
|
667
|
+
function_calling: true,
|
|
668
|
+
reasoning: true,
|
|
669
|
+
terms: 'https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-nemotron-open-model-license/',
|
|
670
|
+
},
|
|
671
|
+
},
|
|
626
672
|
{
|
|
627
673
|
id: '41ca173f-72d5-4420-8915-49e835d2676e',
|
|
628
674
|
source: 1,
|
|
@@ -669,6 +715,7 @@ export const workersAiCatalog = {
|
|
|
669
715
|
},
|
|
670
716
|
],
|
|
671
717
|
function_calling: true,
|
|
718
|
+
reasoning: true,
|
|
672
719
|
},
|
|
673
720
|
},
|
|
674
721
|
{
|
|
@@ -808,6 +855,7 @@ export const workersAiCatalog = {
|
|
|
808
855
|
],
|
|
809
856
|
lora: true,
|
|
810
857
|
terms: 'https://github.com/meta-llama/llama-models/blob/main/models/llama3_2/LICENSE',
|
|
858
|
+
vision: true,
|
|
811
859
|
},
|
|
812
860
|
},
|
|
813
861
|
{
|
|
@@ -858,6 +906,8 @@ export const workersAiCatalog = {
|
|
|
858
906
|
currency: 'USD',
|
|
859
907
|
},
|
|
860
908
|
],
|
|
909
|
+
function_calling: true,
|
|
910
|
+
reasoning: true,
|
|
861
911
|
},
|
|
862
912
|
},
|
|
863
913
|
{
|
|
@@ -927,6 +977,7 @@ export const workersAiCatalog = {
|
|
|
927
977
|
],
|
|
928
978
|
function_calling: true,
|
|
929
979
|
terms: 'https://github.com/meta-llama/llama-models/blob/main/models/llama4/LICENSE',
|
|
980
|
+
vision: true,
|
|
930
981
|
},
|
|
931
982
|
},
|
|
932
983
|
{
|
|
@@ -975,6 +1026,7 @@ export const workersAiCatalog = {
|
|
|
975
1026
|
},
|
|
976
1027
|
],
|
|
977
1028
|
lora: true,
|
|
1029
|
+
reasoning: true,
|
|
978
1030
|
},
|
|
979
1031
|
},
|
|
980
1032
|
],
|
|
@@ -13,7 +13,7 @@ type cloudflareFilteredModelPossibilities<M extends cloudflareModelTypes = cloud
|
|
|
13
13
|
export declare const enabledCloudflareLlmEmbeddingProviders: cloudflareModelPossibilities<'Text Embeddings'>[];
|
|
14
14
|
export declare const enabledCloudflareLlmImageProviders: cloudflareModelPossibilities<'Text-to-Image'>[];
|
|
15
15
|
export declare const enabledCloudflareLlmProviders: cloudflareModelPossibilities<'Text Generation'>[];
|
|
16
|
-
export declare const enabledCloudflareLlmFunctionProviders: ("@cf/zai-org/glm-4.7-flash" | "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/ibm-granite/granite-4.0-h-micro" | "@hf/nousresearch/hermes-2-pro-mistral-7b" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/mistralai/mistral-small-3.1-24b-instruct" | "@cf/meta/llama-4-scout-17b-16e-instruct")[];
|
|
16
|
+
export declare const enabledCloudflareLlmFunctionProviders: ("@cf/openai/gpt-oss-120b" | "@cf/moonshotai/kimi-k2.5" | "@cf/zai-org/glm-4.7-flash" | "@cf/meta/llama-3.3-70b-instruct-fp8-fast" | "@cf/ibm-granite/granite-4.0-h-micro" | "@hf/nousresearch/hermes-2-pro-mistral-7b" | "@cf/nvidia/nemotron-3-120b-a12b" | "@cf/qwen/qwen3-30b-a3b-fp8" | "@cf/mistralai/mistral-small-3.1-24b-instruct" | "@cf/openai/gpt-oss-20b" | "@cf/meta/llama-4-scout-17b-16e-instruct")[];
|
|
17
17
|
export declare const enabledCloudflareLlmSpeechProviders: ("@cf/myshell-ai/melotts" | "@cf/deepgram/aura-2-es" | "@cf/deepgram/aura-1" | "@cf/deepgram/aura-2-en")[];
|
|
18
18
|
export declare const enabledCloudflareLlmTranscriptionProviders: ("@cf/openai/whisper" | "@cf/deepgram/flux" | "@cf/deepgram/nova-3" | "@cf/openai/whisper-tiny-en" | "@cf/openai/whisper-large-v3-turbo")[];
|
|
19
19
|
export type CloudflareModelsEnum<M extends cloudflareModelTypes = cloudflareModelTypes> = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainfuse/types",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "ChainFuse",
|
|
6
6
|
"homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"zod": "^4.3.6"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@cloudflare/workers-types": "^4.
|
|
101
|
+
"@cloudflare/workers-types": "^4.20260317.1",
|
|
102
102
|
"@types/validator": "^13.15.10"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "dbc6f594a818b5c982269fe8271161972cce4b03"
|
|
105
105
|
}
|