@mastra/client-js 0.10.1 → 0.10.2-alpha.1
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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +17 -0
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/package.json +3 -3
- package/src/types.ts +3 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/client-js@0.10.
|
|
2
|
+
> @mastra/client-js@0.10.2-alpha.1 build /home/runner/work/mastra/mastra/client-sdks/client-js
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
[34mESM[39m Build start
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
12
|
[32mESM[39m [1mdist/index.js [22m[32m43.40 KB[39m
|
|
13
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 1819ms
|
|
14
14
|
[32mCJS[39m [1mdist/index.cjs [22m[32m43.69 KB[39m
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 1835ms
|
|
16
16
|
[34mDTS[39m Build start
|
|
17
|
-
[32mDTS[39m ⚡️ Build success in
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m31.
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m31.
|
|
17
|
+
[32mDTS[39m ⚡️ Build success in 14517ms
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m31.68 KB[39m
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m31.68 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 0.10.2-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f0d559f: Fix peerdeps for alpha channel
|
|
8
|
+
- Updated dependencies [1e8bb40]
|
|
9
|
+
- @mastra/core@0.10.2-alpha.2
|
|
10
|
+
|
|
11
|
+
## 0.10.2-alpha.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 592a2db: Added different icons for agents and workflows in mcp tools list
|
|
16
|
+
- Updated dependencies [592a2db]
|
|
17
|
+
- Updated dependencies [e5dc18d]
|
|
18
|
+
- @mastra/core@0.10.2-alpha.0
|
|
19
|
+
|
|
3
20
|
## 0.10.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AbstractAgent } from '@ag-ui/client';
|
|
2
|
-
import { ServerInfo, ServerDetailInfo } from '@mastra/core/mcp';
|
|
2
|
+
import { ServerInfo, MCPToolType, ServerDetailInfo } from '@mastra/core/mcp';
|
|
3
3
|
import { processDataStream } from '@ai-sdk/ui-utils';
|
|
4
4
|
import { CoreMessage, AiMessageType, StorageThreadType, MessageType, LegacyWorkflowRuns, WorkflowRuns, QueryResult, GenerateReturn } from '@mastra/core';
|
|
5
5
|
import { JSONSchema7 } from 'json-schema';
|
|
6
6
|
import { ZodSchema } from 'zod';
|
|
7
|
-
import { BaseLogMessage } from '@mastra/core/logger';
|
|
8
7
|
import { AgentGenerateOptions, AgentStreamOptions } from '@mastra/core/agent';
|
|
8
|
+
import { BaseLogMessage } from '@mastra/core/logger';
|
|
9
9
|
import { RuntimeContext } from '@mastra/core/runtime-context';
|
|
10
10
|
import { Workflow as Workflow$1, WorkflowResult, WatchEvent } from '@mastra/core/workflows';
|
|
11
11
|
import { StepAction, StepGraph, LegacyWorkflowRunResult as LegacyWorkflowRunResult$1 } from '@mastra/core/workflows/legacy';
|
|
@@ -259,6 +259,7 @@ interface McpToolInfo {
|
|
|
259
259
|
name: string;
|
|
260
260
|
description?: string;
|
|
261
261
|
inputSchema: string;
|
|
262
|
+
toolType?: MCPToolType;
|
|
262
263
|
}
|
|
263
264
|
interface McpServerToolListResponse {
|
|
264
265
|
tools: McpToolInfo[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AbstractAgent } from '@ag-ui/client';
|
|
2
|
-
import { ServerInfo, ServerDetailInfo } from '@mastra/core/mcp';
|
|
2
|
+
import { ServerInfo, MCPToolType, ServerDetailInfo } from '@mastra/core/mcp';
|
|
3
3
|
import { processDataStream } from '@ai-sdk/ui-utils';
|
|
4
4
|
import { CoreMessage, AiMessageType, StorageThreadType, MessageType, LegacyWorkflowRuns, WorkflowRuns, QueryResult, GenerateReturn } from '@mastra/core';
|
|
5
5
|
import { JSONSchema7 } from 'json-schema';
|
|
6
6
|
import { ZodSchema } from 'zod';
|
|
7
|
-
import { BaseLogMessage } from '@mastra/core/logger';
|
|
8
7
|
import { AgentGenerateOptions, AgentStreamOptions } from '@mastra/core/agent';
|
|
8
|
+
import { BaseLogMessage } from '@mastra/core/logger';
|
|
9
9
|
import { RuntimeContext } from '@mastra/core/runtime-context';
|
|
10
10
|
import { Workflow as Workflow$1, WorkflowResult, WatchEvent } from '@mastra/core/workflows';
|
|
11
11
|
import { StepAction, StepGraph, LegacyWorkflowRunResult as LegacyWorkflowRunResult$1 } from '@mastra/core/workflows/legacy';
|
|
@@ -259,6 +259,7 @@ interface McpToolInfo {
|
|
|
259
259
|
name: string;
|
|
260
260
|
description?: string;
|
|
261
261
|
inputSchema: string;
|
|
262
|
+
toolType?: MCPToolType;
|
|
262
263
|
}
|
|
263
264
|
interface McpServerToolListResponse {
|
|
264
265
|
tools: McpToolInfo[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/client-js",
|
|
3
|
-
"version": "0.10.1",
|
|
3
|
+
"version": "0.10.2-alpha.1",
|
|
4
4
|
"description": "The official TypeScript library for the Mastra Client API",
|
|
5
5
|
"author": "",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"zod": "^3.0.0",
|
|
34
|
-
"@mastra/core": "^0.10.0"
|
|
34
|
+
"@mastra/core": "^0.10.0-alpha.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@babel/preset-env": "^7.26.9",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"typescript": "^5.8.2",
|
|
44
44
|
"vitest": "^3.1.2",
|
|
45
45
|
"@internal/lint": "0.0.7",
|
|
46
|
-
"@mastra/core": "0.10.
|
|
46
|
+
"@mastra/core": "0.10.2-alpha.2"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting",
|
package/src/types.ts
CHANGED
|
@@ -7,10 +7,10 @@ import type {
|
|
|
7
7
|
WorkflowRuns,
|
|
8
8
|
LegacyWorkflowRuns,
|
|
9
9
|
} from '@mastra/core';
|
|
10
|
+
import type { AgentGenerateOptions, AgentStreamOptions } from '@mastra/core/agent';
|
|
10
11
|
import type { BaseLogMessage } from '@mastra/core/logger';
|
|
11
12
|
|
|
12
|
-
import type {
|
|
13
|
-
import type { ServerInfo } from '@mastra/core/mcp';
|
|
13
|
+
import type { MCPToolType, ServerInfo } from '@mastra/core/mcp';
|
|
14
14
|
import type { RuntimeContext } from '@mastra/core/runtime-context';
|
|
15
15
|
import type { Workflow, WatchEvent, WorkflowResult } from '@mastra/core/workflows';
|
|
16
16
|
import type {
|
|
@@ -306,6 +306,7 @@ export interface McpToolInfo {
|
|
|
306
306
|
name: string;
|
|
307
307
|
description?: string;
|
|
308
308
|
inputSchema: string;
|
|
309
|
+
toolType?: MCPToolType;
|
|
309
310
|
}
|
|
310
311
|
|
|
311
312
|
export interface McpServerToolListResponse {
|