@workglow/ai 0.0.82 → 0.0.84

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.
Files changed (36) hide show
  1. package/README.md +1 -1
  2. package/dist/browser.js +13 -5
  3. package/dist/browser.js.map +4 -4
  4. package/dist/bun.js +13 -5
  5. package/dist/bun.js.map +4 -4
  6. package/dist/model/ModelRepository.d.ts +4 -4
  7. package/dist/model/ModelSchema.d.ts +4 -4
  8. package/dist/model/ModelSchema.d.ts.map +1 -1
  9. package/dist/node.js +13 -5
  10. package/dist/node.js.map +4 -4
  11. package/dist/provider/AiProviderRegistry.d.ts +1 -1
  12. package/dist/task/BackgroundRemovalTask.d.ts +4 -4
  13. package/dist/task/DownloadModelTask.d.ts +10 -10
  14. package/dist/task/FaceDetectorTask.d.ts +4 -4
  15. package/dist/task/FaceLandmarkerTask.d.ts +4 -4
  16. package/dist/task/GestureRecognizerTask.d.ts +4 -4
  17. package/dist/task/HandLandmarkerTask.d.ts +4 -4
  18. package/dist/task/ImageClassificationTask.d.ts +4 -4
  19. package/dist/task/ImageEmbeddingTask.d.ts +4 -4
  20. package/dist/task/ImageSegmentationTask.d.ts +4 -4
  21. package/dist/task/ImageToTextTask.d.ts +4 -4
  22. package/dist/task/ObjectDetectionTask.d.ts +4 -4
  23. package/dist/task/PoseLandmarkerTask.d.ts +4 -4
  24. package/dist/task/TextClassificationTask.d.ts +4 -4
  25. package/dist/task/TextEmbeddingTask.d.ts +4 -4
  26. package/dist/task/TextFillMaskTask.d.ts +4 -4
  27. package/dist/task/TextGenerationTask.d.ts +4 -4
  28. package/dist/task/TextLanguageDetectionTask.d.ts +4 -4
  29. package/dist/task/TextNamedEntityRecognitionTask.d.ts +4 -4
  30. package/dist/task/TextQuestionAnswerTask.d.ts +4 -4
  31. package/dist/task/TextRewriterTask.d.ts +4 -4
  32. package/dist/task/TextSummaryTask.d.ts +4 -4
  33. package/dist/task/TextTranslationTask.d.ts +4 -4
  34. package/dist/task/UnloadModelTask.d.ts +10 -10
  35. package/dist/task/base/AiTaskSchemas.d.ts +4 -4
  36. package/package.json +9 -9
@@ -105,7 +105,7 @@ export declare const TextTranslationInputSchema: {
105
105
  readonly provider: {
106
106
  readonly type: "string";
107
107
  };
108
- readonly providerConfig: {
108
+ readonly provider_config: {
109
109
  readonly type: "object";
110
110
  readonly default: {};
111
111
  };
@@ -115,7 +115,7 @@ export declare const TextTranslationInputSchema: {
115
115
  readonly "x-ui-hidden": true;
116
116
  };
117
117
  };
118
- readonly required: readonly ["provider", "providerConfig"];
118
+ readonly required: readonly ["provider", "provider_config"];
119
119
  readonly format: "model";
120
120
  readonly additionalProperties: false;
121
121
  } & {
@@ -155,7 +155,7 @@ export declare const TextTranslationInputSchema: {
155
155
  readonly provider: {
156
156
  readonly type: "string";
157
157
  };
158
- readonly providerConfig: {
158
+ readonly provider_config: {
159
159
  readonly type: "object";
160
160
  readonly default: {};
161
161
  };
@@ -165,7 +165,7 @@ export declare const TextTranslationInputSchema: {
165
165
  readonly "x-ui-hidden": true;
166
166
  };
167
167
  };
168
- readonly required: readonly ["provider", "providerConfig"];
168
+ readonly required: readonly ["provider", "provider_config"];
169
169
  readonly format: "model";
170
170
  readonly additionalProperties: false;
171
171
  } & {
@@ -43,7 +43,7 @@ declare const UnloadModelInputSchema: {
43
43
  readonly provider: {
44
44
  readonly type: "string";
45
45
  };
46
- readonly providerConfig: {
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", "providerConfig"];
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 providerConfig: {
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", "providerConfig"];
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 providerConfig: {
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", "providerConfig"];
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 providerConfig: {
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", "providerConfig"];
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
- providerConfig: {
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
- providerConfig: {
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 providerConfig: {
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", "providerConfig"];
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 providerConfig: {
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", "providerConfig"];
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.82",
4
+ "version": "0.0.84",
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.82",
40
- "@workglow/storage": "0.0.82",
41
- "@workglow/task-graph": "0.0.82",
42
- "@workglow/util": "0.0.82"
39
+ "@workglow/job-queue": "0.0.84",
40
+ "@workglow/storage": "0.0.84",
41
+ "@workglow/task-graph": "0.0.84",
42
+ "@workglow/util": "0.0.84"
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.82",
60
- "@workglow/storage": "0.0.82",
61
- "@workglow/task-graph": "0.0.82",
62
- "@workglow/util": "0.0.82"
59
+ "@workglow/job-queue": "0.0.84",
60
+ "@workglow/storage": "0.0.84",
61
+ "@workglow/task-graph": "0.0.84",
62
+ "@workglow/util": "0.0.84"
63
63
  }
64
64
  }