@workglow/tasks 0.0.125 → 0.0.126

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.
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export * from "./common";
7
+ export * from "./util/McpAuthTypes";
8
+ export * from "./util/McpAuthProvider";
9
+ export * from "./util/McpClientUtil.browser";
10
+ export * from "./util/McpTaskDeps";
11
+ export * from "./task/FileLoaderTask";
12
+ import { FileLoaderTask } from "./task/FileLoaderTask";
13
+ export declare const registerCommonTasks: () => (typeof import("./common").ScalarAddTask | typeof import("./common").ScalarDivideTask | typeof import("./common").ScalarMultiplyTask | typeof import("./common").ScalarSubtractTask | typeof import("./common").ScalarSumTask | typeof import("./common").VectorDivideTask | typeof import("./common").VectorMultiplyTask | typeof import("./common").VectorSubtractTask | typeof import("./common").VectorSumTask | typeof import("./common").DebugLogTask | typeof import("./common").DelayTask | typeof import("./common").FetchUrlTask | typeof import("./common").InputTask | typeof import("./common").JavaScriptTask | typeof import("./common").JsonTask | typeof import("./common").LambdaTask | typeof import("./common").MergeTask | typeof import("./common").SplitTask | typeof import("./common").DateFormatTask | typeof import("./common").JsonPathTask | typeof import("./common").RegexTask | typeof import("./common").TemplateTask | typeof import("./common").McpListTask | typeof import("./common").McpPromptGetTask | typeof import("./common").McpResourceReadTask | typeof import("./common").McpSearchTask | typeof import("./common").McpToolCallTask | typeof import("./common").StringConcatTask | typeof import("./common").StringIncludesTask | typeof import("./common").StringJoinTask | typeof import("./common").StringLengthTask | typeof import("./common").StringLowerCaseTask | typeof import("./common").StringReplaceTask | typeof import("./common").StringSliceTask | typeof import("./common").StringTemplateTask | typeof import("./common").StringTrimTask | typeof import("./common").StringUpperCaseTask | typeof import("./common").ScalarAbsTask | typeof import("./common").ScalarCeilTask | typeof import("./common").ScalarFloorTask | typeof import("./common").ScalarMaxTask | typeof import("./common").ScalarMinTask | typeof import("./common").ScalarRoundTask | typeof import("./common").ScalarTruncTask | typeof import("./common").VectorDistanceTask | typeof import("./common").VectorDotProductTask | typeof import("./common").VectorNormalizeTask | typeof import("./common").VectorScaleTask | typeof FileLoaderTask)[];
14
+ //# sourceMappingURL=browser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AAStC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,mBAAmB,qkEAI/B,CAAC"}
package/dist/bun.d.ts ADDED
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export * from "./common";
7
+ export * from "./util/McpAuthTypes";
8
+ export * from "./util/McpAuthProvider";
9
+ export * from "./util/McpClientUtil.node";
10
+ export * from "./util/McpTaskDeps";
11
+ export * from "./task/FileLoaderTask.server";
12
+ import { FileLoaderTask } from "./task/FileLoaderTask.server";
13
+ export declare const registerCommonTasks: () => (typeof import("./common").ScalarAddTask | typeof import("./common").ScalarDivideTask | typeof import("./common").ScalarMultiplyTask | typeof import("./common").ScalarSubtractTask | typeof import("./common").ScalarSumTask | typeof import("./common").VectorDivideTask | typeof import("./common").VectorMultiplyTask | typeof import("./common").VectorSubtractTask | typeof import("./common").VectorSumTask | typeof import("./common").DebugLogTask | typeof import("./common").DelayTask | typeof import("./common").FetchUrlTask | typeof import("./common").InputTask | typeof import("./common").JavaScriptTask | typeof import("./common").JsonTask | typeof import("./common").LambdaTask | typeof import("./common").MergeTask | typeof import("./common").SplitTask | typeof import("./common").DateFormatTask | typeof import("./common").JsonPathTask | typeof import("./common").RegexTask | typeof import("./common").TemplateTask | typeof import("./common").McpListTask | typeof import("./common").McpPromptGetTask | typeof import("./common").McpResourceReadTask | typeof import("./common").McpSearchTask | typeof import("./common").McpToolCallTask | typeof import("./common").StringConcatTask | typeof import("./common").StringIncludesTask | typeof import("./common").StringJoinTask | typeof import("./common").StringLengthTask | typeof import("./common").StringLowerCaseTask | typeof import("./common").StringReplaceTask | typeof import("./common").StringSliceTask | typeof import("./common").StringTemplateTask | typeof import("./common").StringTrimTask | typeof import("./common").StringUpperCaseTask | typeof import("./common").ScalarAbsTask | typeof import("./common").ScalarCeilTask | typeof import("./common").ScalarFloorTask | typeof import("./common").ScalarMaxTask | typeof import("./common").ScalarMinTask | typeof import("./common").ScalarRoundTask | typeof import("./common").ScalarTruncTask | typeof import("./common").VectorDistanceTask | typeof import("./common").VectorDotProductTask | typeof import("./common").VectorNormalizeTask | typeof import("./common").VectorScaleTask | typeof FileLoaderTask)[];
14
+ //# sourceMappingURL=bun.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bun.d.ts","sourceRoot":"","sources":["../src/bun.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAS7C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,eAAO,MAAM,mBAAmB,qkEAI/B,CAAC"}
package/dist/node.d.ts ADDED
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ export * from "./common";
7
+ export * from "./util/McpAuthTypes";
8
+ export * from "./util/McpAuthProvider";
9
+ export * from "./util/McpClientUtil.node";
10
+ export * from "./util/McpTaskDeps";
11
+ export * from "./task/FileLoaderTask.server";
12
+ import { FileLoaderTask } from "./task/FileLoaderTask.server";
13
+ export declare const registerCommonTasks: () => (typeof import("./common").ScalarAddTask | typeof import("./common").ScalarDivideTask | typeof import("./common").ScalarMultiplyTask | typeof import("./common").ScalarSubtractTask | typeof import("./common").ScalarSumTask | typeof import("./common").VectorDivideTask | typeof import("./common").VectorMultiplyTask | typeof import("./common").VectorSubtractTask | typeof import("./common").VectorSumTask | typeof import("./common").DebugLogTask | typeof import("./common").DelayTask | typeof import("./common").FetchUrlTask | typeof import("./common").InputTask | typeof import("./common").JavaScriptTask | typeof import("./common").JsonTask | typeof import("./common").LambdaTask | typeof import("./common").MergeTask | typeof import("./common").SplitTask | typeof import("./common").DateFormatTask | typeof import("./common").JsonPathTask | typeof import("./common").RegexTask | typeof import("./common").TemplateTask | typeof import("./common").McpListTask | typeof import("./common").McpPromptGetTask | typeof import("./common").McpResourceReadTask | typeof import("./common").McpSearchTask | typeof import("./common").McpToolCallTask | typeof import("./common").StringConcatTask | typeof import("./common").StringIncludesTask | typeof import("./common").StringJoinTask | typeof import("./common").StringLengthTask | typeof import("./common").StringLowerCaseTask | typeof import("./common").StringReplaceTask | typeof import("./common").StringSliceTask | typeof import("./common").StringTemplateTask | typeof import("./common").StringTrimTask | typeof import("./common").StringUpperCaseTask | typeof import("./common").ScalarAbsTask | typeof import("./common").ScalarCeilTask | typeof import("./common").ScalarFloorTask | typeof import("./common").ScalarMaxTask | typeof import("./common").ScalarMinTask | typeof import("./common").ScalarRoundTask | typeof import("./common").ScalarTruncTask | typeof import("./common").VectorDistanceTask | typeof import("./common").VectorDotProductTask | typeof import("./common").VectorNormalizeTask | typeof import("./common").VectorScaleTask | typeof FileLoaderTask)[];
14
+ //# sourceMappingURL=node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAS7C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,eAAO,MAAM,mBAAmB,qkEAI/B,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workglow/tasks",
3
3
  "type": "module",
4
- "version": "0.0.125",
4
+ "version": "0.0.126",
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-*'",
@@ -22,10 +22,19 @@
22
22
  },
23
23
  "exports": {
24
24
  ".": {
25
- "react-native": "./dist/browser.js",
26
- "browser": "./dist/browser.js",
27
- "bun": "./dist/bun.js",
28
- "types": "./dist/types.d.ts",
25
+ "react-native": {
26
+ "types": "./dist/browser.d.ts",
27
+ "import": "./dist/browser.js"
28
+ },
29
+ "browser": {
30
+ "types": "./dist/browser.d.ts",
31
+ "import": "./dist/browser.js"
32
+ },
33
+ "bun": {
34
+ "types": "./dist/bun.d.ts",
35
+ "import": "./dist/bun.js"
36
+ },
37
+ "types": "./dist/node.d.ts",
29
38
  "import": "./dist/node.js"
30
39
  }
31
40
  },
@@ -38,10 +47,10 @@
38
47
  },
39
48
  "peerDependencies": {
40
49
  "@modelcontextprotocol/sdk": "^1.27.1",
41
- "@workglow/task-graph": "0.0.125",
42
- "@workglow/util": "0.0.125",
43
- "@workglow/job-queue": "0.0.125",
44
- "@workglow/storage": "0.0.125"
50
+ "@workglow/task-graph": "0.0.126",
51
+ "@workglow/util": "0.0.126",
52
+ "@workglow/job-queue": "0.0.126",
53
+ "@workglow/storage": "0.0.126"
45
54
  },
46
55
  "peerDependenciesMeta": {
47
56
  "@modelcontextprotocol/sdk": {
@@ -63,10 +72,10 @@
63
72
  "devDependencies": {
64
73
  "@modelcontextprotocol/sdk": "^1.27.1",
65
74
  "@types/papaparse": "^5.5.2",
66
- "@workglow/job-queue": "0.0.125",
67
- "@workglow/storage": "0.0.125",
68
- "@workglow/task-graph": "0.0.125",
69
- "@workglow/util": "0.0.125"
75
+ "@workglow/job-queue": "0.0.126",
76
+ "@workglow/storage": "0.0.126",
77
+ "@workglow/task-graph": "0.0.126",
78
+ "@workglow/util": "0.0.126"
70
79
  },
71
80
  "dependencies": {
72
81
  "papaparse": "^5.5.3"
package/dist/types.d.ts DELETED
@@ -1,12 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export * from "./util/McpAuthTypes";
7
- export * from "./util/McpAuthProvider";
8
- export * from "./util/McpClientUtil.node";
9
- export * from "./util/McpTaskDeps";
10
- export * from "./common";
11
- export * from "./task/FileLoaderTask";
12
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC"}