@mastra/client-js 0.0.0-cloud-deployer-for-core-0.19.1-20251001164939 → 0.0.0-cloud-storage-adapter-20251106204059

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/README.md CHANGED
@@ -50,42 +50,40 @@ const client = new MastraClient({
50
50
 
51
51
  ### Agents
52
52
 
53
- - `getAgents()`: Get all available agents
53
+ - `listAgents()`: Get all available agents
54
54
  - `getAgent(agentId)`: Get a specific agent instance
55
55
  - `agent.details()`: Get agent details
56
- - `agent.generate(params)`: Generate a response (deprecated)
57
- - `agent.generateVNext(params)`: Improved API for generating a response
58
- - `agent.stream(params)`: Stream a response (deprecated)
59
- - `agent.streamVNext(params)`: Improved API for streaming a response
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
60
  - `agent.getTool(toolId)`: Get agent tool details
61
61
  - `agent.evals()`: Get agent evaluations
62
62
  - `agent.liveEvals()`: Get live evaluations
63
63
 
64
64
  ### Memory
65
65
 
66
- - `getMemoryThreads(params)`: Get memory threads
66
+ - `listMemoryThreads(params)`: Get memory threads
67
67
  - `createMemoryThread(params)`: Create a new memory thread
68
- - `getMemoryThread(threadId)`: Get a memory thread instance
68
+ - `getMemoryThread({ threadId, agentId })`: Get a memory thread instance
69
69
  - `saveMessageToMemory(params)`: Save messages to memory
70
70
  - `getMemoryStatus()`: Get memory system status
71
71
 
72
72
  ### Tools
73
73
 
74
- - `getTools()`: Get all available tools
74
+ - `listTools()`: Get all available tools
75
75
  - `getTool(toolId)`: Get a tool instance
76
76
  - `tool.details()`: Get tool details
77
77
  - `tool.execute(params)`: Execute the tool
78
78
 
79
79
  ### Workflows
80
80
 
81
- - `getWorkflows()`: Get all workflows
81
+ - `listWorkflows()`: Get all workflows
82
82
  - `getWorkflow(workflowId)`: Get a workflow instance
83
83
  - `workflow.details()`: Get workflow details
84
- - `workflow.createRunAsync()`: Create workflow run
85
- - `workflow.createRun()`: Deprecated - use createRunAsync() instead
84
+ - `workflow.createRun()`: Create workflow run
86
85
  - `workflow.startAsync(params)`: Execute the workflow and wait for execution results
87
86
  - `workflow.resumeAsync(params)`: Resume suspended workflow step async
88
- - `workflow.watch({runId},(record)=>{})`: Watch the step transitions of the workflow run
89
87
  - `workflow.start({runId, triggerData})`: Start a workflow run sync
90
88
  - `workflow.resume(params)`: Resume the workflow run sync
91
89
 
@@ -101,9 +99,9 @@ const client = new MastraClient({
101
99
 
102
100
  ### Logs
103
101
 
104
- - `getLogs(params)`: Get system logs
102
+ - `listLogs(params)`: Get system logs
105
103
  - `getLog(params)`: Get specific log entry
106
- - `getLogTransports()`: Get configured Log transports
104
+ - `listLogTransports()`: Get configured Log transports
107
105
 
108
106
  ### Telemetry
109
107
 
package/dist/client.d.ts CHANGED
@@ -1,19 +1,19 @@
1
- import type { AITraceRecord, AITracesPaginatedArg, WorkflowInfo } from '@mastra/core';
2
1
  import type { ServerDetailInfo } from '@mastra/core/mcp';
3
- import type { RuntimeContext } from '@mastra/core/runtime-context';
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';
4
5
  import { Agent, MemoryThread, Tool, Workflow, Vector, BaseResource, A2A, MCPTool, AgentBuilder } from './resources/index.js';
5
- import { NetworkMemoryThread } from './resources/network-memory-thread.js';
6
- import { VNextNetwork } from './resources/vNextNetwork.js';
7
- import type { ClientOptions, CreateMemoryThreadParams, CreateMemoryThreadResponse, GetAgentResponse, GetLogParams, GetLogsParams, GetLogsResponse, GetMemoryThreadParams, GetMemoryThreadResponse, GetTelemetryParams, GetTelemetryResponse, GetToolResponse, GetWorkflowResponse, SaveMessageToMemoryParams, SaveMessageToMemoryResponse, McpServerListResponse, McpServerToolListResponse, GetVNextNetworkResponse, GetNetworkMemoryThreadParams, CreateNetworkMemoryThreadParams, SaveNetworkMessageToMemoryParams, GetScorerResponse, GetScoresByScorerIdParams, GetScoresResponse, GetScoresByRunIdParams, GetScoresByEntityIdParams, GetScoresBySpanParams, SaveScoreParams, SaveScoreResponse, GetAITracesResponse, GetMemoryConfigParams, GetMemoryConfigResponse, GetMemoryThreadMessagesResponse } from './types.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';
8
7
  export declare class MastraClient extends BaseResource {
9
8
  private observability;
10
9
  constructor(options: ClientOptions);
11
10
  /**
12
11
  * Retrieves all available agents
13
- * @param runtimeContext - Optional runtime context to pass as query parameter
12
+ * @param requestContext - Optional request context to pass as query parameter
14
13
  * @returns Promise containing map of agent IDs to agent details
15
14
  */
16
- getAgents(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetAgentResponse>>;
15
+ listAgents(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetAgentResponse>>;
16
+ listAgentsModelProviders(): Promise<ListAgentsModelProvidersResponse>;
17
17
  /**
18
18
  * Gets an agent instance by ID
19
19
  * @param agentId - ID of the agent to retrieve
@@ -21,20 +21,20 @@ export declare class MastraClient extends BaseResource {
21
21
  */
22
22
  getAgent(agentId: string): Agent;
23
23
  /**
24
- * Retrieves memory threads for a resource
25
- * @param params - Parameters containing the resource ID
26
- * @returns Promise containing array of memory threads
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
27
  */
28
- getMemoryThreads(params: GetMemoryThreadParams): Promise<GetMemoryThreadResponse>;
28
+ listMemoryThreads(params: ListMemoryThreadsParams): Promise<ListMemoryThreadsResponse>;
29
29
  /**
30
30
  * Retrieves memory config for a resource
31
- * @param params - Parameters containing the resource ID
32
- * @returns Promise containing array of memory threads
31
+ * @param params - Parameters containing the resource ID and optional request context
32
+ * @returns Promise containing memory configuration
33
33
  */
34
34
  getMemoryConfig(params: GetMemoryConfigParams): Promise<GetMemoryConfigResponse>;
35
35
  /**
36
36
  * Creates a new memory thread
37
- * @param params - Parameters for creating the memory thread
37
+ * @param params - Parameters for creating the memory thread including optional request context
38
38
  * @returns Promise containing the created memory thread
39
39
  */
40
40
  createMemoryThread(params: CreateMemoryThreadParams): Promise<CreateMemoryThreadResponse>;
@@ -43,68 +43,44 @@ export declare class MastraClient extends BaseResource {
43
43
  * @param threadId - ID of the memory thread to retrieve
44
44
  * @returns MemoryThread instance
45
45
  */
46
- getMemoryThread(threadId: string, agentId: string): MemoryThread;
47
- getThreadMessages(threadId: string, opts?: {
46
+ getMemoryThread({ threadId, agentId }: {
47
+ threadId: string;
48
+ agentId: string;
49
+ }): MemoryThread;
50
+ listThreadMessages(threadId: string, opts?: {
48
51
  agentId?: string;
49
52
  networkId?: string;
50
- }): Promise<GetMemoryThreadMessagesResponse>;
53
+ requestContext?: RequestContext | Record<string, any>;
54
+ }): Promise<ListMemoryThreadMessagesResponse>;
51
55
  deleteThread(threadId: string, opts?: {
52
56
  agentId?: string;
53
57
  networkId?: string;
58
+ requestContext?: RequestContext | Record<string, any>;
54
59
  }): Promise<{
55
60
  success: boolean;
56
61
  message: string;
57
62
  }>;
58
63
  /**
59
64
  * Saves messages to memory
60
- * @param params - Parameters containing messages to save
65
+ * @param params - Parameters containing messages to save and optional request context
61
66
  * @returns Promise containing the saved messages
62
67
  */
63
68
  saveMessageToMemory(params: SaveMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
64
69
  /**
65
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
66
73
  * @returns Promise containing memory system status
67
74
  */
68
- getMemoryStatus(agentId: string): Promise<{
69
- result: boolean;
70
- }>;
71
- /**
72
- * Retrieves memory threads for a resource
73
- * @param params - Parameters containing the resource ID
74
- * @returns Promise containing array of memory threads
75
- */
76
- getNetworkMemoryThreads(params: GetNetworkMemoryThreadParams): Promise<GetMemoryThreadResponse>;
77
- /**
78
- * Creates a new memory thread
79
- * @param params - Parameters for creating the memory thread
80
- * @returns Promise containing the created memory thread
81
- */
82
- createNetworkMemoryThread(params: CreateNetworkMemoryThreadParams): Promise<CreateMemoryThreadResponse>;
83
- /**
84
- * Gets a memory thread instance by ID
85
- * @param threadId - ID of the memory thread to retrieve
86
- * @returns MemoryThread instance
87
- */
88
- getNetworkMemoryThread(threadId: string, networkId: string): NetworkMemoryThread;
89
- /**
90
- * Saves messages to memory
91
- * @param params - Parameters containing messages to save
92
- * @returns Promise containing the saved messages
93
- */
94
- saveNetworkMessageToMemory(params: SaveNetworkMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
95
- /**
96
- * Gets the status of the memory system
97
- * @returns Promise containing memory system status
98
- */
99
- getNetworkMemoryStatus(networkId: string): Promise<{
75
+ getMemoryStatus(agentId: string, requestContext?: RequestContext | Record<string, any>): Promise<{
100
76
  result: boolean;
101
77
  }>;
102
78
  /**
103
79
  * Retrieves all available tools
104
- * @param runtimeContext - Optional runtime context to pass as query parameter
80
+ * @param requestContext - Optional request context to pass as query parameter
105
81
  * @returns Promise containing map of tool IDs to tool details
106
82
  */
107
- getTools(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
83
+ listTools(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
108
84
  /**
109
85
  * Gets a tool instance by ID
110
86
  * @param toolId - ID of the tool to retrieve
@@ -113,10 +89,10 @@ export declare class MastraClient extends BaseResource {
113
89
  getTool(toolId: string): Tool;
114
90
  /**
115
91
  * Retrieves all available workflows
116
- * @param runtimeContext - Optional runtime context to pass as query parameter
92
+ * @param requestContext - Optional request context to pass as query parameter
117
93
  * @returns Promise containing map of workflow IDs to workflow details
118
94
  */
119
- getWorkflows(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
95
+ listWorkflows(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
120
96
  /**
121
97
  * Gets a workflow instance by ID
122
98
  * @param workflowId - ID of the workflow to retrieve
@@ -144,7 +120,7 @@ export declare class MastraClient extends BaseResource {
144
120
  * @param params - Parameters for filtering logs
145
121
  * @returns Promise containing array of log messages
146
122
  */
147
- getLogs(params: GetLogsParams): Promise<GetLogsResponse>;
123
+ listLogs(params: GetLogsParams): Promise<GetLogsResponse>;
148
124
  /**
149
125
  * Gets logs for a specific run
150
126
  * @param params - Parameters containing run ID to retrieve
@@ -155,34 +131,17 @@ export declare class MastraClient extends BaseResource {
155
131
  * List of all log transports
156
132
  * @returns Promise containing list of log transports
157
133
  */
158
- getLogTransports(): Promise<{
134
+ listLogTransports(): Promise<{
159
135
  transports: string[];
160
136
  }>;
161
- /**
162
- * List of all traces (paged)
163
- * @param params - Parameters for filtering traces
164
- * @returns Promise containing telemetry data
165
- */
166
- getTelemetry(params?: GetTelemetryParams): Promise<GetTelemetryResponse>;
167
- /**
168
- * Retrieves all available vNext networks
169
- * @returns Promise containing map of vNext network IDs to vNext network details
170
- */
171
- getVNextNetworks(): Promise<Array<GetVNextNetworkResponse>>;
172
- /**
173
- * Gets a vNext network instance by ID
174
- * @param networkId - ID of the vNext network to retrieve
175
- * @returns vNext Network instance
176
- */
177
- getVNextNetwork(networkId: string): VNextNetwork;
178
137
  /**
179
138
  * Retrieves a list of available MCP servers.
180
- * @param params - Optional parameters for pagination (limit, offset).
139
+ * @param params - Optional parameters for pagination (perPage, page).
181
140
  * @returns Promise containing the list of MCP servers and pagination info.
182
141
  */
183
142
  getMcpServers(params?: {
184
- limit?: number;
185
- offset?: number;
143
+ perPage?: number;
144
+ page?: number;
186
145
  }): Promise<McpServerListResponse>;
187
146
  /**
188
147
  * Retrieves detailed information for a specific MCP server.
@@ -220,11 +179,20 @@ export declare class MastraClient extends BaseResource {
220
179
  * @param resourceId - Optional ID of the resource.
221
180
  * @returns Working memory for the specified thread or resource.
222
181
  */
223
- getWorkingMemory({ agentId, threadId, resourceId, }: {
182
+ getWorkingMemory({ agentId, threadId, resourceId, requestContext, }: {
224
183
  agentId: string;
225
184
  threadId: string;
226
185
  resourceId?: string;
186
+ requestContext?: RequestContext | Record<string, any>;
227
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>;
228
196
  /**
229
197
  * Updates the working memory for a specific thread (optionally resource-scoped).
230
198
  * @param agentId - ID of the agent.
@@ -232,50 +200,46 @@ export declare class MastraClient extends BaseResource {
232
200
  * @param workingMemory - The new working memory content.
233
201
  * @param resourceId - Optional ID of the resource.
234
202
  */
235
- updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, }: {
203
+ updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, requestContext, }: {
236
204
  agentId: string;
237
205
  threadId: string;
238
206
  workingMemory: string;
239
207
  resourceId?: string;
208
+ requestContext?: RequestContext | Record<string, any>;
240
209
  }): Promise<unknown>;
241
210
  /**
242
211
  * Retrieves all available scorers
243
212
  * @returns Promise containing list of available scorers
244
213
  */
245
- getScorers(): Promise<Record<string, GetScorerResponse>>;
214
+ listScorers(): Promise<Record<string, GetScorerResponse>>;
246
215
  /**
247
216
  * Retrieves a scorer by ID
248
217
  * @param scorerId - ID of the scorer to retrieve
249
218
  * @returns Promise containing the scorer
250
219
  */
251
220
  getScorer(scorerId: string): Promise<GetScorerResponse>;
252
- getScoresByScorerId(params: GetScoresByScorerIdParams): Promise<GetScoresResponse>;
221
+ listScoresByScorerId(params: ListScoresByScorerIdParams): Promise<ListScoresResponse>;
253
222
  /**
254
223
  * Retrieves scores by run ID
255
224
  * @param params - Parameters containing run ID and pagination options
256
225
  * @returns Promise containing scores and pagination info
257
226
  */
258
- getScoresByRunId(params: GetScoresByRunIdParams): Promise<GetScoresResponse>;
227
+ listScoresByRunId(params: ListScoresByRunIdParams): Promise<ListScoresResponse>;
259
228
  /**
260
229
  * Retrieves scores by entity ID and type
261
230
  * @param params - Parameters containing entity ID, type, and pagination options
262
231
  * @returns Promise containing scores and pagination info
263
232
  */
264
- getScoresByEntityId(params: GetScoresByEntityIdParams): Promise<GetScoresResponse>;
233
+ listScoresByEntityId(params: ListScoresByEntityIdParams): Promise<ListScoresResponse>;
265
234
  /**
266
235
  * Saves a score
267
236
  * @param params - Parameters containing the score data to save
268
237
  * @returns Promise containing the saved score
269
238
  */
270
239
  saveScore(params: SaveScoreParams): Promise<SaveScoreResponse>;
271
- /**
272
- * Retrieves model providers with available keys
273
- * @returns Promise containing model providers with available keys
274
- */
275
- getModelProviders(): Promise<string[]>;
276
- getAITrace(traceId: string): Promise<AITraceRecord>;
277
- getAITraces(params: AITracesPaginatedArg): Promise<GetAITracesResponse>;
278
- getScoresBySpan(params: GetScoresBySpanParams): Promise<GetScoresResponse>;
240
+ getTrace(traceId: string): Promise<TraceRecord>;
241
+ getTraces(params: TracesPaginatedArg): Promise<GetTracesResponse>;
242
+ listScoresBySpan(params: ListScoresBySpanParams): Promise<ListScoresResponse>;
279
243
  score(params: {
280
244
  scorerName: string;
281
245
  targets: Array<{
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","s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