@workglow/tasks 0.0.117 → 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.
@@ -159,6 +159,96 @@ declare const configSchema: {
159
159
  readonly else: {
160
160
  readonly required: readonly ["server_url"];
161
161
  };
162
+ readonly allOf: readonly [{
163
+ readonly if: {
164
+ readonly properties: {
165
+ readonly auth_type: {
166
+ readonly const: "bearer";
167
+ };
168
+ };
169
+ readonly required: readonly ["auth_type"];
170
+ };
171
+ readonly then: {
172
+ readonly required: readonly ["auth_token"];
173
+ readonly properties: {
174
+ readonly auth_token: true;
175
+ };
176
+ };
177
+ }, {
178
+ readonly if: {
179
+ readonly properties: {
180
+ readonly auth_type: {
181
+ readonly const: "client_credentials";
182
+ };
183
+ };
184
+ readonly required: readonly ["auth_type"];
185
+ };
186
+ readonly then: {
187
+ readonly required: readonly ["auth_client_id", "auth_client_secret"];
188
+ readonly properties: {
189
+ readonly auth_client_id: true;
190
+ readonly auth_client_secret: true;
191
+ readonly auth_client_name: true;
192
+ readonly auth_scope: true;
193
+ };
194
+ };
195
+ }, {
196
+ readonly if: {
197
+ readonly properties: {
198
+ readonly auth_type: {
199
+ readonly const: "private_key_jwt";
200
+ };
201
+ };
202
+ readonly required: readonly ["auth_type"];
203
+ };
204
+ readonly then: {
205
+ readonly required: readonly ["auth_client_id", "auth_private_key", "auth_algorithm"];
206
+ readonly properties: {
207
+ readonly auth_client_id: true;
208
+ readonly auth_private_key: true;
209
+ readonly auth_algorithm: true;
210
+ readonly auth_client_name: true;
211
+ readonly auth_jwt_lifetime_seconds: true;
212
+ readonly auth_scope: true;
213
+ };
214
+ };
215
+ }, {
216
+ readonly if: {
217
+ readonly properties: {
218
+ readonly auth_type: {
219
+ readonly const: "static_private_key_jwt";
220
+ };
221
+ };
222
+ readonly required: readonly ["auth_type"];
223
+ };
224
+ readonly then: {
225
+ readonly required: readonly ["auth_client_id", "auth_jwt_bearer_assertion"];
226
+ readonly properties: {
227
+ readonly auth_client_id: true;
228
+ readonly auth_jwt_bearer_assertion: true;
229
+ readonly auth_client_name: true;
230
+ readonly auth_scope: true;
231
+ };
232
+ };
233
+ }, {
234
+ readonly if: {
235
+ readonly properties: {
236
+ readonly auth_type: {
237
+ readonly const: "authorization_code";
238
+ };
239
+ };
240
+ readonly required: readonly ["auth_type"];
241
+ };
242
+ readonly then: {
243
+ readonly required: readonly ["auth_client_id", "auth_redirect_url"];
244
+ readonly properties: {
245
+ readonly auth_client_id: true;
246
+ readonly auth_client_secret: true;
247
+ readonly auth_redirect_url: true;
248
+ readonly auth_scope: true;
249
+ };
250
+ };
251
+ }];
162
252
  readonly additionalProperties: false;
163
253
  };
164
254
  /** Base config from schema; inputSchema/outputSchema overridden to DataPortSchema so constructor accepts TaskConfig from registry. */
@@ -599,6 +689,96 @@ export declare class McpToolCallTask extends Task<McpToolCallTaskInput, McpToolC
599
689
  readonly else: {
600
690
  readonly required: readonly ["server_url"];
601
691
  };
692
+ readonly allOf: readonly [{
693
+ readonly if: {
694
+ readonly properties: {
695
+ readonly auth_type: {
696
+ readonly const: "bearer";
697
+ };
698
+ };
699
+ readonly required: readonly ["auth_type"];
700
+ };
701
+ readonly then: {
702
+ readonly required: readonly ["auth_token"];
703
+ readonly properties: {
704
+ readonly auth_token: true;
705
+ };
706
+ };
707
+ }, {
708
+ readonly if: {
709
+ readonly properties: {
710
+ readonly auth_type: {
711
+ readonly const: "client_credentials";
712
+ };
713
+ };
714
+ readonly required: readonly ["auth_type"];
715
+ };
716
+ readonly then: {
717
+ readonly required: readonly ["auth_client_id", "auth_client_secret"];
718
+ readonly properties: {
719
+ readonly auth_client_id: true;
720
+ readonly auth_client_secret: true;
721
+ readonly auth_client_name: true;
722
+ readonly auth_scope: true;
723
+ };
724
+ };
725
+ }, {
726
+ readonly if: {
727
+ readonly properties: {
728
+ readonly auth_type: {
729
+ readonly const: "private_key_jwt";
730
+ };
731
+ };
732
+ readonly required: readonly ["auth_type"];
733
+ };
734
+ readonly then: {
735
+ readonly required: readonly ["auth_client_id", "auth_private_key", "auth_algorithm"];
736
+ readonly properties: {
737
+ readonly auth_client_id: true;
738
+ readonly auth_private_key: true;
739
+ readonly auth_algorithm: true;
740
+ readonly auth_client_name: true;
741
+ readonly auth_jwt_lifetime_seconds: true;
742
+ readonly auth_scope: true;
743
+ };
744
+ };
745
+ }, {
746
+ readonly if: {
747
+ readonly properties: {
748
+ readonly auth_type: {
749
+ readonly const: "static_private_key_jwt";
750
+ };
751
+ };
752
+ readonly required: readonly ["auth_type"];
753
+ };
754
+ readonly then: {
755
+ readonly required: readonly ["auth_client_id", "auth_jwt_bearer_assertion"];
756
+ readonly properties: {
757
+ readonly auth_client_id: true;
758
+ readonly auth_jwt_bearer_assertion: true;
759
+ readonly auth_client_name: true;
760
+ readonly auth_scope: true;
761
+ };
762
+ };
763
+ }, {
764
+ readonly if: {
765
+ readonly properties: {
766
+ readonly auth_type: {
767
+ readonly const: "authorization_code";
768
+ };
769
+ };
770
+ readonly required: readonly ["auth_type"];
771
+ };
772
+ readonly then: {
773
+ readonly required: readonly ["auth_client_id", "auth_redirect_url"];
774
+ readonly properties: {
775
+ readonly auth_client_id: true;
776
+ readonly auth_client_secret: true;
777
+ readonly auth_redirect_url: true;
778
+ readonly auth_scope: true;
779
+ };
780
+ };
781
+ }];
602
782
  readonly additionalProperties: false;
603
783
  };
604
784
  inputSchema(): DataPortSchema;
@@ -1 +1 @@
1
- {"version":3,"file":"McpToolCallTask.d.ts","sourceRoot":"","sources":["../../../src/task/mcp/McpToolCallTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,cAAc,EACd,eAAe,EACf,IAAI,EACJ,UAAU,EAGX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,UAAU,EAIX,MAAM,gBAAgB,CAAC;AAGxB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIV,WAAW,IAAI,cAAc;IAI7B,YAAY,IAAI,cAAc;IAI9C,OAAO,CAAC,mBAAmB,CAAS;IAE9B,eAAe,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAiCpD,OAAO,CACX,KAAK,EAAE,oBAAoB,EAC3B,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,qBAAqB,CAAC;CAkElC;AAED,eAAO,MAAM,WAAW,GACtB,OAAO,oBAAoB,EAC3B,QAAQ,qBAAqB,KAC5B,OAAO,CAAC,qBAAqB,CAE/B,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,WAAW,EAAE,cAAc,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,qBAAqB,CAAC,CAAC;KACjG;CACF"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workglow/tasks",
3
3
  "type": "module",
4
- "version": "0.0.117",
4
+ "version": "0.0.118",
5
5
  "description": "Pre-built task implementations for Workglow, including common AI operations and utility functions.",
6
6
  "scripts": {
7
7
  "watch": "concurrently -c 'auto' 'bun:watch-*'",
@@ -37,10 +37,10 @@
37
37
  "access": "public"
38
38
  },
39
39
  "peerDependencies": {
40
- "@workglow/task-graph": "0.0.117",
41
- "@workglow/util": "0.0.117",
42
- "@workglow/job-queue": "0.0.117",
43
- "@workglow/storage": "0.0.117"
40
+ "@workglow/task-graph": "0.0.118",
41
+ "@workglow/util": "0.0.118",
42
+ "@workglow/job-queue": "0.0.118",
43
+ "@workglow/storage": "0.0.118"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "@workglow/task-graph": {
@@ -58,10 +58,10 @@
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/papaparse": "^5.5.2",
61
- "@workglow/job-queue": "0.0.117",
62
- "@workglow/storage": "0.0.117",
63
- "@workglow/task-graph": "0.0.117",
64
- "@workglow/util": "0.0.117"
61
+ "@workglow/job-queue": "0.0.118",
62
+ "@workglow/storage": "0.0.118",
63
+ "@workglow/task-graph": "0.0.118",
64
+ "@workglow/util": "0.0.118"
65
65
  },
66
66
  "dependencies": {
67
67
  "papaparse": "^5.5.3"