@workglow/tasks 0.2.27 → 0.2.28

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.
Files changed (133) hide show
  1. package/dist/browser.d.ts +1 -5
  2. package/dist/browser.d.ts.map +1 -1
  3. package/dist/browser.js +2542 -11979
  4. package/dist/browser.js.map +5 -56
  5. package/dist/bun.d.ts +1 -6
  6. package/dist/bun.d.ts.map +1 -1
  7. package/dist/bun.js +2204 -12152
  8. package/dist/bun.js.map +5 -58
  9. package/dist/common.d.ts +1 -21
  10. package/dist/common.d.ts.map +1 -1
  11. package/dist/electron.d.ts +1 -7
  12. package/dist/electron.d.ts.map +1 -1
  13. package/dist/electron.js +2200 -12367
  14. package/dist/electron.js.map +5 -59
  15. package/dist/node.d.ts +1 -6
  16. package/dist/node.d.ts.map +1 -1
  17. package/dist/node.js +2204 -12152
  18. package/dist/node.js.map +5 -58
  19. package/package.json +10 -16
  20. package/dist/mcp-server/InMemoryMcpServerRepository.d.ts +0 -10
  21. package/dist/mcp-server/InMemoryMcpServerRepository.d.ts.map +0 -1
  22. package/dist/mcp-server/McpServerRegistry.d.ts +0 -18
  23. package/dist/mcp-server/McpServerRegistry.d.ts.map +0 -1
  24. package/dist/mcp-server/McpServerRepository.d.ts +0 -34
  25. package/dist/mcp-server/McpServerRepository.d.ts.map +0 -1
  26. package/dist/mcp-server/McpServerSchema.d.ts +0 -127
  27. package/dist/mcp-server/McpServerSchema.d.ts.map +0 -1
  28. package/dist/mcp-server/getMcpServerConfig.d.ts +0 -14
  29. package/dist/mcp-server/getMcpServerConfig.d.ts.map +0 -1
  30. package/dist/mcp-server/mcpServerReferenceObjectSchema.d.ts +0 -37
  31. package/dist/mcp-server/mcpServerReferenceObjectSchema.d.ts.map +0 -1
  32. package/dist/server.d.ts +0 -8
  33. package/dist/server.d.ts.map +0 -1
  34. package/dist/task/JavaScriptTask.d.ts +0 -153
  35. package/dist/task/JavaScriptTask.d.ts.map +0 -1
  36. package/dist/task/McpElicitationConnector.d.ts +0 -40
  37. package/dist/task/McpElicitationConnector.d.ts.map +0 -1
  38. package/dist/task/browser-control/BrowserSessionRegistry.d.ts +0 -34
  39. package/dist/task/browser-control/BrowserSessionRegistry.d.ts.map +0 -1
  40. package/dist/task/browser-control/BunWebViewBackend.d.ts +0 -59
  41. package/dist/task/browser-control/BunWebViewBackend.d.ts.map +0 -1
  42. package/dist/task/browser-control/CDPBrowserBackend.d.ts +0 -52
  43. package/dist/task/browser-control/CDPBrowserBackend.d.ts.map +0 -1
  44. package/dist/task/browser-control/ElectronBackend.d.ts +0 -57
  45. package/dist/task/browser-control/ElectronBackend.d.ts.map +0 -1
  46. package/dist/task/browser-control/IBrowserContext.d.ts +0 -177
  47. package/dist/task/browser-control/IBrowserContext.d.ts.map +0 -1
  48. package/dist/task/browser-control/PlaywrightBackend.d.ts +0 -78
  49. package/dist/task/browser-control/PlaywrightBackend.d.ts.map +0 -1
  50. package/dist/task/browser-control/index.d.ts +0 -11
  51. package/dist/task/browser-control/index.d.ts.map +0 -1
  52. package/dist/task/browser-control/register.d.ts +0 -34
  53. package/dist/task/browser-control/register.d.ts.map +0 -1
  54. package/dist/task/browser-control/tasks/BrowserAttributeTask.d.ts +0 -84
  55. package/dist/task/browser-control/tasks/BrowserAttributeTask.d.ts.map +0 -1
  56. package/dist/task/browser-control/tasks/BrowserBackTask.d.ts +0 -78
  57. package/dist/task/browser-control/tasks/BrowserBackTask.d.ts.map +0 -1
  58. package/dist/task/browser-control/tasks/BrowserClickTask.d.ts +0 -101
  59. package/dist/task/browser-control/tasks/BrowserClickTask.d.ts.map +0 -1
  60. package/dist/task/browser-control/tasks/BrowserCloseTabTask.d.ts +0 -71
  61. package/dist/task/browser-control/tasks/BrowserCloseTabTask.d.ts.map +0 -1
  62. package/dist/task/browser-control/tasks/BrowserCloseTask.d.ts +0 -54
  63. package/dist/task/browser-control/tasks/BrowserCloseTask.d.ts.map +0 -1
  64. package/dist/task/browser-control/tasks/BrowserEvaluateTask.d.ts +0 -74
  65. package/dist/task/browser-control/tasks/BrowserEvaluateTask.d.ts.map +0 -1
  66. package/dist/task/browser-control/tasks/BrowserExtractHtmlTask.d.ts +0 -82
  67. package/dist/task/browser-control/tasks/BrowserExtractHtmlTask.d.ts.map +0 -1
  68. package/dist/task/browser-control/tasks/BrowserExtractTextTask.d.ts +0 -81
  69. package/dist/task/browser-control/tasks/BrowserExtractTextTask.d.ts.map +0 -1
  70. package/dist/task/browser-control/tasks/BrowserFillTask.d.ts +0 -101
  71. package/dist/task/browser-control/tasks/BrowserFillTask.d.ts.map +0 -1
  72. package/dist/task/browser-control/tasks/BrowserForwardTask.d.ts +0 -78
  73. package/dist/task/browser-control/tasks/BrowserForwardTask.d.ts.map +0 -1
  74. package/dist/task/browser-control/tasks/BrowserHoverTask.d.ts +0 -98
  75. package/dist/task/browser-control/tasks/BrowserHoverTask.d.ts.map +0 -1
  76. package/dist/task/browser-control/tasks/BrowserLoginTask.d.ts +0 -87
  77. package/dist/task/browser-control/tasks/BrowserLoginTask.d.ts.map +0 -1
  78. package/dist/task/browser-control/tasks/BrowserNavigateTask.d.ts +0 -104
  79. package/dist/task/browser-control/tasks/BrowserNavigateTask.d.ts.map +0 -1
  80. package/dist/task/browser-control/tasks/BrowserNewTabTask.d.ts +0 -89
  81. package/dist/task/browser-control/tasks/BrowserNewTabTask.d.ts.map +0 -1
  82. package/dist/task/browser-control/tasks/BrowserPressKeyTask.d.ts +0 -82
  83. package/dist/task/browser-control/tasks/BrowserPressKeyTask.d.ts.map +0 -1
  84. package/dist/task/browser-control/tasks/BrowserQuerySelectorTask.d.ts +0 -94
  85. package/dist/task/browser-control/tasks/BrowserQuerySelectorTask.d.ts.map +0 -1
  86. package/dist/task/browser-control/tasks/BrowserReloadTask.d.ts +0 -68
  87. package/dist/task/browser-control/tasks/BrowserReloadTask.d.ts.map +0 -1
  88. package/dist/task/browser-control/tasks/BrowserScreenshotTask.d.ts +0 -69
  89. package/dist/task/browser-control/tasks/BrowserScreenshotTask.d.ts.map +0 -1
  90. package/dist/task/browser-control/tasks/BrowserScrollTask.d.ts +0 -73
  91. package/dist/task/browser-control/tasks/BrowserScrollTask.d.ts.map +0 -1
  92. package/dist/task/browser-control/tasks/BrowserSelectTask.d.ts +0 -98
  93. package/dist/task/browser-control/tasks/BrowserSelectTask.d.ts.map +0 -1
  94. package/dist/task/browser-control/tasks/BrowserSessionTask.d.ts +0 -63
  95. package/dist/task/browser-control/tasks/BrowserSessionTask.d.ts.map +0 -1
  96. package/dist/task/browser-control/tasks/BrowserSnapshotTask.d.ts +0 -66
  97. package/dist/task/browser-control/tasks/BrowserSnapshotTask.d.ts.map +0 -1
  98. package/dist/task/browser-control/tasks/BrowserSwitchTabTask.d.ts +0 -79
  99. package/dist/task/browser-control/tasks/BrowserSwitchTabTask.d.ts.map +0 -1
  100. package/dist/task/browser-control/tasks/BrowserTypeTask.d.ts +0 -79
  101. package/dist/task/browser-control/tasks/BrowserTypeTask.d.ts.map +0 -1
  102. package/dist/task/browser-control/tasks/BrowserUploadTask.d.ts +0 -96
  103. package/dist/task/browser-control/tasks/BrowserUploadTask.d.ts.map +0 -1
  104. package/dist/task/browser-control/tasks/BrowserWaitTask.d.ts +0 -73
  105. package/dist/task/browser-control/tasks/BrowserWaitTask.d.ts.map +0 -1
  106. package/dist/task/browser-control/tasks/index.d.ts +0 -32
  107. package/dist/task/browser-control/tasks/index.d.ts.map +0 -1
  108. package/dist/task/mcp/McpListTask.d.ts +0 -572
  109. package/dist/task/mcp/McpListTask.d.ts.map +0 -1
  110. package/dist/task/mcp/McpPromptGetTask.d.ts +0 -591
  111. package/dist/task/mcp/McpPromptGetTask.d.ts.map +0 -1
  112. package/dist/task/mcp/McpResourceReadTask.d.ts +0 -148
  113. package/dist/task/mcp/McpResourceReadTask.d.ts.map +0 -1
  114. package/dist/task/mcp/McpSearchTask.d.ts +0 -111
  115. package/dist/task/mcp/McpSearchTask.d.ts.map +0 -1
  116. package/dist/task/mcp/McpToolCallTask.d.ts +0 -309
  117. package/dist/task/mcp/McpToolCallTask.d.ts.map +0 -1
  118. package/dist/util/BrowserTaskDeps.d.ts +0 -21
  119. package/dist/util/BrowserTaskDeps.d.ts.map +0 -1
  120. package/dist/util/McpAuthProvider.d.ts +0 -70
  121. package/dist/util/McpAuthProvider.d.ts.map +0 -1
  122. package/dist/util/McpAuthTypes.d.ts +0 -217
  123. package/dist/util/McpAuthTypes.d.ts.map +0 -1
  124. package/dist/util/McpClientUtil.d.ts +0 -121
  125. package/dist/util/McpClientUtil.d.ts.map +0 -1
  126. package/dist/util/McpTaskDeps.d.ts +0 -41
  127. package/dist/util/McpTaskDeps.d.ts.map +0 -1
  128. package/dist/util/acorn.d.ts +0 -14
  129. package/dist/util/acorn.d.ts.map +0 -1
  130. package/dist/util/getMcpServerTransport.d.ts +0 -13
  131. package/dist/util/getMcpServerTransport.d.ts.map +0 -1
  132. package/dist/util/interpreter.d.ts +0 -17
  133. package/dist/util/interpreter.d.ts.map +0 -1
@@ -1,101 +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 BrowserClickTaskConfig = 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 ref: {
20
- readonly type: "string";
21
- readonly title: "Element Ref";
22
- readonly description: "The element reference to click";
23
- };
24
- readonly role: {
25
- readonly type: "string";
26
- readonly title: "ARIA Role";
27
- readonly description: "The ARIA role of the element to click";
28
- };
29
- readonly name: {
30
- readonly type: "string";
31
- readonly title: "Accessible Name";
32
- readonly description: "The accessible name of the element to click";
33
- };
34
- };
35
- readonly required: readonly ["sessionId"];
36
- readonly additionalProperties: false;
37
- };
38
- declare const outputSchema: {
39
- readonly type: "object";
40
- readonly properties: {
41
- readonly sessionId: {
42
- readonly type: "string";
43
- readonly title: "Session ID";
44
- readonly description: "The browser session ID";
45
- };
46
- };
47
- readonly required: readonly ["sessionId"];
48
- readonly additionalProperties: false;
49
- };
50
- export type BrowserClickTaskInput = FromSchema<typeof inputSchema>;
51
- export type BrowserClickTaskOutput = FromSchema<typeof outputSchema>;
52
- export declare class BrowserClickTask extends Task<BrowserClickTaskInput, BrowserClickTaskOutput, BrowserClickTaskConfig> {
53
- static readonly type = "BrowserClickTask";
54
- static readonly category = "Browser";
55
- static title: string;
56
- static description: string;
57
- static readonly cacheable = false;
58
- static configSchema(): DataPortSchema;
59
- static inputSchema(): {
60
- readonly type: "object";
61
- readonly properties: {
62
- readonly sessionId: {
63
- readonly type: "string";
64
- readonly title: "Session ID";
65
- readonly description: "The browser session to use";
66
- };
67
- readonly ref: {
68
- readonly type: "string";
69
- readonly title: "Element Ref";
70
- readonly description: "The element reference to click";
71
- };
72
- readonly role: {
73
- readonly type: "string";
74
- readonly title: "ARIA Role";
75
- readonly description: "The ARIA role of the element to click";
76
- };
77
- readonly name: {
78
- readonly type: "string";
79
- readonly title: "Accessible Name";
80
- readonly description: "The accessible name of the element to click";
81
- };
82
- };
83
- readonly required: readonly ["sessionId"];
84
- readonly additionalProperties: false;
85
- };
86
- static outputSchema(): {
87
- readonly type: "object";
88
- readonly properties: {
89
- readonly sessionId: {
90
- readonly type: "string";
91
- readonly title: "Session ID";
92
- readonly description: "The browser session ID";
93
- };
94
- };
95
- readonly required: readonly ["sessionId"];
96
- readonly additionalProperties: false;
97
- };
98
- execute(input: BrowserClickTaskInput, _executeContext: IExecuteContext): Promise<BrowserClickTaskOutput>;
99
- }
100
- export {};
101
- //# sourceMappingURL=BrowserClickTask.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":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Q,aAAa;IAC9C,OAAuB,KAAK,SAAmB;IAC/C,OAAuB,WAAW,SACmC;IACrE,gBAAyB,SAAS,SAAS;IAE3C,OAAuB,YAAY,IAAI,cAAc,CAEpD;IAED,OAAgB,WAAW;uBA3DrB,QAAQ;;qBAEZ,SAAS;yBACP,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,YAAY;yBACnB,WAAW,EAAE,4BAA4B;;qBAE3C,GAAG;yBACD,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,aAAa;yBACpB,WAAW,EAAE,gCAAgC;;qBAE/C,IAAI;yBACF,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,WAAW;yBAClB,WAAW,EAAE,uCAAuC;;qBAEtD,IAAI;yBACF,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,iBAAiB;yBACxB,WAAW,EAAE,6CAA6C;;;;;MAyC7D;IAED,OAAgB,YAAY;uBAnCtB,QAAQ;;qBAEZ,SAAS;yBACP,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,YAAY;yBACnB,WAAW,EAAE,wBAAwB;;;;;MAgCxC;IAEc,OAAO,CACpB,KAAK,EAAE,qBAAqB,EAC5B,eAAe,EAAE,eAAe,GAC/B,OAAO,CAAC,sBAAsB,CAAC,CAWjC;CACF"}
@@ -1,71 +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 BrowserCloseTabTaskConfig = TaskConfig & {
9
- tabId?: string;
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
- };
20
- readonly required: readonly ["sessionId"];
21
- readonly additionalProperties: false;
22
- };
23
- declare const outputSchema: {
24
- readonly type: "object";
25
- readonly properties: {
26
- readonly sessionId: {
27
- readonly type: "string";
28
- readonly title: "Session ID";
29
- readonly description: "The browser session ID";
30
- };
31
- };
32
- readonly required: readonly ["sessionId"];
33
- readonly additionalProperties: false;
34
- };
35
- export type BrowserCloseTabTaskInput = FromSchema<typeof inputSchema>;
36
- export type BrowserCloseTabTaskOutput = FromSchema<typeof outputSchema>;
37
- export declare class BrowserCloseTabTask extends Task<BrowserCloseTabTaskInput, BrowserCloseTabTaskOutput, BrowserCloseTabTaskConfig> {
38
- static readonly type = "BrowserCloseTabTask";
39
- static readonly category = "Browser";
40
- static title: string;
41
- static description: string;
42
- static readonly cacheable = false;
43
- static configSchema(): DataPortSchema;
44
- static inputSchema(): {
45
- readonly type: "object";
46
- readonly properties: {
47
- readonly sessionId: {
48
- readonly type: "string";
49
- readonly title: "Session ID";
50
- readonly description: "The browser session to use";
51
- };
52
- };
53
- readonly required: readonly ["sessionId"];
54
- readonly additionalProperties: false;
55
- };
56
- static outputSchema(): {
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 ID";
63
- };
64
- };
65
- readonly required: readonly ["sessionId"];
66
- readonly additionalProperties: false;
67
- };
68
- execute(input: BrowserCloseTabTaskInput, _executeContext: IExecuteContext): Promise<BrowserCloseTabTaskOutput>;
69
- }
70
- export {};
71
- //# sourceMappingURL=BrowserCloseTabTask.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BrowserCloseTabTask.d.ts","sourceRoot":"","sources":["../../../../src/task/browser-control/tasks/BrowserCloseTabTask.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;AAgBnE,MAAM,MAAM,yBAAyB,GAA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PDX-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 session ID of the browser session to close";
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 additionalProperties: false;
24
- };
25
- export type BrowserCloseTaskInput = FromSchema<typeof inputSchema>;
26
- export type BrowserCloseTaskOutput = FromSchema<typeof outputSchema>;
27
- export declare class BrowserCloseTask extends Task<BrowserCloseTaskInput, BrowserCloseTaskOutput, TaskConfig> {
28
- static readonly type = "BrowserCloseTask";
29
- static readonly category = "Browser";
30
- static title: string;
31
- static description: string;
32
- static readonly cacheable = false;
33
- static configSchema(): DataPortSchema;
34
- static inputSchema(): {
35
- readonly type: "object";
36
- readonly properties: {
37
- readonly sessionId: {
38
- readonly type: "string";
39
- readonly title: "Session ID";
40
- readonly description: "The session ID of the browser session to close";
41
- };
42
- };
43
- readonly required: readonly ["sessionId"];
44
- readonly additionalProperties: false;
45
- };
46
- static outputSchema(): {
47
- readonly type: "object";
48
- readonly properties: {};
49
- readonly additionalProperties: false;
50
- };
51
- execute(input: BrowserCloseTaskInput, _executeContext: IExecuteContext): Promise<BrowserCloseTaskOutput>;
52
- }
53
- export {};
54
- //# sourceMappingURL=BrowserCloseTask.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BrowserCloseTask.d.ts","sourceRoot":"","sources":["../../../../src/task/browser-control/tasks/BrowserCloseTask.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,gDAAgD;;;;;CAKhC,CAAC;AAEpC,QAAA,MAAM,YAAY;mBACV,QAAQ;;;CAGmB,CAAC;AAEpC,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AACnE,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAErE,qBAAa,gBAAiB,SAAQ,IAAI,CACxC,qBAAqB,EACrB,sBAAsB,EACtB,UAAU,CACX;IACC,gBAAyB,IAAI,sBAAsB;IACnD,gBAAyB,QAAQ,aAAa;IAC9C,OAAuB,KAAK,SAAmB;IAC/C,OAAuB,WAAW,SAAwD;IAC1F,gBAAyB,SAAS,SAAS;IAE3C,OAAuB,YAAY,IAAI,cAAc,CAEpD;IAED,OAAgB,WAAW;uBApCrB,QAAQ;;qBAEZ,SAAS;yBACP,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,YAAY;yBACnB,WAAW,EAAE,gDAAgD;;;;;MAiChE;IAED,OAAgB,YAAY;uBA3BtB,QAAQ;;;MA6Bb;IAEc,OAAO,CACpB,KAAK,EAAE,qBAAqB,EAC5B,eAAe,EAAE,eAAe,GAC/B,OAAO,CAAC,sBAAsB,CAAC,CAKjC;CACF"}
@@ -1,74 +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
- 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 expression: {
17
- readonly type: "string";
18
- readonly title: "Expression";
19
- readonly description: "The JavaScript expression to evaluate in the page context";
20
- };
21
- };
22
- readonly required: readonly ["sessionId", "expression"];
23
- readonly additionalProperties: false;
24
- };
25
- export type BrowserEvaluateTaskInput = FromSchema<typeof inputSchema>;
26
- export type BrowserEvaluateTaskOutput = {
27
- sessionId: string;
28
- result: unknown;
29
- };
30
- export declare class BrowserEvaluateTask extends Task<BrowserEvaluateTaskInput, BrowserEvaluateTaskOutput, TaskConfig> {
31
- static readonly type = "BrowserEvaluateTask";
32
- static readonly category = "Browser";
33
- static title: string;
34
- static description: string;
35
- static readonly cacheable = false;
36
- static configSchema(): DataPortSchema;
37
- static inputSchema(): {
38
- readonly type: "object";
39
- readonly properties: {
40
- readonly sessionId: {
41
- readonly type: "string";
42
- readonly title: "Session ID";
43
- readonly description: "The browser session to use";
44
- };
45
- readonly expression: {
46
- readonly type: "string";
47
- readonly title: "Expression";
48
- readonly description: "The JavaScript expression to evaluate in the page context";
49
- };
50
- };
51
- readonly required: readonly ["sessionId", "expression"];
52
- readonly additionalProperties: false;
53
- };
54
- static outputSchema(): {
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 ID";
61
- };
62
- readonly result: {
63
- readonly title: "Result";
64
- readonly description: "The result of the evaluated expression";
65
- };
66
- };
67
- readonly required: readonly ["sessionId"];
68
- readonly additionalProperties: false;
69
- };
70
- static entitlements(): TaskEntitlements;
71
- execute(input: BrowserEvaluateTaskInput, _executeContext: IExecuteContext): Promise<BrowserEvaluateTaskOutput>;
72
- }
73
- export {};
74
- //# sourceMappingURL=BrowserEvaluateTask.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BrowserEvaluateTask.d.ts","sourceRoot":"","sources":["../../../../src/task/browser-control/tasks/BrowserEvaluateTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,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W,EAAE,wCAAwC;;;;;MAgCxD;IAED,OAAuB,YAAY,IAAI,gBAAgB,CAStD;IAEc,OAAO,CACpB,KAAK,EAAE,wBAAwB,EAC/B,eAAe,EAAE,eAAe,GAC/B,OAAO,CAAC,yBAAyB,CAAC,CAIpC;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 BrowserExtractHtmlTaskConfig = TaskConfig & {
9
- ref?: string;
10
- selector?: 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
- };
21
- readonly required: readonly ["sessionId"];
22
- readonly additionalProperties: false;
23
- };
24
- declare const outputSchema: {
25
- readonly type: "object";
26
- readonly properties: {
27
- readonly sessionId: {
28
- readonly type: "string";
29
- readonly title: "Session ID";
30
- readonly description: "The browser session ID";
31
- };
32
- readonly html: {
33
- readonly type: "string";
34
- readonly title: "HTML";
35
- readonly description: "The extracted HTML content";
36
- };
37
- };
38
- readonly required: readonly ["sessionId", "html"];
39
- readonly additionalProperties: false;
40
- };
41
- export type BrowserExtractHtmlTaskInput = FromSchema<typeof inputSchema>;
42
- export type BrowserExtractHtmlTaskOutput = FromSchema<typeof outputSchema>;
43
- export declare class BrowserExtractHtmlTask extends Task<BrowserExtractHtmlTaskInput, BrowserExtractHtmlTaskOutput, BrowserExtractHtmlTaskConfig> {
44
- static readonly type = "BrowserExtractHtmlTask";
45
- static readonly category = "Browser";
46
- static title: string;
47
- static description: string;
48
- static readonly cacheable = false;
49
- static configSchema(): DataPortSchema;
50
- static inputSchema(): {
51
- readonly type: "object";
52
- readonly properties: {
53
- readonly sessionId: {
54
- readonly type: "string";
55
- readonly title: "Session ID";
56
- readonly description: "The browser session to use";
57
- };
58
- };
59
- readonly required: readonly ["sessionId"];
60
- readonly additionalProperties: false;
61
- };
62
- static outputSchema(): {
63
- readonly type: "object";
64
- readonly properties: {
65
- readonly sessionId: {
66
- readonly type: "string";
67
- readonly title: "Session ID";
68
- readonly description: "The browser session ID";
69
- };
70
- readonly html: {
71
- readonly type: "string";
72
- readonly title: "HTML";
73
- readonly description: "The extracted HTML content";
74
- };
75
- };
76
- readonly required: readonly ["sessionId", "html"];
77
- readonly additionalProperties: false;
78
- };
79
- execute(input: BrowserExtractHtmlTaskInput, _executeContext: IExecuteContext): Promise<BrowserExtractHtmlTaskOutput>;
80
- }
81
- export {};
82
- //# sourceMappingURL=BrowserExtractHtmlTask.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BrowserExtractHtmlTask.d.ts","sourceRoot":"","sources":["../../../../src/task/browser-control/tasks/BrowserExtractHtmlTask.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;AAqBnE,MAAM,MAAM,4BAA4B,GAAG,UAAU,GAAG;IACtD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,WAAW;mBACT,QAAQ;;iBAEZ,SAAS;qBACP,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,YAAY;qBACnB,WAAW,EAAE,4BAA4B;;;;;CAKZ,CAAC;AAEpC,QAAA,MAAM,YAAY;mBACV,QAAQ;;iBAEZ,SAAS;qBACP,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,YAAY;qBACnB,WAAW,EAAE,wBAAwB;;iBAEvC,IAAI;qBACF,IAAI,EAAE,QAAQ;qBACd,KAAK,EAAE,MAAM;qBACb,WAAW,EAAE,4BAA4B;;;;;CAKZ,CAAC;AAEpC,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AACzE,MAAM,MAAM,4BAA4B,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3E,qBAAa,sBAAuB,SAAQ,IAAI,CAC9C,2BAA2B,EAC3B,4BAA4B,EAC5B,4BAA4B,CAC7B;IACC,gBAAyB,IAAI,4BAA4B;IACzD,gBAAyB,QAAQ,aAAa;IAC9C,OAAuB,KAAK,SAA0B;IACtD,OAAuB,WAAW,SACuC;IACzE,gBAAyB,SAAS,SAAS;IAE3C,OAAuB,YAAY,IAAI,cAAc,CAEpD;IAED,OAAgB,WAAW;uBAjDrB,QAAQ;;qBAEZ,SAAS;yBACP,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,YAAY;yBACnB,WAAW,EAAE,4BAA4B;;;;;MA8C5C;IAED,OAAgB,YAAY;uBAxCtB,QAAQ;;qBAEZ,SAAS;yBACP,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,YAAY;yBACnB,WAAW,EAAE,wBAAwB;;qBAEvC,IAAI;yBACF,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,MAAM;yBACb,WAAW,EAAE,4BAA4B;;;;;MAgC5C;IAEc,OAAO,CACpB,KAAK,EAAE,2BAA2B,EAClC,eAAe,EAAE,eAAe,GAC/B,OAAO,CAAC,4BAA4B,CAAC,CAiBvC;CACF"}
@@ -1,81 +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 BrowserExtractTextTaskConfig = TaskConfig & {
9
- ref?: string;
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
- };
20
- readonly required: readonly ["sessionId"];
21
- readonly additionalProperties: false;
22
- };
23
- declare const outputSchema: {
24
- readonly type: "object";
25
- readonly properties: {
26
- readonly sessionId: {
27
- readonly type: "string";
28
- readonly title: "Session ID";
29
- readonly description: "The browser session ID";
30
- };
31
- readonly text: {
32
- readonly type: "string";
33
- readonly title: "Text";
34
- readonly description: "The extracted text content";
35
- };
36
- };
37
- readonly required: readonly ["sessionId", "text"];
38
- readonly additionalProperties: false;
39
- };
40
- export type BrowserExtractTextTaskInput = FromSchema<typeof inputSchema>;
41
- export type BrowserExtractTextTaskOutput = FromSchema<typeof outputSchema>;
42
- export declare class BrowserExtractTextTask extends Task<BrowserExtractTextTaskInput, BrowserExtractTextTaskOutput, BrowserExtractTextTaskConfig> {
43
- static readonly type = "BrowserExtractTextTask";
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
- };
58
- readonly required: readonly ["sessionId"];
59
- readonly additionalProperties: false;
60
- };
61
- static outputSchema(): {
62
- readonly type: "object";
63
- readonly properties: {
64
- readonly sessionId: {
65
- readonly type: "string";
66
- readonly title: "Session ID";
67
- readonly description: "The browser session ID";
68
- };
69
- readonly text: {
70
- readonly type: "string";
71
- readonly title: "Text";
72
- readonly description: "The extracted text content";
73
- };
74
- };
75
- readonly required: readonly ["sessionId", "text"];
76
- readonly additionalProperties: false;
77
- };
78
- execute(input: BrowserExtractTextTaskInput, _executeContext: IExecuteContext): Promise<BrowserExtractTextTaskOutput>;
79
- }
80
- export {};
81
- //# sourceMappingURL=BrowserExtractTextTask.d.ts.map
@@ -1 +0,0 @@
1
- {"version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YAAY;yBACnB,WAAW,EAAE,4BAA4B;;;;;MA8C5C;IAED,OAAgB,YAAY;uBAxCtB,QAAQ;;qBAEZ,SAAS;yBACP,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,YAAY;yBACnB,WAAW,EAAE,wBAAwB;;qBAEvC,IAAI;yBACF,IAAI,EAAE,QAAQ;yBACd,KAAK,EAAE,MAAM;yBACb,WAAW,EAAE,4BAA4B;;;;;MAgC5C;IAEc,OAAO,CACpB,KAAK,EAAE,2BAA2B,EAClC,eAAe,EAAE,eAAe,GAC/B,OAAO,CAAC,4BAA4B,CAAC,CAYvC;CACF"}
@@ -1,101 +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 BrowserFillTaskConfig = TaskConfig & {
9
- clearFirst?: boolean;
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 ref: {
20
- readonly type: "string";
21
- readonly title: "Element Ref";
22
- readonly description: "The element reference to fill";
23
- };
24
- readonly label: {
25
- readonly type: "string";
26
- readonly title: "Label";
27
- readonly description: "The label text of the input to fill";
28
- };
29
- readonly value: {
30
- readonly type: "string";
31
- readonly title: "Value";
32
- readonly description: "The value to fill into the input";
33
- };
34
- };
35
- readonly required: readonly ["sessionId", "value"];
36
- readonly additionalProperties: false;
37
- };
38
- declare const outputSchema: {
39
- readonly type: "object";
40
- readonly properties: {
41
- readonly sessionId: {
42
- readonly type: "string";
43
- readonly title: "Session ID";
44
- readonly description: "The browser session ID";
45
- };
46
- };
47
- readonly required: readonly ["sessionId"];
48
- readonly additionalProperties: false;
49
- };
50
- export type BrowserFillTaskInput = FromSchema<typeof inputSchema>;
51
- export type BrowserFillTaskOutput = FromSchema<typeof outputSchema>;
52
- export declare class BrowserFillTask extends Task<BrowserFillTaskInput, BrowserFillTaskOutput, BrowserFillTaskConfig> {
53
- static readonly type = "BrowserFillTask";
54
- static readonly category = "Browser";
55
- static title: string;
56
- static description: string;
57
- static readonly cacheable = false;
58
- static configSchema(): DataPortSchema;
59
- static inputSchema(): {
60
- readonly type: "object";
61
- readonly properties: {
62
- readonly sessionId: {
63
- readonly type: "string";
64
- readonly title: "Session ID";
65
- readonly description: "The browser session to use";
66
- };
67
- readonly ref: {
68
- readonly type: "string";
69
- readonly title: "Element Ref";
70
- readonly description: "The element reference to fill";
71
- };
72
- readonly label: {
73
- readonly type: "string";
74
- readonly title: "Label";
75
- readonly description: "The label text of the input to fill";
76
- };
77
- readonly value: {
78
- readonly type: "string";
79
- readonly title: "Value";
80
- readonly description: "The value to fill into the input";
81
- };
82
- };
83
- readonly required: readonly ["sessionId", "value"];
84
- readonly additionalProperties: false;
85
- };
86
- static outputSchema(): {
87
- readonly type: "object";
88
- readonly properties: {
89
- readonly sessionId: {
90
- readonly type: "string";
91
- readonly title: "Session ID";
92
- readonly description: "The browser session ID";
93
- };
94
- };
95
- readonly required: readonly ["sessionId"];
96
- readonly additionalProperties: false;
97
- };
98
- execute(input: BrowserFillTaskInput, _executeContext: IExecuteContext): Promise<BrowserFillTaskOutput>;
99
- }
100
- export {};
101
- //# sourceMappingURL=BrowserFillTask.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BrowserFillTask.d.ts","sourceRoot":"","sources":["../../../../src/task/browser-control/tasks/BrowserFillTask.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;AAiBnE,MAAM,MAAM,qBAAqB,GAAG,UAAU,GAAG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