@workglow/tasks 0.2.27 → 0.2.29
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.d.ts +1 -5
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +2542 -11979
- package/dist/browser.js.map +5 -56
- package/dist/bun.d.ts +1 -6
- package/dist/bun.d.ts.map +1 -1
- package/dist/bun.js +2204 -12152
- package/dist/bun.js.map +5 -58
- package/dist/common.d.ts +1 -21
- package/dist/common.d.ts.map +1 -1
- package/dist/electron.d.ts +1 -7
- package/dist/electron.d.ts.map +1 -1
- package/dist/electron.js +2200 -12367
- package/dist/electron.js.map +5 -59
- package/dist/node.d.ts +1 -6
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +2204 -12152
- package/dist/node.js.map +5 -58
- package/package.json +11 -17
- package/dist/mcp-server/InMemoryMcpServerRepository.d.ts +0 -10
- package/dist/mcp-server/InMemoryMcpServerRepository.d.ts.map +0 -1
- package/dist/mcp-server/McpServerRegistry.d.ts +0 -18
- package/dist/mcp-server/McpServerRegistry.d.ts.map +0 -1
- package/dist/mcp-server/McpServerRepository.d.ts +0 -34
- package/dist/mcp-server/McpServerRepository.d.ts.map +0 -1
- package/dist/mcp-server/McpServerSchema.d.ts +0 -127
- package/dist/mcp-server/McpServerSchema.d.ts.map +0 -1
- package/dist/mcp-server/getMcpServerConfig.d.ts +0 -14
- package/dist/mcp-server/getMcpServerConfig.d.ts.map +0 -1
- package/dist/mcp-server/mcpServerReferenceObjectSchema.d.ts +0 -37
- package/dist/mcp-server/mcpServerReferenceObjectSchema.d.ts.map +0 -1
- package/dist/server.d.ts +0 -8
- package/dist/server.d.ts.map +0 -1
- package/dist/task/JavaScriptTask.d.ts +0 -153
- package/dist/task/JavaScriptTask.d.ts.map +0 -1
- package/dist/task/McpElicitationConnector.d.ts +0 -40
- package/dist/task/McpElicitationConnector.d.ts.map +0 -1
- package/dist/task/browser-control/BrowserSessionRegistry.d.ts +0 -34
- package/dist/task/browser-control/BrowserSessionRegistry.d.ts.map +0 -1
- package/dist/task/browser-control/BunWebViewBackend.d.ts +0 -59
- package/dist/task/browser-control/BunWebViewBackend.d.ts.map +0 -1
- package/dist/task/browser-control/CDPBrowserBackend.d.ts +0 -52
- package/dist/task/browser-control/CDPBrowserBackend.d.ts.map +0 -1
- package/dist/task/browser-control/ElectronBackend.d.ts +0 -57
- package/dist/task/browser-control/ElectronBackend.d.ts.map +0 -1
- package/dist/task/browser-control/IBrowserContext.d.ts +0 -177
- package/dist/task/browser-control/IBrowserContext.d.ts.map +0 -1
- package/dist/task/browser-control/PlaywrightBackend.d.ts +0 -78
- package/dist/task/browser-control/PlaywrightBackend.d.ts.map +0 -1
- package/dist/task/browser-control/index.d.ts +0 -11
- package/dist/task/browser-control/index.d.ts.map +0 -1
- package/dist/task/browser-control/register.d.ts +0 -34
- package/dist/task/browser-control/register.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserAttributeTask.d.ts +0 -84
- package/dist/task/browser-control/tasks/BrowserAttributeTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserBackTask.d.ts +0 -78
- package/dist/task/browser-control/tasks/BrowserBackTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserClickTask.d.ts +0 -101
- package/dist/task/browser-control/tasks/BrowserClickTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserCloseTabTask.d.ts +0 -71
- package/dist/task/browser-control/tasks/BrowserCloseTabTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserCloseTask.d.ts +0 -54
- package/dist/task/browser-control/tasks/BrowserCloseTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserEvaluateTask.d.ts +0 -74
- package/dist/task/browser-control/tasks/BrowserEvaluateTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserExtractHtmlTask.d.ts +0 -82
- package/dist/task/browser-control/tasks/BrowserExtractHtmlTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserExtractTextTask.d.ts +0 -81
- package/dist/task/browser-control/tasks/BrowserExtractTextTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserFillTask.d.ts +0 -101
- package/dist/task/browser-control/tasks/BrowserFillTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserForwardTask.d.ts +0 -78
- package/dist/task/browser-control/tasks/BrowserForwardTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserHoverTask.d.ts +0 -98
- package/dist/task/browser-control/tasks/BrowserHoverTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserLoginTask.d.ts +0 -87
- package/dist/task/browser-control/tasks/BrowserLoginTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserNavigateTask.d.ts +0 -104
- package/dist/task/browser-control/tasks/BrowserNavigateTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserNewTabTask.d.ts +0 -89
- package/dist/task/browser-control/tasks/BrowserNewTabTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserPressKeyTask.d.ts +0 -82
- package/dist/task/browser-control/tasks/BrowserPressKeyTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserQuerySelectorTask.d.ts +0 -94
- package/dist/task/browser-control/tasks/BrowserQuerySelectorTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserReloadTask.d.ts +0 -68
- package/dist/task/browser-control/tasks/BrowserReloadTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserScreenshotTask.d.ts +0 -69
- package/dist/task/browser-control/tasks/BrowserScreenshotTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserScrollTask.d.ts +0 -73
- package/dist/task/browser-control/tasks/BrowserScrollTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserSelectTask.d.ts +0 -98
- package/dist/task/browser-control/tasks/BrowserSelectTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserSessionTask.d.ts +0 -63
- package/dist/task/browser-control/tasks/BrowserSessionTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserSnapshotTask.d.ts +0 -66
- package/dist/task/browser-control/tasks/BrowserSnapshotTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserSwitchTabTask.d.ts +0 -79
- package/dist/task/browser-control/tasks/BrowserSwitchTabTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserTypeTask.d.ts +0 -79
- package/dist/task/browser-control/tasks/BrowserTypeTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserUploadTask.d.ts +0 -96
- package/dist/task/browser-control/tasks/BrowserUploadTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/BrowserWaitTask.d.ts +0 -73
- package/dist/task/browser-control/tasks/BrowserWaitTask.d.ts.map +0 -1
- package/dist/task/browser-control/tasks/index.d.ts +0 -32
- package/dist/task/browser-control/tasks/index.d.ts.map +0 -1
- package/dist/task/mcp/McpListTask.d.ts +0 -572
- package/dist/task/mcp/McpListTask.d.ts.map +0 -1
- package/dist/task/mcp/McpPromptGetTask.d.ts +0 -591
- package/dist/task/mcp/McpPromptGetTask.d.ts.map +0 -1
- package/dist/task/mcp/McpResourceReadTask.d.ts +0 -148
- package/dist/task/mcp/McpResourceReadTask.d.ts.map +0 -1
- package/dist/task/mcp/McpSearchTask.d.ts +0 -111
- package/dist/task/mcp/McpSearchTask.d.ts.map +0 -1
- package/dist/task/mcp/McpToolCallTask.d.ts +0 -309
- package/dist/task/mcp/McpToolCallTask.d.ts.map +0 -1
- package/dist/util/BrowserTaskDeps.d.ts +0 -21
- package/dist/util/BrowserTaskDeps.d.ts.map +0 -1
- package/dist/util/McpAuthProvider.d.ts +0 -70
- package/dist/util/McpAuthProvider.d.ts.map +0 -1
- package/dist/util/McpAuthTypes.d.ts +0 -217
- package/dist/util/McpAuthTypes.d.ts.map +0 -1
- package/dist/util/McpClientUtil.d.ts +0 -121
- package/dist/util/McpClientUtil.d.ts.map +0 -1
- package/dist/util/McpTaskDeps.d.ts +0 -41
- package/dist/util/McpTaskDeps.d.ts.map +0 -1
- package/dist/util/acorn.d.ts +0 -14
- package/dist/util/acorn.d.ts.map +0 -1
- package/dist/util/getMcpServerTransport.d.ts +0 -13
- package/dist/util/getMcpServerTransport.d.ts.map +0 -1
- package/dist/util/interpreter.d.ts +0 -17
- package/dist/util/interpreter.d.ts.map +0 -1
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { IExecuteContext, Task, TaskConfig } from "@workglow/task-graph";
|
|
7
|
-
import { DataPortSchema, FromSchema } from "@workglow/util/schema";
|
|
8
|
-
declare const inputSchema: {
|
|
9
|
-
readonly type: "object";
|
|
10
|
-
readonly properties: {
|
|
11
|
-
readonly sessionId: {
|
|
12
|
-
readonly type: "string";
|
|
13
|
-
readonly title: "Session ID";
|
|
14
|
-
readonly description: "The browser session to use";
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
readonly required: readonly ["sessionId"];
|
|
18
|
-
readonly additionalProperties: false;
|
|
19
|
-
};
|
|
20
|
-
declare const outputSchema: {
|
|
21
|
-
readonly type: "object";
|
|
22
|
-
readonly properties: {
|
|
23
|
-
readonly sessionId: {
|
|
24
|
-
readonly type: "string";
|
|
25
|
-
readonly title: "Session ID";
|
|
26
|
-
readonly description: "The browser session ID";
|
|
27
|
-
};
|
|
28
|
-
readonly url: {
|
|
29
|
-
readonly type: "string";
|
|
30
|
-
readonly title: "URL";
|
|
31
|
-
readonly description: "The current URL after navigating forward";
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
readonly required: readonly ["sessionId", "url"];
|
|
35
|
-
readonly additionalProperties: false;
|
|
36
|
-
};
|
|
37
|
-
export type BrowserForwardTaskInput = FromSchema<typeof inputSchema>;
|
|
38
|
-
export type BrowserForwardTaskOutput = FromSchema<typeof outputSchema>;
|
|
39
|
-
export declare class BrowserForwardTask extends Task<BrowserForwardTaskInput, BrowserForwardTaskOutput, TaskConfig> {
|
|
40
|
-
static readonly type = "BrowserForwardTask";
|
|
41
|
-
static readonly category = "Browser";
|
|
42
|
-
static title: string;
|
|
43
|
-
static description: string;
|
|
44
|
-
static readonly cacheable = false;
|
|
45
|
-
static configSchema(): DataPortSchema;
|
|
46
|
-
static inputSchema(): {
|
|
47
|
-
readonly type: "object";
|
|
48
|
-
readonly properties: {
|
|
49
|
-
readonly sessionId: {
|
|
50
|
-
readonly type: "string";
|
|
51
|
-
readonly title: "Session ID";
|
|
52
|
-
readonly description: "The browser session to use";
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
readonly required: readonly ["sessionId"];
|
|
56
|
-
readonly additionalProperties: false;
|
|
57
|
-
};
|
|
58
|
-
static outputSchema(): {
|
|
59
|
-
readonly type: "object";
|
|
60
|
-
readonly properties: {
|
|
61
|
-
readonly sessionId: {
|
|
62
|
-
readonly type: "string";
|
|
63
|
-
readonly title: "Session ID";
|
|
64
|
-
readonly description: "The browser session ID";
|
|
65
|
-
};
|
|
66
|
-
readonly url: {
|
|
67
|
-
readonly type: "string";
|
|
68
|
-
readonly title: "URL";
|
|
69
|
-
readonly description: "The current URL after navigating forward";
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
readonly required: readonly ["sessionId", "url"];
|
|
73
|
-
readonly additionalProperties: false;
|
|
74
|
-
};
|
|
75
|
-
execute(input: BrowserForwardTaskInput, _executeContext: IExecuteContext): Promise<BrowserForwardTaskOutput>;
|
|
76
|
-
}
|
|
77
|
-
export {};
|
|
78
|
-
//# sourceMappingURL=BrowserForwardTask.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserForwardTask.d.ts","sourceRoot":"","sources":["../../../../src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B,WAAW,EAAE,wBAAwB;;qBAEvC,GAAG;yBACD,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,KAAK;yBACZ,WAAW,EAAE,0CAA0C;;;;;MAgC1D;IAEc,OAAO,CACpB,KAAK,EAAE,uBAAuB,EAC9B,eAAe,EAAE,eAAe,GAC/B,OAAO,CAAC,wBAAwB,CAAC,CAKnC;CACF"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { IExecuteContext, Task, TaskConfig } from "@workglow/task-graph";
|
|
7
|
-
import { DataPortSchema, FromSchema } from "@workglow/util/schema";
|
|
8
|
-
declare const inputSchema: {
|
|
9
|
-
readonly type: "object";
|
|
10
|
-
readonly properties: {
|
|
11
|
-
readonly sessionId: {
|
|
12
|
-
readonly type: "string";
|
|
13
|
-
readonly title: "Session ID";
|
|
14
|
-
readonly description: "The browser session to use";
|
|
15
|
-
};
|
|
16
|
-
readonly ref: {
|
|
17
|
-
readonly type: "string";
|
|
18
|
-
readonly title: "Element Ref";
|
|
19
|
-
readonly description: "The element reference to hover over";
|
|
20
|
-
};
|
|
21
|
-
readonly role: {
|
|
22
|
-
readonly type: "string";
|
|
23
|
-
readonly title: "ARIA Role";
|
|
24
|
-
readonly description: "The ARIA role of the element to hover (not yet supported, use ref)";
|
|
25
|
-
};
|
|
26
|
-
readonly name: {
|
|
27
|
-
readonly type: "string";
|
|
28
|
-
readonly title: "Accessible Name";
|
|
29
|
-
readonly description: "The accessible name of the element to hover (not yet supported, use ref)";
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
readonly required: readonly ["sessionId"];
|
|
33
|
-
readonly additionalProperties: false;
|
|
34
|
-
};
|
|
35
|
-
declare const outputSchema: {
|
|
36
|
-
readonly type: "object";
|
|
37
|
-
readonly properties: {
|
|
38
|
-
readonly sessionId: {
|
|
39
|
-
readonly type: "string";
|
|
40
|
-
readonly title: "Session ID";
|
|
41
|
-
readonly description: "The browser session ID";
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
readonly required: readonly ["sessionId"];
|
|
45
|
-
readonly additionalProperties: false;
|
|
46
|
-
};
|
|
47
|
-
export type BrowserHoverTaskInput = FromSchema<typeof inputSchema>;
|
|
48
|
-
export type BrowserHoverTaskOutput = FromSchema<typeof outputSchema>;
|
|
49
|
-
export declare class BrowserHoverTask extends Task<BrowserHoverTaskInput, BrowserHoverTaskOutput, TaskConfig> {
|
|
50
|
-
static readonly type = "BrowserHoverTask";
|
|
51
|
-
static readonly category = "Browser";
|
|
52
|
-
static title: string;
|
|
53
|
-
static description: string;
|
|
54
|
-
static readonly cacheable = false;
|
|
55
|
-
static configSchema(): DataPortSchema;
|
|
56
|
-
static inputSchema(): {
|
|
57
|
-
readonly type: "object";
|
|
58
|
-
readonly properties: {
|
|
59
|
-
readonly sessionId: {
|
|
60
|
-
readonly type: "string";
|
|
61
|
-
readonly title: "Session ID";
|
|
62
|
-
readonly description: "The browser session to use";
|
|
63
|
-
};
|
|
64
|
-
readonly ref: {
|
|
65
|
-
readonly type: "string";
|
|
66
|
-
readonly title: "Element Ref";
|
|
67
|
-
readonly description: "The element reference to hover over";
|
|
68
|
-
};
|
|
69
|
-
readonly role: {
|
|
70
|
-
readonly type: "string";
|
|
71
|
-
readonly title: "ARIA Role";
|
|
72
|
-
readonly description: "The ARIA role of the element to hover (not yet supported, use ref)";
|
|
73
|
-
};
|
|
74
|
-
readonly name: {
|
|
75
|
-
readonly type: "string";
|
|
76
|
-
readonly title: "Accessible Name";
|
|
77
|
-
readonly description: "The accessible name of the element to hover (not yet supported, use ref)";
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
readonly required: readonly ["sessionId"];
|
|
81
|
-
readonly additionalProperties: false;
|
|
82
|
-
};
|
|
83
|
-
static outputSchema(): {
|
|
84
|
-
readonly type: "object";
|
|
85
|
-
readonly properties: {
|
|
86
|
-
readonly sessionId: {
|
|
87
|
-
readonly type: "string";
|
|
88
|
-
readonly title: "Session ID";
|
|
89
|
-
readonly description: "The browser session ID";
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
readonly required: readonly ["sessionId"];
|
|
93
|
-
readonly additionalProperties: false;
|
|
94
|
-
};
|
|
95
|
-
execute(input: BrowserHoverTaskInput, _executeContext: IExecuteContext): Promise<BrowserHoverTaskOutput>;
|
|
96
|
-
}
|
|
97
|
-
export {};
|
|
98
|
-
//# sourceMappingURL=BrowserHoverTask.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserHoverTask.d.ts","sourceRoot":"","sources":["../../../../src/task/browser-control/tasks/BrowserHoverTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,EAAoB,MAAM,sBAAsB,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGnE,QAAA,MAAM,WAAW;mBACT,QAAQ;;iBAEZ,SAAS;qBACP,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,YAAY;qBACnB,WAAW,EAAE,4BAA4B;;iBAE3C,GAAG;qBACD,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,aAAa;qBACpB,WAAW,EAAE,qCAAqC;;iBAEpD,IAAI;qBACF,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,WAAW;qBAClB,WAAW,EAAE,oEAAoE;;iBAEnF,IAAI;qBACF,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,iBAAiB;qBACxB,WAAW,EAAE,0EAA0E;;;;;CAK1D,CAAC;AAEpC,QAAA,MAAM,YAAY;mBACV,QAAQ;;iBAEZ,SAAS;qBACP,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,YAAY;qBACnB,WAAW,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ifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { IExecuteContext, Task, TaskConfig, TaskEntitlements } from "@workglow/task-graph";
|
|
7
|
-
import { DataPortSchema, FromSchema } from "@workglow/util/schema";
|
|
8
|
-
export type BrowserLoginTaskConfig = TaskConfig & {
|
|
9
|
-
mode?: "manual" | "credential" | "ai";
|
|
10
|
-
credentialName?: string;
|
|
11
|
-
};
|
|
12
|
-
declare const inputSchema: {
|
|
13
|
-
readonly type: "object";
|
|
14
|
-
readonly properties: {
|
|
15
|
-
readonly sessionId: {
|
|
16
|
-
readonly type: "string";
|
|
17
|
-
readonly title: "Session ID";
|
|
18
|
-
readonly description: "The browser session to use";
|
|
19
|
-
};
|
|
20
|
-
readonly url: {
|
|
21
|
-
readonly type: "string";
|
|
22
|
-
readonly format: "uri";
|
|
23
|
-
readonly title: "URL";
|
|
24
|
-
readonly description: "The login page URL to navigate to";
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
readonly required: readonly ["sessionId", "url"];
|
|
28
|
-
readonly additionalProperties: false;
|
|
29
|
-
};
|
|
30
|
-
declare const outputSchema: {
|
|
31
|
-
readonly type: "object";
|
|
32
|
-
readonly properties: {
|
|
33
|
-
readonly sessionId: {
|
|
34
|
-
readonly type: "string";
|
|
35
|
-
readonly title: "Session ID";
|
|
36
|
-
readonly description: "The browser session ID";
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
readonly required: readonly ["sessionId"];
|
|
40
|
-
readonly additionalProperties: false;
|
|
41
|
-
};
|
|
42
|
-
export type BrowserLoginTaskInput = FromSchema<typeof inputSchema>;
|
|
43
|
-
export type BrowserLoginTaskOutput = FromSchema<typeof outputSchema>;
|
|
44
|
-
export declare class BrowserLoginTask extends Task<BrowserLoginTaskInput, BrowserLoginTaskOutput, BrowserLoginTaskConfig> {
|
|
45
|
-
static readonly type = "BrowserLoginTask";
|
|
46
|
-
static readonly category = "Browser";
|
|
47
|
-
static title: string;
|
|
48
|
-
static description: string;
|
|
49
|
-
static readonly cacheable = false;
|
|
50
|
-
static hasDynamicEntitlements: boolean;
|
|
51
|
-
static configSchema(): DataPortSchema;
|
|
52
|
-
static inputSchema(): {
|
|
53
|
-
readonly type: "object";
|
|
54
|
-
readonly properties: {
|
|
55
|
-
readonly sessionId: {
|
|
56
|
-
readonly type: "string";
|
|
57
|
-
readonly title: "Session ID";
|
|
58
|
-
readonly description: "The browser session to use";
|
|
59
|
-
};
|
|
60
|
-
readonly url: {
|
|
61
|
-
readonly type: "string";
|
|
62
|
-
readonly format: "uri";
|
|
63
|
-
readonly title: "URL";
|
|
64
|
-
readonly description: "The login page URL to navigate to";
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
readonly required: readonly ["sessionId", "url"];
|
|
68
|
-
readonly additionalProperties: false;
|
|
69
|
-
};
|
|
70
|
-
static outputSchema(): {
|
|
71
|
-
readonly type: "object";
|
|
72
|
-
readonly properties: {
|
|
73
|
-
readonly sessionId: {
|
|
74
|
-
readonly type: "string";
|
|
75
|
-
readonly title: "Session ID";
|
|
76
|
-
readonly description: "The browser session ID";
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
readonly required: readonly ["sessionId"];
|
|
80
|
-
readonly additionalProperties: false;
|
|
81
|
-
};
|
|
82
|
-
static entitlements(): TaskEntitlements;
|
|
83
|
-
entitlements(): TaskEntitlements;
|
|
84
|
-
execute(input: BrowserLoginTaskInput, executeContext: IExecuteContext): Promise<BrowserLoginTaskOutput>;
|
|
85
|
-
}
|
|
86
|
-
export {};
|
|
87
|
-
//# sourceMappingURL=BrowserLoginTask.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserLoginTask.d.ts","sourceRoot":"","sources":["../../../../src/task/browser-control/tasks/BrowserLoginTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAEL,eAAe,EAEf,IAAI,EACJ,UAAU,EAEV,gBAAgB,EACjB,MAAM,sBAAsB,CA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yBACd,MAAM,EAAE,KAAK;yBACb,KAAK,EAAE,KAAK;yBACZ,WAAW,EAAE,mCAAmC;;;;;MA2CnD;IAED,OAAgB,YAAY;uBArCtB,QAAQ;;qBAEZ,SAAS;yBACP,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,YAAY;yBACnB,WAAW,EAAE,wBAAwB;;;;;MAkCxC;IAED,OAAuB,YAAY,IAAI,gBAAgB,CAMtD;IAEe,YAAY,IAAI,gBAAgB,CAa/C;IAEc,OAAO,CACpB,KAAK,EAAE,qBAAqB,EAC5B,cAAc,EAAE,eAAe,GAC9B,OAAO,CAAC,sBAAsB,CAAC,CAuBjC;CACF"}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { IExecuteContext, Task, TaskConfig, TaskEntitlements } from "@workglow/task-graph";
|
|
7
|
-
import { DataPortSchema, FromSchema } from "@workglow/util/schema";
|
|
8
|
-
export type BrowserNavigateTaskConfig = TaskConfig & {
|
|
9
|
-
waitUntil?: "load" | "domcontentloaded" | "networkidle";
|
|
10
|
-
};
|
|
11
|
-
declare const inputSchema: {
|
|
12
|
-
readonly type: "object";
|
|
13
|
-
readonly properties: {
|
|
14
|
-
readonly sessionId: {
|
|
15
|
-
readonly type: "string";
|
|
16
|
-
readonly title: "Session ID";
|
|
17
|
-
readonly description: "The browser session to use";
|
|
18
|
-
};
|
|
19
|
-
readonly url: {
|
|
20
|
-
readonly type: "string";
|
|
21
|
-
readonly format: "uri";
|
|
22
|
-
readonly title: "URL";
|
|
23
|
-
readonly description: "The URL to navigate to";
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
readonly required: readonly ["sessionId", "url"];
|
|
27
|
-
readonly additionalProperties: false;
|
|
28
|
-
};
|
|
29
|
-
declare const outputSchema: {
|
|
30
|
-
readonly type: "object";
|
|
31
|
-
readonly properties: {
|
|
32
|
-
readonly sessionId: {
|
|
33
|
-
readonly type: "string";
|
|
34
|
-
readonly title: "Session ID";
|
|
35
|
-
readonly description: "The browser session ID";
|
|
36
|
-
};
|
|
37
|
-
readonly title: {
|
|
38
|
-
readonly type: "string";
|
|
39
|
-
readonly title: "Page Title";
|
|
40
|
-
readonly description: "The title of the navigated page";
|
|
41
|
-
};
|
|
42
|
-
readonly url: {
|
|
43
|
-
readonly type: "string";
|
|
44
|
-
readonly title: "URL";
|
|
45
|
-
readonly description: "The current URL after navigation";
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
readonly required: readonly ["sessionId", "title", "url"];
|
|
49
|
-
readonly additionalProperties: false;
|
|
50
|
-
};
|
|
51
|
-
export type BrowserNavigateTaskInput = FromSchema<typeof inputSchema>;
|
|
52
|
-
export type BrowserNavigateTaskOutput = FromSchema<typeof outputSchema>;
|
|
53
|
-
export declare class BrowserNavigateTask extends Task<BrowserNavigateTaskInput, BrowserNavigateTaskOutput, BrowserNavigateTaskConfig> {
|
|
54
|
-
static readonly type = "BrowserNavigateTask";
|
|
55
|
-
static readonly category = "Browser";
|
|
56
|
-
static title: string;
|
|
57
|
-
static description: string;
|
|
58
|
-
static readonly cacheable = false;
|
|
59
|
-
static configSchema(): DataPortSchema;
|
|
60
|
-
static inputSchema(): {
|
|
61
|
-
readonly type: "object";
|
|
62
|
-
readonly properties: {
|
|
63
|
-
readonly sessionId: {
|
|
64
|
-
readonly type: "string";
|
|
65
|
-
readonly title: "Session ID";
|
|
66
|
-
readonly description: "The browser session to use";
|
|
67
|
-
};
|
|
68
|
-
readonly url: {
|
|
69
|
-
readonly type: "string";
|
|
70
|
-
readonly format: "uri";
|
|
71
|
-
readonly title: "URL";
|
|
72
|
-
readonly description: "The URL to navigate to";
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
readonly required: readonly ["sessionId", "url"];
|
|
76
|
-
readonly additionalProperties: false;
|
|
77
|
-
};
|
|
78
|
-
static outputSchema(): {
|
|
79
|
-
readonly type: "object";
|
|
80
|
-
readonly properties: {
|
|
81
|
-
readonly sessionId: {
|
|
82
|
-
readonly type: "string";
|
|
83
|
-
readonly title: "Session ID";
|
|
84
|
-
readonly description: "The browser session ID";
|
|
85
|
-
};
|
|
86
|
-
readonly title: {
|
|
87
|
-
readonly type: "string";
|
|
88
|
-
readonly title: "Page Title";
|
|
89
|
-
readonly description: "The title of the navigated page";
|
|
90
|
-
};
|
|
91
|
-
readonly url: {
|
|
92
|
-
readonly type: "string";
|
|
93
|
-
readonly title: "URL";
|
|
94
|
-
readonly description: "The current URL after navigation";
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
readonly required: readonly ["sessionId", "title", "url"];
|
|
98
|
-
readonly additionalProperties: false;
|
|
99
|
-
};
|
|
100
|
-
static entitlements(): TaskEntitlements;
|
|
101
|
-
execute(input: BrowserNavigateTaskInput, _executeContext: IExecuteContext): Promise<BrowserNavigateTaskOutput>;
|
|
102
|
-
}
|
|
103
|
-
export {};
|
|
104
|
-
//# sourceMappingURL=BrowserNavigateTask.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserNavigateTask.d.ts","sourceRoot":"","sources":["../../../../src/task/browser-control/tasks/BrowserNavigateTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAEL,eAAe,EACf,IAAI,EACJ,UAAU,EAEV,gBAAgB,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAkBnE,MAAM,MAAM,yBAAyB,GAAG,UAAU,GAAG;IACnD,SAAS,CAAC,EAAE,MAAM,GAAG,kBAAkB,GAAG,aAAa,CAAC;CACzD,CAAC;AAEF,QAAA,MAAM,WAAW;mBACT,QAAQ;;iBAEZ,SAAS;qBACP,IAAI,EAAE,QAAQ;qBACd,KAAK,EA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AAQ;yBACd,KAAK,EAAE,YAAY;yBACnB,WAAW,EAAE,wBAAwB;;qBAEvC,KAAK;yBACH,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,YAAY;yBACnB,WAAW,EAAE,iCAAiC;;qBAEhD,GAAG;yBACD,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,KAAK;yBACZ,WAAW,EAAE,kCAAkC;;;;;MAgClD;IAED,OAAuB,YAAY,IAAI,gBAAgB,CAMtD;IAEc,OAAO,CACpB,KAAK,EAAE,wBAAwB,EAC/B,eAAe,EAAE,eAAe,GAC/B,OAAO,CAAC,yBAAyB,CAAC,CAWpC;CACF"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { IExecuteContext, Task, TaskConfig } from "@workglow/task-graph";
|
|
7
|
-
import { DataPortSchema, FromSchema } from "@workglow/util/schema";
|
|
8
|
-
export type BrowserNewTabTaskConfig = TaskConfig;
|
|
9
|
-
declare const inputSchema: {
|
|
10
|
-
readonly type: "object";
|
|
11
|
-
readonly properties: {
|
|
12
|
-
readonly sessionId: {
|
|
13
|
-
readonly type: "string";
|
|
14
|
-
readonly title: "Session ID";
|
|
15
|
-
readonly description: "The browser session to use";
|
|
16
|
-
};
|
|
17
|
-
readonly url: {
|
|
18
|
-
readonly type: "string";
|
|
19
|
-
readonly title: "URL";
|
|
20
|
-
readonly description: "Optional URL to open in the new tab";
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
readonly required: readonly ["sessionId"];
|
|
24
|
-
readonly additionalProperties: false;
|
|
25
|
-
};
|
|
26
|
-
declare const outputSchema: {
|
|
27
|
-
readonly type: "object";
|
|
28
|
-
readonly properties: {
|
|
29
|
-
readonly sessionId: {
|
|
30
|
-
readonly type: "string";
|
|
31
|
-
readonly title: "Session ID";
|
|
32
|
-
readonly description: "The browser session ID";
|
|
33
|
-
};
|
|
34
|
-
readonly tabId: {
|
|
35
|
-
readonly type: "string";
|
|
36
|
-
readonly title: "Tab ID";
|
|
37
|
-
readonly description: "The unique identifier for the new tab";
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
readonly required: readonly ["sessionId", "tabId"];
|
|
41
|
-
readonly additionalProperties: false;
|
|
42
|
-
};
|
|
43
|
-
export type BrowserNewTabTaskInput = FromSchema<typeof inputSchema>;
|
|
44
|
-
export type BrowserNewTabTaskOutput = FromSchema<typeof outputSchema>;
|
|
45
|
-
export declare class BrowserNewTabTask extends Task<BrowserNewTabTaskInput, BrowserNewTabTaskOutput, BrowserNewTabTaskConfig> {
|
|
46
|
-
static readonly type = "BrowserNewTabTask";
|
|
47
|
-
static readonly category = "Browser";
|
|
48
|
-
static title: string;
|
|
49
|
-
static description: string;
|
|
50
|
-
static readonly cacheable = false;
|
|
51
|
-
static configSchema(): DataPortSchema;
|
|
52
|
-
static inputSchema(): {
|
|
53
|
-
readonly type: "object";
|
|
54
|
-
readonly properties: {
|
|
55
|
-
readonly sessionId: {
|
|
56
|
-
readonly type: "string";
|
|
57
|
-
readonly title: "Session ID";
|
|
58
|
-
readonly description: "The browser session to use";
|
|
59
|
-
};
|
|
60
|
-
readonly url: {
|
|
61
|
-
readonly type: "string";
|
|
62
|
-
readonly title: "URL";
|
|
63
|
-
readonly description: "Optional URL to open in the new tab";
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
readonly required: readonly ["sessionId"];
|
|
67
|
-
readonly additionalProperties: false;
|
|
68
|
-
};
|
|
69
|
-
static outputSchema(): {
|
|
70
|
-
readonly type: "object";
|
|
71
|
-
readonly properties: {
|
|
72
|
-
readonly sessionId: {
|
|
73
|
-
readonly type: "string";
|
|
74
|
-
readonly title: "Session ID";
|
|
75
|
-
readonly description: "The browser session ID";
|
|
76
|
-
};
|
|
77
|
-
readonly tabId: {
|
|
78
|
-
readonly type: "string";
|
|
79
|
-
readonly title: "Tab ID";
|
|
80
|
-
readonly description: "The unique identifier for the new tab";
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
readonly required: readonly ["sessionId", "tabId"];
|
|
84
|
-
readonly additionalProperties: false;
|
|
85
|
-
};
|
|
86
|
-
execute(input: BrowserNewTabTaskInput, _executeContext: IExecuteContext): Promise<BrowserNewTabTaskOutput>;
|
|
87
|
-
}
|
|
88
|
-
export {};
|
|
89
|
-
//# sourceMappingURL=BrowserNewTabTask.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserNewTabTask.d.ts","sourceRoot":"","sources":["../../../../src/task/browser-control/tasks/BrowserNewTabTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,EAAoB,MAAM,sBAAsB,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAWnE,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC;AAEjD,QAAA,MAAM,WAAW;mBACT,QAAQ;;iBAEZ,SAAS;qBACP,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,YAAY;qBACnB,WAAW,EAAE,4BAA4B;;iBAE3C,GAAG;qBACD,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,KAAK;qBACZ,WAAW,EAAE,qCAAqC;;;;;CAKrB,CAAC;AAEpC,QAAA,MAAM,YAAY;mBACV,QAAQ;;iBAEZ,SAAS;qBACP,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,YAAY;qBACnB,WAAW,EAAE,wBAAwB;;iBAEvC,KAAK;qBACH,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,QAAQ;qBACf,WAAW,EAAE,uCAAuC;;;;;CAKvB,CAAC;AAEpC,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AACpE,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAEtE,qBAAa,iBAAkB,SAAQ,IAAI,CACzC,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,CACxB;IACC,gBAAyB,IAAI,uBAAuB;IACpD,gBAAyB,QAAQ,aAAa;IAC9C,OAAuB,KAAK,SAAqB;IACjD,OAAuB,WAAW,SAAoD;IACtF,gBAAyB,SAAS,SAAS;IAE3C,OAAuB,YAAY,IAAI,cAAc,CAEpD;IAED,OAAgB,WAAW;uBArDrB,QAAQ;;qBAEZ,SAAS;yBACP,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,YAAY;yBACnB,WAAW,EAAE,4BAA4B;;qBAE3C,GAAG;yBACD,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,KAAK;yBACZ,WAAW,EAAE,qCAAqC;;;;;MA6CrD;IAED,OAAgB,YAAY;uBAvCtB,QAAQ;;qBAEZ,SAAS;yBACP,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,YAAY;yBACnB,WAAW,EAAE,wBAAwB;;qBAEvC,KAAK;yBACH,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,QAAQ;yBACf,WAAW,EAAE,uCAAuC;;;;;MA+BvD;IAEc,OAAO,CACpB,KAAK,EAAE,sBAAsB,EAC7B,eAAe,EAAE,eAAe,GAC/B,OAAO,CAAC,uBAAuB,CAAC,CAIlC;CACF"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { IExecuteContext, Task, TaskConfig } from "@workglow/task-graph";
|
|
7
|
-
import { DataPortSchema, FromSchema } from "@workglow/util/schema";
|
|
8
|
-
export type BrowserPressKeyTaskConfig = TaskConfig & {
|
|
9
|
-
modifiers?: Array<"Alt" | "Control" | "Meta" | "Shift">;
|
|
10
|
-
};
|
|
11
|
-
declare const inputSchema: {
|
|
12
|
-
readonly type: "object";
|
|
13
|
-
readonly properties: {
|
|
14
|
-
readonly sessionId: {
|
|
15
|
-
readonly type: "string";
|
|
16
|
-
readonly title: "Session ID";
|
|
17
|
-
readonly description: "The browser session to use";
|
|
18
|
-
};
|
|
19
|
-
readonly key: {
|
|
20
|
-
readonly type: "string";
|
|
21
|
-
readonly title: "Key";
|
|
22
|
-
readonly description: "The key to press (e.g. Enter, Tab, ArrowDown)";
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
readonly required: readonly ["sessionId", "key"];
|
|
26
|
-
readonly additionalProperties: false;
|
|
27
|
-
};
|
|
28
|
-
declare const outputSchema: {
|
|
29
|
-
readonly type: "object";
|
|
30
|
-
readonly properties: {
|
|
31
|
-
readonly sessionId: {
|
|
32
|
-
readonly type: "string";
|
|
33
|
-
readonly title: "Session ID";
|
|
34
|
-
readonly description: "The browser session ID";
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
readonly required: readonly ["sessionId"];
|
|
38
|
-
readonly additionalProperties: false;
|
|
39
|
-
};
|
|
40
|
-
export type BrowserPressKeyTaskInput = FromSchema<typeof inputSchema>;
|
|
41
|
-
export type BrowserPressKeyTaskOutput = FromSchema<typeof outputSchema>;
|
|
42
|
-
export declare class BrowserPressKeyTask extends Task<BrowserPressKeyTaskInput, BrowserPressKeyTaskOutput, BrowserPressKeyTaskConfig> {
|
|
43
|
-
static readonly type = "BrowserPressKeyTask";
|
|
44
|
-
static readonly category = "Browser";
|
|
45
|
-
static title: string;
|
|
46
|
-
static description: string;
|
|
47
|
-
static readonly cacheable = false;
|
|
48
|
-
static configSchema(): DataPortSchema;
|
|
49
|
-
static inputSchema(): {
|
|
50
|
-
readonly type: "object";
|
|
51
|
-
readonly properties: {
|
|
52
|
-
readonly sessionId: {
|
|
53
|
-
readonly type: "string";
|
|
54
|
-
readonly title: "Session ID";
|
|
55
|
-
readonly description: "The browser session to use";
|
|
56
|
-
};
|
|
57
|
-
readonly key: {
|
|
58
|
-
readonly type: "string";
|
|
59
|
-
readonly title: "Key";
|
|
60
|
-
readonly description: "The key to press (e.g. Enter, Tab, ArrowDown)";
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
readonly required: readonly ["sessionId", "key"];
|
|
64
|
-
readonly additionalProperties: false;
|
|
65
|
-
};
|
|
66
|
-
static outputSchema(): {
|
|
67
|
-
readonly type: "object";
|
|
68
|
-
readonly properties: {
|
|
69
|
-
readonly sessionId: {
|
|
70
|
-
readonly type: "string";
|
|
71
|
-
readonly title: "Session ID";
|
|
72
|
-
readonly description: "The browser session ID";
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
readonly required: readonly ["sessionId"];
|
|
76
|
-
readonly additionalProperties: false;
|
|
77
|
-
};
|
|
78
|
-
private buildKeyChord;
|
|
79
|
-
execute(input: BrowserPressKeyTaskInput, _executeContext: IExecuteContext): Promise<BrowserPressKeyTaskOutput>;
|
|
80
|
-
}
|
|
81
|
-
export {};
|
|
82
|
-
//# sourceMappingURL=BrowserPressKeyTask.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserPressKeyTask.d.ts","sourceRoot":"","sources":["../../../../src/task/browser-control/tasks/BrowserPressKeyTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,EAAoB,MAAM,sBAAsB,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAoBnE,MAAM,MAAM,yBAAyB,GAAG,UAAU,GAAG;IACnD,SAAS,CAAC,EAAE,KAAK,CAAC,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;CACzD,CAAC;AAEF,QAAA,MAAM,WAAW;mBACT,QAAQ;;iBAEZ,SAAS;qBACP,IAAI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
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { IExecuteContext, Task, TaskConfig } from "@workglow/task-graph";
|
|
7
|
-
import { DataPortSchema, FromSchema } from "@workglow/util/schema";
|
|
8
|
-
declare const inputSchema: {
|
|
9
|
-
readonly type: "object";
|
|
10
|
-
readonly properties: {
|
|
11
|
-
readonly sessionId: {
|
|
12
|
-
readonly type: "string";
|
|
13
|
-
readonly title: "Session ID";
|
|
14
|
-
readonly description: "The browser session to use";
|
|
15
|
-
};
|
|
16
|
-
readonly selector: {
|
|
17
|
-
readonly type: "string";
|
|
18
|
-
readonly title: "CSS Selector";
|
|
19
|
-
readonly description: "The CSS selector to query for";
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
readonly required: readonly ["sessionId", "selector"];
|
|
23
|
-
readonly additionalProperties: false;
|
|
24
|
-
};
|
|
25
|
-
declare const outputSchema: {
|
|
26
|
-
readonly type: "object";
|
|
27
|
-
readonly properties: {
|
|
28
|
-
readonly sessionId: {
|
|
29
|
-
readonly type: "string";
|
|
30
|
-
readonly title: "Session ID";
|
|
31
|
-
readonly description: "The browser session ID";
|
|
32
|
-
};
|
|
33
|
-
readonly refs: {
|
|
34
|
-
readonly type: "array";
|
|
35
|
-
readonly items: {
|
|
36
|
-
readonly type: "string";
|
|
37
|
-
};
|
|
38
|
-
readonly title: "Element Refs";
|
|
39
|
-
readonly description: "The element references matching the selector";
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
readonly required: readonly ["sessionId", "refs"];
|
|
43
|
-
readonly additionalProperties: false;
|
|
44
|
-
};
|
|
45
|
-
export type BrowserQuerySelectorTaskInput = FromSchema<typeof inputSchema>;
|
|
46
|
-
export type BrowserQuerySelectorTaskOutput = FromSchema<typeof outputSchema>;
|
|
47
|
-
export declare class BrowserQuerySelectorTask extends Task<BrowserQuerySelectorTaskInput, BrowserQuerySelectorTaskOutput, TaskConfig> {
|
|
48
|
-
static readonly type = "BrowserQuerySelectorTask";
|
|
49
|
-
static readonly category = "Browser";
|
|
50
|
-
static title: string;
|
|
51
|
-
static description: string;
|
|
52
|
-
static readonly cacheable = false;
|
|
53
|
-
static configSchema(): DataPortSchema;
|
|
54
|
-
static inputSchema(): {
|
|
55
|
-
readonly type: "object";
|
|
56
|
-
readonly properties: {
|
|
57
|
-
readonly sessionId: {
|
|
58
|
-
readonly type: "string";
|
|
59
|
-
readonly title: "Session ID";
|
|
60
|
-
readonly description: "The browser session to use";
|
|
61
|
-
};
|
|
62
|
-
readonly selector: {
|
|
63
|
-
readonly type: "string";
|
|
64
|
-
readonly title: "CSS Selector";
|
|
65
|
-
readonly description: "The CSS selector to query for";
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
readonly required: readonly ["sessionId", "selector"];
|
|
69
|
-
readonly additionalProperties: false;
|
|
70
|
-
};
|
|
71
|
-
static outputSchema(): {
|
|
72
|
-
readonly type: "object";
|
|
73
|
-
readonly properties: {
|
|
74
|
-
readonly sessionId: {
|
|
75
|
-
readonly type: "string";
|
|
76
|
-
readonly title: "Session ID";
|
|
77
|
-
readonly description: "The browser session ID";
|
|
78
|
-
};
|
|
79
|
-
readonly refs: {
|
|
80
|
-
readonly type: "array";
|
|
81
|
-
readonly items: {
|
|
82
|
-
readonly type: "string";
|
|
83
|
-
};
|
|
84
|
-
readonly title: "Element Refs";
|
|
85
|
-
readonly description: "The element references matching the selector";
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
readonly required: readonly ["sessionId", "refs"];
|
|
89
|
-
readonly additionalProperties: false;
|
|
90
|
-
};
|
|
91
|
-
execute(input: BrowserQuerySelectorTaskInput, _executeContext: IExecuteContext): Promise<BrowserQuerySelectorTaskOutput>;
|
|
92
|
-
}
|
|
93
|
-
export {};
|
|
94
|
-
//# sourceMappingURL=BrowserQuerySelectorTask.d.ts.map
|