@mastra/client-js 0.16.9-alpha.0 → 1.0.0-beta.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/dist/client.d.ts CHANGED
@@ -1,18 +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 type { ClientOptions, CreateMemoryThreadParams, CreateMemoryThreadResponse, GetAgentResponse, GetLogParams, GetLogsParams, GetLogsResponse, GetMemoryThreadParams, GetMemoryThreadResponse, GetTelemetryParams, GetTelemetryResponse, GetToolResponse, GetWorkflowResponse, SaveMessageToMemoryParams, SaveMessageToMemoryResponse, McpServerListResponse, McpServerToolListResponse, 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';
7
7
  export declare class MastraClient extends BaseResource {
8
8
  private observability;
9
9
  constructor(options: ClientOptions);
10
10
  /**
11
11
  * Retrieves all available agents
12
- * @param runtimeContext - Optional runtime context to pass as query parameter
12
+ * @param requestContext - Optional request context to pass as query parameter
13
13
  * @returns Promise containing map of agent IDs to agent details
14
14
  */
15
- 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>;
16
17
  /**
17
18
  * Gets an agent instance by ID
18
19
  * @param agentId - ID of the agent to retrieve
@@ -20,20 +21,20 @@ export declare class MastraClient extends BaseResource {
20
21
  */
21
22
  getAgent(agentId: string): Agent;
22
23
  /**
23
- * Retrieves memory threads for a resource
24
- * @param params - Parameters containing the resource ID and optional runtime context
25
- * @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
26
27
  */
27
- getMemoryThreads(params: GetMemoryThreadParams): Promise<GetMemoryThreadResponse>;
28
+ listMemoryThreads(params: ListMemoryThreadsParams): Promise<ListMemoryThreadsResponse>;
28
29
  /**
29
30
  * Retrieves memory config for a resource
30
- * @param params - Parameters containing the resource ID and optional runtime context
31
+ * @param params - Parameters containing the resource ID and optional request context
31
32
  * @returns Promise containing memory configuration
32
33
  */
33
34
  getMemoryConfig(params: GetMemoryConfigParams): Promise<GetMemoryConfigResponse>;
34
35
  /**
35
36
  * Creates a new memory thread
36
- * @param params - Parameters for creating the memory thread including optional runtime context
37
+ * @param params - Parameters for creating the memory thread including optional request context
37
38
  * @returns Promise containing the created memory thread
38
39
  */
39
40
  createMemoryThread(params: CreateMemoryThreadParams): Promise<CreateMemoryThreadResponse>;
@@ -42,72 +43,44 @@ export declare class MastraClient extends BaseResource {
42
43
  * @param threadId - ID of the memory thread to retrieve
43
44
  * @returns MemoryThread instance
44
45
  */
45
- getMemoryThread(threadId: string, agentId: string): MemoryThread;
46
- getThreadMessages(threadId: string, opts?: {
46
+ getMemoryThread({ threadId, agentId }: {
47
+ threadId: string;
48
+ agentId: string;
49
+ }): MemoryThread;
50
+ listThreadMessages(threadId: string, opts?: {
47
51
  agentId?: string;
48
52
  networkId?: string;
49
- runtimeContext?: RuntimeContext | Record<string, any>;
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;
54
- runtimeContext?: RuntimeContext | Record<string, any>;
58
+ requestContext?: RequestContext | Record<string, any>;
55
59
  }): Promise<{
56
60
  success: boolean;
57
61
  message: string;
58
62
  }>;
59
63
  /**
60
64
  * Saves messages to memory
61
- * @param params - Parameters containing messages to save and optional runtime context
65
+ * @param params - Parameters containing messages to save and optional request context
62
66
  * @returns Promise containing the saved messages
63
67
  */
64
68
  saveMessageToMemory(params: SaveMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
65
69
  /**
66
70
  * Gets the status of the memory system
67
71
  * @param agentId - The agent ID
68
- * @param runtimeContext - Optional runtime context to pass as query parameter
69
- * @returns Promise containing memory system status
70
- */
71
- getMemoryStatus(agentId: string, runtimeContext?: RuntimeContext | Record<string, any>): Promise<{
72
- result: boolean;
73
- }>;
74
- /**
75
- * Retrieves memory threads for a resource
76
- * @param params - Parameters containing the resource ID
77
- * @returns Promise containing array of memory threads
78
- */
79
- getNetworkMemoryThreads(params: GetNetworkMemoryThreadParams): Promise<GetMemoryThreadResponse>;
80
- /**
81
- * Creates a new memory thread
82
- * @param params - Parameters for creating the memory thread
83
- * @returns Promise containing the created memory thread
84
- */
85
- createNetworkMemoryThread(params: CreateNetworkMemoryThreadParams): Promise<CreateMemoryThreadResponse>;
86
- /**
87
- * Gets a memory thread instance by ID
88
- * @param threadId - ID of the memory thread to retrieve
89
- * @returns MemoryThread instance
90
- */
91
- getNetworkMemoryThread(threadId: string, networkId: string): NetworkMemoryThread;
92
- /**
93
- * Saves messages to memory
94
- * @param params - Parameters containing messages to save
95
- * @returns Promise containing the saved messages
96
- */
97
- saveNetworkMessageToMemory(params: SaveNetworkMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
98
- /**
99
- * Gets the status of the memory system
72
+ * @param requestContext - Optional request context to pass as query parameter
100
73
  * @returns Promise containing memory system status
101
74
  */
102
- getNetworkMemoryStatus(networkId: string): Promise<{
75
+ getMemoryStatus(agentId: string, requestContext?: RequestContext | Record<string, any>): Promise<{
103
76
  result: boolean;
104
77
  }>;
105
78
  /**
106
79
  * Retrieves all available tools
107
- * @param runtimeContext - Optional runtime context to pass as query parameter
80
+ * @param requestContext - Optional request context to pass as query parameter
108
81
  * @returns Promise containing map of tool IDs to tool details
109
82
  */
110
- getTools(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
83
+ listTools(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
111
84
  /**
112
85
  * Gets a tool instance by ID
113
86
  * @param toolId - ID of the tool to retrieve
@@ -116,10 +89,10 @@ export declare class MastraClient extends BaseResource {
116
89
  getTool(toolId: string): Tool;
117
90
  /**
118
91
  * Retrieves all available workflows
119
- * @param runtimeContext - Optional runtime context to pass as query parameter
92
+ * @param requestContext - Optional request context to pass as query parameter
120
93
  * @returns Promise containing map of workflow IDs to workflow details
121
94
  */
122
- getWorkflows(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
95
+ listWorkflows(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
123
96
  /**
124
97
  * Gets a workflow instance by ID
125
98
  * @param workflowId - ID of the workflow to retrieve
@@ -147,7 +120,7 @@ export declare class MastraClient extends BaseResource {
147
120
  * @param params - Parameters for filtering logs
148
121
  * @returns Promise containing array of log messages
149
122
  */
150
- getLogs(params: GetLogsParams): Promise<GetLogsResponse>;
123
+ listLogs(params: GetLogsParams): Promise<GetLogsResponse>;
151
124
  /**
152
125
  * Gets logs for a specific run
153
126
  * @param params - Parameters containing run ID to retrieve
@@ -158,23 +131,17 @@ export declare class MastraClient extends BaseResource {
158
131
  * List of all log transports
159
132
  * @returns Promise containing list of log transports
160
133
  */
161
- getLogTransports(): Promise<{
134
+ listLogTransports(): Promise<{
162
135
  transports: string[];
163
136
  }>;
164
- /**
165
- * List of all traces (paged)
166
- * @param params - Parameters for filtering traces
167
- * @returns Promise containing telemetry data
168
- */
169
- getTelemetry(params?: GetTelemetryParams): Promise<GetTelemetryResponse>;
170
137
  /**
171
138
  * Retrieves a list of available MCP servers.
172
- * @param params - Optional parameters for pagination (limit, offset).
139
+ * @param params - Optional parameters for pagination (perPage, page).
173
140
  * @returns Promise containing the list of MCP servers and pagination info.
174
141
  */
175
142
  getMcpServers(params?: {
176
- limit?: number;
177
- offset?: number;
143
+ perPage?: number;
144
+ page?: number;
178
145
  }): Promise<McpServerListResponse>;
179
146
  /**
180
147
  * Retrieves detailed information for a specific MCP server.
@@ -212,12 +179,20 @@ export declare class MastraClient extends BaseResource {
212
179
  * @param resourceId - Optional ID of the resource.
213
180
  * @returns Working memory for the specified thread or resource.
214
181
  */
215
- getWorkingMemory({ agentId, threadId, resourceId, runtimeContext, }: {
182
+ getWorkingMemory({ agentId, threadId, resourceId, requestContext, }: {
216
183
  agentId: string;
217
184
  threadId: string;
218
185
  resourceId?: string;
219
- runtimeContext?: RuntimeContext | Record<string, any>;
186
+ requestContext?: RequestContext | Record<string, any>;
220
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>;
221
196
  /**
222
197
  * Updates the working memory for a specific thread (optionally resource-scoped).
223
198
  * @param agentId - ID of the agent.
@@ -225,46 +200,46 @@ export declare class MastraClient extends BaseResource {
225
200
  * @param workingMemory - The new working memory content.
226
201
  * @param resourceId - Optional ID of the resource.
227
202
  */
228
- updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, runtimeContext, }: {
203
+ updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, requestContext, }: {
229
204
  agentId: string;
230
205
  threadId: string;
231
206
  workingMemory: string;
232
207
  resourceId?: string;
233
- runtimeContext?: RuntimeContext | Record<string, any>;
208
+ requestContext?: RequestContext | Record<string, any>;
234
209
  }): Promise<unknown>;
235
210
  /**
236
211
  * Retrieves all available scorers
237
212
  * @returns Promise containing list of available scorers
238
213
  */
239
- getScorers(): Promise<Record<string, GetScorerResponse>>;
214
+ listScorers(): Promise<Record<string, GetScorerResponse>>;
240
215
  /**
241
216
  * Retrieves a scorer by ID
242
217
  * @param scorerId - ID of the scorer to retrieve
243
218
  * @returns Promise containing the scorer
244
219
  */
245
220
  getScorer(scorerId: string): Promise<GetScorerResponse>;
246
- getScoresByScorerId(params: GetScoresByScorerIdParams): Promise<GetScoresResponse>;
221
+ listScoresByScorerId(params: ListScoresByScorerIdParams): Promise<ListScoresResponse>;
247
222
  /**
248
223
  * Retrieves scores by run ID
249
224
  * @param params - Parameters containing run ID and pagination options
250
225
  * @returns Promise containing scores and pagination info
251
226
  */
252
- getScoresByRunId(params: GetScoresByRunIdParams): Promise<GetScoresResponse>;
227
+ listScoresByRunId(params: ListScoresByRunIdParams): Promise<ListScoresResponse>;
253
228
  /**
254
229
  * Retrieves scores by entity ID and type
255
230
  * @param params - Parameters containing entity ID, type, and pagination options
256
231
  * @returns Promise containing scores and pagination info
257
232
  */
258
- getScoresByEntityId(params: GetScoresByEntityIdParams): Promise<GetScoresResponse>;
233
+ listScoresByEntityId(params: ListScoresByEntityIdParams): Promise<ListScoresResponse>;
259
234
  /**
260
235
  * Saves a score
261
236
  * @param params - Parameters containing the score data to save
262
237
  * @returns Promise containing the saved score
263
238
  */
264
239
  saveScore(params: SaveScoreParams): Promise<SaveScoreResponse>;
265
- getAITrace(traceId: string): Promise<AITraceRecord>;
266
- getAITraces(params: AITracesPaginatedArg): Promise<GetAITracesResponse>;
267
- getScoresBySpan(params: GetScoresBySpanParams): Promise<GetScoresResponse>;
240
+ getTrace(traceId: string): Promise<TraceRecord>;
241
+ getTraces(params: TracesPaginatedArg): Promise<GetTracesResponse>;
242
+ listScoresBySpan(params: ListScoresBySpanParams): Promise<ListScoresResponse>;
268
243
  score(params: {
269
244
  scorerName: string;
270
245
  targets: Array<{
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,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,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EAClB,oBAAoB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