@chainfuse/types 2.4.0 → 2.6.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/ai-tools/workers-ai/catalog.d.ts +19 -0
- package/dist/ai-tools/workers-ai/catalog.js +23 -0
- package/dist/index.d.ts +17 -1
- package/dist/index.js +17 -0
- package/package.json +3 -3
|
@@ -628,6 +628,25 @@ export declare const workersAiCatalog: {
|
|
|
628
628
|
readonly context_window: 8192;
|
|
629
629
|
readonly info: "https://huggingface.co/openchat/openchat-3.5-0106";
|
|
630
630
|
};
|
|
631
|
+
}, {
|
|
632
|
+
readonly id: "06455e78-19f7-487b-93cd-c05a3dd07813";
|
|
633
|
+
readonly source: 1;
|
|
634
|
+
readonly name: "@cf/meta/llama-4-scout-17b-16e-instruct";
|
|
635
|
+
readonly description: "Meta's Llama 4 Scout is a 17 billion parameter model with 16 experts that is natively multimodal. These models leverage a mixture-of-experts architecture to offer industry-leading performance in text and image understanding.";
|
|
636
|
+
readonly created_at: "2025-04-05 20:25:56.137";
|
|
637
|
+
readonly tags: readonly [];
|
|
638
|
+
readonly properties: {
|
|
639
|
+
readonly price: readonly [{
|
|
640
|
+
readonly unit: "per M input tokens";
|
|
641
|
+
readonly price: 0;
|
|
642
|
+
readonly currency: "USD";
|
|
643
|
+
}, {
|
|
644
|
+
readonly unit: "per M output tokens";
|
|
645
|
+
readonly price: 0;
|
|
646
|
+
readonly currency: "USD";
|
|
647
|
+
}];
|
|
648
|
+
readonly terms: "https://github.com/meta-llama/llama-models/blob/main/models/llama4/LICENSE";
|
|
649
|
+
};
|
|
631
650
|
}];
|
|
632
651
|
};
|
|
633
652
|
readonly 'Text Embeddings': {
|
|
@@ -711,6 +711,29 @@ export const workersAiCatalog = {
|
|
|
711
711
|
info: 'https://huggingface.co/openchat/openchat-3.5-0106',
|
|
712
712
|
},
|
|
713
713
|
},
|
|
714
|
+
{
|
|
715
|
+
id: '06455e78-19f7-487b-93cd-c05a3dd07813',
|
|
716
|
+
source: 1,
|
|
717
|
+
name: '@cf/meta/llama-4-scout-17b-16e-instruct',
|
|
718
|
+
description: "Meta's Llama 4 Scout is a 17 billion parameter model with 16 experts that is natively multimodal. These models leverage a mixture-of-experts architecture to offer industry-leading performance in text and image understanding.",
|
|
719
|
+
created_at: '2025-04-05 20:25:56.137',
|
|
720
|
+
tags: [],
|
|
721
|
+
properties: {
|
|
722
|
+
price: [
|
|
723
|
+
{
|
|
724
|
+
unit: 'per M input tokens',
|
|
725
|
+
price: 0,
|
|
726
|
+
currency: 'USD',
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
unit: 'per M output tokens',
|
|
730
|
+
price: 0,
|
|
731
|
+
currency: 'USD',
|
|
732
|
+
},
|
|
733
|
+
],
|
|
734
|
+
terms: 'https://github.com/meta-llama/llama-models/blob/main/models/llama4/LICENSE',
|
|
735
|
+
},
|
|
736
|
+
},
|
|
714
737
|
],
|
|
715
738
|
},
|
|
716
739
|
'Text Embeddings': {
|
package/dist/index.d.ts
CHANGED
|
@@ -46,5 +46,21 @@ export interface ExternallyResolvablePromise<T> {
|
|
|
46
46
|
export type UndefinedProperties<T extends object> = {
|
|
47
47
|
[P in keyof T]: undefined;
|
|
48
48
|
};
|
|
49
|
-
export type CustomLogCallback = (message:
|
|
49
|
+
export type CustomLogCallback = (message?: any, ...optionalParams: any[]) => void;
|
|
50
50
|
export type CustomLoging = boolean | CustomLogCallback;
|
|
51
|
+
/**
|
|
52
|
+
* @link https://developers.cloudflare.com/durable-objects/reference/data-location/#restrict-durable-objects-to-a-jurisdiction
|
|
53
|
+
*/
|
|
54
|
+
export declare enum DOLocations {
|
|
55
|
+
'The European Union' = "eu",
|
|
56
|
+
'FedRAMP-compliant data centers' = "fedramp",
|
|
57
|
+
'Western North America' = "wnam",
|
|
58
|
+
'Eastern North America' = "enam",
|
|
59
|
+
'South America' = "sam",
|
|
60
|
+
'Western Europe' = "weur",
|
|
61
|
+
'Eastern Europe' = "eeur",
|
|
62
|
+
'Asia-Pacific' = "apac",
|
|
63
|
+
'Oceania' = "oc",
|
|
64
|
+
'Africa' = "afr",
|
|
65
|
+
'Middle East' = "me"
|
|
66
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -2,3 +2,20 @@ export * from './ai-tools/index.js';
|
|
|
2
2
|
export * from './d0/index.js';
|
|
3
3
|
export * from './d1/index.js';
|
|
4
4
|
export * from './discourse/index.js';
|
|
5
|
+
/**
|
|
6
|
+
* @link https://developers.cloudflare.com/durable-objects/reference/data-location/#restrict-durable-objects-to-a-jurisdiction
|
|
7
|
+
*/
|
|
8
|
+
export var DOLocations;
|
|
9
|
+
(function (DOLocations) {
|
|
10
|
+
DOLocations["The European Union"] = "eu";
|
|
11
|
+
DOLocations["FedRAMP-compliant data centers"] = "fedramp";
|
|
12
|
+
DOLocations["Western North America"] = "wnam";
|
|
13
|
+
DOLocations["Eastern North America"] = "enam";
|
|
14
|
+
DOLocations["South America"] = "sam";
|
|
15
|
+
DOLocations["Western Europe"] = "weur";
|
|
16
|
+
DOLocations["Eastern Europe"] = "eeur";
|
|
17
|
+
DOLocations["Asia-Pacific"] = "apac";
|
|
18
|
+
DOLocations["Oceania"] = "oc";
|
|
19
|
+
DOLocations["Africa"] = "afr";
|
|
20
|
+
DOLocations["Middle East"] = "me";
|
|
21
|
+
})(DOLocations || (DOLocations = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainfuse/types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "ChainFuse",
|
|
6
6
|
"homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
"zod": "^3.24.2"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"@cloudflare/workers-types": "^4.
|
|
97
|
+
"@cloudflare/workers-types": "^4.20250409.0",
|
|
98
98
|
"@types/validator": "^13.12.3"
|
|
99
99
|
},
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "8b75599be143be76f38c5ea7eae9b68625e6fca3"
|
|
101
101
|
}
|