@mastra/client-js 0.0.0-vnext-inngest-20250508122351 → 0.0.0-vnext-20251104230439

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 +2389 -2
  2. package/LICENSE.md +11 -42
  3. package/README.md +12 -15
  4. package/dist/client.d.ts +254 -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 +2594 -548
  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 +2593 -553
  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 +186 -0
  17. package/dist/resources/agent-builder.d.ts.map +1 -0
  18. package/dist/resources/agent.d.ts +181 -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 +216 -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 +457 -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 +38 -20
  49. package/dist/index.d.cts +0 -730
  50. package/eslint.config.js +0 -6
  51. package/src/adapters/agui.test.ts +0 -167
  52. package/src/adapters/agui.ts +0 -219
  53. package/src/client.ts +0 -259
  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 -206
  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 -38
  63. package/src/resources/vector.ts +0 -83
  64. package/src/resources/vnext-workflow.ts +0 -257
  65. package/src/resources/workflow.ts +0 -251
  66. package/src/types.ts +0 -262
  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({
@@ -50,39 +50,40 @@ 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
84
  - `workflow.createRun()`: Create workflow run
83
85
  - `workflow.startAsync(params)`: Execute the workflow and wait for execution results
84
- - `workflow.resumeAsync(parmas)`: Resume suspended workflow step async
85
- - `workflow.watch({runId},(record)=>{})`: Watch the step transitions of the workflow run
86
+ - `workflow.resumeAsync(params)`: Resume suspended workflow step async
86
87
  - `workflow.start({runId, triggerData})`: Start a workflow run sync
87
88
  - `workflow.resume(params)`: Resume the workflow run sync
88
89
 
@@ -98,9 +99,9 @@ const client = new MastraClient({
98
99
 
99
100
  ### Logs
100
101
 
101
- - `getLogs(params)`: Get system logs
102
+ - `listLogs(params)`: Get system logs
102
103
  - `getLog(params)`: Get specific log entry
103
- - `getLogTransports()`: Get configured Log transports
104
+ - `listLogTransports()`: Get configured Log transports
104
105
 
105
106
  ### Telemetry
106
107
 
@@ -122,7 +123,3 @@ The client uses the native `fetch` API internally for making HTTP requests. All
122
123
  - Retry logic with exponential backoff
123
124
  - Custom header management
124
125
  - Error handling
125
-
126
- ## License
127
-
128
- MIT
@@ -0,0 +1,254 @@
1
+ import type { ServerDetailInfo } from '@mastra/core/mcp';
2
+ import type { RequestContext } from '@mastra/core/request-context';
3
+ import type { AITraceRecord, AITracesPaginatedArg } from '@mastra/core/storage';
4
+ import type { WorkflowInfo } from '@mastra/core/workflows';
5
+ import { Agent, MemoryThread, Tool, Workflow, Vector, BaseResource, A2A, MCPTool, AgentBuilder } from './resources/index.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, GetAITracesResponse, GetMemoryConfigParams, GetMemoryConfigResponse, GetMemoryThreadMessagesResponse, MemorySearchResponse, ListAgentsModelProvidersResponse, ListMemoryThreadsParams, ListMemoryThreadsResponse } 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 requestContext - Optional request context to pass as query parameter
13
+ * @returns Promise containing map of agent IDs to agent details
14
+ */
15
+ listAgents(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetAgentResponse>>;
16
+ listAgentsModelProviders(): Promise<ListAgentsModelProvidersResponse>;
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
+ * 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
27
+ */
28
+ listMemoryThreads(params: ListMemoryThreadsParams): Promise<ListMemoryThreadsResponse>;
29
+ /**
30
+ * Retrieves memory config for a resource
31
+ * @param params - Parameters containing the resource ID and optional request context
32
+ * @returns Promise containing memory configuration
33
+ */
34
+ getMemoryConfig(params: GetMemoryConfigParams): Promise<GetMemoryConfigResponse>;
35
+ /**
36
+ * Creates a new memory thread
37
+ * @param params - Parameters for creating the memory thread including optional request context
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, agentId }: {
47
+ threadId: string;
48
+ agentId: string;
49
+ }): MemoryThread;
50
+ getThreadMessages(threadId: string, opts?: {
51
+ agentId?: string;
52
+ networkId?: string;
53
+ requestContext?: RequestContext | Record<string, any>;
54
+ }): Promise<GetMemoryThreadMessagesResponse>;
55
+ deleteThread(threadId: string, opts?: {
56
+ agentId?: string;
57
+ networkId?: string;
58
+ requestContext?: RequestContext | Record<string, any>;
59
+ }): Promise<{
60
+ success: boolean;
61
+ message: string;
62
+ }>;
63
+ /**
64
+ * Saves messages to memory
65
+ * @param params - Parameters containing messages to save and optional request context
66
+ * @returns Promise containing the saved messages
67
+ */
68
+ saveMessageToMemory(params: SaveMessageToMemoryParams): Promise<SaveMessageToMemoryResponse>;
69
+ /**
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
73
+ * @returns Promise containing memory system status
74
+ */
75
+ getMemoryStatus(agentId: string, requestContext?: RequestContext | Record<string, any>): Promise<{
76
+ result: boolean;
77
+ }>;
78
+ /**
79
+ * Retrieves all available tools
80
+ * @param requestContext - Optional request context to pass as query parameter
81
+ * @returns Promise containing map of tool IDs to tool details
82
+ */
83
+ listTools(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetToolResponse>>;
84
+ /**
85
+ * Gets a tool instance by ID
86
+ * @param toolId - ID of the tool to retrieve
87
+ * @returns Tool instance
88
+ */
89
+ getTool(toolId: string): Tool;
90
+ /**
91
+ * Retrieves all available workflows
92
+ * @param requestContext - Optional request context to pass as query parameter
93
+ * @returns Promise containing map of workflow IDs to workflow details
94
+ */
95
+ listWorkflows(requestContext?: RequestContext | Record<string, any>): Promise<Record<string, GetWorkflowResponse>>;
96
+ /**
97
+ * Gets a workflow instance by ID
98
+ * @param workflowId - ID of the workflow to retrieve
99
+ * @returns Workflow instance
100
+ */
101
+ getWorkflow(workflowId: string): Workflow;
102
+ /**
103
+ * Gets all available agent builder actions
104
+ * @returns Promise containing map of action IDs to action details
105
+ */
106
+ getAgentBuilderActions(): Promise<Record<string, WorkflowInfo>>;
107
+ /**
108
+ * Gets an agent builder instance for executing agent-builder workflows
109
+ * @returns AgentBuilder instance
110
+ */
111
+ getAgentBuilderAction(actionId: string): AgentBuilder;
112
+ /**
113
+ * Gets a vector instance by name
114
+ * @param vectorName - Name of the vector to retrieve
115
+ * @returns Vector instance
116
+ */
117
+ getVector(vectorName: string): Vector;
118
+ /**
119
+ * Retrieves logs
120
+ * @param params - Parameters for filtering logs
121
+ * @returns Promise containing array of log messages
122
+ */
123
+ listLogs(params: GetLogsParams): Promise<GetLogsResponse>;
124
+ /**
125
+ * Gets logs for a specific run
126
+ * @param params - Parameters containing run ID to retrieve
127
+ * @returns Promise containing array of log messages
128
+ */
129
+ getLogForRun(params: GetLogParams): Promise<GetLogsResponse>;
130
+ /**
131
+ * List of all log transports
132
+ * @returns Promise containing list of log transports
133
+ */
134
+ listLogTransports(): Promise<{
135
+ transports: string[];
136
+ }>;
137
+ /**
138
+ * Retrieves a list of available MCP servers.
139
+ * @param params - Optional parameters for pagination (perPage, page).
140
+ * @returns Promise containing the list of MCP servers and pagination info.
141
+ */
142
+ getMcpServers(params?: {
143
+ perPage?: number;
144
+ page?: number;
145
+ }): Promise<McpServerListResponse>;
146
+ /**
147
+ * Retrieves detailed information for a specific MCP server.
148
+ * @param serverId - The ID of the MCP server to retrieve.
149
+ * @param params - Optional parameters, e.g., specific version.
150
+ * @returns Promise containing the detailed MCP server information.
151
+ */
152
+ getMcpServerDetails(serverId: string, params?: {
153
+ version?: string;
154
+ }): Promise<ServerDetailInfo>;
155
+ /**
156
+ * Retrieves a list of tools for a specific MCP server.
157
+ * @param serverId - The ID of the MCP server.
158
+ * @returns Promise containing the list of tools.
159
+ */
160
+ getMcpServerTools(serverId: string): Promise<McpServerToolListResponse>;
161
+ /**
162
+ * Gets an MCPTool resource instance for a specific tool on an MCP server.
163
+ * This instance can then be used to fetch details or execute the tool.
164
+ * @param serverId - The ID of the MCP server.
165
+ * @param toolId - The ID of the tool.
166
+ * @returns MCPTool instance.
167
+ */
168
+ getMcpServerTool(serverId: string, toolId: string): MCPTool;
169
+ /**
170
+ * Gets an A2A client for interacting with an agent via the A2A protocol
171
+ * @param agentId - ID of the agent to interact with
172
+ * @returns A2A client instance
173
+ */
174
+ getA2A(agentId: string): A2A;
175
+ /**
176
+ * Retrieves the working memory for a specific thread (optionally resource-scoped).
177
+ * @param agentId - ID of the agent.
178
+ * @param threadId - ID of the thread.
179
+ * @param resourceId - Optional ID of the resource.
180
+ * @returns Working memory for the specified thread or resource.
181
+ */
182
+ getWorkingMemory({ agentId, threadId, resourceId, requestContext, }: {
183
+ agentId: string;
184
+ threadId: string;
185
+ resourceId?: string;
186
+ requestContext?: RequestContext | Record<string, any>;
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>;
196
+ /**
197
+ * Updates the working memory for a specific thread (optionally resource-scoped).
198
+ * @param agentId - ID of the agent.
199
+ * @param threadId - ID of the thread.
200
+ * @param workingMemory - The new working memory content.
201
+ * @param resourceId - Optional ID of the resource.
202
+ */
203
+ updateWorkingMemory({ agentId, threadId, workingMemory, resourceId, requestContext, }: {
204
+ agentId: string;
205
+ threadId: string;
206
+ workingMemory: string;
207
+ resourceId?: string;
208
+ requestContext?: RequestContext | Record<string, any>;
209
+ }): Promise<unknown>;
210
+ /**
211
+ * Retrieves all available scorers
212
+ * @returns Promise containing list of available scorers
213
+ */
214
+ listScorers(): Promise<Record<string, GetScorerResponse>>;
215
+ /**
216
+ * Retrieves a scorer by ID
217
+ * @param scorerId - ID of the scorer to retrieve
218
+ * @returns Promise containing the scorer
219
+ */
220
+ getScorer(scorerId: string): Promise<GetScorerResponse>;
221
+ listScoresByScorerId(params: ListScoresByScorerIdParams): Promise<ListScoresResponse>;
222
+ /**
223
+ * Retrieves scores by run ID
224
+ * @param params - Parameters containing run ID and pagination options
225
+ * @returns Promise containing scores and pagination info
226
+ */
227
+ listScoresByRunId(params: ListScoresByRunIdParams): Promise<ListScoresResponse>;
228
+ /**
229
+ * Retrieves scores by entity ID and type
230
+ * @param params - Parameters containing entity ID, type, and pagination options
231
+ * @returns Promise containing scores and pagination info
232
+ */
233
+ listScoresByEntityId(params: ListScoresByEntityIdParams): Promise<ListScoresResponse>;
234
+ /**
235
+ * Saves a score
236
+ * @param params - Parameters containing the score data to save
237
+ * @returns Promise containing the saved score
238
+ */
239
+ saveScore(params: SaveScoreParams): Promise<SaveScoreResponse>;
240
+ getAITrace(traceId: string): Promise<AITraceRecord>;
241
+ getAITraces(params: AITracesPaginatedArg): Promise<GetAITracesResponse>;
242
+ listScoresBySpan(params: ListScoresBySpanParams): Promise<ListScoresResponse>;
243
+ score(params: {
244
+ scorerName: string;
245
+ targets: Array<{
246
+ traceId: string;
247
+ spanId?: string;
248
+ }>;
249
+ }): Promise<{
250
+ status: string;
251
+ message: string;
252
+ }>;
253
+ }
254
+ //# 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,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,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,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