@mastra/client-js 0.0.0-ai-sdk-network-text-delta-20251017172601 → 0.0.0-allow-to-pass-a-mastra-url-instance-20251105224938

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
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
31
- * @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
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
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,68 +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
- }): Promise<GetMemoryThreadMessagesResponse>;
53
+ requestContext?: RequestContext | Record<string, any>;
54
+ }): Promise<ListMemoryThreadMessagesResponse>;
50
55
  deleteThread(threadId: string, opts?: {
51
56
  agentId?: string;
52
57
  networkId?: string;
58
+ requestContext?: RequestContext | Record<string, any>;
53
59
  }): Promise<{
54
60
  success: boolean;
55
61
  message: string;
56
62
  }>;
57
63
  /**
58
64
  * Saves messages to memory
59
- * @param params - Parameters containing messages to save
65
+ * @param params - Parameters containing messages to save and optional request context
60
66
  * @returns Promise containing the saved messages
61
67
  */
62
68
  saveMessageToMemory(params: SaveMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
63
69
  /**
64
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
65
73
  * @returns Promise containing memory system status
66
74
  */
67
- getMemoryStatus(agentId: string): Promise<{
68
- result: boolean;
69
- }>;
70
- /**
71
- * Retrieves memory threads for a resource
72
- * @param params - Parameters containing the resource ID
73
- * @returns Promise containing array of memory threads
74
- */
75
- getNetworkMemoryThreads(params: GetNetworkMemoryThreadParams): Promise<GetMemoryThreadResponse>;
76
- /**
77
- * Creates a new memory thread
78
- * @param params - Parameters for creating the memory thread
79
- * @returns Promise containing the created memory thread
80
- */
81
- createNetworkMemoryThread(params: CreateNetworkMemoryThreadParams): Promise<CreateMemoryThreadResponse>;
82
- /**
83
- * Gets a memory thread instance by ID
84
- * @param threadId - ID of the memory thread to retrieve
85
- * @returns MemoryThread instance
86
- */
87
- getNetworkMemoryThread(threadId: string, networkId: string): NetworkMemoryThread;
88
- /**
89
- * Saves messages to memory
90
- * @param params - Parameters containing messages to save
91
- * @returns Promise containing the saved messages
92
- */
93
- saveNetworkMessageToMemory(params: SaveNetworkMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
94
- /**
95
- * Gets the status of the memory system
96
- * @returns Promise containing memory system status
97
- */
98
- getNetworkMemoryStatus(networkId: string): Promise<{
75
+ getMemoryStatus(agentId: string, requestContext?: RequestContext | Record<string, any>): Promise<{
99
76
  result: boolean;
100
77
  }>;
101
78
  /**
102
79
  * Retrieves all available tools
103
- * @param runtimeContext - Optional runtime context to pass as query parameter
80
+ * @param requestContext - Optional request context to pass as query parameter
104
81
  * @returns Promise containing map of tool IDs to tool details
105
82
  */
106
- getTools(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
83
+ listTools(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
107
84
  /**
108
85
  * Gets a tool instance by ID
109
86
  * @param toolId - ID of the tool to retrieve
@@ -112,10 +89,10 @@ export declare class MastraClient extends BaseResource {
112
89
  getTool(toolId: string): Tool;
113
90
  /**
114
91
  * Retrieves all available workflows
115
- * @param runtimeContext - Optional runtime context to pass as query parameter
92
+ * @param requestContext - Optional request context to pass as query parameter
116
93
  * @returns Promise containing map of workflow IDs to workflow details
117
94
  */
118
- getWorkflows(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
95
+ listWorkflows(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
119
96
  /**
120
97
  * Gets a workflow instance by ID
121
98
  * @param workflowId - ID of the workflow to retrieve
@@ -143,7 +120,7 @@ export declare class MastraClient extends BaseResource {
143
120
  * @param params - Parameters for filtering logs
144
121
  * @returns Promise containing array of log messages
145
122
  */
146
- getLogs(params: GetLogsParams): Promise<GetLogsResponse>;
123
+ listLogs(params: GetLogsParams): Promise<GetLogsResponse>;
147
124
  /**
148
125
  * Gets logs for a specific run
149
126
  * @param params - Parameters containing run ID to retrieve
@@ -154,23 +131,17 @@ export declare class MastraClient extends BaseResource {
154
131
  * List of all log transports
155
132
  * @returns Promise containing list of log transports
156
133
  */
157
- getLogTransports(): Promise<{
134
+ listLogTransports(): Promise<{
158
135
  transports: string[];
159
136
  }>;
160
- /**
161
- * List of all traces (paged)
162
- * @param params - Parameters for filtering traces
163
- * @returns Promise containing telemetry data
164
- */
165
- getTelemetry(params?: GetTelemetryParams): Promise<GetTelemetryResponse>;
166
137
  /**
167
138
  * Retrieves a list of available MCP servers.
168
- * @param params - Optional parameters for pagination (limit, offset).
139
+ * @param params - Optional parameters for pagination (perPage, page).
169
140
  * @returns Promise containing the list of MCP servers and pagination info.
170
141
  */
171
142
  getMcpServers(params?: {
172
- limit?: number;
173
- offset?: number;
143
+ perPage?: number;
144
+ page?: number;
174
145
  }): Promise<McpServerListResponse>;
175
146
  /**
176
147
  * Retrieves detailed information for a specific MCP server.
@@ -208,11 +179,20 @@ export declare class MastraClient extends BaseResource {
208
179
  * @param resourceId - Optional ID of the resource.
209
180
  * @returns Working memory for the specified thread or resource.
210
181
  */
211
- getWorkingMemory({ agentId, threadId, resourceId, }: {
182
+ getWorkingMemory({ agentId, threadId, resourceId, requestContext, }: {
212
183
  agentId: string;
213
184
  threadId: string;
214
185
  resourceId?: string;
186
+ requestContext?: RequestContext | Record<string, any>;
215
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>;
216
196
  /**
217
197
  * Updates the working memory for a specific thread (optionally resource-scoped).
218
198
  * @param agentId - ID of the agent.
@@ -220,50 +200,46 @@ export declare class MastraClient extends BaseResource {
220
200
  * @param workingMemory - The new working memory content.
221
201
  * @param resourceId - Optional ID of the resource.
222
202
  */
223
- updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, }: {
203
+ updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, requestContext, }: {
224
204
  agentId: string;
225
205
  threadId: string;
226
206
  workingMemory: string;
227
207
  resourceId?: string;
208
+ requestContext?: RequestContext | Record<string, any>;
228
209
  }): Promise<unknown>;
229
210
  /**
230
211
  * Retrieves all available scorers
231
212
  * @returns Promise containing list of available scorers
232
213
  */
233
- getScorers(): Promise<Record<string, GetScorerResponse>>;
214
+ listScorers(): Promise<Record<string, GetScorerResponse>>;
234
215
  /**
235
216
  * Retrieves a scorer by ID
236
217
  * @param scorerId - ID of the scorer to retrieve
237
218
  * @returns Promise containing the scorer
238
219
  */
239
220
  getScorer(scorerId: string): Promise<GetScorerResponse>;
240
- getScoresByScorerId(params: GetScoresByScorerIdParams): Promise<GetScoresResponse>;
221
+ listScoresByScorerId(params: ListScoresByScorerIdParams): Promise<ListScoresResponse>;
241
222
  /**
242
223
  * Retrieves scores by run ID
243
224
  * @param params - Parameters containing run ID and pagination options
244
225
  * @returns Promise containing scores and pagination info
245
226
  */
246
- getScoresByRunId(params: GetScoresByRunIdParams): Promise<GetScoresResponse>;
227
+ listScoresByRunId(params: ListScoresByRunIdParams): Promise<ListScoresResponse>;
247
228
  /**
248
229
  * Retrieves scores by entity ID and type
249
230
  * @param params - Parameters containing entity ID, type, and pagination options
250
231
  * @returns Promise containing scores and pagination info
251
232
  */
252
- getScoresByEntityId(params: GetScoresByEntityIdParams): Promise<GetScoresResponse>;
233
+ listScoresByEntityId(params: ListScoresByEntityIdParams): Promise<ListScoresResponse>;
253
234
  /**
254
235
  * Saves a score
255
236
  * @param params - Parameters containing the score data to save
256
237
  * @returns Promise containing the saved score
257
238
  */
258
239
  saveScore(params: SaveScoreParams): Promise<SaveScoreResponse>;
259
- /**
260
- * Retrieves model providers with available keys
261
- * @returns Promise containing model providers with available keys
262
- */
263
- getModelProviders(): Promise<string[]>;
264
- getAITrace(traceId: string): Promise<AITraceRecord>;
265
- getAITraces(params: AITracesPaginatedArg): Promise<GetAITracesResponse>;
266
- getScoresBySpan(params: GetScoresBySpanParams): Promise<GetScoresResponse>;
240
+ getTrace(traceId: string): Promise<TraceRecord>;
241
+ getTraces(params: TracesPaginatedArg): Promise<GetTracesResponse>;
242
+ listScoresBySpan(params: ListScoresBySpanParams): Promise<ListScoresResponse>;
267
243
  score(params: {
268
244
  scorerName: string;
269
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,EACpB,eAAe,EACf,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,qBAAqB,EACrB,yBAAyB,EACzB,4BAA4B,EAC5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