@workglow/ai 0.0.116 → 0.0.118

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.
@@ -9,12 +9,28 @@ import { StreamingAiTask } from "./base/StreamingAiTask";
9
9
  /**
10
10
  * A tool definition that can be passed to an LLM for tool calling.
11
11
  * Can be created manually or generated from TaskRegistry entries via {@link taskTypesToTools}.
12
+ *
13
+ * The `name` is used both as the tool name presented to the LLM and as a
14
+ * lookup key for the backing Task in the TaskRegistry. When a tool is
15
+ * backed by a configurable task (e.g. `McpToolCallTask`, `JavaScriptTask`),
16
+ * `configSchema` describes what configuration the task accepts and `config`
17
+ * provides the concrete values. The LLM never sees `configSchema` or
18
+ * `config` — they are setup-time concerns used when instantiating the task.
12
19
  */
13
20
  export interface ToolDefinition {
14
21
  name: string;
15
22
  description: string;
16
23
  inputSchema: JsonSchema;
17
24
  outputSchema?: JsonSchema;
25
+ /** JSON Schema describing the task's configuration options. */
26
+ configSchema?: JsonSchema;
27
+ /** Concrete configuration values matching {@link configSchema}. */
28
+ config?: Record<string, unknown>;
29
+ /**
30
+ * Optional custom executor function. When provided, the tool is executed
31
+ * by calling this function directly instead of instantiating a Task.
32
+ */
33
+ execute?: (input: Record<string, unknown>) => Promise<Record<string, unknown>>;
18
34
  }
19
35
  /**
20
36
  * A tool call returned by the LLM, requesting invocation of a specific tool.
@@ -24,6 +40,7 @@ export interface ToolCall {
24
40
  name: string;
25
41
  input: Record<string, unknown>;
26
42
  }
43
+ export type ToolCalls = Array<ToolCall>;
27
44
  /**
28
45
  * Controls which tools the model may call.
29
46
  * - `"auto"` — model decides whether to call tools
@@ -43,23 +60,28 @@ export declare function buildToolDescription(tool: ToolDefinition): string;
43
60
  */
44
61
  export declare function isAllowedToolName(name: string, allowedTools: ReadonlyArray<ToolDefinition>): boolean;
45
62
  /**
46
- * Filters a Record of tool calls, removing any whose name does not appear
47
- * in the provided tools list. Returns the filtered Record.
63
+ * Filters an array of tool calls, removing any whose name does not appear
64
+ * in the provided tools list. Returns the filtered array.
48
65
  */
49
- export declare function filterValidToolCalls(toolCalls: Record<string, unknown>, allowedTools: ReadonlyArray<ToolDefinition>): Record<string, unknown>;
66
+ export declare function filterValidToolCalls(toolCalls: ToolCalls, allowedTools: ReadonlyArray<ToolDefinition>): ToolCalls;
67
+ export interface ToolDefinitionWithTaskType extends ToolDefinition {
68
+ /** The task type name this definition was generated from. */
69
+ readonly taskType: string;
70
+ }
50
71
  /**
51
- * Converts an allow-list of task type names into {@link ToolDefinition} objects
52
- * suitable for the ToolCallingTask input.
72
+ * Converts an allow-list of task type names into {@link ToolDefinitionWithTaskType} objects
73
+ * suitable for the ToolCallingTask input. Each entry carries the originating
74
+ * `taskType` so callers don't need to rely on index correspondence.
53
75
  *
54
76
  * Each task's `type`, `description`, `inputSchema()`, and `outputSchema()`
55
77
  * are used to build the tool definition.
56
78
  *
57
79
  * @param taskNames - Array of task type names registered in the task constructors
58
80
  * @param registry - Optional service registry for DI-based lookups
59
- * @returns Array of ToolDefinition objects
81
+ * @returns Array of ToolDefinitionWithTaskType objects
60
82
  * @throws Error if a task name is not found in the registry
61
83
  */
62
- export declare function taskTypesToTools(taskNames: ReadonlyArray<string>, registry?: ServiceRegistry): ToolDefinition[];
84
+ export declare function taskTypesToTools(taskNames: ReadonlyArray<string>, registry?: ServiceRegistry): ToolDefinitionWithTaskType[];
63
85
  export declare const ToolDefinitionSchema: {
64
86
  readonly type: "object";
65
87
  readonly properties: {
@@ -85,9 +107,21 @@ export declare const ToolDefinitionSchema: {
85
107
  readonly description: "JSON Schema describing what the tool returns";
86
108
  readonly additionalProperties: true;
87
109
  };
110
+ readonly configSchema: {
111
+ readonly type: "object";
112
+ readonly title: "Config Schema";
113
+ readonly description: "JSON Schema describing the task's configuration options (not sent to the LLM)";
114
+ readonly additionalProperties: true;
115
+ };
116
+ readonly config: {
117
+ readonly type: "object";
118
+ readonly title: "Config";
119
+ readonly description: "Concrete configuration values for the backing task (not sent to the LLM)";
120
+ readonly additionalProperties: true;
121
+ };
88
122
  };
89
123
  readonly required: readonly ["name", "description", "inputSchema"];
90
- readonly additionalProperties: false;
124
+ readonly additionalProperties: true;
91
125
  };
92
126
  export declare const ToolCallingInputSchema: {
93
127
  readonly type: "object";
@@ -150,24 +184,55 @@ export declare const ToolCallingInputSchema: {
150
184
  readonly format: import(".").TypeModelSemantic;
151
185
  };
152
186
  readonly prompt: {
153
- readonly anyOf: readonly [{
187
+ readonly oneOf: readonly [{
154
188
  readonly type: "string";
155
189
  readonly title: "Prompt";
156
190
  readonly description: "The prompt to send to the model";
157
191
  }, {
158
192
  readonly type: "array";
193
+ readonly title: "Prompt";
194
+ readonly description: "The prompt as an array of strings or content blocks";
159
195
  readonly items: {
160
- readonly type: "string";
161
- readonly title: "Prompt";
162
- readonly description: "The prompt to send to the model";
196
+ readonly oneOf: readonly [{
197
+ readonly type: "string";
198
+ }, {
199
+ readonly type: "object";
200
+ readonly properties: {
201
+ readonly type: {
202
+ readonly type: "string";
203
+ readonly enum: readonly ["text", "image", "audio"];
204
+ };
205
+ };
206
+ readonly required: readonly ["type"];
207
+ readonly additionalProperties: true;
208
+ }];
163
209
  };
164
210
  }];
211
+ readonly title: "Prompt";
212
+ readonly description: "The prompt to send to the model";
165
213
  };
166
214
  readonly systemPrompt: {
167
215
  readonly type: "string";
168
216
  readonly title: "System Prompt";
169
217
  readonly description: "Optional system instructions for the model";
170
218
  };
219
+ readonly messages: {
220
+ readonly type: "array";
221
+ readonly title: "Messages";
222
+ readonly description: "Full conversation history for multi-turn interactions. When provided, used instead of prompt to construct the messages array sent to the provider.";
223
+ readonly items: {
224
+ readonly type: "object";
225
+ readonly properties: {
226
+ readonly role: {
227
+ readonly type: "string";
228
+ readonly enum: readonly ["user", "assistant", "tool"];
229
+ };
230
+ readonly content: {};
231
+ };
232
+ readonly required: readonly ["role", "content"];
233
+ readonly additionalProperties: true;
234
+ };
235
+ };
171
236
  readonly tools: {
172
237
  readonly type: "array";
173
238
  readonly format: "tasks";
@@ -203,9 +268,21 @@ export declare const ToolCallingInputSchema: {
203
268
  readonly description: "JSON Schema describing what the tool returns";
204
269
  readonly additionalProperties: true;
205
270
  };
271
+ readonly configSchema: {
272
+ readonly type: "object";
273
+ readonly title: "Config Schema";
274
+ readonly description: "JSON Schema describing the task's configuration options (not sent to the LLM)";
275
+ readonly additionalProperties: true;
276
+ };
277
+ readonly config: {
278
+ readonly type: "object";
279
+ readonly title: "Config";
280
+ readonly description: "Concrete configuration values for the backing task (not sent to the LLM)";
281
+ readonly additionalProperties: true;
282
+ };
206
283
  };
207
284
  readonly required: readonly ["name", "description", "inputSchema"];
208
- readonly additionalProperties: false;
285
+ readonly additionalProperties: true;
209
286
  }];
210
287
  };
211
288
  };
@@ -255,19 +332,53 @@ export declare const ToolCallingOutputSchema: {
255
332
  };
256
333
  readonly toolCalls: {
257
334
  readonly anyOf: readonly [{
258
- readonly type: "object";
259
- readonly title: "Tool Calls";
260
- readonly description: "Tool invocations requested by the model, keyed by call id";
261
- readonly additionalProperties: true;
262
335
  readonly "x-stream": "object";
336
+ readonly type: "object";
337
+ readonly properties: {
338
+ readonly id: {
339
+ readonly type: "string";
340
+ readonly title: "ID";
341
+ readonly description: "Unique identifier for this tool call";
342
+ };
343
+ readonly name: {
344
+ readonly type: "string";
345
+ readonly title: "Name";
346
+ readonly description: "The name of the tool to invoke";
347
+ };
348
+ readonly input: {
349
+ readonly type: "object";
350
+ readonly title: "Input";
351
+ readonly description: "The input arguments for the tool call";
352
+ readonly additionalProperties: true;
353
+ };
354
+ };
355
+ readonly required: readonly ["id", "name", "input"];
356
+ readonly additionalProperties: false;
263
357
  }, {
264
358
  readonly type: "array";
265
359
  readonly items: {
266
- readonly type: "object";
267
- readonly title: "Tool Calls";
268
- readonly description: "Tool invocations requested by the model, keyed by call id";
269
- readonly additionalProperties: true;
270
360
  readonly "x-stream": "object";
361
+ readonly type: "object";
362
+ readonly properties: {
363
+ readonly id: {
364
+ readonly type: "string";
365
+ readonly title: "ID";
366
+ readonly description: "Unique identifier for this tool call";
367
+ };
368
+ readonly name: {
369
+ readonly type: "string";
370
+ readonly title: "Name";
371
+ readonly description: "The name of the tool to invoke";
372
+ };
373
+ readonly input: {
374
+ readonly type: "object";
375
+ readonly title: "Input";
376
+ readonly description: "The input arguments for the tool call";
377
+ readonly additionalProperties: true;
378
+ };
379
+ };
380
+ readonly required: readonly ["id", "name", "input"];
381
+ readonly additionalProperties: false;
271
382
  };
272
383
  }];
273
384
  };
@@ -282,9 +393,17 @@ export declare const ToolCallingOutputSchema: {
282
393
  * references and inline tool definitions, but the input resolver converts all
283
394
  * strings to {@link ToolDefinition} objects before execution. The `tools` field
284
395
  * is therefore narrowed to `ToolDefinition[]` here.
396
+ *
397
+ * Extends the schema-derived base with the
398
+ * `messages` field typed explicitly (the loose `content: {}` in the
399
+ * schema prevents `FromSchema` from producing a useful type).
285
400
  */
286
401
  export type ToolCallingTaskInput = Omit<FromSchema<typeof ToolCallingInputSchema>, "tools"> & {
287
402
  readonly tools: ToolDefinition[];
403
+ readonly messages?: ReadonlyArray<{
404
+ readonly role: "user" | "assistant" | "tool";
405
+ readonly content: unknown;
406
+ }>;
288
407
  };
289
408
  export type ToolCallingTaskOutput = FromSchema<typeof ToolCallingOutputSchema>;
290
409
  export declare class ToolCallingTask extends StreamingAiTask<ToolCallingTaskInput, ToolCallingTaskOutput, JobQueueTaskConfig> {
@@ -301,10 +420,18 @@ export declare class ToolCallingTask extends StreamingAiTask<ToolCallingTaskInpu
301
420
  export declare const toolCalling: (input: ToolCallingTaskInput, config?: JobQueueTaskConfig) => Promise<{
302
421
  text: string | string[];
303
422
  toolCalls: {
304
- [x: string]: unknown;
305
- }[] | {
306
- [x: string]: unknown;
307
- };
423
+ id: string;
424
+ name: string;
425
+ input: {
426
+ [x: string]: unknown;
427
+ };
428
+ } | {
429
+ id: string;
430
+ name: string;
431
+ input: {
432
+ [x: string]: unknown;
433
+ };
434
+ }[];
308
435
  }>;
309
436
  declare module "@workglow/task-graph" {
310
437
  interface Workflow {
@@ -1 +1 @@
1
- {"version":3,"file":"ToolCallingTask.d.ts","sourceRoot":"","sources":["../../src/task/ToolCallingTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,cAAc,EAEd,kBAAkB,EAEnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,UAAU,EAAa,UAAU,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEpG,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAMzD;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,UAAU,CAAC;IACxB,YAAY,CAAC,EAAE,UAAU,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAED;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAM5E;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,CAMjE;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,aAAa,CAAC,cAAc,CAAC,GAC1C,OAAO,CAET;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClC,YAAY,EAAE,aAAa,CAAC,cAAc,CAAC,GAC1C,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAczB;AAMD;;;;;;;;;;;GAWG;AACH,wBAAgB,g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C,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;KAC3B,CAAC,CAAC;CACJ,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAM/E,qBAAa,eAAgB,SAAQ,eAAe,CAClD,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,CACnB;IACC,OAAc,IAAI,SAAqB;IACvC,OAAc,QAAQ,SAAmB;IACzC,OAAc,KAAK,SAAkB;IACrC,OAAc,WAAW,SACkG;WAC7G,WAAW,IAAI,cAAc;WAG7B,YAAY,IAAI,cAAc;CAG7C;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,oBAAoB,EAAE,SAAS,kBAAkB;;;;;;;;;;;;;;;EAEnF,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,WAAW,EAAE,cAAc,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,kBAAkB,CAAC,CAAC;KAC9F;CACF"}
@@ -75,7 +75,7 @@ export type VectorSimilarityTaskInput = FromSchema<typeof SimilarityInputSchema,
75
75
  export type VectorSimilarityTaskOutput = FromSchema<typeof SimilarityOutputSchema, TypedArraySchemaOptions>;
76
76
  export declare class VectorSimilarityTask extends GraphAsTask<VectorSimilarityTaskInput, VectorSimilarityTaskOutput, JobQueueTaskConfig> {
77
77
  static readonly type = "VectorSimilarityTask";
78
- static readonly category = "Analysis";
78
+ static readonly category = "Vector";
79
79
  static readonly title = "Vector Similarity";
80
80
  static description: string;
81
81
  static readonly cacheable = true;
@@ -1 +1 @@
1
- {"version":3,"file":"VectorSimilarityTask.d.ts","sourceRoot":"","sources":["../../src/task/VectorSimilarityTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,kBAAkB,EAAY,MAAM,sBAAsB,CAAC;AACjG,OAAO,EAEL,cAAc,EACd,UAAU,EAIV,uBAAuB,EACx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,EACzB,0BAA0B,EAC1B,kBAAkB,CACnB,CAAC;KACH;CACF"}
@@ -3,6 +3,7 @@
3
3
  * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
+ import { AgentTask } from "./AgentTask";
6
7
  import { BackgroundRemovalTask } from "./BackgroundRemovalTask";
7
8
  import { ChunkRetrievalTask } from "./ChunkRetrievalTask";
8
9
  import { ChunkToVectorTask } from "./ChunkToVectorTask";
@@ -45,7 +46,11 @@ import { TopicSegmenterTask } from "./TopicSegmenterTask";
45
46
  import { UnloadModelTask } from "./UnloadModelTask";
46
47
  import { VectorQuantizeTask } from "./VectorQuantizeTask";
47
48
  import { VectorSimilarityTask } from "./VectorSimilarityTask";
48
- export declare const registerAiTasks: () => (typeof BackgroundRemovalTask | typeof ChunkToVectorTask | typeof CountTokensTask | typeof ContextBuilderTask | typeof DocumentEnricherTask | typeof ChunkRetrievalTask | typeof ChunkVectorHybridSearchTask | typeof ChunkVectorSearchTask | typeof ChunkVectorUpsertTask | typeof FaceDetectorTask | typeof FaceLandmarkerTask | typeof GestureRecognizerTask | typeof HandLandmarkerTask | typeof HierarchicalChunkerTask | typeof HierarchyJoinTask | typeof ImageClassificationTask | typeof ImageEmbeddingTask | typeof ImageSegmentationTask | typeof ImageToTextTask | typeof ModelInfoTask | typeof ObjectDetectionTask | typeof PoseLandmarkerTask | typeof QueryExpanderTask | typeof RerankerTask | typeof StructuralParserTask | typeof StructuredGenerationTask | typeof TextChunkerTask | typeof TextClassificationTask | typeof TextEmbeddingTask | typeof TextFillMaskTask | typeof TextGenerationTask | typeof TextLanguageDetectionTask | typeof TextNamedEntityRecognitionTask | typeof TextQuestionAnswerTask | typeof TextRewriterTask | typeof TextSummaryTask | typeof TextTranslationTask | typeof ToolCallingTask | typeof TopicSegmenterTask | typeof UnloadModelTask | typeof VectorQuantizeTask | typeof VectorSimilarityTask)[];
49
+ export declare const registerAiTasks: () => (typeof RerankerTask | typeof AgentTask | typeof BackgroundRemovalTask | typeof ChunkToVectorTask | typeof CountTokensTask | typeof ContextBuilderTask | typeof DocumentEnricherTask | typeof ChunkRetrievalTask | typeof ChunkVectorHybridSearchTask | typeof ChunkVectorSearchTask | typeof ChunkVectorUpsertTask | typeof FaceDetectorTask | typeof FaceLandmarkerTask | typeof GestureRecognizerTask | typeof HandLandmarkerTask | typeof HierarchicalChunkerTask | typeof HierarchyJoinTask | typeof ImageClassificationTask | typeof ImageEmbeddingTask | typeof ImageSegmentationTask | typeof ImageToTextTask | typeof ModelInfoTask | typeof ObjectDetectionTask | typeof PoseLandmarkerTask | typeof QueryExpanderTask | typeof StructuralParserTask | typeof StructuredGenerationTask | typeof TextChunkerTask | typeof TextClassificationTask | typeof TextEmbeddingTask | typeof TextFillMaskTask | typeof TextGenerationTask | typeof TextLanguageDetectionTask | typeof TextNamedEntityRecognitionTask | typeof TextQuestionAnswerTask | typeof TextRewriterTask | typeof TextSummaryTask | typeof TextTranslationTask | typeof ToolCallingTask | typeof TopicSegmenterTask | typeof UnloadModelTask | typeof VectorQuantizeTask | typeof VectorSimilarityTask)[];
50
+ export * from "./AgentTask";
51
+ export * from "./AgentTypes";
52
+ export * from "./AgentUtils";
53
+ export * from "./MessageConversion";
49
54
  export * from "./BackgroundRemovalTask";
50
55
  export * from "./base/AiTask";
51
56
  export * from "./base/AiTaskSchemas";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/task/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO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;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workglow/ai",
3
3
  "type": "module",
4
- "version": "0.0.116",
4
+ "version": "0.0.118",
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-*'",
@@ -37,11 +37,11 @@
37
37
  "access": "public"
38
38
  },
39
39
  "peerDependencies": {
40
- "@workglow/knowledge-base": "0.0.116",
41
- "@workglow/job-queue": "0.0.116",
42
- "@workglow/storage": "0.0.116",
43
- "@workglow/task-graph": "0.0.116",
44
- "@workglow/util": "0.0.116"
40
+ "@workglow/knowledge-base": "0.0.118",
41
+ "@workglow/job-queue": "0.0.118",
42
+ "@workglow/storage": "0.0.118",
43
+ "@workglow/task-graph": "0.0.118",
44
+ "@workglow/util": "0.0.118"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "@workglow/knowledge-base": {
@@ -61,10 +61,10 @@
61
61
  }
62
62
  },
63
63
  "devDependencies": {
64
- "@workglow/knowledge-base": "0.0.116",
65
- "@workglow/job-queue": "0.0.116",
66
- "@workglow/storage": "0.0.116",
67
- "@workglow/task-graph": "0.0.116",
68
- "@workglow/util": "0.0.116"
64
+ "@workglow/knowledge-base": "0.0.118",
65
+ "@workglow/job-queue": "0.0.118",
66
+ "@workglow/storage": "0.0.118",
67
+ "@workglow/task-graph": "0.0.118",
68
+ "@workglow/util": "0.0.118"
69
69
  }
70
70
  }