@workglow/ai 0.0.82 → 0.0.83
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/README.md +1 -1
- package/dist/browser.js +12 -4
- package/dist/browser.js.map +3 -3
- package/dist/bun.js +12 -4
- package/dist/bun.js.map +3 -3
- package/dist/model/ModelRepository.d.ts +4 -4
- package/dist/model/ModelSchema.d.ts +4 -4
- package/dist/model/ModelSchema.d.ts.map +1 -1
- package/dist/node.js +12 -4
- package/dist/node.js.map +3 -3
- package/dist/provider/AiProviderRegistry.d.ts +1 -1
- package/dist/task/BackgroundRemovalTask.d.ts +4 -4
- package/dist/task/DownloadModelTask.d.ts +10 -10
- package/dist/task/FaceDetectorTask.d.ts +4 -4
- package/dist/task/FaceLandmarkerTask.d.ts +4 -4
- package/dist/task/GestureRecognizerTask.d.ts +4 -4
- package/dist/task/HandLandmarkerTask.d.ts +4 -4
- package/dist/task/ImageClassificationTask.d.ts +4 -4
- package/dist/task/ImageEmbeddingTask.d.ts +4 -4
- package/dist/task/ImageSegmentationTask.d.ts +4 -4
- package/dist/task/ImageToTextTask.d.ts +4 -4
- package/dist/task/ObjectDetectionTask.d.ts +4 -4
- package/dist/task/PoseLandmarkerTask.d.ts +4 -4
- package/dist/task/TextClassificationTask.d.ts +4 -4
- package/dist/task/TextEmbeddingTask.d.ts +4 -4
- package/dist/task/TextFillMaskTask.d.ts +4 -4
- package/dist/task/TextGenerationTask.d.ts +4 -4
- package/dist/task/TextLanguageDetectionTask.d.ts +4 -4
- package/dist/task/TextNamedEntityRecognitionTask.d.ts +4 -4
- package/dist/task/TextQuestionAnswerTask.d.ts +4 -4
- package/dist/task/TextRewriterTask.d.ts +4 -4
- package/dist/task/TextSummaryTask.d.ts +4 -4
- package/dist/task/TextTranslationTask.d.ts +4 -4
- package/dist/task/UnloadModelTask.d.ts +10 -10
- package/dist/task/base/AiTaskSchemas.d.ts +4 -4
- package/package.json +9 -9
|
@@ -43,7 +43,7 @@ declare const UnloadModelInputSchema: {
|
|
|
43
43
|
readonly provider: {
|
|
44
44
|
readonly type: "string";
|
|
45
45
|
};
|
|
46
|
-
readonly
|
|
46
|
+
readonly provider_config: {
|
|
47
47
|
readonly type: "object";
|
|
48
48
|
readonly default: {};
|
|
49
49
|
};
|
|
@@ -53,7 +53,7 @@ declare const UnloadModelInputSchema: {
|
|
|
53
53
|
readonly "x-ui-hidden": true;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
readonly required: readonly ["provider", "
|
|
56
|
+
readonly required: readonly ["provider", "provider_config"];
|
|
57
57
|
readonly format: "model";
|
|
58
58
|
readonly additionalProperties: false;
|
|
59
59
|
} & {
|
|
@@ -93,7 +93,7 @@ declare const UnloadModelInputSchema: {
|
|
|
93
93
|
readonly provider: {
|
|
94
94
|
readonly type: "string";
|
|
95
95
|
};
|
|
96
|
-
readonly
|
|
96
|
+
readonly provider_config: {
|
|
97
97
|
readonly type: "object";
|
|
98
98
|
readonly default: {};
|
|
99
99
|
};
|
|
@@ -103,7 +103,7 @@ declare const UnloadModelInputSchema: {
|
|
|
103
103
|
readonly "x-ui-hidden": true;
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
readonly required: readonly ["provider", "
|
|
106
|
+
readonly required: readonly ["provider", "provider_config"];
|
|
107
107
|
readonly format: "model";
|
|
108
108
|
readonly additionalProperties: false;
|
|
109
109
|
} & {
|
|
@@ -156,7 +156,7 @@ declare const UnloadModelOutputSchema: {
|
|
|
156
156
|
readonly provider: {
|
|
157
157
|
readonly type: "string";
|
|
158
158
|
};
|
|
159
|
-
readonly
|
|
159
|
+
readonly provider_config: {
|
|
160
160
|
readonly type: "object";
|
|
161
161
|
readonly default: {};
|
|
162
162
|
};
|
|
@@ -166,7 +166,7 @@ declare const UnloadModelOutputSchema: {
|
|
|
166
166
|
readonly "x-ui-hidden": true;
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
|
-
readonly required: readonly ["provider", "
|
|
169
|
+
readonly required: readonly ["provider", "provider_config"];
|
|
170
170
|
readonly format: "model";
|
|
171
171
|
readonly additionalProperties: false;
|
|
172
172
|
} & {
|
|
@@ -206,7 +206,7 @@ declare const UnloadModelOutputSchema: {
|
|
|
206
206
|
readonly provider: {
|
|
207
207
|
readonly type: "string";
|
|
208
208
|
};
|
|
209
|
-
readonly
|
|
209
|
+
readonly provider_config: {
|
|
210
210
|
readonly type: "object";
|
|
211
211
|
readonly default: {};
|
|
212
212
|
};
|
|
@@ -216,7 +216,7 @@ declare const UnloadModelOutputSchema: {
|
|
|
216
216
|
readonly "x-ui-hidden": true;
|
|
217
217
|
};
|
|
218
218
|
};
|
|
219
|
-
readonly required: readonly ["provider", "
|
|
219
|
+
readonly required: readonly ["provider", "provider_config"];
|
|
220
220
|
readonly format: "model";
|
|
221
221
|
readonly additionalProperties: false;
|
|
222
222
|
} & {
|
|
@@ -268,7 +268,7 @@ export declare const unloadModel: (input: UnloadModelTaskRunInput, config?: JobQ
|
|
|
268
268
|
[x: string]: unknown;
|
|
269
269
|
} | undefined;
|
|
270
270
|
provider: string;
|
|
271
|
-
|
|
271
|
+
provider_config: {
|
|
272
272
|
[x: string]: unknown;
|
|
273
273
|
};
|
|
274
274
|
} | (string | {
|
|
@@ -280,7 +280,7 @@ export declare const unloadModel: (input: UnloadModelTaskRunInput, config?: JobQ
|
|
|
280
280
|
[x: string]: unknown;
|
|
281
281
|
} | undefined;
|
|
282
282
|
provider: string;
|
|
283
|
-
|
|
283
|
+
provider_config: {
|
|
284
284
|
[x: string]: unknown;
|
|
285
285
|
};
|
|
286
286
|
})[];
|
|
@@ -143,7 +143,7 @@ export declare function TypeModelByDetail<S extends TypeModelSemantic = "model",
|
|
|
143
143
|
readonly provider: {
|
|
144
144
|
readonly type: "string";
|
|
145
145
|
};
|
|
146
|
-
readonly
|
|
146
|
+
readonly provider_config: {
|
|
147
147
|
readonly type: "object";
|
|
148
148
|
readonly default: {};
|
|
149
149
|
};
|
|
@@ -153,7 +153,7 @@ export declare function TypeModelByDetail<S extends TypeModelSemantic = "model",
|
|
|
153
153
|
readonly "x-ui-hidden": true;
|
|
154
154
|
};
|
|
155
155
|
};
|
|
156
|
-
readonly required: readonly ["provider", "
|
|
156
|
+
readonly required: readonly ["provider", "provider_config"];
|
|
157
157
|
readonly format: "model";
|
|
158
158
|
readonly additionalProperties: false;
|
|
159
159
|
} & O & {
|
|
@@ -189,7 +189,7 @@ export declare function TypeModel<S extends TypeModelSemantic = "model", O exten
|
|
|
189
189
|
readonly provider: {
|
|
190
190
|
readonly type: "string";
|
|
191
191
|
};
|
|
192
|
-
readonly
|
|
192
|
+
readonly provider_config: {
|
|
193
193
|
readonly type: "object";
|
|
194
194
|
readonly default: {};
|
|
195
195
|
};
|
|
@@ -199,7 +199,7 @@ export declare function TypeModel<S extends TypeModelSemantic = "model", O exten
|
|
|
199
199
|
readonly "x-ui-hidden": true;
|
|
200
200
|
};
|
|
201
201
|
};
|
|
202
|
-
readonly required: readonly ["provider", "
|
|
202
|
+
readonly required: readonly ["provider", "provider_config"];
|
|
203
203
|
readonly format: "model";
|
|
204
204
|
readonly additionalProperties: false;
|
|
205
205
|
} & O & {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workglow/ai",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.83",
|
|
5
5
|
"description": "Core AI functionality for Workglow, including task execution, model management, and AI pipeline orchestration.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"watch": "concurrently -c 'auto' 'bun:watch-*'",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@workglow/job-queue": "0.0.
|
|
40
|
-
"@workglow/storage": "0.0.
|
|
41
|
-
"@workglow/task-graph": "0.0.
|
|
42
|
-
"@workglow/util": "0.0.
|
|
39
|
+
"@workglow/job-queue": "0.0.83",
|
|
40
|
+
"@workglow/storage": "0.0.83",
|
|
41
|
+
"@workglow/task-graph": "0.0.83",
|
|
42
|
+
"@workglow/util": "0.0.83"
|
|
43
43
|
},
|
|
44
44
|
"peerDependenciesMeta": {
|
|
45
45
|
"@workglow/job-queue": {
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@workglow/job-queue": "0.0.
|
|
60
|
-
"@workglow/storage": "0.0.
|
|
61
|
-
"@workglow/task-graph": "0.0.
|
|
62
|
-
"@workglow/util": "0.0.
|
|
59
|
+
"@workglow/job-queue": "0.0.83",
|
|
60
|
+
"@workglow/storage": "0.0.83",
|
|
61
|
+
"@workglow/task-graph": "0.0.83",
|
|
62
|
+
"@workglow/util": "0.0.83"
|
|
63
63
|
}
|
|
64
64
|
}
|