@mastra/client-js 0.0.0-1.x-tester-20251106055847

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 (48) hide show
  1. package/CHANGELOG.md +3583 -0
  2. package/LICENSE.md +15 -0
  3. package/README.md +125 -0
  4. package/dist/client.d.ts +254 -0
  5. package/dist/client.d.ts.map +1 -0
  6. package/dist/example.d.ts +2 -0
  7. package/dist/example.d.ts.map +1 -0
  8. package/dist/index.cjs +3170 -0
  9. package/dist/index.cjs.map +1 -0
  10. package/dist/index.d.ts +5 -0
  11. package/dist/index.d.ts.map +1 -0
  12. package/dist/index.js +3162 -0
  13. package/dist/index.js.map +1 -0
  14. package/dist/resources/a2a.d.ts +41 -0
  15. package/dist/resources/a2a.d.ts.map +1 -0
  16. package/dist/resources/agent-builder.d.ts +175 -0
  17. package/dist/resources/agent-builder.d.ts.map +1 -0
  18. package/dist/resources/agent.d.ts +181 -0
  19. package/dist/resources/agent.d.ts.map +1 -0
  20. package/dist/resources/base.d.ts +13 -0
  21. package/dist/resources/base.d.ts.map +1 -0
  22. package/dist/resources/index.d.ts +11 -0
  23. package/dist/resources/index.d.ts.map +1 -0
  24. package/dist/resources/mcp-tool.d.ts +28 -0
  25. package/dist/resources/mcp-tool.d.ts.map +1 -0
  26. package/dist/resources/memory-thread.d.ts +53 -0
  27. package/dist/resources/memory-thread.d.ts.map +1 -0
  28. package/dist/resources/observability.d.ts +35 -0
  29. package/dist/resources/observability.d.ts.map +1 -0
  30. package/dist/resources/tool.d.ts +24 -0
  31. package/dist/resources/tool.d.ts.map +1 -0
  32. package/dist/resources/vector.d.ts +51 -0
  33. package/dist/resources/vector.d.ts.map +1 -0
  34. package/dist/resources/workflow.d.ts +204 -0
  35. package/dist/resources/workflow.d.ts.map +1 -0
  36. package/dist/tools.d.ts +22 -0
  37. package/dist/tools.d.ts.map +1 -0
  38. package/dist/types.d.ts +451 -0
  39. package/dist/types.d.ts.map +1 -0
  40. package/dist/utils/index.d.ts +11 -0
  41. package/dist/utils/index.d.ts.map +1 -0
  42. package/dist/utils/process-client-tools.d.ts +3 -0
  43. package/dist/utils/process-client-tools.d.ts.map +1 -0
  44. package/dist/utils/process-mastra-stream.d.ts +11 -0
  45. package/dist/utils/process-mastra-stream.d.ts.map +1 -0
  46. package/dist/utils/zod-to-json-schema.d.ts +3 -0
  47. package/dist/utils/zod-to-json-schema.d.ts.map +1 -0
  48. package/package.json +73 -0
package/LICENSE.md ADDED
@@ -0,0 +1,15 @@
1
+ # Apache License 2.0
2
+
3
+ Copyright (c) 2025 Kepler Software, Inc.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,125 @@
1
+ # Mastra Client
2
+
3
+ JavaScript/TypeScript client library for the [Mastra AI](https://mastra.ai) framework. This client provides a simple interface to interact with Mastra AI's APIs for agents, vectors, memory, tools, and workflows.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @mastra/client-js
9
+ ```
10
+
11
+ ## Quick Start
12
+
13
+ ```typescript
14
+ import { MastraClient } from '@mastra/client-js';
15
+
16
+ // Initialize the client
17
+ const client = new MastraClient({
18
+ baseUrl: 'http://localhost:4111', // Your Mastra API endpoint
19
+ });
20
+
21
+ // Example: Working with an Agent
22
+ async function main() {
23
+ // Get an agent instance
24
+ const agent = client.getAgent('your-agent-id');
25
+
26
+ // Generate a response
27
+ const response = await agent.generate({
28
+ messages: [{ role: 'user', content: "What's the weather like today?" }],
29
+ });
30
+
31
+ console.log(response);
32
+ }
33
+ ```
34
+
35
+ ## Client Configuration
36
+
37
+ The client can be configured with several options:
38
+
39
+ ```typescript
40
+ const client = new MastraClient({
41
+ baseUrl: string; // Base URL for the Mastra API
42
+ retries?: number; // Number of retry attempts (default: 3)
43
+ backoffMs?: number; // Initial backoff time in ms (default: 300)
44
+ maxBackoffMs?: number; // Maximum backoff time in ms (default: 5000)
45
+ headers?: Record<string, string>; // Custom headers
46
+ });
47
+ ```
48
+
49
+ ## Available Methods
50
+
51
+ ### Agents
52
+
53
+ - `listAgents()`: Get all available agents
54
+ - `getAgent(agentId)`: Get a specific agent instance
55
+ - `agent.details()`: Get agent details
56
+ - `agent.generate(params)`: Generate a response
57
+ - `agent.generateLegacy(params)`: Legacy API for generating a response (V1 models)
58
+ - `agent.stream(params)`: Stream a response
59
+ - `agent.streamLegacy(params)`: Legacy API for streaming a response (V1 models)
60
+ - `agent.getTool(toolId)`: Get agent tool details
61
+ - `agent.evals()`: Get agent evaluations
62
+ - `agent.liveEvals()`: Get live evaluations
63
+
64
+ ### Memory
65
+
66
+ - `listMemoryThreads(params)`: Get memory threads
67
+ - `createMemoryThread(params)`: Create a new memory thread
68
+ - `getMemoryThread({ threadId, agentId })`: Get a memory thread instance
69
+ - `saveMessageToMemory(params)`: Save messages to memory
70
+ - `getMemoryStatus()`: Get memory system status
71
+
72
+ ### Tools
73
+
74
+ - `listTools()`: Get all available tools
75
+ - `getTool(toolId)`: Get a tool instance
76
+ - `tool.details()`: Get tool details
77
+ - `tool.execute(params)`: Execute the tool
78
+
79
+ ### Workflows
80
+
81
+ - `listWorkflows()`: Get all workflows
82
+ - `getWorkflow(workflowId)`: Get a workflow instance
83
+ - `workflow.details()`: Get workflow details
84
+ - `workflow.createRun()`: Create workflow run
85
+ - `workflow.startAsync(params)`: Execute the workflow and wait for execution results
86
+ - `workflow.resumeAsync(params)`: Resume suspended workflow step async
87
+ - `workflow.start({runId, triggerData})`: Start a workflow run sync
88
+ - `workflow.resume(params)`: Resume the workflow run sync
89
+
90
+ ### Vectors
91
+
92
+ - `getVector(vectorName)`: Get a vector instance
93
+ - `vector.details(indexName)`: Get vector index details
94
+ - `vector.delete(indexName)`: Delete a vector index
95
+ - `vector.getIndexes()`: Get all indexes
96
+ - `vector.createIndex(params)`: Create a new index
97
+ - `vector.upsert(params)`: Upsert vectors
98
+ - `vector.query(params)`: Query vectors
99
+
100
+ ### Logs
101
+
102
+ - `listLogs(params)`: Get system logs
103
+ - `getLog(params)`: Get specific log entry
104
+ - `listLogTransports()`: Get configured Log transports
105
+
106
+ ### Telemetry
107
+
108
+ - `getTelemetry(params)`: Get telemetry data
109
+
110
+ ## Error Handling
111
+
112
+ The client includes built-in retry logic for failed requests:
113
+
114
+ - Automatically retries failed requests with exponential backoff
115
+ - Configurable retry count and backoff timing
116
+ - Throws error after max retries reached
117
+
118
+ ## Internal Implementation
119
+
120
+ The client uses the native `fetch` API internally for making HTTP requests. All requests are automatically handled with:
121
+
122
+ - JSON serialization/deserialization
123
+ - Retry logic with exponential backoff
124
+ - Custom header management
125
+ - Error handling
@@ -0,0 +1,254 @@
1
+ import type { ServerDetailInfo } from '@mastra/core/mcp';
2
+ import type { RequestContext } from '@mastra/core/request-context';
3
+ import type { TraceRecord, TracesPaginatedArg } from '@mastra/core/storage';
4
+ import type { WorkflowInfo } from '@mastra/core/workflows';
5
+ import { Agent, MemoryThread, Tool, Workflow, Vector, BaseResource, A2A, MCPTool, AgentBuilder } from './resources/index.js';
6
+ import type { ClientOptions, CreateMemoryThreadParams, CreateMemoryThreadResponse, GetAgentResponse, GetLogParams, GetLogsParams, GetLogsResponse, GetToolResponse, GetWorkflowResponse, SaveMessageToMemoryParams, SaveMessageToMemoryResponse, McpServerListResponse, McpServerToolListResponse, GetScorerResponse, ListScoresByScorerIdParams, ListScoresResponse, ListScoresByRunIdParams, ListScoresByEntityIdParams, ListScoresBySpanParams, SaveScoreParams, SaveScoreResponse, GetTracesResponse, GetMemoryConfigParams, GetMemoryConfigResponse, ListMemoryThreadMessagesResponse, MemorySearchResponse, ListAgentsModelProvidersResponse, ListMemoryThreadsParams, ListMemoryThreadsResponse } from './types.js';
7
+ export declare class MastraClient extends BaseResource {
8
+ private observability;
9
+ constructor(options: ClientOptions);
10
+ /**
11
+ * Retrieves all available agents
12
+ * @param requestContext - Optional request context to pass as query parameter
13
+ * @returns Promise containing map of agent IDs to agent details
14
+ */
15
+ listAgents(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetAgentResponse>>;
16
+ listAgentsModelProviders(): Promise<ListAgentsModelProvidersResponse>;
17
+ /**
18
+ * Gets an agent instance by ID
19
+ * @param agentId - ID of the agent to retrieve
20
+ * @returns Agent instance
21
+ */
22
+ getAgent(agentId: string): Agent;
23
+ /**
24
+ * Lists memory threads for a resource with pagination support
25
+ * @param params - Parameters containing resource ID, pagination options, and optional request context
26
+ * @returns Promise containing paginated array of memory threads with metadata
27
+ */
28
+ listMemoryThreads(params: ListMemoryThreadsParams): Promise<ListMemoryThreadsResponse>;
29
+ /**
30
+ * Retrieves memory config for a resource
31
+ * @param params - Parameters containing the resource ID and optional request context
32
+ * @returns Promise containing memory configuration
33
+ */
34
+ getMemoryConfig(params: GetMemoryConfigParams): Promise<GetMemoryConfigResponse>;
35
+ /**
36
+ * Creates a new memory thread
37
+ * @param params - Parameters for creating the memory thread including optional request context
38
+ * @returns Promise containing the created memory thread
39
+ */
40
+ createMemoryThread(params: CreateMemoryThreadParams): Promise<CreateMemoryThreadResponse>;
41
+ /**
42
+ * Gets a memory thread instance by ID
43
+ * @param threadId - ID of the memory thread to retrieve
44
+ * @returns MemoryThread instance
45
+ */
46
+ getMemoryThread({ threadId, agentId }: {
47
+ threadId: string;
48
+ agentId: string;
49
+ }): MemoryThread;
50
+ listThreadMessages(threadId: string, opts?: {
51
+ agentId?: string;
52
+ networkId?: string;
53
+ requestContext?: RequestContext | Record<string, any>;
54
+ }): Promise<ListMemoryThreadMessagesResponse>;
55
+ deleteThread(threadId: string, opts?: {
56
+ agentId?: string;
57
+ networkId?: string;
58
+ requestContext?: RequestContext | Record<string, any>;
59
+ }): Promise<{
60
+ success: boolean;
61
+ message: string;
62
+ }>;
63
+ /**
64
+ * Saves messages to memory
65
+ * @param params - Parameters containing messages to save and optional request context
66
+ * @returns Promise containing the saved messages
67
+ */
68
+ saveMessageToMemory(params: SaveMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
69
+ /**
70
+ * Gets the status of the memory system
71
+ * @param agentId - The agent ID
72
+ * @param requestContext - Optional request context to pass as query parameter
73
+ * @returns Promise containing memory system status
74
+ */
75
+ getMemoryStatus(agentId: string, requestContext?: RequestContext | Record<string, any>): Promise<{
76
+ result: boolean;
77
+ }>;
78
+ /**
79
+ * Retrieves all available tools
80
+ * @param requestContext - Optional request context to pass as query parameter
81
+ * @returns Promise containing map of tool IDs to tool details
82
+ */
83
+ listTools(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
84
+ /**
85
+ * Gets a tool instance by ID
86
+ * @param toolId - ID of the tool to retrieve
87
+ * @returns Tool instance
88
+ */
89
+ getTool(toolId: string): Tool;
90
+ /**
91
+ * Retrieves all available workflows
92
+ * @param requestContext - Optional request context to pass as query parameter
93
+ * @returns Promise containing map of workflow IDs to workflow details
94
+ */
95
+ listWorkflows(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
96
+ /**
97
+ * Gets a workflow instance by ID
98
+ * @param workflowId - ID of the workflow to retrieve
99
+ * @returns Workflow instance
100
+ */
101
+ getWorkflow(workflowId: string): Workflow;
102
+ /**
103
+ * Gets all available agent builder actions
104
+ * @returns Promise containing map of action IDs to action details
105
+ */
106
+ getAgentBuilderActions(): Promise<Record<string, WorkflowInfo>>;
107
+ /**
108
+ * Gets an agent builder instance for executing agent-builder workflows
109
+ * @returns AgentBuilder instance
110
+ */
111
+ getAgentBuilderAction(actionId: string): AgentBuilder;
112
+ /**
113
+ * Gets a vector instance by name
114
+ * @param vectorName - Name of the vector to retrieve
115
+ * @returns Vector instance
116
+ */
117
+ getVector(vectorName: string): Vector;
118
+ /**
119
+ * Retrieves logs
120
+ * @param params - Parameters for filtering logs
121
+ * @returns Promise containing array of log messages
122
+ */
123
+ listLogs(params: GetLogsParams): Promise<GetLogsResponse>;
124
+ /**
125
+ * Gets logs for a specific run
126
+ * @param params - Parameters containing run ID to retrieve
127
+ * @returns Promise containing array of log messages
128
+ */
129
+ getLogForRun(params: GetLogParams): Promise<GetLogsResponse>;
130
+ /**
131
+ * List of all log transports
132
+ * @returns Promise containing list of log transports
133
+ */
134
+ listLogTransports(): Promise<{
135
+ transports: string[];
136
+ }>;
137
+ /**
138
+ * Retrieves a list of available MCP servers.
139
+ * @param params - Optional parameters for pagination (perPage, page).
140
+ * @returns Promise containing the list of MCP servers and pagination info.
141
+ */
142
+ getMcpServers(params?: {
143
+ perPage?: number;
144
+ page?: number;
145
+ }): Promise<McpServerListResponse>;
146
+ /**
147
+ * Retrieves detailed information for a specific MCP server.
148
+ * @param serverId - The ID of the MCP server to retrieve.
149
+ * @param params - Optional parameters, e.g., specific version.
150
+ * @returns Promise containing the detailed MCP server information.
151
+ */
152
+ getMcpServerDetails(serverId: string, params?: {
153
+ version?: string;
154
+ }): Promise<ServerDetailInfo>;
155
+ /**
156
+ * Retrieves a list of tools for a specific MCP server.
157
+ * @param serverId - The ID of the MCP server.
158
+ * @returns Promise containing the list of tools.
159
+ */
160
+ getMcpServerTools(serverId: string): Promise<McpServerToolListResponse>;
161
+ /**
162
+ * Gets an MCPTool resource instance for a specific tool on an MCP server.
163
+ * This instance can then be used to fetch details or execute the tool.
164
+ * @param serverId - The ID of the MCP server.
165
+ * @param toolId - The ID of the tool.
166
+ * @returns MCPTool instance.
167
+ */
168
+ getMcpServerTool(serverId: string, toolId: string): MCPTool;
169
+ /**
170
+ * Gets an A2A client for interacting with an agent via the A2A protocol
171
+ * @param agentId - ID of the agent to interact with
172
+ * @returns A2A client instance
173
+ */
174
+ getA2A(agentId: string): A2A;
175
+ /**
176
+ * Retrieves the working memory for a specific thread (optionally resource-scoped).
177
+ * @param agentId - ID of the agent.
178
+ * @param threadId - ID of the thread.
179
+ * @param resourceId - Optional ID of the resource.
180
+ * @returns Working memory for the specified thread or resource.
181
+ */
182
+ getWorkingMemory({ agentId, threadId, resourceId, requestContext, }: {
183
+ agentId: string;
184
+ threadId: string;
185
+ resourceId?: string;
186
+ requestContext?: RequestContext | Record<string, any>;
187
+ }): Promise<unknown>;
188
+ searchMemory({ agentId, resourceId, threadId, searchQuery, memoryConfig, requestContext, }: {
189
+ agentId: string;
190
+ resourceId: string;
191
+ threadId?: string;
192
+ searchQuery: string;
193
+ memoryConfig?: any;
194
+ requestContext?: RequestContext | Record<string, any>;
195
+ }): Promise<MemorySearchResponse>;
196
+ /**
197
+ * Updates the working memory for a specific thread (optionally resource-scoped).
198
+ * @param agentId - ID of the agent.
199
+ * @param threadId - ID of the thread.
200
+ * @param workingMemory - The new working memory content.
201
+ * @param resourceId - Optional ID of the resource.
202
+ */
203
+ updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, requestContext, }: {
204
+ agentId: string;
205
+ threadId: string;
206
+ workingMemory: string;
207
+ resourceId?: string;
208
+ requestContext?: RequestContext | Record<string, any>;
209
+ }): Promise<unknown>;
210
+ /**
211
+ * Retrieves all available scorers
212
+ * @returns Promise containing list of available scorers
213
+ */
214
+ listScorers(): Promise<Record<string, GetScorerResponse>>;
215
+ /**
216
+ * Retrieves a scorer by ID
217
+ * @param scorerId - ID of the scorer to retrieve
218
+ * @returns Promise containing the scorer
219
+ */
220
+ getScorer(scorerId: string): Promise<GetScorerResponse>;
221
+ listScoresByScorerId(params: ListScoresByScorerIdParams): Promise<ListScoresResponse>;
222
+ /**
223
+ * Retrieves scores by run ID
224
+ * @param params - Parameters containing run ID and pagination options
225
+ * @returns Promise containing scores and pagination info
226
+ */
227
+ listScoresByRunId(params: ListScoresByRunIdParams): Promise<ListScoresResponse>;
228
+ /**
229
+ * Retrieves scores by entity ID and type
230
+ * @param params - Parameters containing entity ID, type, and pagination options
231
+ * @returns Promise containing scores and pagination info
232
+ */
233
+ listScoresByEntityId(params: ListScoresByEntityIdParams): Promise<ListScoresResponse>;
234
+ /**
235
+ * Saves a score
236
+ * @param params - Parameters containing the score data to save
237
+ * @returns Promise containing the saved score
238
+ */
239
+ saveScore(params: SaveScoreParams): Promise<SaveScoreResponse>;
240
+ getTrace(traceId: string): Promise<TraceRecord>;
241
+ getTraces(params: TracesPaginatedArg): Promise<GetTracesResponse>;
242
+ listScoresBySpan(params: ListScoresBySpanParams): Promise<ListScoresResponse>;
243
+ score(params: {
244
+ scorerName: string;
245
+ targets: Array<{
246
+ traceId: string;
247
+ spanId?: string;
248
+ }>;
249
+ }): Promise<{
250
+ status: string;
251
+ message: string;
252
+ }>;
253
+ }
254
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EACL,KAAK,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,GAAG,EACH,OAAO,EACP,YAAY,EAEb,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,qBAAqB,EACrB,yBAAyB,EACzB,iBAAiB,EACjB,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,EACvB,0BAA0B,EA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