@mastra/parallel 0.1.0-alpha.0 → 0.1.1-alpha.0

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/LICENSE.md CHANGED
@@ -1,10 +1,12 @@
1
1
  Portions of this software are licensed as follows:
2
2
 
3
- - All content that resides under any directory named "ee/" within this
3
+ - All content that resides under any directory named `ee/` within this
4
4
  repository, including but not limited to:
5
- - `packages/core/src/auth/ee/`
6
- - `packages/server/src/server/auth/ee/`
7
- is licensed under the license defined in `ee/LICENSE`.
5
+ - `@mastra/core/auth/ee`
6
+ - `@mastra/core/agent-builder/ee`
7
+ - `@mastra/editor/ee`
8
+
9
+ is licensed under the license defined in [`ee/LICENSE`](https://github.com/mastra-ai/mastra/blob/main/ee/LICENSE).
8
10
 
9
11
  - All third-party components incorporated into the Mastra Software are
10
12
  licensed under the original license provided by the owner of the
package/dist/extract.d.ts CHANGED
@@ -18,9 +18,9 @@ export declare function createParallelExtractTool(config?: ParallelClientOptions
18
18
  sessionId: string;
19
19
  results: {
20
20
  url: string;
21
- excerpts: string[];
22
21
  title?: string | undefined;
23
22
  publishDate?: string | undefined;
23
+ excerpts: string[];
24
24
  fullContent?: string | undefined;
25
25
  }[];
26
26
  errors: {
package/dist/search.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { ParallelClientOptions } from './client.js';
2
2
  export declare function createParallelSearchTool(config?: ParallelClientOptions): import("@mastra/core/tools").Tool<{
3
3
  searchQueries: string[];
4
4
  objective?: string | undefined;
5
- mode?: "turbo" | "fast" | "basic" | "advanced" | undefined;
5
+ mode?: "advanced" | "basic" | "fast" | "turbo" | undefined;
6
6
  clientModel?: string | undefined;
7
7
  maxResults?: number | undefined;
8
8
  excerptMaxCharsPerResult?: number | undefined;
@@ -22,9 +22,9 @@ export declare function createParallelSearchTool(config?: ParallelClientOptions)
22
22
  sessionId: string;
23
23
  results: {
24
24
  url: string;
25
- excerpts: string[];
26
25
  title?: string | undefined;
27
26
  publishDate?: string | undefined;
27
+ excerpts: string[];
28
28
  }[];
29
29
  usage?: {
30
30
  name: string;
package/dist/tools.d.ts CHANGED
@@ -3,7 +3,7 @@ export declare function createParallelTools(config?: ParallelClientOptions): {
3
3
  parallelSearch: import("@mastra/core/tools").Tool<{
4
4
  searchQueries: string[];
5
5
  objective?: string | undefined;
6
- mode?: "turbo" | "fast" | "basic" | "advanced" | undefined;
6
+ mode?: "advanced" | "basic" | "fast" | "turbo" | undefined;
7
7
  clientModel?: string | undefined;
8
8
  maxResults?: number | undefined;
9
9
  excerptMaxCharsPerResult?: number | undefined;
@@ -23,9 +23,9 @@ export declare function createParallelTools(config?: ParallelClientOptions): {
23
23
  sessionId: string;
24
24
  results: {
25
25
  url: string;
26
- excerpts: string[];
27
26
  title?: string | undefined;
28
27
  publishDate?: string | undefined;
28
+ excerpts: string[];
29
29
  }[];
30
30
  usage?: {
31
31
  name: string;
@@ -56,9 +56,9 @@ export declare function createParallelTools(config?: ParallelClientOptions): {
56
56
  sessionId: string;
57
57
  results: {
58
58
  url: string;
59
- excerpts: string[];
60
59
  title?: string | undefined;
61
60
  publishDate?: string | undefined;
61
+ excerpts: string[];
62
62
  fullContent?: string | undefined;
63
63
  }[];
64
64
  errors: {
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIzD,wBAAgB,mBAAmB,CAAC,MAAM,CAAC,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKjE"}
1
+ {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAIzD,wBAAgB,mBAAmB,CAAC,MAAM,CAAC,EAAE,qBAAqB;IAE9D,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACd,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAElB"}
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@mastra/parallel",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.1-alpha.0",
4
4
  "description": "Parallel web search and extract tools for Mastra agents",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "files": [
9
- "dist",
10
- "CHANGELOG.md"
9
+ "dist"
11
10
  ],
12
11
  "exports": {
13
12
  ".": {
@@ -52,12 +51,12 @@
52
51
  },
53
52
  "devDependencies": {
54
53
  "tsdown": "0.22.9",
55
- "typescript": "^6.0.3",
54
+ "typescript": "^7.0.2",
56
55
  "vitest": "4.1.10",
57
56
  "zod": "^4.4.3",
58
- "@internal/types-builder": "0.0.100",
59
- "@internal/lint": "0.0.125",
60
- "@mastra/core": "1.62.0-alpha.7"
57
+ "@internal/lint": "0.0.129",
58
+ "@internal/types-builder": "0.0.104",
59
+ "@mastra/core": "1.64.0-alpha.2"
61
60
  },
62
61
  "scripts": {
63
62
  "build:lib": "tsdown --silent --config tsdown.config.ts",
package/CHANGELOG.md DELETED
@@ -1,18 +0,0 @@
1
- # @mastra/parallel
2
-
3
- ## 0.1.0-alpha.0
4
-
5
- ### Minor Changes
6
-
7
- - Added Parallel Search and Extract tools for Mastra agents through the new `@mastra/parallel` package. ([#22070](https://github.com/mastra-ai/mastra/pull/22070))
8
-
9
- ```typescript
10
- import { createParallelTools } from '@mastra/parallel';
11
-
12
- const tools = createParallelTools();
13
- ```
14
-
15
- ### Patch Changes
16
-
17
- - Updated dependencies [[`2c85f42`](https://github.com/mastra-ai/mastra/commit/2c85f428e04ccd63ea31a7ec80b5b327afdad555), [`11bbeb9`](https://github.com/mastra-ai/mastra/commit/11bbeb9b108ef2264e05acefc6dafb9cbb342921), [`1a485f3`](https://github.com/mastra-ai/mastra/commit/1a485f3538f5ec64d58bd8b5e1e99de0c695c87b), [`0d37487`](https://github.com/mastra-ai/mastra/commit/0d37487d9f349388a3f1cef6a536cf9dcc4b6273), [`8661d7d`](https://github.com/mastra-ai/mastra/commit/8661d7d7179f0a024456aabdd8679bcecd09ac28), [`575e343`](https://github.com/mastra-ai/mastra/commit/575e343900451021d96110916497d334af7bc252), [`cacb839`](https://github.com/mastra-ai/mastra/commit/cacb8392d9e74189b56d857290b0615f98a2683d), [`b47b26e`](https://github.com/mastra-ai/mastra/commit/b47b26e6fe95cb8a3482be2c5e52de157fe59d0b), [`0d37487`](https://github.com/mastra-ai/mastra/commit/0d37487d9f349388a3f1cef6a536cf9dcc4b6273), [`c46eb09`](https://github.com/mastra-ai/mastra/commit/c46eb09ce4987509af57a0ac582c61241a6dd2f1), [`30ed33e`](https://github.com/mastra-ai/mastra/commit/30ed33ee14084a26019aba15fceadda6d6ddefaf), [`91ad69d`](https://github.com/mastra-ai/mastra/commit/91ad69d64994c89199b0c55399e64ed91c61df2f), [`8dc408d`](https://github.com/mastra-ai/mastra/commit/8dc408d34438f9e13297f792c11a5cfd6cf952e1), [`c92def1`](https://github.com/mastra-ai/mastra/commit/c92def10a13c822972c96f0a4ca6ffc1f4258aed), [`c5eaec5`](https://github.com/mastra-ai/mastra/commit/c5eaec5a860d80d0e3805e67db0414b87ac8cbed), [`e66b2ba`](https://github.com/mastra-ai/mastra/commit/e66b2ba100db63eaeab6e21e1ea34b113f2ec781)]:
18
- - @mastra/core@1.62.0-alpha.3