@workglow/tasks 0.0.110 → 0.0.111
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 +4 -4
- package/dist/browser.js.map +4 -4
- package/dist/bun.js +4 -4
- package/dist/bun.js.map +4 -4
- package/dist/node.js +4 -4
- package/dist/node.js.map +4 -4
- package/dist/task/ArrayTask.d.ts.map +1 -1
- package/dist/task/mcp/McpListTask.d.ts +126 -0
- package/dist/task/mcp/McpListTask.d.ts.map +1 -1
- package/dist/task/mcp/McpPromptGetTask.d.ts +126 -0
- package/dist/task/mcp/McpPromptGetTask.d.ts.map +1 -1
- package/dist/task/mcp/McpResourceReadTask.d.ts +126 -0
- package/dist/task/mcp/McpResourceReadTask.d.ts.map +1 -1
- package/dist/task/mcp/McpToolCallTask.d.ts +126 -0
- package/dist/task/mcp/McpToolCallTask.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrayTask.d.ts","sourceRoot":"","sources":["../../src/task/ArrayTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,wBAAwB,EACxB,UAAU,EAEV,gBAAgB,EAChB,KAAK,cAAc,EACpB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EAEZ,UAAU,EAEV,iBAAiB,EACjB,SAAS,EACT,UAAU,EACX,MAAM,sBAAsB,CAAC;AAE9B,eAAO,MAAM,kBAAkB,GAAI,KAAK,CAAC,CAAC,SAAS,wBAAwB,EACzE,MAAM,CAAC,EACP,cAAa,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM;;;;;;;;;CAS9B,CAAC;AAEd;;;;;;;GAOG;AACH,KAAK,gBAAgB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,EAAE,GAC/C,CAAC,SAAS,UAAU,GAClB,CAAC,GACD,KAAK,GAC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 +14,69 @@ declare const inputSchema: {
|
|
|
14
14
|
readonly title: "List Type";
|
|
15
15
|
readonly description: "The type of items to list from the MCP server";
|
|
16
16
|
};
|
|
17
|
+
readonly auth_type: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
readonly enum: readonly ["none", "bearer", "client_credentials", "private_key_jwt", "static_private_key_jwt", "authorization_code"];
|
|
20
|
+
readonly title: "Auth Type";
|
|
21
|
+
readonly description: "Authentication method for connecting to the MCP server";
|
|
22
|
+
readonly default: "none";
|
|
23
|
+
};
|
|
24
|
+
readonly auth_token: {
|
|
25
|
+
readonly type: "string";
|
|
26
|
+
readonly format: "credential";
|
|
27
|
+
readonly title: "Bearer Token";
|
|
28
|
+
readonly description: "Static bearer token or API key (for bearer auth)";
|
|
29
|
+
};
|
|
30
|
+
readonly auth_client_id: {
|
|
31
|
+
readonly type: "string";
|
|
32
|
+
readonly title: "Client ID";
|
|
33
|
+
readonly description: "OAuth client ID (for OAuth auth types)";
|
|
34
|
+
};
|
|
35
|
+
readonly auth_client_secret: {
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
readonly format: "credential";
|
|
38
|
+
readonly title: "Client Secret";
|
|
39
|
+
readonly description: "OAuth client secret (for client_credentials auth)";
|
|
40
|
+
};
|
|
41
|
+
readonly auth_private_key: {
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
readonly format: "credential";
|
|
44
|
+
readonly title: "Private Key";
|
|
45
|
+
readonly description: "PEM or JWK private key (for private_key_jwt auth)";
|
|
46
|
+
};
|
|
47
|
+
readonly auth_algorithm: {
|
|
48
|
+
readonly type: "string";
|
|
49
|
+
readonly title: "Algorithm";
|
|
50
|
+
readonly description: "JWT signing algorithm, e.g. RS256, ES256 (for private_key_jwt auth)";
|
|
51
|
+
};
|
|
52
|
+
readonly auth_jwt_bearer_assertion: {
|
|
53
|
+
readonly type: "string";
|
|
54
|
+
readonly format: "credential";
|
|
55
|
+
readonly title: "JWT Assertion";
|
|
56
|
+
readonly description: "Pre-built JWT assertion (for static_private_key_jwt auth)";
|
|
57
|
+
};
|
|
58
|
+
readonly auth_redirect_url: {
|
|
59
|
+
readonly type: "string";
|
|
60
|
+
readonly format: "uri";
|
|
61
|
+
readonly title: "Redirect URL";
|
|
62
|
+
readonly description: "OAuth redirect URL (for authorization_code auth)";
|
|
63
|
+
};
|
|
64
|
+
readonly auth_scope: {
|
|
65
|
+
readonly type: "string";
|
|
66
|
+
readonly title: "Scope";
|
|
67
|
+
readonly description: "OAuth scope (space-separated)";
|
|
68
|
+
};
|
|
69
|
+
readonly auth_client_name: {
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
readonly title: "Client Name";
|
|
72
|
+
readonly description: "Optional OAuth client display name";
|
|
73
|
+
};
|
|
74
|
+
readonly auth_jwt_lifetime_seconds: {
|
|
75
|
+
readonly type: "number";
|
|
76
|
+
readonly title: "JWT Lifetime";
|
|
77
|
+
readonly description: "JWT lifetime in seconds (default: 300)";
|
|
78
|
+
readonly minimum: 1;
|
|
79
|
+
};
|
|
17
80
|
readonly transport: {
|
|
18
81
|
readonly type: "string";
|
|
19
82
|
readonly enum: readonly ["stdio", "sse", "streamable-http"];
|
|
@@ -338,6 +401,69 @@ export declare class McpListTask extends Task<McpListTaskInput, McpListTaskOutpu
|
|
|
338
401
|
readonly title: "List Type";
|
|
339
402
|
readonly description: "The type of items to list from the MCP server";
|
|
340
403
|
};
|
|
404
|
+
readonly auth_type: {
|
|
405
|
+
readonly type: "string";
|
|
406
|
+
readonly enum: readonly ["none", "bearer", "client_credentials", "private_key_jwt", "static_private_key_jwt", "authorization_code"];
|
|
407
|
+
readonly title: "Auth Type";
|
|
408
|
+
readonly description: "Authentication method for connecting to the MCP server";
|
|
409
|
+
readonly default: "none";
|
|
410
|
+
};
|
|
411
|
+
readonly auth_token: {
|
|
412
|
+
readonly type: "string";
|
|
413
|
+
readonly format: "credential";
|
|
414
|
+
readonly title: "Bearer Token";
|
|
415
|
+
readonly description: "Static bearer token or API key (for bearer auth)";
|
|
416
|
+
};
|
|
417
|
+
readonly auth_client_id: {
|
|
418
|
+
readonly type: "string";
|
|
419
|
+
readonly title: "Client ID";
|
|
420
|
+
readonly description: "OAuth client ID (for OAuth auth types)";
|
|
421
|
+
};
|
|
422
|
+
readonly auth_client_secret: {
|
|
423
|
+
readonly type: "string";
|
|
424
|
+
readonly format: "credential";
|
|
425
|
+
readonly title: "Client Secret";
|
|
426
|
+
readonly description: "OAuth client secret (for client_credentials auth)";
|
|
427
|
+
};
|
|
428
|
+
readonly auth_private_key: {
|
|
429
|
+
readonly type: "string";
|
|
430
|
+
readonly format: "credential";
|
|
431
|
+
readonly title: "Private Key";
|
|
432
|
+
readonly description: "PEM or JWK private key (for private_key_jwt auth)";
|
|
433
|
+
};
|
|
434
|
+
readonly auth_algorithm: {
|
|
435
|
+
readonly type: "string";
|
|
436
|
+
readonly title: "Algorithm";
|
|
437
|
+
readonly description: "JWT signing algorithm, e.g. RS256, ES256 (for private_key_jwt auth)";
|
|
438
|
+
};
|
|
439
|
+
readonly auth_jwt_bearer_assertion: {
|
|
440
|
+
readonly type: "string";
|
|
441
|
+
readonly format: "credential";
|
|
442
|
+
readonly title: "JWT Assertion";
|
|
443
|
+
readonly description: "Pre-built JWT assertion (for static_private_key_jwt auth)";
|
|
444
|
+
};
|
|
445
|
+
readonly auth_redirect_url: {
|
|
446
|
+
readonly type: "string";
|
|
447
|
+
readonly format: "uri";
|
|
448
|
+
readonly title: "Redirect URL";
|
|
449
|
+
readonly description: "OAuth redirect URL (for authorization_code auth)";
|
|
450
|
+
};
|
|
451
|
+
readonly auth_scope: {
|
|
452
|
+
readonly type: "string";
|
|
453
|
+
readonly title: "Scope";
|
|
454
|
+
readonly description: "OAuth scope (space-separated)";
|
|
455
|
+
};
|
|
456
|
+
readonly auth_client_name: {
|
|
457
|
+
readonly type: "string";
|
|
458
|
+
readonly title: "Client Name";
|
|
459
|
+
readonly description: "Optional OAuth client display name";
|
|
460
|
+
};
|
|
461
|
+
readonly auth_jwt_lifetime_seconds: {
|
|
462
|
+
readonly type: "number";
|
|
463
|
+
readonly title: "JWT Lifetime";
|
|
464
|
+
readonly description: "JWT lifetime in seconds (default: 300)";
|
|
465
|
+
readonly minimum: 1;
|
|
466
|
+
};
|
|
341
467
|
readonly transport: {
|
|
342
468
|
readonly type: "string";
|
|
343
469
|
readonly enum: readonly ["stdio", "sse", "streamable-http"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"McpListTask.d.ts","sourceRoot":"","sources":["../../../src/task/mcp/McpListTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,EAAY,MAAM,sBAAsB,CAAC;AACnG,OAAO,EACL,cAAc,EACd,UAAU,EAIX,MAAM,gBAAgB,CAAC;AAIxB,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"McpListTask.d.ts","sourceRoot":"","sources":["../../../src/task/mcp/McpListTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,EAAY,MAAM,sBAAsB,CAAC;AACnG,OAAO,EACL,cAAc,EACd,UAAU,EAIX,MAAM,gBAAgB,CAAC;AAIxB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAakB,CAAC;AAuJpC,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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SAAQ,UAAe,KACtB,OAAO,CAAC,iBAAiB,CAE3B,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,OAAO,EAAE,cAAc,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,UAAU,CAAC,CAAC;KAC1E;CACF"}
|
|
@@ -14,6 +14,69 @@ declare const configSchema: {
|
|
|
14
14
|
readonly description: "The name of the prompt to get";
|
|
15
15
|
readonly format: "string:mcp-promptname";
|
|
16
16
|
};
|
|
17
|
+
readonly auth_type: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
readonly enum: readonly ["none", "bearer", "client_credentials", "private_key_jwt", "static_private_key_jwt", "authorization_code"];
|
|
20
|
+
readonly title: "Auth Type";
|
|
21
|
+
readonly description: "Authentication method for connecting to the MCP server";
|
|
22
|
+
readonly default: "none";
|
|
23
|
+
};
|
|
24
|
+
readonly auth_token: {
|
|
25
|
+
readonly type: "string";
|
|
26
|
+
readonly format: "credential";
|
|
27
|
+
readonly title: "Bearer Token";
|
|
28
|
+
readonly description: "Static bearer token or API key (for bearer auth)";
|
|
29
|
+
};
|
|
30
|
+
readonly auth_client_id: {
|
|
31
|
+
readonly type: "string";
|
|
32
|
+
readonly title: "Client ID";
|
|
33
|
+
readonly description: "OAuth client ID (for OAuth auth types)";
|
|
34
|
+
};
|
|
35
|
+
readonly auth_client_secret: {
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
readonly format: "credential";
|
|
38
|
+
readonly title: "Client Secret";
|
|
39
|
+
readonly description: "OAuth client secret (for client_credentials auth)";
|
|
40
|
+
};
|
|
41
|
+
readonly auth_private_key: {
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
readonly format: "credential";
|
|
44
|
+
readonly title: "Private Key";
|
|
45
|
+
readonly description: "PEM or JWK private key (for private_key_jwt auth)";
|
|
46
|
+
};
|
|
47
|
+
readonly auth_algorithm: {
|
|
48
|
+
readonly type: "string";
|
|
49
|
+
readonly title: "Algorithm";
|
|
50
|
+
readonly description: "JWT signing algorithm, e.g. RS256, ES256 (for private_key_jwt auth)";
|
|
51
|
+
};
|
|
52
|
+
readonly auth_jwt_bearer_assertion: {
|
|
53
|
+
readonly type: "string";
|
|
54
|
+
readonly format: "credential";
|
|
55
|
+
readonly title: "JWT Assertion";
|
|
56
|
+
readonly description: "Pre-built JWT assertion (for static_private_key_jwt auth)";
|
|
57
|
+
};
|
|
58
|
+
readonly auth_redirect_url: {
|
|
59
|
+
readonly type: "string";
|
|
60
|
+
readonly format: "uri";
|
|
61
|
+
readonly title: "Redirect URL";
|
|
62
|
+
readonly description: "OAuth redirect URL (for authorization_code auth)";
|
|
63
|
+
};
|
|
64
|
+
readonly auth_scope: {
|
|
65
|
+
readonly type: "string";
|
|
66
|
+
readonly title: "Scope";
|
|
67
|
+
readonly description: "OAuth scope (space-separated)";
|
|
68
|
+
};
|
|
69
|
+
readonly auth_client_name: {
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
readonly title: "Client Name";
|
|
72
|
+
readonly description: "Optional OAuth client display name";
|
|
73
|
+
};
|
|
74
|
+
readonly auth_jwt_lifetime_seconds: {
|
|
75
|
+
readonly type: "number";
|
|
76
|
+
readonly title: "JWT Lifetime";
|
|
77
|
+
readonly description: "JWT lifetime in seconds (default: 300)";
|
|
78
|
+
readonly minimum: 1;
|
|
79
|
+
};
|
|
17
80
|
readonly transport: {
|
|
18
81
|
readonly type: "string";
|
|
19
82
|
readonly enum: readonly ["stdio", "sse", "streamable-http"];
|
|
@@ -671,6 +734,69 @@ export declare class McpPromptGetTask extends Task<McpPromptGetTaskInput, McpPro
|
|
|
671
734
|
readonly description: "The name of the prompt to get";
|
|
672
735
|
readonly format: "string:mcp-promptname";
|
|
673
736
|
};
|
|
737
|
+
readonly auth_type: {
|
|
738
|
+
readonly type: "string";
|
|
739
|
+
readonly enum: readonly ["none", "bearer", "client_credentials", "private_key_jwt", "static_private_key_jwt", "authorization_code"];
|
|
740
|
+
readonly title: "Auth Type";
|
|
741
|
+
readonly description: "Authentication method for connecting to the MCP server";
|
|
742
|
+
readonly default: "none";
|
|
743
|
+
};
|
|
744
|
+
readonly auth_token: {
|
|
745
|
+
readonly type: "string";
|
|
746
|
+
readonly format: "credential";
|
|
747
|
+
readonly title: "Bearer Token";
|
|
748
|
+
readonly description: "Static bearer token or API key (for bearer auth)";
|
|
749
|
+
};
|
|
750
|
+
readonly auth_client_id: {
|
|
751
|
+
readonly type: "string";
|
|
752
|
+
readonly title: "Client ID";
|
|
753
|
+
readonly description: "OAuth client ID (for OAuth auth types)";
|
|
754
|
+
};
|
|
755
|
+
readonly auth_client_secret: {
|
|
756
|
+
readonly type: "string";
|
|
757
|
+
readonly format: "credential";
|
|
758
|
+
readonly title: "Client Secret";
|
|
759
|
+
readonly description: "OAuth client secret (for client_credentials auth)";
|
|
760
|
+
};
|
|
761
|
+
readonly auth_private_key: {
|
|
762
|
+
readonly type: "string";
|
|
763
|
+
readonly format: "credential";
|
|
764
|
+
readonly title: "Private Key";
|
|
765
|
+
readonly description: "PEM or JWK private key (for private_key_jwt auth)";
|
|
766
|
+
};
|
|
767
|
+
readonly auth_algorithm: {
|
|
768
|
+
readonly type: "string";
|
|
769
|
+
readonly title: "Algorithm";
|
|
770
|
+
readonly description: "JWT signing algorithm, e.g. RS256, ES256 (for private_key_jwt auth)";
|
|
771
|
+
};
|
|
772
|
+
readonly auth_jwt_bearer_assertion: {
|
|
773
|
+
readonly type: "string";
|
|
774
|
+
readonly format: "credential";
|
|
775
|
+
readonly title: "JWT Assertion";
|
|
776
|
+
readonly description: "Pre-built JWT assertion (for static_private_key_jwt auth)";
|
|
777
|
+
};
|
|
778
|
+
readonly auth_redirect_url: {
|
|
779
|
+
readonly type: "string";
|
|
780
|
+
readonly format: "uri";
|
|
781
|
+
readonly title: "Redirect URL";
|
|
782
|
+
readonly description: "OAuth redirect URL (for authorization_code auth)";
|
|
783
|
+
};
|
|
784
|
+
readonly auth_scope: {
|
|
785
|
+
readonly type: "string";
|
|
786
|
+
readonly title: "Scope";
|
|
787
|
+
readonly description: "OAuth scope (space-separated)";
|
|
788
|
+
};
|
|
789
|
+
readonly auth_client_name: {
|
|
790
|
+
readonly type: "string";
|
|
791
|
+
readonly title: "Client Name";
|
|
792
|
+
readonly description: "Optional OAuth client display name";
|
|
793
|
+
};
|
|
794
|
+
readonly auth_jwt_lifetime_seconds: {
|
|
795
|
+
readonly type: "number";
|
|
796
|
+
readonly title: "JWT Lifetime";
|
|
797
|
+
readonly description: "JWT lifetime in seconds (default: 300)";
|
|
798
|
+
readonly minimum: 1;
|
|
799
|
+
};
|
|
674
800
|
readonly transport: {
|
|
675
801
|
readonly type: "string";
|
|
676
802
|
readonly enum: readonly ["stdio", "sse", "streamable-http"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"McpPromptGetTask.d.ts","sourceRoot":"","sources":["../../../src/task/mcp/McpPromptGetTask.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
|
|
1
|
+
{"version":3,"file":"McpPromptGetTask.d.ts","sourceRoot":"","sources":["../../../src/task/mcp/McpPromptGetTask.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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;;;;;;;;;;;;;;;;;;;;;;;;;;;WAIZ,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;IA0CpD,OAAO,CACX,KAAK,EAAE,qBAAqB,EAC5B,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,sBAAsB,CAAC;CAoBnC;AAED,eAAO,MAAM,YAAY,GACvB,OAAO,qBAAqB,EAC5B,QAAQ,sBAAsB,KAC7B,OAAO,CAAC,sBAAsB,CAEhC,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,YAAY,EAAE,cAAc,CAC1B,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,CACvB,CAAC;KACH;CACF"}
|
|
@@ -14,6 +14,69 @@ declare const configSchema: {
|
|
|
14
14
|
readonly description: "The URI of the resource to read";
|
|
15
15
|
readonly format: "string:uri:mcp-resourceuri";
|
|
16
16
|
};
|
|
17
|
+
readonly auth_type: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
readonly enum: readonly ["none", "bearer", "client_credentials", "private_key_jwt", "static_private_key_jwt", "authorization_code"];
|
|
20
|
+
readonly title: "Auth Type";
|
|
21
|
+
readonly description: "Authentication method for connecting to the MCP server";
|
|
22
|
+
readonly default: "none";
|
|
23
|
+
};
|
|
24
|
+
readonly auth_token: {
|
|
25
|
+
readonly type: "string";
|
|
26
|
+
readonly format: "credential";
|
|
27
|
+
readonly title: "Bearer Token";
|
|
28
|
+
readonly description: "Static bearer token or API key (for bearer auth)";
|
|
29
|
+
};
|
|
30
|
+
readonly auth_client_id: {
|
|
31
|
+
readonly type: "string";
|
|
32
|
+
readonly title: "Client ID";
|
|
33
|
+
readonly description: "OAuth client ID (for OAuth auth types)";
|
|
34
|
+
};
|
|
35
|
+
readonly auth_client_secret: {
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
readonly format: "credential";
|
|
38
|
+
readonly title: "Client Secret";
|
|
39
|
+
readonly description: "OAuth client secret (for client_credentials auth)";
|
|
40
|
+
};
|
|
41
|
+
readonly auth_private_key: {
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
readonly format: "credential";
|
|
44
|
+
readonly title: "Private Key";
|
|
45
|
+
readonly description: "PEM or JWK private key (for private_key_jwt auth)";
|
|
46
|
+
};
|
|
47
|
+
readonly auth_algorithm: {
|
|
48
|
+
readonly type: "string";
|
|
49
|
+
readonly title: "Algorithm";
|
|
50
|
+
readonly description: "JWT signing algorithm, e.g. RS256, ES256 (for private_key_jwt auth)";
|
|
51
|
+
};
|
|
52
|
+
readonly auth_jwt_bearer_assertion: {
|
|
53
|
+
readonly type: "string";
|
|
54
|
+
readonly format: "credential";
|
|
55
|
+
readonly title: "JWT Assertion";
|
|
56
|
+
readonly description: "Pre-built JWT assertion (for static_private_key_jwt auth)";
|
|
57
|
+
};
|
|
58
|
+
readonly auth_redirect_url: {
|
|
59
|
+
readonly type: "string";
|
|
60
|
+
readonly format: "uri";
|
|
61
|
+
readonly title: "Redirect URL";
|
|
62
|
+
readonly description: "OAuth redirect URL (for authorization_code auth)";
|
|
63
|
+
};
|
|
64
|
+
readonly auth_scope: {
|
|
65
|
+
readonly type: "string";
|
|
66
|
+
readonly title: "Scope";
|
|
67
|
+
readonly description: "OAuth scope (space-separated)";
|
|
68
|
+
};
|
|
69
|
+
readonly auth_client_name: {
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
readonly title: "Client Name";
|
|
72
|
+
readonly description: "Optional OAuth client display name";
|
|
73
|
+
};
|
|
74
|
+
readonly auth_jwt_lifetime_seconds: {
|
|
75
|
+
readonly type: "number";
|
|
76
|
+
readonly title: "JWT Lifetime";
|
|
77
|
+
readonly description: "JWT lifetime in seconds (default: 300)";
|
|
78
|
+
readonly minimum: 1;
|
|
79
|
+
};
|
|
17
80
|
readonly transport: {
|
|
18
81
|
readonly type: "string";
|
|
19
82
|
readonly enum: readonly ["stdio", "sse", "streamable-http"];
|
|
@@ -233,6 +296,69 @@ export declare class McpResourceReadTask extends Task<McpResourceReadTaskInput,
|
|
|
233
296
|
readonly description: "The URI of the resource to read";
|
|
234
297
|
readonly format: "string:uri:mcp-resourceuri";
|
|
235
298
|
};
|
|
299
|
+
readonly auth_type: {
|
|
300
|
+
readonly type: "string";
|
|
301
|
+
readonly enum: readonly ["none", "bearer", "client_credentials", "private_key_jwt", "static_private_key_jwt", "authorization_code"];
|
|
302
|
+
readonly title: "Auth Type";
|
|
303
|
+
readonly description: "Authentication method for connecting to the MCP server";
|
|
304
|
+
readonly default: "none";
|
|
305
|
+
};
|
|
306
|
+
readonly auth_token: {
|
|
307
|
+
readonly type: "string";
|
|
308
|
+
readonly format: "credential";
|
|
309
|
+
readonly title: "Bearer Token";
|
|
310
|
+
readonly description: "Static bearer token or API key (for bearer auth)";
|
|
311
|
+
};
|
|
312
|
+
readonly auth_client_id: {
|
|
313
|
+
readonly type: "string";
|
|
314
|
+
readonly title: "Client ID";
|
|
315
|
+
readonly description: "OAuth client ID (for OAuth auth types)";
|
|
316
|
+
};
|
|
317
|
+
readonly auth_client_secret: {
|
|
318
|
+
readonly type: "string";
|
|
319
|
+
readonly format: "credential";
|
|
320
|
+
readonly title: "Client Secret";
|
|
321
|
+
readonly description: "OAuth client secret (for client_credentials auth)";
|
|
322
|
+
};
|
|
323
|
+
readonly auth_private_key: {
|
|
324
|
+
readonly type: "string";
|
|
325
|
+
readonly format: "credential";
|
|
326
|
+
readonly title: "Private Key";
|
|
327
|
+
readonly description: "PEM or JWK private key (for private_key_jwt auth)";
|
|
328
|
+
};
|
|
329
|
+
readonly auth_algorithm: {
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
readonly title: "Algorithm";
|
|
332
|
+
readonly description: "JWT signing algorithm, e.g. RS256, ES256 (for private_key_jwt auth)";
|
|
333
|
+
};
|
|
334
|
+
readonly auth_jwt_bearer_assertion: {
|
|
335
|
+
readonly type: "string";
|
|
336
|
+
readonly format: "credential";
|
|
337
|
+
readonly title: "JWT Assertion";
|
|
338
|
+
readonly description: "Pre-built JWT assertion (for static_private_key_jwt auth)";
|
|
339
|
+
};
|
|
340
|
+
readonly auth_redirect_url: {
|
|
341
|
+
readonly type: "string";
|
|
342
|
+
readonly format: "uri";
|
|
343
|
+
readonly title: "Redirect URL";
|
|
344
|
+
readonly description: "OAuth redirect URL (for authorization_code auth)";
|
|
345
|
+
};
|
|
346
|
+
readonly auth_scope: {
|
|
347
|
+
readonly type: "string";
|
|
348
|
+
readonly title: "Scope";
|
|
349
|
+
readonly description: "OAuth scope (space-separated)";
|
|
350
|
+
};
|
|
351
|
+
readonly auth_client_name: {
|
|
352
|
+
readonly type: "string";
|
|
353
|
+
readonly title: "Client Name";
|
|
354
|
+
readonly description: "Optional OAuth client display name";
|
|
355
|
+
};
|
|
356
|
+
readonly auth_jwt_lifetime_seconds: {
|
|
357
|
+
readonly type: "number";
|
|
358
|
+
readonly title: "JWT Lifetime";
|
|
359
|
+
readonly description: "JWT lifetime in seconds (default: 300)";
|
|
360
|
+
readonly minimum: 1;
|
|
361
|
+
};
|
|
236
362
|
readonly transport: {
|
|
237
363
|
readonly type: "string";
|
|
238
364
|
readonly enum: readonly ["stdio", "sse", "streamable-http"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"McpResourceReadTask.d.ts","sourceRoot":"","sources":["../../../src/task/mcp/McpResourceReadTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,cAAc,EACd,eAAe,EACf,IAAI,EACJ,UAAU,EAGX,MAAM,sBAAs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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAIZ,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIpB,OAAO,CACX,MAAM,EAAE,wBAAwB,EAChC,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,yBAAyB,CAAC;CAYtC;AAED,eAAO,MAAM,eAAe,GAC1B,QAAQ,yBAAyB,KAChC,OAAO,CAAC,yBAAyB,CAEnC,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,QAAQ;QAChB,eAAe,EAAE,cAAc,CAC7B,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,CAC1B,CAAC;KACH;CACF"}
|
|
@@ -14,6 +14,69 @@ declare const configSchema: {
|
|
|
14
14
|
readonly description: "The name of the tool to call";
|
|
15
15
|
readonly format: "string:mcp-toolname";
|
|
16
16
|
};
|
|
17
|
+
readonly auth_type: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
readonly enum: readonly ["none", "bearer", "client_credentials", "private_key_jwt", "static_private_key_jwt", "authorization_code"];
|
|
20
|
+
readonly title: "Auth Type";
|
|
21
|
+
readonly description: "Authentication method for connecting to the MCP server";
|
|
22
|
+
readonly default: "none";
|
|
23
|
+
};
|
|
24
|
+
readonly auth_token: {
|
|
25
|
+
readonly type: "string";
|
|
26
|
+
readonly format: "credential";
|
|
27
|
+
readonly title: "Bearer Token";
|
|
28
|
+
readonly description: "Static bearer token or API key (for bearer auth)";
|
|
29
|
+
};
|
|
30
|
+
readonly auth_client_id: {
|
|
31
|
+
readonly type: "string";
|
|
32
|
+
readonly title: "Client ID";
|
|
33
|
+
readonly description: "OAuth client ID (for OAuth auth types)";
|
|
34
|
+
};
|
|
35
|
+
readonly auth_client_secret: {
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
readonly format: "credential";
|
|
38
|
+
readonly title: "Client Secret";
|
|
39
|
+
readonly description: "OAuth client secret (for client_credentials auth)";
|
|
40
|
+
};
|
|
41
|
+
readonly auth_private_key: {
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
readonly format: "credential";
|
|
44
|
+
readonly title: "Private Key";
|
|
45
|
+
readonly description: "PEM or JWK private key (for private_key_jwt auth)";
|
|
46
|
+
};
|
|
47
|
+
readonly auth_algorithm: {
|
|
48
|
+
readonly type: "string";
|
|
49
|
+
readonly title: "Algorithm";
|
|
50
|
+
readonly description: "JWT signing algorithm, e.g. RS256, ES256 (for private_key_jwt auth)";
|
|
51
|
+
};
|
|
52
|
+
readonly auth_jwt_bearer_assertion: {
|
|
53
|
+
readonly type: "string";
|
|
54
|
+
readonly format: "credential";
|
|
55
|
+
readonly title: "JWT Assertion";
|
|
56
|
+
readonly description: "Pre-built JWT assertion (for static_private_key_jwt auth)";
|
|
57
|
+
};
|
|
58
|
+
readonly auth_redirect_url: {
|
|
59
|
+
readonly type: "string";
|
|
60
|
+
readonly format: "uri";
|
|
61
|
+
readonly title: "Redirect URL";
|
|
62
|
+
readonly description: "OAuth redirect URL (for authorization_code auth)";
|
|
63
|
+
};
|
|
64
|
+
readonly auth_scope: {
|
|
65
|
+
readonly type: "string";
|
|
66
|
+
readonly title: "Scope";
|
|
67
|
+
readonly description: "OAuth scope (space-separated)";
|
|
68
|
+
};
|
|
69
|
+
readonly auth_client_name: {
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
readonly title: "Client Name";
|
|
72
|
+
readonly description: "Optional OAuth client display name";
|
|
73
|
+
};
|
|
74
|
+
readonly auth_jwt_lifetime_seconds: {
|
|
75
|
+
readonly type: "number";
|
|
76
|
+
readonly title: "JWT Lifetime";
|
|
77
|
+
readonly description: "JWT lifetime in seconds (default: 300)";
|
|
78
|
+
readonly minimum: 1;
|
|
79
|
+
};
|
|
17
80
|
readonly transport: {
|
|
18
81
|
readonly type: "string";
|
|
19
82
|
readonly enum: readonly ["stdio", "sse", "streamable-http"];
|
|
@@ -386,6 +449,69 @@ export declare class McpToolCallTask extends Task<McpToolCallTaskInput, McpToolC
|
|
|
386
449
|
readonly description: "The name of the tool to call";
|
|
387
450
|
readonly format: "string:mcp-toolname";
|
|
388
451
|
};
|
|
452
|
+
readonly auth_type: {
|
|
453
|
+
readonly type: "string";
|
|
454
|
+
readonly enum: readonly ["none", "bearer", "client_credentials", "private_key_jwt", "static_private_key_jwt", "authorization_code"];
|
|
455
|
+
readonly title: "Auth Type";
|
|
456
|
+
readonly description: "Authentication method for connecting to the MCP server";
|
|
457
|
+
readonly default: "none";
|
|
458
|
+
};
|
|
459
|
+
readonly auth_token: {
|
|
460
|
+
readonly type: "string";
|
|
461
|
+
readonly format: "credential";
|
|
462
|
+
readonly title: "Bearer Token";
|
|
463
|
+
readonly description: "Static bearer token or API key (for bearer auth)";
|
|
464
|
+
};
|
|
465
|
+
readonly auth_client_id: {
|
|
466
|
+
readonly type: "string";
|
|
467
|
+
readonly title: "Client ID";
|
|
468
|
+
readonly description: "OAuth client ID (for OAuth auth types)";
|
|
469
|
+
};
|
|
470
|
+
readonly auth_client_secret: {
|
|
471
|
+
readonly type: "string";
|
|
472
|
+
readonly format: "credential";
|
|
473
|
+
readonly title: "Client Secret";
|
|
474
|
+
readonly description: "OAuth client secret (for client_credentials auth)";
|
|
475
|
+
};
|
|
476
|
+
readonly auth_private_key: {
|
|
477
|
+
readonly type: "string";
|
|
478
|
+
readonly format: "credential";
|
|
479
|
+
readonly title: "Private Key";
|
|
480
|
+
readonly description: "PEM or JWK private key (for private_key_jwt auth)";
|
|
481
|
+
};
|
|
482
|
+
readonly auth_algorithm: {
|
|
483
|
+
readonly type: "string";
|
|
484
|
+
readonly title: "Algorithm";
|
|
485
|
+
readonly description: "JWT signing algorithm, e.g. RS256, ES256 (for private_key_jwt auth)";
|
|
486
|
+
};
|
|
487
|
+
readonly auth_jwt_bearer_assertion: {
|
|
488
|
+
readonly type: "string";
|
|
489
|
+
readonly format: "credential";
|
|
490
|
+
readonly title: "JWT Assertion";
|
|
491
|
+
readonly description: "Pre-built JWT assertion (for static_private_key_jwt auth)";
|
|
492
|
+
};
|
|
493
|
+
readonly auth_redirect_url: {
|
|
494
|
+
readonly type: "string";
|
|
495
|
+
readonly format: "uri";
|
|
496
|
+
readonly title: "Redirect URL";
|
|
497
|
+
readonly description: "OAuth redirect URL (for authorization_code auth)";
|
|
498
|
+
};
|
|
499
|
+
readonly auth_scope: {
|
|
500
|
+
readonly type: "string";
|
|
501
|
+
readonly title: "Scope";
|
|
502
|
+
readonly description: "OAuth scope (space-separated)";
|
|
503
|
+
};
|
|
504
|
+
readonly auth_client_name: {
|
|
505
|
+
readonly type: "string";
|
|
506
|
+
readonly title: "Client Name";
|
|
507
|
+
readonly description: "Optional OAuth client display name";
|
|
508
|
+
};
|
|
509
|
+
readonly auth_jwt_lifetime_seconds: {
|
|
510
|
+
readonly type: "number";
|
|
511
|
+
readonly title: "JWT Lifetime";
|
|
512
|
+
readonly description: "JWT lifetime in seconds (default: 300)";
|
|
513
|
+
readonly minimum: 1;
|
|
514
|
+
};
|
|
389
515
|
readonly transport: {
|
|
390
516
|
readonly type: "string";
|
|
391
517
|
readonly enum: readonly ["stdio", "sse", "streamable-http"];
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"McpToolCallTask.d.ts","sourceRoot":"","sources":["../../../src/task/mcp/McpToolCallTask.ts"],"names":[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;;WAIZ,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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.
|
|
4
|
+
"version": "0.0.111",
|
|
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,8 +37,8 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@workglow/task-graph": "0.0.
|
|
41
|
-
"@workglow/util": "0.0.
|
|
40
|
+
"@workglow/task-graph": "0.0.111",
|
|
41
|
+
"@workglow/util": "0.0.111",
|
|
42
42
|
"@workglow/job-queue": "0.0.110",
|
|
43
43
|
"@workglow/storage": "0.0.110"
|
|
44
44
|
},
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"@types/papaparse": "^5.5.2",
|
|
61
61
|
"@workglow/job-queue": "0.0.110",
|
|
62
62
|
"@workglow/storage": "0.0.110",
|
|
63
|
-
"@workglow/task-graph": "0.0.
|
|
64
|
-
"@workglow/util": "0.0.
|
|
63
|
+
"@workglow/task-graph": "0.0.111",
|
|
64
|
+
"@workglow/util": "0.0.111"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"papaparse": "^5.5.3"
|