@mastra/client-js 0.0.0-trigger-playground-ui-package-20250506151043 → 0.0.0-unified-sidebar-20251010130811

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 (70) hide show
  1. package/CHANGELOG.md +2109 -2
  2. package/LICENSE.md +11 -42
  3. package/README.md +7 -8
  4. package/dist/client.d.ts +278 -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 +2643 -486
  9. package/dist/index.cjs.map +1 -0
  10. package/dist/index.d.ts +5 -730
  11. package/dist/index.d.ts.map +1 -0
  12. package/dist/index.js +2641 -490
  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 +160 -0
  17. package/dist/resources/agent-builder.d.ts.map +1 -0
  18. package/dist/resources/agent.d.ts +184 -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/network-memory-thread.d.ts +47 -0
  29. package/dist/resources/network-memory-thread.d.ts.map +1 -0
  30. package/dist/resources/observability.d.ts +35 -0
  31. package/dist/resources/observability.d.ts.map +1 -0
  32. package/dist/resources/tool.d.ts +24 -0
  33. package/dist/resources/tool.d.ts.map +1 -0
  34. package/dist/resources/vector.d.ts +51 -0
  35. package/dist/resources/vector.d.ts.map +1 -0
  36. package/dist/resources/workflow.d.ts +269 -0
  37. package/dist/resources/workflow.d.ts.map +1 -0
  38. package/dist/tools.d.ts +22 -0
  39. package/dist/tools.d.ts.map +1 -0
  40. package/dist/types.d.ts +479 -0
  41. package/dist/types.d.ts.map +1 -0
  42. package/dist/utils/index.d.ts +5 -0
  43. package/dist/utils/index.d.ts.map +1 -0
  44. package/dist/utils/process-client-tools.d.ts +3 -0
  45. package/dist/utils/process-client-tools.d.ts.map +1 -0
  46. package/dist/utils/process-mastra-stream.d.ts +11 -0
  47. package/dist/utils/process-mastra-stream.d.ts.map +1 -0
  48. package/dist/utils/zod-to-json-schema.d.ts +3 -0
  49. package/dist/utils/zod-to-json-schema.d.ts.map +1 -0
  50. package/package.json +37 -20
  51. package/dist/index.d.cts +0 -730
  52. package/eslint.config.js +0 -6
  53. package/src/adapters/agui.test.ts +0 -167
  54. package/src/adapters/agui.ts +0 -219
  55. package/src/client.ts +0 -259
  56. package/src/example.ts +0 -65
  57. package/src/index.test.ts +0 -710
  58. package/src/index.ts +0 -2
  59. package/src/resources/agent.ts +0 -204
  60. package/src/resources/base.ts +0 -70
  61. package/src/resources/index.ts +0 -8
  62. package/src/resources/memory-thread.ts +0 -53
  63. package/src/resources/network.ts +0 -92
  64. package/src/resources/tool.ts +0 -38
  65. package/src/resources/vector.ts +0 -83
  66. package/src/resources/vnext-workflow.ts +0 -257
  67. package/src/resources/workflow.ts +0 -251
  68. package/src/types.ts +0 -262
  69. package/tsconfig.json +0 -5
  70. package/vitest.config.js +0 -8
package/LICENSE.md CHANGED
@@ -1,46 +1,15 @@
1
- # Elastic License 2.0 (ELv2)
1
+ # Apache License 2.0
2
2
 
3
- Copyright (c) 2025 Mastra AI, Inc.
3
+ Copyright (c) 2025 Kepler Software, Inc.
4
4
 
5
- **Acceptance**
6
- By using the software, you agree to all of the terms and conditions below.
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
7
8
 
8
- **Copyright License**
9
- The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject to the limitations and conditions below
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
10
 
11
- **Limitations**
12
- You may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the software.
13
-
14
- You may not move, change, disable, or circumvent the license key functionality in the software, and you may not remove or obscure any functionality in the software that is protected by the license key.
15
-
16
- You may not alter, remove, or obscure any licensing, copyright, or other notices of the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law.
17
-
18
- **Patents**
19
- The licensor grants you a license, under any patent claims the licensor can license, or becomes able to license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case subject to the limitations and conditions in this license. This license does not cover any patent claims that you cause to be infringed by modifications or additions to the software. If you or your company make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
20
-
21
- **Notices**
22
- You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms.
23
-
24
- If you modify the software, you must include in any modified copies of the software prominent notices stating that you have modified the software.
25
-
26
- **No Other Rights**
27
- These terms do not imply any licenses other than those expressly granted in these terms.
28
-
29
- **Termination**
30
- If you use the software in violation of these terms, such use is not licensed, and your licenses will automatically terminate. If the licensor provides you with a notice of your violation, and you cease all violation of this license no later than 30 days after you receive that notice, your licenses will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your licenses to terminate automatically and permanently.
31
-
32
- **No Liability**
33
- As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.
34
-
35
- **Definitions**
36
- The _licensor_ is the entity offering these terms, and the _software_ is the software the licensor makes available under these terms, including any portion of it.
37
-
38
- _you_ refers to the individual or entity agreeing to these terms.
39
-
40
- _your company_ is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. _control_ means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
41
-
42
- _your licenses_ are all the licenses granted to you for the software under these terms.
43
-
44
- _use_ means anything you do with the software requiring one of your licenses.
45
-
46
- _trademark_ means trademarks, service marks, and similar rights.
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 CHANGED
@@ -11,7 +11,7 @@ npm install @mastra/client-js
11
11
  ## Quick Start
12
12
 
13
13
  ```typescript
14
- import { MastraClient } from '@mastra/client';
14
+ import { MastraClient } from '@mastra/client-js';
15
15
 
16
16
  // Initialize the client
17
17
  const client = new MastraClient({
@@ -53,8 +53,10 @@ const client = new MastraClient({
53
53
  - `getAgents()`: 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
56
+ - `agent.generate(params)`: Generate a response
57
+ - `agent.generateLegacy(params)`: Legacy API for generating a response (V1 models)
57
58
  - `agent.stream(params)`: Stream a response
59
+ - `agent.streamLegacy(params)`: Legacy API for streaming a response (V1 models)
58
60
  - `agent.getTool(toolId)`: Get agent tool details
59
61
  - `agent.evals()`: Get agent evaluations
60
62
  - `agent.liveEvals()`: Get live evaluations
@@ -79,9 +81,10 @@ const client = new MastraClient({
79
81
  - `getWorkflows()`: Get all workflows
80
82
  - `getWorkflow(workflowId)`: Get a workflow instance
81
83
  - `workflow.details()`: Get workflow details
82
- - `workflow.createRun()`: Create workflow run
84
+ - `workflow.createRunAsync()`: Create workflow run
85
+ - `workflow.createRun()`: Deprecated - use createRunAsync() instead
83
86
  - `workflow.startAsync(params)`: Execute the workflow and wait for execution results
84
- - `workflow.resumeAsync(parmas)`: Resume suspended workflow step async
87
+ - `workflow.resumeAsync(params)`: Resume suspended workflow step async
85
88
  - `workflow.watch({runId},(record)=>{})`: Watch the step transitions of the workflow run
86
89
  - `workflow.start({runId, triggerData})`: Start a workflow run sync
87
90
  - `workflow.resume(params)`: Resume the workflow run sync
@@ -122,7 +125,3 @@ The client uses the native `fetch` API internally for making HTTP requests. All
122
125
  - Retry logic with exponential backoff
123
126
  - Custom header management
124
127
  - Error handling
125
-
126
- ## License
127
-
128
- MIT
@@ -0,0 +1,278 @@
1
+ import type { AITraceRecord, AITracesPaginatedArg, WorkflowInfo } from '@mastra/core';
2
+ import type { ServerDetailInfo } from '@mastra/core/mcp';
3
+ import type { RuntimeContext } from '@mastra/core/runtime-context';
4
+ 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';
7
+ export declare class MastraClient extends BaseResource {
8
+ private observability;
9
+ constructor(options: ClientOptions);
10
+ /**
11
+ * Retrieves all available agents
12
+ * @param runtimeContext - Optional runtime context to pass as query parameter
13
+ * @returns Promise containing map of agent IDs to agent details
14
+ */
15
+ getAgents(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetAgentResponse>>;
16
+ /**
17
+ * Gets an agent instance by ID
18
+ * @param agentId - ID of the agent to retrieve
19
+ * @returns Agent instance
20
+ */
21
+ getAgent(agentId: string): Agent;
22
+ /**
23
+ * Retrieves memory threads for a resource
24
+ * @param params - Parameters containing the resource ID
25
+ * @returns Promise containing array of memory threads
26
+ */
27
+ getMemoryThreads(params: GetMemoryThreadParams): Promise<GetMemoryThreadResponse>;
28
+ /**
29
+ * Retrieves memory config for a resource
30
+ * @param params - Parameters containing the resource ID
31
+ * @returns Promise containing array of memory threads
32
+ */
33
+ getMemoryConfig(params: GetMemoryConfigParams): Promise<GetMemoryConfigResponse>;
34
+ /**
35
+ * Creates a new memory thread
36
+ * @param params - Parameters for creating the memory thread
37
+ * @returns Promise containing the created memory thread
38
+ */
39
+ createMemoryThread(params: CreateMemoryThreadParams): Promise<CreateMemoryThreadResponse>;
40
+ /**
41
+ * Gets a memory thread instance by ID
42
+ * @param threadId - ID of the memory thread to retrieve
43
+ * @returns MemoryThread instance
44
+ */
45
+ getMemoryThread(threadId: string, agentId: string): MemoryThread;
46
+ getThreadMessages(threadId: string, opts?: {
47
+ agentId?: string;
48
+ networkId?: string;
49
+ }): Promise<GetMemoryThreadMessagesResponse>;
50
+ deleteThread(threadId: string, opts?: {
51
+ agentId?: string;
52
+ networkId?: string;
53
+ }): Promise<{
54
+ success: boolean;
55
+ message: string;
56
+ }>;
57
+ /**
58
+ * Saves messages to memory
59
+ * @param params - Parameters containing messages to save
60
+ * @returns Promise containing the saved messages
61
+ */
62
+ saveMessageToMemory(params: SaveMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
63
+ /**
64
+ * Gets the status of the memory system
65
+ * @returns Promise containing memory system status
66
+ */
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<{
99
+ result: boolean;
100
+ }>;
101
+ /**
102
+ * Retrieves all available tools
103
+ * @param runtimeContext - Optional runtime context to pass as query parameter
104
+ * @returns Promise containing map of tool IDs to tool details
105
+ */
106
+ getTools(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
107
+ /**
108
+ * Gets a tool instance by ID
109
+ * @param toolId - ID of the tool to retrieve
110
+ * @returns Tool instance
111
+ */
112
+ getTool(toolId: string): Tool;
113
+ /**
114
+ * Retrieves all available workflows
115
+ * @param runtimeContext - Optional runtime context to pass as query parameter
116
+ * @returns Promise containing map of workflow IDs to workflow details
117
+ */
118
+ getWorkflows(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
119
+ /**
120
+ * Gets a workflow instance by ID
121
+ * @param workflowId - ID of the workflow to retrieve
122
+ * @returns Workflow instance
123
+ */
124
+ getWorkflow(workflowId: string): Workflow;
125
+ /**
126
+ * Gets all available agent builder actions
127
+ * @returns Promise containing map of action IDs to action details
128
+ */
129
+ getAgentBuilderActions(): Promise<Record<string, WorkflowInfo>>;
130
+ /**
131
+ * Gets an agent builder instance for executing agent-builder workflows
132
+ * @returns AgentBuilder instance
133
+ */
134
+ getAgentBuilderAction(actionId: string): AgentBuilder;
135
+ /**
136
+ * Gets a vector instance by name
137
+ * @param vectorName - Name of the vector to retrieve
138
+ * @returns Vector instance
139
+ */
140
+ getVector(vectorName: string): Vector;
141
+ /**
142
+ * Retrieves logs
143
+ * @param params - Parameters for filtering logs
144
+ * @returns Promise containing array of log messages
145
+ */
146
+ getLogs(params: GetLogsParams): Promise<GetLogsResponse>;
147
+ /**
148
+ * Gets logs for a specific run
149
+ * @param params - Parameters containing run ID to retrieve
150
+ * @returns Promise containing array of log messages
151
+ */
152
+ getLogForRun(params: GetLogParams): Promise<GetLogsResponse>;
153
+ /**
154
+ * List of all log transports
155
+ * @returns Promise containing list of log transports
156
+ */
157
+ getLogTransports(): Promise<{
158
+ transports: string[];
159
+ }>;
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
+ /**
167
+ * Retrieves a list of available MCP servers.
168
+ * @param params - Optional parameters for pagination (limit, offset).
169
+ * @returns Promise containing the list of MCP servers and pagination info.
170
+ */
171
+ getMcpServers(params?: {
172
+ limit?: number;
173
+ offset?: number;
174
+ }): Promise<McpServerListResponse>;
175
+ /**
176
+ * Retrieves detailed information for a specific MCP server.
177
+ * @param serverId - The ID of the MCP server to retrieve.
178
+ * @param params - Optional parameters, e.g., specific version.
179
+ * @returns Promise containing the detailed MCP server information.
180
+ */
181
+ getMcpServerDetails(serverId: string, params?: {
182
+ version?: string;
183
+ }): Promise<ServerDetailInfo>;
184
+ /**
185
+ * Retrieves a list of tools for a specific MCP server.
186
+ * @param serverId - The ID of the MCP server.
187
+ * @returns Promise containing the list of tools.
188
+ */
189
+ getMcpServerTools(serverId: string): Promise<McpServerToolListResponse>;
190
+ /**
191
+ * Gets an MCPTool resource instance for a specific tool on an MCP server.
192
+ * This instance can then be used to fetch details or execute the tool.
193
+ * @param serverId - The ID of the MCP server.
194
+ * @param toolId - The ID of the tool.
195
+ * @returns MCPTool instance.
196
+ */
197
+ getMcpServerTool(serverId: string, toolId: string): MCPTool;
198
+ /**
199
+ * Gets an A2A client for interacting with an agent via the A2A protocol
200
+ * @param agentId - ID of the agent to interact with
201
+ * @returns A2A client instance
202
+ */
203
+ getA2A(agentId: string): A2A;
204
+ /**
205
+ * Retrieves the working memory for a specific thread (optionally resource-scoped).
206
+ * @param agentId - ID of the agent.
207
+ * @param threadId - ID of the thread.
208
+ * @param resourceId - Optional ID of the resource.
209
+ * @returns Working memory for the specified thread or resource.
210
+ */
211
+ getWorkingMemory({ agentId, threadId, resourceId, }: {
212
+ agentId: string;
213
+ threadId: string;
214
+ resourceId?: string;
215
+ }): Promise<unknown>;
216
+ /**
217
+ * Updates the working memory for a specific thread (optionally resource-scoped).
218
+ * @param agentId - ID of the agent.
219
+ * @param threadId - ID of the thread.
220
+ * @param workingMemory - The new working memory content.
221
+ * @param resourceId - Optional ID of the resource.
222
+ */
223
+ updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, }: {
224
+ agentId: string;
225
+ threadId: string;
226
+ workingMemory: string;
227
+ resourceId?: string;
228
+ }): Promise<unknown>;
229
+ /**
230
+ * Retrieves all available scorers
231
+ * @returns Promise containing list of available scorers
232
+ */
233
+ getScorers(): Promise<Record<string, GetScorerResponse>>;
234
+ /**
235
+ * Retrieves a scorer by ID
236
+ * @param scorerId - ID of the scorer to retrieve
237
+ * @returns Promise containing the scorer
238
+ */
239
+ getScorer(scorerId: string): Promise<GetScorerResponse>;
240
+ getScoresByScorerId(params: GetScoresByScorerIdParams): Promise<GetScoresResponse>;
241
+ /**
242
+ * Retrieves scores by run ID
243
+ * @param params - Parameters containing run ID and pagination options
244
+ * @returns Promise containing scores and pagination info
245
+ */
246
+ getScoresByRunId(params: GetScoresByRunIdParams): Promise<GetScoresResponse>;
247
+ /**
248
+ * Retrieves scores by entity ID and type
249
+ * @param params - Parameters containing entity ID, type, and pagination options
250
+ * @returns Promise containing scores and pagination info
251
+ */
252
+ getScoresByEntityId(params: GetScoresByEntityIdParams): Promise<GetScoresResponse>;
253
+ /**
254
+ * Saves a score
255
+ * @param params - Parameters containing the score data to save
256
+ * @returns Promise containing the saved score
257
+ */
258
+ 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>;
267
+ score(params: {
268
+ scorerName: string;
269
+ targets: Array<{
270
+ traceId: string;
271
+ spanId?: string;
272
+ }>;
273
+ }): Promise<{
274
+ status: string;
275
+ message: string;
276
+ }>;
277
+ }
278
+ //# 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,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,oBAAo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