@mastra/client-js 0.0.0-remove-cloud-span-transform-20250425214156 → 0.0.0-remove-unused-model-providers-api-20251030210744

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 (66) hide show
  1. package/CHANGELOG.md +2411 -2
  2. package/LICENSE.md +11 -42
  3. package/README.md +14 -15
  4. package/dist/client.d.ts +253 -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 +2810 -382
  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 +2809 -387
  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 +208 -0
  17. package/dist/resources/agent-builder.d.ts.map +1 -0
  18. package/dist/resources/agent.d.ts +199 -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 +61 -0
  27. package/dist/resources/memory-thread.d.ts.map +1 -0
  28. package/dist/resources/observability.d.ts +35 -0
  29. package/dist/resources/observability.d.ts.map +1 -0
  30. package/dist/resources/tool.d.ts +24 -0
  31. package/dist/resources/tool.d.ts.map +1 -0
  32. package/dist/resources/vector.d.ts +51 -0
  33. package/dist/resources/vector.d.ts.map +1 -0
  34. package/dist/resources/workflow.d.ts +269 -0
  35. package/dist/resources/workflow.d.ts.map +1 -0
  36. package/dist/tools.d.ts +22 -0
  37. package/dist/tools.d.ts.map +1 -0
  38. package/dist/types.d.ts +460 -0
  39. package/dist/types.d.ts.map +1 -0
  40. package/dist/utils/index.d.ts +11 -0
  41. package/dist/utils/index.d.ts.map +1 -0
  42. package/dist/utils/process-client-tools.d.ts +3 -0
  43. package/dist/utils/process-client-tools.d.ts.map +1 -0
  44. package/dist/utils/process-mastra-stream.d.ts +11 -0
  45. package/dist/utils/process-mastra-stream.d.ts.map +1 -0
  46. package/dist/utils/zod-to-json-schema.d.ts +3 -0
  47. package/dist/utils/zod-to-json-schema.d.ts.map +1 -0
  48. package/package.json +39 -19
  49. package/dist/index.d.cts +0 -691
  50. package/eslint.config.js +0 -6
  51. package/src/client.ts +0 -232
  52. package/src/example.ts +0 -65
  53. package/src/index.test.ts +0 -710
  54. package/src/index.ts +0 -2
  55. package/src/resources/agent.ts +0 -205
  56. package/src/resources/base.ts +0 -70
  57. package/src/resources/index.ts +0 -8
  58. package/src/resources/memory-thread.ts +0 -53
  59. package/src/resources/network.ts +0 -92
  60. package/src/resources/tool.ts +0 -32
  61. package/src/resources/vector.ts +0 -83
  62. package/src/resources/vnext-workflow.ts +0 -225
  63. package/src/resources/workflow.ts +0 -215
  64. package/src/types.ts +0 -237
  65. package/tsconfig.json +0 -5
  66. 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({
@@ -50,38 +50,41 @@ 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
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
61
63
 
62
64
  ### Memory
63
65
 
64
- - `getMemoryThreads(params)`: Get memory threads
66
+ - `listMemoryThreads(params)`: Get memory threads
65
67
  - `createMemoryThread(params)`: Create a new memory thread
66
- - `getMemoryThread(threadId)`: Get a memory thread instance
68
+ - `getMemoryThread({ threadId, agentId })`: Get a memory thread instance
67
69
  - `saveMessageToMemory(params)`: Save messages to memory
68
70
  - `getMemoryStatus()`: Get memory system status
69
71
 
70
72
  ### Tools
71
73
 
72
- - `getTools()`: Get all available tools
74
+ - `listTools()`: Get all available tools
73
75
  - `getTool(toolId)`: Get a tool instance
74
76
  - `tool.details()`: Get tool details
75
77
  - `tool.execute(params)`: Execute the tool
76
78
 
77
79
  ### Workflows
78
80
 
79
- - `getWorkflows()`: Get all workflows
81
+ - `listWorkflows()`: 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
@@ -98,9 +101,9 @@ const client = new MastraClient({
98
101
 
99
102
  ### Logs
100
103
 
101
- - `getLogs(params)`: Get system logs
104
+ - `listLogs(params)`: Get system logs
102
105
  - `getLog(params)`: Get specific log entry
103
- - `getLogTransports()`: Get configured Log transports
106
+ - `listLogTransports()`: Get configured Log transports
104
107
 
105
108
  ### Telemetry
106
109
 
@@ -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,253 @@
1
+ import type { AITraceRecord, AITracesPaginatedArg, WorkflowInfo } from '@mastra/core';
2
+ import type { ServerDetailInfo } from '@mastra/core/mcp';
3
+ import type { RequestContext } from '@mastra/core/request-context';
4
+ import { Agent, MemoryThread, Tool, Workflow, Vector, BaseResource, A2A, MCPTool, AgentBuilder } from './resources/index.js';
5
+ import type { ClientOptions, CreateMemoryThreadParams, CreateMemoryThreadResponse, GetAgentResponse, GetLogParams, GetLogsParams, GetLogsResponse, GetToolResponse, GetWorkflowResponse, SaveMessageToMemoryParams, SaveMessageToMemoryResponse, McpServerListResponse, McpServerToolListResponse, GetScorerResponse, GetScoresByScorerIdParams, GetScoresResponse, GetScoresByRunIdParams, GetScoresByEntityIdParams, GetScoresBySpanParams, SaveScoreParams, SaveScoreResponse, GetAITracesResponse, GetMemoryConfigParams, GetMemoryConfigResponse, GetMemoryThreadMessagesResponse, MemorySearchResponse, ListAgentsModelProvidersResponse, ListMemoryThreadsParams, ListMemoryThreadsResponse } from './types.js';
6
+ export declare class MastraClient extends BaseResource {
7
+ private observability;
8
+ constructor(options: ClientOptions);
9
+ /**
10
+ * Retrieves all available agents
11
+ * @param requestContext - Optional request context to pass as query parameter
12
+ * @returns Promise containing map of agent IDs to agent details
13
+ */
14
+ listAgents(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetAgentResponse>>;
15
+ listAgentsModelProviders(): Promise<ListAgentsModelProvidersResponse>;
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
+ * Lists memory threads for a resource with pagination support
24
+ * @param params - Parameters containing resource ID, pagination options, and optional request context
25
+ * @returns Promise containing paginated array of memory threads with metadata
26
+ */
27
+ listMemoryThreads(params: ListMemoryThreadsParams): Promise<ListMemoryThreadsResponse>;
28
+ /**
29
+ * Retrieves memory config for a resource
30
+ * @param params - Parameters containing the resource ID and optional request context
31
+ * @returns Promise containing memory configuration
32
+ */
33
+ getMemoryConfig(params: GetMemoryConfigParams): Promise<GetMemoryConfigResponse>;
34
+ /**
35
+ * Creates a new memory thread
36
+ * @param params - Parameters for creating the memory thread including optional request context
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, agentId }: {
46
+ threadId: string;
47
+ agentId: string;
48
+ }): MemoryThread;
49
+ getThreadMessages(threadId: string, opts?: {
50
+ agentId?: string;
51
+ networkId?: string;
52
+ requestContext?: RequestContext | Record<string, any>;
53
+ }): Promise<GetMemoryThreadMessagesResponse>;
54
+ deleteThread(threadId: string, opts?: {
55
+ agentId?: string;
56
+ networkId?: string;
57
+ requestContext?: RequestContext | Record<string, any>;
58
+ }): Promise<{
59
+ success: boolean;
60
+ message: string;
61
+ }>;
62
+ /**
63
+ * Saves messages to memory
64
+ * @param params - Parameters containing messages to save and optional request context
65
+ * @returns Promise containing the saved messages
66
+ */
67
+ saveMessageToMemory(params: SaveMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
68
+ /**
69
+ * Gets the status of the memory system
70
+ * @param agentId - The agent ID
71
+ * @param requestContext - Optional request context to pass as query parameter
72
+ * @returns Promise containing memory system status
73
+ */
74
+ getMemoryStatus(agentId: string, requestContext?: RequestContext | Record<string, any>): Promise<{
75
+ result: boolean;
76
+ }>;
77
+ /**
78
+ * Retrieves all available tools
79
+ * @param requestContext - Optional request context to pass as query parameter
80
+ * @returns Promise containing map of tool IDs to tool details
81
+ */
82
+ listTools(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
83
+ /**
84
+ * Gets a tool instance by ID
85
+ * @param toolId - ID of the tool to retrieve
86
+ * @returns Tool instance
87
+ */
88
+ getTool(toolId: string): Tool;
89
+ /**
90
+ * Retrieves all available workflows
91
+ * @param requestContext - Optional request context to pass as query parameter
92
+ * @returns Promise containing map of workflow IDs to workflow details
93
+ */
94
+ listWorkflows(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
95
+ /**
96
+ * Gets a workflow instance by ID
97
+ * @param workflowId - ID of the workflow to retrieve
98
+ * @returns Workflow instance
99
+ */
100
+ getWorkflow(workflowId: string): Workflow;
101
+ /**
102
+ * Gets all available agent builder actions
103
+ * @returns Promise containing map of action IDs to action details
104
+ */
105
+ getAgentBuilderActions(): Promise<Record<string, WorkflowInfo>>;
106
+ /**
107
+ * Gets an agent builder instance for executing agent-builder workflows
108
+ * @returns AgentBuilder instance
109
+ */
110
+ getAgentBuilderAction(actionId: string): AgentBuilder;
111
+ /**
112
+ * Gets a vector instance by name
113
+ * @param vectorName - Name of the vector to retrieve
114
+ * @returns Vector instance
115
+ */
116
+ getVector(vectorName: string): Vector;
117
+ /**
118
+ * Retrieves logs
119
+ * @param params - Parameters for filtering logs
120
+ * @returns Promise containing array of log messages
121
+ */
122
+ listLogs(params: GetLogsParams): Promise<GetLogsResponse>;
123
+ /**
124
+ * Gets logs for a specific run
125
+ * @param params - Parameters containing run ID to retrieve
126
+ * @returns Promise containing array of log messages
127
+ */
128
+ getLogForRun(params: GetLogParams): Promise<GetLogsResponse>;
129
+ /**
130
+ * List of all log transports
131
+ * @returns Promise containing list of log transports
132
+ */
133
+ listLogTransports(): Promise<{
134
+ transports: string[];
135
+ }>;
136
+ /**
137
+ * Retrieves a list of available MCP servers.
138
+ * @param params - Optional parameters for pagination (limit, offset).
139
+ * @returns Promise containing the list of MCP servers and pagination info.
140
+ */
141
+ getMcpServers(params?: {
142
+ limit?: number;
143
+ offset?: number;
144
+ }): Promise<McpServerListResponse>;
145
+ /**
146
+ * Retrieves detailed information for a specific MCP server.
147
+ * @param serverId - The ID of the MCP server to retrieve.
148
+ * @param params - Optional parameters, e.g., specific version.
149
+ * @returns Promise containing the detailed MCP server information.
150
+ */
151
+ getMcpServerDetails(serverId: string, params?: {
152
+ version?: string;
153
+ }): Promise<ServerDetailInfo>;
154
+ /**
155
+ * Retrieves a list of tools for a specific MCP server.
156
+ * @param serverId - The ID of the MCP server.
157
+ * @returns Promise containing the list of tools.
158
+ */
159
+ getMcpServerTools(serverId: string): Promise<McpServerToolListResponse>;
160
+ /**
161
+ * Gets an MCPTool resource instance for a specific tool on an MCP server.
162
+ * This instance can then be used to fetch details or execute the tool.
163
+ * @param serverId - The ID of the MCP server.
164
+ * @param toolId - The ID of the tool.
165
+ * @returns MCPTool instance.
166
+ */
167
+ getMcpServerTool(serverId: string, toolId: string): MCPTool;
168
+ /**
169
+ * Gets an A2A client for interacting with an agent via the A2A protocol
170
+ * @param agentId - ID of the agent to interact with
171
+ * @returns A2A client instance
172
+ */
173
+ getA2A(agentId: string): A2A;
174
+ /**
175
+ * Retrieves the working memory for a specific thread (optionally resource-scoped).
176
+ * @param agentId - ID of the agent.
177
+ * @param threadId - ID of the thread.
178
+ * @param resourceId - Optional ID of the resource.
179
+ * @returns Working memory for the specified thread or resource.
180
+ */
181
+ getWorkingMemory({ agentId, threadId, resourceId, requestContext, }: {
182
+ agentId: string;
183
+ threadId: string;
184
+ resourceId?: string;
185
+ requestContext?: RequestContext | Record<string, any>;
186
+ }): Promise<unknown>;
187
+ searchMemory({ agentId, resourceId, threadId, searchQuery, memoryConfig, requestContext, }: {
188
+ agentId: string;
189
+ resourceId: string;
190
+ threadId?: string;
191
+ searchQuery: string;
192
+ memoryConfig?: any;
193
+ requestContext?: RequestContext | Record<string, any>;
194
+ }): Promise<MemorySearchResponse>;
195
+ /**
196
+ * Updates the working memory for a specific thread (optionally resource-scoped).
197
+ * @param agentId - ID of the agent.
198
+ * @param threadId - ID of the thread.
199
+ * @param workingMemory - The new working memory content.
200
+ * @param resourceId - Optional ID of the resource.
201
+ */
202
+ updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, requestContext, }: {
203
+ agentId: string;
204
+ threadId: string;
205
+ workingMemory: string;
206
+ resourceId?: string;
207
+ requestContext?: RequestContext | Record<string, any>;
208
+ }): Promise<unknown>;
209
+ /**
210
+ * Retrieves all available scorers
211
+ * @returns Promise containing list of available scorers
212
+ */
213
+ listScorers(): Promise<Record<string, GetScorerResponse>>;
214
+ /**
215
+ * Retrieves a scorer by ID
216
+ * @param scorerId - ID of the scorer to retrieve
217
+ * @returns Promise containing the scorer
218
+ */
219
+ getScorer(scorerId: string): Promise<GetScorerResponse>;
220
+ getScoresByScorerId(params: GetScoresByScorerIdParams): Promise<GetScoresResponse>;
221
+ /**
222
+ * Retrieves scores by run ID
223
+ * @param params - Parameters containing run ID and pagination options
224
+ * @returns Promise containing scores and pagination info
225
+ */
226
+ getScoresByRunId(params: GetScoresByRunIdParams): Promise<GetScoresResponse>;
227
+ /**
228
+ * Retrieves scores by entity ID and type
229
+ * @param params - Parameters containing entity ID, type, and pagination options
230
+ * @returns Promise containing scores and pagination info
231
+ */
232
+ getScoresByEntityId(params: GetScoresByEntityIdParams): Promise<GetScoresResponse>;
233
+ /**
234
+ * Saves a score
235
+ * @param params - Parameters containing the score data to save
236
+ * @returns Promise containing the saved score
237
+ */
238
+ saveScore(params: SaveScoreParams): Promise<SaveScoreResponse>;
239
+ getAITrace(traceId: string): Promise<AITraceRecord>;
240
+ getAITraces(params: AITracesPaginatedArg): Promise<GetAITracesResponse>;
241
+ getScoresBySpan(params: GetScoresBySpanParams): Promise<GetScoresResponse>;
242
+ score(params: {
243
+ scorerName: string;
244
+ targets: Array<{
245
+ traceId: string;
246
+ spanId?: string;
247
+ }>;
248
+ }): Promise<{
249
+ status: string;
250
+ message: string;
251
+ }>;
252
+ }
253
+ //# 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,KAAK,EACV,aAAa,EACb,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,yBAAyB,EACzB,2B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