@workglow/ai 0.2.14 → 0.2.15
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/browser.js +27 -15
- package/dist/browser.js.map +5 -5
- package/dist/bun.js +27 -15
- package/dist/bun.js.map +5 -5
- package/dist/node.js +27 -15
- package/dist/node.js.map +5 -5
- package/dist/task/AiChatTask.d.ts +150 -231
- package/dist/task/AiChatTask.d.ts.map +1 -1
- package/dist/task/ChatMessage.d.ts +110 -155
- package/dist/task/ChatMessage.d.ts.map +1 -1
- package/dist/task/StructuredGenerationTask.d.ts +1 -1
- package/dist/task/StructuredGenerationTask.d.ts.map +1 -1
- package/dist/task/ToolCallingTask.d.ts +50 -77
- package/dist/task/ToolCallingTask.d.ts.map +1 -1
- package/dist/task/base/AiVisionTask.d.ts.map +1 -1
- package/package.json +11 -11
|
@@ -18,10 +18,18 @@ export type ContentBlockToolUse = {
|
|
|
18
18
|
readonly name: string;
|
|
19
19
|
readonly input: Record<string, unknown>;
|
|
20
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* Blocks that may appear in a `tool_result`'s `content` array. Provider payloads
|
|
23
|
+
* typically use text, image, and tool_use; nested `tool_result` is not modeled
|
|
24
|
+
* here so the JSON schema can be embedded in parent task schemas without a
|
|
25
|
+
* recursive `$ref` (which fails to resolve when `ContentBlockSchema` is nested
|
|
26
|
+
* under a larger document such as `ToolCallingInputSchema`).
|
|
27
|
+
*/
|
|
28
|
+
export type ContentBlockInToolResultBody = ContentBlockText | ContentBlockImage | ContentBlockToolUse;
|
|
21
29
|
export type ContentBlockToolResult = {
|
|
22
30
|
readonly type: "tool_result";
|
|
23
31
|
readonly tool_use_id: string;
|
|
24
|
-
readonly content: ReadonlyArray<
|
|
32
|
+
readonly content: ReadonlyArray<ContentBlockInToolResultBody>;
|
|
25
33
|
readonly is_error: boolean | undefined;
|
|
26
34
|
};
|
|
27
35
|
export type ContentBlock = ContentBlockText | ContentBlockImage | ContentBlockToolUse | ContentBlockToolResult;
|
|
@@ -93,7 +101,56 @@ export declare const ContentBlockSchema: {
|
|
|
93
101
|
readonly content: {
|
|
94
102
|
readonly type: "array";
|
|
95
103
|
readonly items: {
|
|
96
|
-
readonly
|
|
104
|
+
readonly oneOf: readonly [{
|
|
105
|
+
readonly type: "object";
|
|
106
|
+
readonly properties: {
|
|
107
|
+
readonly type: {
|
|
108
|
+
readonly type: "string";
|
|
109
|
+
readonly enum: readonly ["text"];
|
|
110
|
+
};
|
|
111
|
+
readonly text: {
|
|
112
|
+
readonly type: "string";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
readonly required: readonly ["type", "text"];
|
|
116
|
+
readonly additionalProperties: false;
|
|
117
|
+
}, {
|
|
118
|
+
readonly type: "object";
|
|
119
|
+
readonly properties: {
|
|
120
|
+
readonly type: {
|
|
121
|
+
readonly type: "string";
|
|
122
|
+
readonly enum: readonly ["image"];
|
|
123
|
+
};
|
|
124
|
+
readonly mimeType: {
|
|
125
|
+
readonly type: "string";
|
|
126
|
+
};
|
|
127
|
+
readonly data: {
|
|
128
|
+
readonly type: "string";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
readonly required: readonly ["type", "mimeType", "data"];
|
|
132
|
+
readonly additionalProperties: false;
|
|
133
|
+
}, {
|
|
134
|
+
readonly type: "object";
|
|
135
|
+
readonly properties: {
|
|
136
|
+
readonly type: {
|
|
137
|
+
readonly type: "string";
|
|
138
|
+
readonly enum: readonly ["tool_use"];
|
|
139
|
+
};
|
|
140
|
+
readonly id: {
|
|
141
|
+
readonly type: "string";
|
|
142
|
+
};
|
|
143
|
+
readonly name: {
|
|
144
|
+
readonly type: "string";
|
|
145
|
+
};
|
|
146
|
+
readonly input: {
|
|
147
|
+
readonly type: "object";
|
|
148
|
+
readonly additionalProperties: true;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
readonly required: readonly ["type", "id", "name", "input"];
|
|
152
|
+
readonly additionalProperties: false;
|
|
153
|
+
}];
|
|
97
154
|
};
|
|
98
155
|
};
|
|
99
156
|
readonly is_error: {
|
|
@@ -103,82 +160,6 @@ export declare const ContentBlockSchema: {
|
|
|
103
160
|
readonly required: readonly ["type", "tool_use_id", "content"];
|
|
104
161
|
readonly additionalProperties: false;
|
|
105
162
|
}];
|
|
106
|
-
readonly definitions: {
|
|
107
|
-
readonly ContentBlock: {
|
|
108
|
-
readonly oneOf: readonly [{
|
|
109
|
-
readonly type: "object";
|
|
110
|
-
readonly properties: {
|
|
111
|
-
readonly type: {
|
|
112
|
-
readonly type: "string";
|
|
113
|
-
readonly enum: readonly ["text"];
|
|
114
|
-
};
|
|
115
|
-
readonly text: {
|
|
116
|
-
readonly type: "string";
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
readonly required: readonly ["type", "text"];
|
|
120
|
-
readonly additionalProperties: false;
|
|
121
|
-
}, {
|
|
122
|
-
readonly type: "object";
|
|
123
|
-
readonly properties: {
|
|
124
|
-
readonly type: {
|
|
125
|
-
readonly type: "string";
|
|
126
|
-
readonly enum: readonly ["image"];
|
|
127
|
-
};
|
|
128
|
-
readonly mimeType: {
|
|
129
|
-
readonly type: "string";
|
|
130
|
-
};
|
|
131
|
-
readonly data: {
|
|
132
|
-
readonly type: "string";
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
readonly required: readonly ["type", "mimeType", "data"];
|
|
136
|
-
readonly additionalProperties: false;
|
|
137
|
-
}, {
|
|
138
|
-
readonly type: "object";
|
|
139
|
-
readonly properties: {
|
|
140
|
-
readonly type: {
|
|
141
|
-
readonly type: "string";
|
|
142
|
-
readonly enum: readonly ["tool_use"];
|
|
143
|
-
};
|
|
144
|
-
readonly id: {
|
|
145
|
-
readonly type: "string";
|
|
146
|
-
};
|
|
147
|
-
readonly name: {
|
|
148
|
-
readonly type: "string";
|
|
149
|
-
};
|
|
150
|
-
readonly input: {
|
|
151
|
-
readonly type: "object";
|
|
152
|
-
readonly additionalProperties: true;
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
readonly required: readonly ["type", "id", "name", "input"];
|
|
156
|
-
readonly additionalProperties: false;
|
|
157
|
-
}, {
|
|
158
|
-
readonly type: "object";
|
|
159
|
-
readonly properties: {
|
|
160
|
-
readonly type: {
|
|
161
|
-
readonly type: "string";
|
|
162
|
-
readonly enum: readonly ["tool_result"];
|
|
163
|
-
};
|
|
164
|
-
readonly tool_use_id: {
|
|
165
|
-
readonly type: "string";
|
|
166
|
-
};
|
|
167
|
-
readonly content: {
|
|
168
|
-
readonly type: "array";
|
|
169
|
-
readonly items: {
|
|
170
|
-
readonly $ref: "#/definitions/ContentBlock";
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
readonly is_error: {
|
|
174
|
-
readonly type: "boolean";
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
readonly required: readonly ["type", "tool_use_id", "content"];
|
|
178
|
-
readonly additionalProperties: false;
|
|
179
|
-
}];
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
163
|
readonly title: "ContentBlock";
|
|
183
164
|
readonly description: "A single content block within a chat message";
|
|
184
165
|
};
|
|
@@ -254,7 +235,56 @@ export declare const ChatMessageSchema: {
|
|
|
254
235
|
readonly content: {
|
|
255
236
|
readonly type: "array";
|
|
256
237
|
readonly items: {
|
|
257
|
-
readonly
|
|
238
|
+
readonly oneOf: readonly [{
|
|
239
|
+
readonly type: "object";
|
|
240
|
+
readonly properties: {
|
|
241
|
+
readonly type: {
|
|
242
|
+
readonly type: "string";
|
|
243
|
+
readonly enum: readonly ["text"];
|
|
244
|
+
};
|
|
245
|
+
readonly text: {
|
|
246
|
+
readonly type: "string";
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
readonly required: readonly ["type", "text"];
|
|
250
|
+
readonly additionalProperties: false;
|
|
251
|
+
}, {
|
|
252
|
+
readonly type: "object";
|
|
253
|
+
readonly properties: {
|
|
254
|
+
readonly type: {
|
|
255
|
+
readonly type: "string";
|
|
256
|
+
readonly enum: readonly ["image"];
|
|
257
|
+
};
|
|
258
|
+
readonly mimeType: {
|
|
259
|
+
readonly type: "string";
|
|
260
|
+
};
|
|
261
|
+
readonly data: {
|
|
262
|
+
readonly type: "string";
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
readonly required: readonly ["type", "mimeType", "data"];
|
|
266
|
+
readonly additionalProperties: false;
|
|
267
|
+
}, {
|
|
268
|
+
readonly type: "object";
|
|
269
|
+
readonly properties: {
|
|
270
|
+
readonly type: {
|
|
271
|
+
readonly type: "string";
|
|
272
|
+
readonly enum: readonly ["tool_use"];
|
|
273
|
+
};
|
|
274
|
+
readonly id: {
|
|
275
|
+
readonly type: "string";
|
|
276
|
+
};
|
|
277
|
+
readonly name: {
|
|
278
|
+
readonly type: "string";
|
|
279
|
+
};
|
|
280
|
+
readonly input: {
|
|
281
|
+
readonly type: "object";
|
|
282
|
+
readonly additionalProperties: true;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
readonly required: readonly ["type", "id", "name", "input"];
|
|
286
|
+
readonly additionalProperties: false;
|
|
287
|
+
}];
|
|
258
288
|
};
|
|
259
289
|
};
|
|
260
290
|
readonly is_error: {
|
|
@@ -264,82 +294,6 @@ export declare const ChatMessageSchema: {
|
|
|
264
294
|
readonly required: readonly ["type", "tool_use_id", "content"];
|
|
265
295
|
readonly additionalProperties: false;
|
|
266
296
|
}];
|
|
267
|
-
readonly definitions: {
|
|
268
|
-
readonly ContentBlock: {
|
|
269
|
-
readonly oneOf: readonly [{
|
|
270
|
-
readonly type: "object";
|
|
271
|
-
readonly properties: {
|
|
272
|
-
readonly type: {
|
|
273
|
-
readonly type: "string";
|
|
274
|
-
readonly enum: readonly ["text"];
|
|
275
|
-
};
|
|
276
|
-
readonly text: {
|
|
277
|
-
readonly type: "string";
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
readonly required: readonly ["type", "text"];
|
|
281
|
-
readonly additionalProperties: false;
|
|
282
|
-
}, {
|
|
283
|
-
readonly type: "object";
|
|
284
|
-
readonly properties: {
|
|
285
|
-
readonly type: {
|
|
286
|
-
readonly type: "string";
|
|
287
|
-
readonly enum: readonly ["image"];
|
|
288
|
-
};
|
|
289
|
-
readonly mimeType: {
|
|
290
|
-
readonly type: "string";
|
|
291
|
-
};
|
|
292
|
-
readonly data: {
|
|
293
|
-
readonly type: "string";
|
|
294
|
-
};
|
|
295
|
-
};
|
|
296
|
-
readonly required: readonly ["type", "mimeType", "data"];
|
|
297
|
-
readonly additionalProperties: false;
|
|
298
|
-
}, {
|
|
299
|
-
readonly type: "object";
|
|
300
|
-
readonly properties: {
|
|
301
|
-
readonly type: {
|
|
302
|
-
readonly type: "string";
|
|
303
|
-
readonly enum: readonly ["tool_use"];
|
|
304
|
-
};
|
|
305
|
-
readonly id: {
|
|
306
|
-
readonly type: "string";
|
|
307
|
-
};
|
|
308
|
-
readonly name: {
|
|
309
|
-
readonly type: "string";
|
|
310
|
-
};
|
|
311
|
-
readonly input: {
|
|
312
|
-
readonly type: "object";
|
|
313
|
-
readonly additionalProperties: true;
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
readonly required: readonly ["type", "id", "name", "input"];
|
|
317
|
-
readonly additionalProperties: false;
|
|
318
|
-
}, {
|
|
319
|
-
readonly type: "object";
|
|
320
|
-
readonly properties: {
|
|
321
|
-
readonly type: {
|
|
322
|
-
readonly type: "string";
|
|
323
|
-
readonly enum: readonly ["tool_result"];
|
|
324
|
-
};
|
|
325
|
-
readonly tool_use_id: {
|
|
326
|
-
readonly type: "string";
|
|
327
|
-
};
|
|
328
|
-
readonly content: {
|
|
329
|
-
readonly type: "array";
|
|
330
|
-
readonly items: {
|
|
331
|
-
readonly $ref: "#/definitions/ContentBlock";
|
|
332
|
-
};
|
|
333
|
-
};
|
|
334
|
-
readonly is_error: {
|
|
335
|
-
readonly type: "boolean";
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
readonly required: readonly ["type", "tool_use_id", "content"];
|
|
339
|
-
readonly additionalProperties: false;
|
|
340
|
-
}];
|
|
341
|
-
};
|
|
342
|
-
};
|
|
343
297
|
readonly title: "ContentBlock";
|
|
344
298
|
readonly description: "A single content block within a chat message";
|
|
345
299
|
};
|
|
@@ -350,6 +304,7 @@ export declare const ChatMessageSchema: {
|
|
|
350
304
|
readonly title: "ChatMessage";
|
|
351
305
|
readonly description: "A single chat message with role and structured content blocks";
|
|
352
306
|
};
|
|
307
|
+
export declare function isContentBlockInToolResultBody(value: unknown): value is ContentBlockInToolResultBody;
|
|
353
308
|
export declare function isContentBlock(value: unknown): value is ContentBlock;
|
|
354
309
|
export declare function isChatMessage(value: unknown): value is ChatMessage;
|
|
355
310
|
export declare function textMessage(role: ChatRole, text: string): ChatMessage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../src/task/ChatMessage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,IAAI,EAA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,EAAE,QAAQ;;iCACpB,IAAI;qCAAI,IAAI,EAAE,QAAQ;;iCACtB,KAAK;qCAAI,IAAI,EAAE,QAAQ;qCAAE,oBAAoB;;;iDAEpC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO;;;mCAUlC,QAAQ;;iCAEZ,IAAI;qCAAI,IAAI,EAAE,QAAQ;qCAAE,IAAI,YAAG,aAAa;;iCAC5C,WAAW;qCAAI,IAAI,EAAE,QAAQ;;iCAC7B,OAAO;qCACL,IAAI,EAAE,OAAO;qCACb,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAEP,QAAQ;qCAAI,IAAI,EAAE,SAAS;;;iDAElB,MAAM,EAAE,aAAa,EAAE,SAAS;;;gCAapC,cAAc;sCACR,8CAA8C;;;;;;oBAcpD,aAAa;0BACP,+DAA+D;CAC3C,CAAC;AAMpC,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,4BAA4B,CAkBvC;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,YAAY,CAwBpE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,WAAW,CAMlE;AAMD,wBAAgB,WAAW,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,GAAG,WAAW,CAErE"}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { CreateWorkflow, TaskError } from "@workglow/task-graph";
|
|
7
6
|
import type { IExecuteContext, StreamEvent, TaskConfig } from "@workglow/task-graph";
|
|
7
|
+
import { CreateWorkflow, TaskError } from "@workglow/task-graph";
|
|
8
8
|
import type { DataPortSchema, FromSchema } from "@workglow/util/schema";
|
|
9
9
|
import { StreamingAiTask } from "./base/StreamingAiTask";
|
|
10
10
|
export declare const StructuredGenerationInputSchema: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StructuredGenerationTask.d.ts","sourceRoot":"","sources":["../../src/task/StructuredGenerationTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"StructuredGenerationTask.d.ts","sourceRoot":"","sources":["../../src/task/StructuredGenerationTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACrF,OAAO,EAAE,cAAc,EAA0B,SAAS,EAAY,MAAM,sBAAsB,CAAC;AACnG,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAc,MAAM,uBAAuB,CAAC;AAGpF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAIzD,eAAO,MAAM,+BAA+B;mBACpC,QAAQ;;iBAEZ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBACL,MAAM;qBACJ,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,QAAQ;qBACf,WAAW,EAAE,+CAA+C;;iBAE9D,YAAY;qBACV,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,eAAe;qBACtB,WAAW,EAAE,qDAAqD;qBAClE,oBAAoB;;iBAEtB,SAAS;qBACP,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,YAAY;qBACnB,WAAW,EAAE,0CAA0C;qBACvD,OAAO,EAAE,CAAC;qBACV,OAAO,EAAE,IAAI;qBACb,YAAY,EAAE,eAAe;;iBAE/B,WAAW;qBACT,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,aAAa;qBACpB,WAAW,EAAE,qCAAqC;qBAClD,OAAO,EAAE,CAAC;qBACV,OAAO,EAAE,CAA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AQ,eAAe,CAC3D,6BAA6B,EAC7B,8BAA8B,EAC9B,8BAA8B,CAC/B;IACC,OAAuB,IAAI,SAA8B;IACzD,OAAuB,QAAQ,SAAmB;IAClD,OAAuB,KAAK,SAA2B;IACvD,OAAuB,WAAW,SAC0G;IAC5I,OAAuB,WAAW,IAAI,cAAc,CAEnD;IACD,OAAuB,YAAY,IAAI,cAAc,CAEpD;IAED;;;;;;;;;OASG;IACa,aAAa,CAC3B,KAAK,EAAE,6BAA6B,EACpC,OAAO,EAAE,eAAe,GACvB,aAAa,CAAC,WAAW,CAAC,8BAA8B,CAAC,CAAC,CA6E5D;IAED;;;;OAIG;IACY,OAAO,CACpB,KAAK,EAAE,6BAA6B,EACpC,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAQrD;CACF;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,UACxB,6BAA6B,WAC3B,8BAA8B;;;;EAGxC,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC,CAAC;IACrC,UAAU,QAAQ;QAChB,oBAAoB,EAAE,cAAc,CAClC,6BAA6B,EAC7B,8BAA8B,EAC9B,8BAA8B,CAC/B,CAAC;KACH;CACF"}
|
|
@@ -247,7 +247,56 @@ export declare const ToolCallingInputSchema: {
|
|
|
247
247
|
readonly content: {
|
|
248
248
|
readonly type: "array";
|
|
249
249
|
readonly items: {
|
|
250
|
-
readonly
|
|
250
|
+
readonly oneOf: readonly [{
|
|
251
|
+
readonly type: "object";
|
|
252
|
+
readonly properties: {
|
|
253
|
+
readonly type: {
|
|
254
|
+
readonly type: "string";
|
|
255
|
+
readonly enum: readonly ["text"];
|
|
256
|
+
};
|
|
257
|
+
readonly text: {
|
|
258
|
+
readonly type: "string";
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
readonly required: readonly ["type", "text"];
|
|
262
|
+
readonly additionalProperties: false;
|
|
263
|
+
}, {
|
|
264
|
+
readonly type: "object";
|
|
265
|
+
readonly properties: {
|
|
266
|
+
readonly type: {
|
|
267
|
+
readonly type: "string";
|
|
268
|
+
readonly enum: readonly ["image"];
|
|
269
|
+
};
|
|
270
|
+
readonly mimeType: {
|
|
271
|
+
readonly type: "string";
|
|
272
|
+
};
|
|
273
|
+
readonly data: {
|
|
274
|
+
readonly type: "string";
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
readonly required: readonly ["type", "mimeType", "data"];
|
|
278
|
+
readonly additionalProperties: false;
|
|
279
|
+
}, {
|
|
280
|
+
readonly type: "object";
|
|
281
|
+
readonly properties: {
|
|
282
|
+
readonly type: {
|
|
283
|
+
readonly type: "string";
|
|
284
|
+
readonly enum: readonly ["tool_use"];
|
|
285
|
+
};
|
|
286
|
+
readonly id: {
|
|
287
|
+
readonly type: "string";
|
|
288
|
+
};
|
|
289
|
+
readonly name: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
};
|
|
292
|
+
readonly input: {
|
|
293
|
+
readonly type: "object";
|
|
294
|
+
readonly additionalProperties: true;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
readonly required: readonly ["type", "id", "name", "input"];
|
|
298
|
+
readonly additionalProperties: false;
|
|
299
|
+
}];
|
|
251
300
|
};
|
|
252
301
|
};
|
|
253
302
|
readonly is_error: {
|
|
@@ -257,82 +306,6 @@ export declare const ToolCallingInputSchema: {
|
|
|
257
306
|
readonly required: readonly ["type", "tool_use_id", "content"];
|
|
258
307
|
readonly additionalProperties: false;
|
|
259
308
|
}];
|
|
260
|
-
readonly definitions: {
|
|
261
|
-
readonly ContentBlock: {
|
|
262
|
-
readonly oneOf: readonly [{
|
|
263
|
-
readonly type: "object";
|
|
264
|
-
readonly properties: {
|
|
265
|
-
readonly type: {
|
|
266
|
-
readonly type: "string";
|
|
267
|
-
readonly enum: readonly ["text"];
|
|
268
|
-
};
|
|
269
|
-
readonly text: {
|
|
270
|
-
readonly type: "string";
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
readonly required: readonly ["type", "text"];
|
|
274
|
-
readonly additionalProperties: false;
|
|
275
|
-
}, {
|
|
276
|
-
readonly type: "object";
|
|
277
|
-
readonly properties: {
|
|
278
|
-
readonly type: {
|
|
279
|
-
readonly type: "string";
|
|
280
|
-
readonly enum: readonly ["image"];
|
|
281
|
-
};
|
|
282
|
-
readonly mimeType: {
|
|
283
|
-
readonly type: "string";
|
|
284
|
-
};
|
|
285
|
-
readonly data: {
|
|
286
|
-
readonly type: "string";
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
readonly required: readonly ["type", "mimeType", "data"];
|
|
290
|
-
readonly additionalProperties: false;
|
|
291
|
-
}, {
|
|
292
|
-
readonly type: "object";
|
|
293
|
-
readonly properties: {
|
|
294
|
-
readonly type: {
|
|
295
|
-
readonly type: "string";
|
|
296
|
-
readonly enum: readonly ["tool_use"];
|
|
297
|
-
};
|
|
298
|
-
readonly id: {
|
|
299
|
-
readonly type: "string";
|
|
300
|
-
};
|
|
301
|
-
readonly name: {
|
|
302
|
-
readonly type: "string";
|
|
303
|
-
};
|
|
304
|
-
readonly input: {
|
|
305
|
-
readonly type: "object";
|
|
306
|
-
readonly additionalProperties: true;
|
|
307
|
-
};
|
|
308
|
-
};
|
|
309
|
-
readonly required: readonly ["type", "id", "name", "input"];
|
|
310
|
-
readonly additionalProperties: false;
|
|
311
|
-
}, {
|
|
312
|
-
readonly type: "object";
|
|
313
|
-
readonly properties: {
|
|
314
|
-
readonly type: {
|
|
315
|
-
readonly type: "string";
|
|
316
|
-
readonly enum: readonly ["tool_result"];
|
|
317
|
-
};
|
|
318
|
-
readonly tool_use_id: {
|
|
319
|
-
readonly type: "string";
|
|
320
|
-
};
|
|
321
|
-
readonly content: {
|
|
322
|
-
readonly type: "array";
|
|
323
|
-
readonly items: {
|
|
324
|
-
readonly $ref: "#/definitions/ContentBlock";
|
|
325
|
-
};
|
|
326
|
-
};
|
|
327
|
-
readonly is_error: {
|
|
328
|
-
readonly type: "boolean";
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
readonly required: readonly ["type", "tool_use_id", "content"];
|
|
332
|
-
readonly additionalProperties: false;
|
|
333
|
-
}];
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
309
|
readonly title: "ContentBlock";
|
|
337
310
|
readonly description: "A single content block within a chat message";
|
|
338
311
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolCallingTask.d.ts","sourceRoot":"","sources":["../../src/task/ToolCallingTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAiC,MAAM,sBAAsB,CAAC;AAErF,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAErF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAmB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI/C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAMzD,MAAM,WAAW,0BAA2B,SAAQ,cAAc;IAChE,6DAA6D;IAC7D,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,aAAa,CAAC,MAAM,CAAC,EAChC,QAAQ,CAAC,EAAE,eAAe,GACzB,0BAA0B,EAAE,CAsB9B;AAMD,eAAO,MAAM,oBAAoB;aAC/B,IAAI,EAAE,QAAQ;aACd,UAAU;iBACR,IAAI;qBACF,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,MAAM;qBACb,WAAW,EAAE,eAAe;;iBAE9B,WAAW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pB,KAAK,EAAE,oBAAoB,EAC3B,cAAc,EAAE,eAAe,GAC9B,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAI5C;IAEe,aAAa,CAC3B,KAAK,EAAE,oBAAoB,EAC3B,OAAO,EAAE,eAAe,GACvB,aAAa,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC,CAGnD;CACF;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,UAAW,oBAAoB,WAAW,qBAAqB;;;;;;;;;EAEtF,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC,CAAC;IACrC,UAAU,QAAQ;QAChB,WAAW,EAAE,cAAc,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,qBAAqB,CAAC,CAAC;KACjG;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AiVisionTask.d.ts","sourceRoot":"","sources":["../../../src/task/base/AiVisionTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGnE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE/C;;;GAGG;AACH,qBAAa,YAAY,CACvB,KAAK,SAAS,WAAW,GAAG,WAAW,EACvC,MAAM,SAAS,UAAU,GAAG,UAAU,EACtC,MAAM,SAAS,UAAU,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,CACpD,SAAQ,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC;IACrC,OAAuB,IAAI,EAAE,MAAM,CAAkB;IAErD;;;OAGG;IACH,UAAyB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"AiVisionTask.d.ts","sourceRoot":"","sources":["../../../src/task/base/AiVisionTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGnE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE/C;;;GAGG;AACH,qBAAa,YAAY,CACvB,KAAK,SAAS,WAAW,GAAG,WAAW,EACvC,MAAM,SAAS,UAAU,GAAG,UAAU,EACtC,MAAM,SAAS,UAAU,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,CACpD,SAAQ,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC;IACrC,OAAuB,IAAI,EAAE,MAAM,CAAkB;IAErD;;;OAGG;IACH,UAAyB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAqC7E;CACF"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workglow/ai",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.15",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/workglow-dev/workglow.git",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@workglow/knowledge-base": "0.2.
|
|
62
|
-
"@workglow/job-queue": "0.2.
|
|
63
|
-
"@workglow/storage": "0.2.
|
|
64
|
-
"@workglow/task-graph": "0.2.
|
|
65
|
-
"@workglow/util": "0.2.
|
|
61
|
+
"@workglow/knowledge-base": "0.2.15",
|
|
62
|
+
"@workglow/job-queue": "0.2.15",
|
|
63
|
+
"@workglow/storage": "0.2.15",
|
|
64
|
+
"@workglow/task-graph": "0.2.15",
|
|
65
|
+
"@workglow/util": "0.2.15"
|
|
66
66
|
},
|
|
67
67
|
"peerDependenciesMeta": {
|
|
68
68
|
"@workglow/knowledge-base": {
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@workglow/knowledge-base": "0.2.
|
|
86
|
-
"@workglow/job-queue": "0.2.
|
|
87
|
-
"@workglow/storage": "0.2.
|
|
88
|
-
"@workglow/task-graph": "0.2.
|
|
89
|
-
"@workglow/util": "0.2.
|
|
85
|
+
"@workglow/knowledge-base": "0.2.15",
|
|
86
|
+
"@workglow/job-queue": "0.2.15",
|
|
87
|
+
"@workglow/storage": "0.2.15",
|
|
88
|
+
"@workglow/task-graph": "0.2.15",
|
|
89
|
+
"@workglow/util": "0.2.15"
|
|
90
90
|
}
|
|
91
91
|
}
|