@mastra/client-js 0.0.0-pg-pool-options-20250428183821 → 0.0.0-playground-studio-cloud-20251031080052

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 (68) hide show
  1. package/CHANGELOG.md +2368 -2
  2. package/LICENSE.md +11 -42
  3. package/README.md +7 -8
  4. package/dist/client.d.ts +280 -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 +2779 -347
  9. package/dist/index.cjs.map +1 -0
  10. package/dist/index.d.ts +5 -691
  11. package/dist/index.d.ts.map +1 -0
  12. package/dist/index.js +2784 -358
  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 +204 -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 +470 -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 +39 -19
  51. package/dist/index.d.cts +0 -691
  52. package/eslint.config.js +0 -6
  53. package/src/client.ts +0 -232
  54. package/src/example.ts +0 -65
  55. package/src/index.test.ts +0 -710
  56. package/src/index.ts +0 -2
  57. package/src/resources/agent.ts +0 -205
  58. package/src/resources/base.ts +0 -70
  59. package/src/resources/index.ts +0 -8
  60. package/src/resources/memory-thread.ts +0 -53
  61. package/src/resources/network.ts +0 -92
  62. package/src/resources/tool.ts +0 -32
  63. package/src/resources/vector.ts +0 -83
  64. package/src/resources/vnext-workflow.ts +0 -225
  65. package/src/resources/workflow.ts +0 -215
  66. package/src/types.ts +0 -237
  67. package/tsconfig.json +0 -5
  68. 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,280 @@
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, GetToolResponse, GetWorkflowResponse, SaveMessageToMemoryParams, SaveMessageToMemoryResponse, McpServerListResponse, McpServerToolListResponse, GetNetworkMemoryThreadParams, CreateNetworkMemoryThreadParams, SaveNetworkMessageToMemoryParams, GetScorerResponse, GetScoresByScorerIdParams, GetScoresResponse, GetScoresByRunIdParams, GetScoresByEntityIdParams, GetScoresBySpanParams, SaveScoreParams, SaveScoreResponse, GetAITracesResponse, GetMemoryConfigParams, GetMemoryConfigResponse, GetMemoryThreadMessagesResponse, MemorySearchResponse, GetAgentsModelProvidersResponse } 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
+ getAgentsModelProviders(): Promise<GetAgentsModelProvidersResponse>;
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
+ * Retrieves memory threads for a resource
25
+ * @param params - Parameters containing the resource ID
26
+ * @returns Promise containing array of memory threads
27
+ */
28
+ getMemoryThreads(params: GetMemoryThreadParams): Promise<GetMemoryThreadResponse>;
29
+ /**
30
+ * Retrieves memory config for a resource
31
+ * @param params - Parameters containing the resource ID
32
+ * @returns Promise containing array of memory threads
33
+ */
34
+ getMemoryConfig(params: GetMemoryConfigParams): Promise<GetMemoryConfigResponse>;
35
+ /**
36
+ * Creates a new memory thread
37
+ * @param params - Parameters for creating the memory thread
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: string, agentId: string): MemoryThread;
47
+ getThreadMessages(threadId: string, opts?: {
48
+ agentId?: string;
49
+ networkId?: string;
50
+ }): Promise<GetMemoryThreadMessagesResponse>;
51
+ deleteThread(threadId: string, opts?: {
52
+ agentId?: string;
53
+ networkId?: string;
54
+ }): Promise<{
55
+ success: boolean;
56
+ message: string;
57
+ }>;
58
+ /**
59
+ * Saves messages to memory
60
+ * @param params - Parameters containing messages to save
61
+ * @returns Promise containing the saved messages
62
+ */
63
+ saveMessageToMemory(params: SaveMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
64
+ /**
65
+ * Gets the status of the memory system
66
+ * @returns Promise containing memory system status
67
+ */
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<{
100
+ result: boolean;
101
+ }>;
102
+ /**
103
+ * Retrieves all available tools
104
+ * @param runtimeContext - Optional runtime context to pass as query parameter
105
+ * @returns Promise containing map of tool IDs to tool details
106
+ */
107
+ getTools(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
108
+ /**
109
+ * Gets a tool instance by ID
110
+ * @param toolId - ID of the tool to retrieve
111
+ * @returns Tool instance
112
+ */
113
+ getTool(toolId: string): Tool;
114
+ /**
115
+ * Retrieves all available workflows
116
+ * @param runtimeContext - Optional runtime context to pass as query parameter
117
+ * @returns Promise containing map of workflow IDs to workflow details
118
+ */
119
+ getWorkflows(runtimeContext?: RuntimeContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
120
+ /**
121
+ * Gets a workflow instance by ID
122
+ * @param workflowId - ID of the workflow to retrieve
123
+ * @returns Workflow instance
124
+ */
125
+ getWorkflow(workflowId: string): Workflow;
126
+ /**
127
+ * Gets all available agent builder actions
128
+ * @returns Promise containing map of action IDs to action details
129
+ */
130
+ getAgentBuilderActions(): Promise<Record<string, WorkflowInfo>>;
131
+ /**
132
+ * Gets an agent builder instance for executing agent-builder workflows
133
+ * @returns AgentBuilder instance
134
+ */
135
+ getAgentBuilderAction(actionId: string): AgentBuilder;
136
+ /**
137
+ * Gets a vector instance by name
138
+ * @param vectorName - Name of the vector to retrieve
139
+ * @returns Vector instance
140
+ */
141
+ getVector(vectorName: string): Vector;
142
+ /**
143
+ * Retrieves logs
144
+ * @param params - Parameters for filtering logs
145
+ * @returns Promise containing array of log messages
146
+ */
147
+ getLogs(params: GetLogsParams): Promise<GetLogsResponse>;
148
+ /**
149
+ * Gets logs for a specific run
150
+ * @param params - Parameters containing run ID to retrieve
151
+ * @returns Promise containing array of log messages
152
+ */
153
+ getLogForRun(params: GetLogParams): Promise<GetLogsResponse>;
154
+ /**
155
+ * List of all log transports
156
+ * @returns Promise containing list of log transports
157
+ */
158
+ getLogTransports(): Promise<{
159
+ transports: string[];
160
+ }>;
161
+ /**
162
+ * Retrieves a list of available MCP servers.
163
+ * @param params - Optional parameters for pagination (limit, offset).
164
+ * @returns Promise containing the list of MCP servers and pagination info.
165
+ */
166
+ getMcpServers(params?: {
167
+ limit?: number;
168
+ offset?: number;
169
+ }): Promise<McpServerListResponse>;
170
+ /**
171
+ * Retrieves detailed information for a specific MCP server.
172
+ * @param serverId - The ID of the MCP server to retrieve.
173
+ * @param params - Optional parameters, e.g., specific version.
174
+ * @returns Promise containing the detailed MCP server information.
175
+ */
176
+ getMcpServerDetails(serverId: string, params?: {
177
+ version?: string;
178
+ }): Promise<ServerDetailInfo>;
179
+ /**
180
+ * Retrieves a list of tools for a specific MCP server.
181
+ * @param serverId - The ID of the MCP server.
182
+ * @returns Promise containing the list of tools.
183
+ */
184
+ getMcpServerTools(serverId: string): Promise<McpServerToolListResponse>;
185
+ /**
186
+ * Gets an MCPTool resource instance for a specific tool on an MCP server.
187
+ * This instance can then be used to fetch details or execute the tool.
188
+ * @param serverId - The ID of the MCP server.
189
+ * @param toolId - The ID of the tool.
190
+ * @returns MCPTool instance.
191
+ */
192
+ getMcpServerTool(serverId: string, toolId: string): MCPTool;
193
+ /**
194
+ * Gets an A2A client for interacting with an agent via the A2A protocol
195
+ * @param agentId - ID of the agent to interact with
196
+ * @returns A2A client instance
197
+ */
198
+ getA2A(agentId: string): A2A;
199
+ /**
200
+ * Retrieves the working memory for a specific thread (optionally resource-scoped).
201
+ * @param agentId - ID of the agent.
202
+ * @param threadId - ID of the thread.
203
+ * @param resourceId - Optional ID of the resource.
204
+ * @returns Working memory for the specified thread or resource.
205
+ */
206
+ getWorkingMemory({ agentId, threadId, resourceId, }: {
207
+ agentId: string;
208
+ threadId: string;
209
+ resourceId?: string;
210
+ }): Promise<unknown>;
211
+ searchMemory({ agentId, resourceId, threadId, searchQuery, memoryConfig, }: {
212
+ agentId: string;
213
+ resourceId: string;
214
+ threadId?: string;
215
+ searchQuery: string;
216
+ memoryConfig?: any;
217
+ }): Promise<MemorySearchResponse>;
218
+ /**
219
+ * Updates the working memory for a specific thread (optionally resource-scoped).
220
+ * @param agentId - ID of the agent.
221
+ * @param threadId - ID of the thread.
222
+ * @param workingMemory - The new working memory content.
223
+ * @param resourceId - Optional ID of the resource.
224
+ */
225
+ updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, }: {
226
+ agentId: string;
227
+ threadId: string;
228
+ workingMemory: string;
229
+ resourceId?: string;
230
+ }): Promise<unknown>;
231
+ /**
232
+ * Retrieves all available scorers
233
+ * @returns Promise containing list of available scorers
234
+ */
235
+ getScorers(): Promise<Record<string, GetScorerResponse>>;
236
+ /**
237
+ * Retrieves a scorer by ID
238
+ * @param scorerId - ID of the scorer to retrieve
239
+ * @returns Promise containing the scorer
240
+ */
241
+ getScorer(scorerId: string): Promise<GetScorerResponse>;
242
+ getScoresByScorerId(params: GetScoresByScorerIdParams): Promise<GetScoresResponse>;
243
+ /**
244
+ * Retrieves scores by run ID
245
+ * @param params - Parameters containing run ID and pagination options
246
+ * @returns Promise containing scores and pagination info
247
+ */
248
+ getScoresByRunId(params: GetScoresByRunIdParams): Promise<GetScoresResponse>;
249
+ /**
250
+ * Retrieves scores by entity ID and type
251
+ * @param params - Parameters containing entity ID, type, and pagination options
252
+ * @returns Promise containing scores and pagination info
253
+ */
254
+ getScoresByEntityId(params: GetScoresByEntityIdParams): Promise<GetScoresResponse>;
255
+ /**
256
+ * Saves a score
257
+ * @param params - Parameters containing the score data to save
258
+ * @returns Promise containing the saved score
259
+ */
260
+ saveScore(params: SaveScoreParams): Promise<SaveScoreResponse>;
261
+ /**
262
+ * Retrieves model providers with available keys
263
+ * @returns Promise containing model providers with available keys
264
+ */
265
+ getModelProviders(): Promise<string[]>;
266
+ getAITrace(traceId: string): Promise<AITraceRecord>;
267
+ getAITraces(params: AITracesPaginatedArg): Promise<GetAITracesResponse>;
268
+ getScoresBySpan(params: GetScoresBySpanParams): Promise<GetScoresResponse>;
269
+ score(params: {
270
+ scorerName: string;
271
+ targets: Array<{
272
+ traceId: string;
273
+ spanId?: string;
274
+ }>;
275
+ }): Promise<{
276
+ status: string;
277
+ message: string;
278
+ }>;
279
+ }
280
+ //# 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,eAAe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