@mastra/mssql 1.0.0-beta.7 → 1.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +258 -0
- package/dist/index.cjs +2448 -2120
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2445 -2121
- package/dist/index.js.map +1 -1
- package/dist/storage/{domains/operations → db}/index.d.ts +73 -15
- package/dist/storage/db/index.d.ts.map +1 -0
- package/dist/storage/db/utils.d.ts +21 -0
- package/dist/storage/db/utils.d.ts.map +1 -0
- package/dist/storage/domains/memory/index.d.ts +25 -10
- package/dist/storage/domains/memory/index.d.ts.map +1 -1
- package/dist/storage/domains/observability/index.d.ts +32 -30
- package/dist/storage/domains/observability/index.d.ts.map +1 -1
- package/dist/storage/domains/scores/index.d.ts +29 -25
- package/dist/storage/domains/scores/index.d.ts.map +1 -1
- package/dist/storage/domains/utils.d.ts +2 -2
- package/dist/storage/domains/utils.d.ts.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +26 -9
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +94 -202
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/storage/domains/operations/index.d.ts.map +0 -1
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import type { MastraMessageContentV2, MastraDBMessage } from '@mastra/core/agent';
|
|
2
|
-
import type { SaveScorePayload, ScoreRowData, ScoringSource } from '@mastra/core/evals';
|
|
3
|
-
import type { StorageThreadType } from '@mastra/core/memory';
|
|
4
1
|
import { MastraStorage } from '@mastra/core/storage';
|
|
5
|
-
|
|
6
|
-
content: MastraMessageContentV2;
|
|
7
|
-
};
|
|
8
|
-
import type { PaginationInfo, StorageColumn, StorageResourceType, TABLE_NAMES, WorkflowRun, WorkflowRuns, StoragePagination, StorageDomains, SpanRecord, TraceRecord, TracesPaginatedArg, UpdateSpanRecord, CreateIndexOptions, IndexInfo, StorageIndexStats, StorageListWorkflowRunsInput, UpdateWorkflowStateOptions } from '@mastra/core/storage';
|
|
9
|
-
import type { StepResult, WorkflowRunState } from '@mastra/core/workflows';
|
|
2
|
+
import type { StorageDomains, CreateIndexOptions } from '@mastra/core/storage';
|
|
10
3
|
import sql from 'mssql';
|
|
4
|
+
import { MemoryMSSQL } from './domains/memory/index.js';
|
|
5
|
+
import { ObservabilityMSSQL } from './domains/observability/index.js';
|
|
6
|
+
import { ScoresMSSQL } from './domains/scores/index.js';
|
|
7
|
+
import { WorkflowsMSSQL } from './domains/workflows/index.js';
|
|
8
|
+
export { MemoryMSSQL, ObservabilityMSSQL, ScoresMSSQL, WorkflowsMSSQL };
|
|
9
|
+
export type { MssqlDomainConfig } from './db/index.js';
|
|
10
|
+
/**
|
|
11
|
+
* MSSQL configuration type.
|
|
12
|
+
*
|
|
13
|
+
* Accepts either:
|
|
14
|
+
* - A pre-configured connection pool: `{ id, pool, schemaName? }`
|
|
15
|
+
* - Connection string: `{ id, connectionString, ... }`
|
|
16
|
+
* - Server/port config: `{ id, server, port, database, user, password, ... }`
|
|
17
|
+
*/
|
|
11
18
|
export type MSSQLConfigType = {
|
|
12
19
|
id: string;
|
|
13
20
|
schemaName?: string;
|
|
@@ -31,7 +38,61 @@ export type MSSQLConfigType = {
|
|
|
31
38
|
* // No auto-init, tables must already exist
|
|
32
39
|
*/
|
|
33
40
|
disableInit?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* When true, default indexes will not be created during initialization.
|
|
43
|
+
* This is useful when:
|
|
44
|
+
* 1. You want to manage indexes separately or use custom indexes only
|
|
45
|
+
* 2. Default indexes don't match your query patterns
|
|
46
|
+
* 3. You want to reduce initialization time in development
|
|
47
|
+
*
|
|
48
|
+
* @default false
|
|
49
|
+
*/
|
|
50
|
+
skipDefaultIndexes?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Custom indexes to create during initialization.
|
|
53
|
+
* These indexes are created in addition to default indexes (unless skipDefaultIndexes is true).
|
|
54
|
+
*
|
|
55
|
+
* Each index must specify which table it belongs to. The store will route each index
|
|
56
|
+
* to the appropriate domain based on the table name.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```typescript
|
|
60
|
+
* const store = new MSSQLStore({
|
|
61
|
+
* connectionString: '...',
|
|
62
|
+
* indexes: [
|
|
63
|
+
* { name: 'my_threads_type_idx', table: 'mastra_threads', columns: ['JSON_VALUE(metadata, \'$.type\')'] },
|
|
64
|
+
* ],
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
indexes?: CreateIndexOptions[];
|
|
34
69
|
} & ({
|
|
70
|
+
/**
|
|
71
|
+
* Pre-configured mssql ConnectionPool.
|
|
72
|
+
* Use this when you need to configure the pool before initialization,
|
|
73
|
+
* e.g., to add pool listeners or set connection-level settings.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```typescript
|
|
77
|
+
* import sql from 'mssql';
|
|
78
|
+
*
|
|
79
|
+
* const pool = new sql.ConnectionPool({
|
|
80
|
+
* server: 'localhost',
|
|
81
|
+
* database: 'mydb',
|
|
82
|
+
* user: 'user',
|
|
83
|
+
* password: 'password',
|
|
84
|
+
* });
|
|
85
|
+
*
|
|
86
|
+
* // Custom setup before using
|
|
87
|
+
* pool.on('connect', () => {
|
|
88
|
+
* console.log('Pool connected');
|
|
89
|
+
* });
|
|
90
|
+
*
|
|
91
|
+
* const store = new MSSQLStore({ id: 'my-store', pool });
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
pool: sql.ConnectionPool;
|
|
95
|
+
} | {
|
|
35
96
|
server: string;
|
|
36
97
|
port: number;
|
|
37
98
|
database: string;
|
|
@@ -42,6 +103,28 @@ export type MSSQLConfigType = {
|
|
|
42
103
|
connectionString: string;
|
|
43
104
|
});
|
|
44
105
|
export type MSSQLConfig = MSSQLConfigType;
|
|
106
|
+
/**
|
|
107
|
+
* MSSQL storage adapter for Mastra.
|
|
108
|
+
*
|
|
109
|
+
* Access domain-specific storage via `getStore()`:
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```typescript
|
|
113
|
+
* const storage = new MSSQLStore({ id: 'my-store', connectionString: '...' });
|
|
114
|
+
*
|
|
115
|
+
* // Access memory domain
|
|
116
|
+
* const memory = await storage.getStore('memory');
|
|
117
|
+
* await memory?.saveThread({ thread });
|
|
118
|
+
*
|
|
119
|
+
* // Access workflows domain
|
|
120
|
+
* const workflows = await storage.getStore('workflows');
|
|
121
|
+
* await workflows?.persistWorkflowSnapshot({ workflowName, runId, snapshot });
|
|
122
|
+
*
|
|
123
|
+
* // Access observability domain
|
|
124
|
+
* const observability = await storage.getStore('observability');
|
|
125
|
+
* await observability?.createSpan(span);
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
45
128
|
export declare class MSSQLStore extends MastraStorage {
|
|
46
129
|
pool: sql.ConnectionPool;
|
|
47
130
|
private schema?;
|
|
@@ -50,202 +133,11 @@ export declare class MSSQLStore extends MastraStorage {
|
|
|
50
133
|
constructor(config: MSSQLConfigType);
|
|
51
134
|
init(): Promise<void>;
|
|
52
135
|
private _performInitializationAndStore;
|
|
53
|
-
get supports(): {
|
|
54
|
-
selectByIncludeResourceScope: boolean;
|
|
55
|
-
resourceWorkingMemory: boolean;
|
|
56
|
-
hasColumn: boolean;
|
|
57
|
-
createTable: boolean;
|
|
58
|
-
deleteMessages: boolean;
|
|
59
|
-
listScoresBySpan: boolean;
|
|
60
|
-
observabilityInstance: boolean;
|
|
61
|
-
indexManagement: boolean;
|
|
62
|
-
};
|
|
63
|
-
createTable({ tableName, schema, }: {
|
|
64
|
-
tableName: TABLE_NAMES;
|
|
65
|
-
schema: Record<string, StorageColumn>;
|
|
66
|
-
}): Promise<void>;
|
|
67
|
-
alterTable({ tableName, schema, ifNotExists, }: {
|
|
68
|
-
tableName: TABLE_NAMES;
|
|
69
|
-
schema: Record<string, StorageColumn>;
|
|
70
|
-
ifNotExists: string[];
|
|
71
|
-
}): Promise<void>;
|
|
72
|
-
clearTable({ tableName }: {
|
|
73
|
-
tableName: TABLE_NAMES;
|
|
74
|
-
}): Promise<void>;
|
|
75
|
-
dropTable({ tableName }: {
|
|
76
|
-
tableName: TABLE_NAMES;
|
|
77
|
-
}): Promise<void>;
|
|
78
|
-
insert({ tableName, record }: {
|
|
79
|
-
tableName: TABLE_NAMES;
|
|
80
|
-
record: Record<string, any>;
|
|
81
|
-
}): Promise<void>;
|
|
82
|
-
batchInsert({ tableName, records }: {
|
|
83
|
-
tableName: TABLE_NAMES;
|
|
84
|
-
records: Record<string, any>[];
|
|
85
|
-
}): Promise<void>;
|
|
86
|
-
load<R>({ tableName, keys }: {
|
|
87
|
-
tableName: TABLE_NAMES;
|
|
88
|
-
keys: Record<string, string>;
|
|
89
|
-
}): Promise<R | null>;
|
|
90
136
|
/**
|
|
91
|
-
*
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
threadId: string;
|
|
95
|
-
}): Promise<StorageThreadType | null>;
|
|
96
|
-
saveThread({ thread }: {
|
|
97
|
-
thread: StorageThreadType;
|
|
98
|
-
}): Promise<StorageThreadType>;
|
|
99
|
-
updateThread({ id, title, metadata, }: {
|
|
100
|
-
id: string;
|
|
101
|
-
title: string;
|
|
102
|
-
metadata: Record<string, unknown>;
|
|
103
|
-
}): Promise<StorageThreadType>;
|
|
104
|
-
deleteThread({ threadId }: {
|
|
105
|
-
threadId: string;
|
|
106
|
-
}): Promise<void>;
|
|
107
|
-
listMessagesById({ messageIds }: {
|
|
108
|
-
messageIds: string[];
|
|
109
|
-
}): Promise<{
|
|
110
|
-
messages: MastraDBMessage[];
|
|
111
|
-
}>;
|
|
112
|
-
saveMessages(args: {
|
|
113
|
-
messages: MastraDBMessage[];
|
|
114
|
-
}): Promise<{
|
|
115
|
-
messages: MastraDBMessage[];
|
|
116
|
-
}>;
|
|
117
|
-
updateMessages({ messages, }: {
|
|
118
|
-
messages: (Partial<Omit<MastraDBMessage, 'createdAt'>> & {
|
|
119
|
-
id: string;
|
|
120
|
-
content?: {
|
|
121
|
-
metadata?: MastraMessageContentV2['metadata'];
|
|
122
|
-
content?: MastraMessageContentV2['content'];
|
|
123
|
-
};
|
|
124
|
-
})[];
|
|
125
|
-
}): Promise<MastraDBMessage[]>;
|
|
126
|
-
deleteMessages(messageIds: string[]): Promise<void>;
|
|
127
|
-
getResourceById({ resourceId }: {
|
|
128
|
-
resourceId: string;
|
|
129
|
-
}): Promise<StorageResourceType | null>;
|
|
130
|
-
saveResource({ resource }: {
|
|
131
|
-
resource: StorageResourceType;
|
|
132
|
-
}): Promise<StorageResourceType>;
|
|
133
|
-
updateResource({ resourceId, workingMemory, metadata, }: {
|
|
134
|
-
resourceId: string;
|
|
135
|
-
workingMemory?: string;
|
|
136
|
-
metadata?: Record<string, unknown>;
|
|
137
|
-
}): Promise<StorageResourceType>;
|
|
138
|
-
/**
|
|
139
|
-
* Workflows
|
|
137
|
+
* Closes the MSSQL connection pool.
|
|
138
|
+
*
|
|
139
|
+
* This will close the connection pool, including pre-configured pools.
|
|
140
140
|
*/
|
|
141
|
-
updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, }: {
|
|
142
|
-
workflowName: string;
|
|
143
|
-
runId: string;
|
|
144
|
-
stepId: string;
|
|
145
|
-
result: StepResult<any, any, any, any>;
|
|
146
|
-
requestContext: Record<string, any>;
|
|
147
|
-
}): Promise<Record<string, StepResult<any, any, any, any>>>;
|
|
148
|
-
updateWorkflowState({ workflowName, runId, opts, }: {
|
|
149
|
-
workflowName: string;
|
|
150
|
-
runId: string;
|
|
151
|
-
opts: UpdateWorkflowStateOptions;
|
|
152
|
-
}): Promise<WorkflowRunState | undefined>;
|
|
153
|
-
persistWorkflowSnapshot({ workflowName, runId, resourceId, snapshot, }: {
|
|
154
|
-
workflowName: string;
|
|
155
|
-
runId: string;
|
|
156
|
-
resourceId?: string;
|
|
157
|
-
snapshot: WorkflowRunState;
|
|
158
|
-
}): Promise<void>;
|
|
159
|
-
loadWorkflowSnapshot({ workflowName, runId, }: {
|
|
160
|
-
workflowName: string;
|
|
161
|
-
runId: string;
|
|
162
|
-
}): Promise<WorkflowRunState | null>;
|
|
163
|
-
listWorkflowRuns(args?: StorageListWorkflowRunsInput): Promise<WorkflowRuns>;
|
|
164
|
-
getWorkflowRunById({ runId, workflowName, }: {
|
|
165
|
-
runId: string;
|
|
166
|
-
workflowName?: string;
|
|
167
|
-
}): Promise<WorkflowRun | null>;
|
|
168
|
-
deleteWorkflowRunById({ runId, workflowName }: {
|
|
169
|
-
runId: string;
|
|
170
|
-
workflowName: string;
|
|
171
|
-
}): Promise<void>;
|
|
172
141
|
close(): Promise<void>;
|
|
173
|
-
/**
|
|
174
|
-
* Index Management
|
|
175
|
-
*/
|
|
176
|
-
createIndex(options: CreateIndexOptions): Promise<void>;
|
|
177
|
-
listIndexes(tableName?: string): Promise<IndexInfo[]>;
|
|
178
|
-
describeIndex(indexName: string): Promise<StorageIndexStats>;
|
|
179
|
-
dropIndex(indexName: string): Promise<void>;
|
|
180
|
-
/**
|
|
181
|
-
* Tracing / Observability
|
|
182
|
-
*/
|
|
183
|
-
private getObservabilityStore;
|
|
184
|
-
createSpan(span: SpanRecord): Promise<void>;
|
|
185
|
-
updateSpan({ spanId, traceId, updates, }: {
|
|
186
|
-
spanId: string;
|
|
187
|
-
traceId: string;
|
|
188
|
-
updates: Partial<UpdateSpanRecord>;
|
|
189
|
-
}): Promise<void>;
|
|
190
|
-
getTrace(traceId: string): Promise<TraceRecord | null>;
|
|
191
|
-
getTracesPaginated(args: TracesPaginatedArg): Promise<{
|
|
192
|
-
pagination: PaginationInfo;
|
|
193
|
-
spans: SpanRecord[];
|
|
194
|
-
}>;
|
|
195
|
-
batchCreateSpans(args: {
|
|
196
|
-
records: SpanRecord[];
|
|
197
|
-
}): Promise<void>;
|
|
198
|
-
batchUpdateSpans(args: {
|
|
199
|
-
records: {
|
|
200
|
-
traceId: string;
|
|
201
|
-
spanId: string;
|
|
202
|
-
updates: Partial<UpdateSpanRecord>;
|
|
203
|
-
}[];
|
|
204
|
-
}): Promise<void>;
|
|
205
|
-
batchDeleteTraces(args: {
|
|
206
|
-
traceIds: string[];
|
|
207
|
-
}): Promise<void>;
|
|
208
|
-
/**
|
|
209
|
-
* Scorers
|
|
210
|
-
*/
|
|
211
|
-
getScoreById({ id: _id }: {
|
|
212
|
-
id: string;
|
|
213
|
-
}): Promise<ScoreRowData | null>;
|
|
214
|
-
listScoresByScorerId({ scorerId: _scorerId, pagination: _pagination, entityId: _entityId, entityType: _entityType, source: _source, }: {
|
|
215
|
-
scorerId: string;
|
|
216
|
-
pagination: StoragePagination;
|
|
217
|
-
entityId?: string;
|
|
218
|
-
entityType?: string;
|
|
219
|
-
source?: ScoringSource;
|
|
220
|
-
}): Promise<{
|
|
221
|
-
pagination: PaginationInfo;
|
|
222
|
-
scores: ScoreRowData[];
|
|
223
|
-
}>;
|
|
224
|
-
saveScore(score: SaveScorePayload): Promise<{
|
|
225
|
-
score: ScoreRowData;
|
|
226
|
-
}>;
|
|
227
|
-
listScoresByRunId({ runId: _runId, pagination: _pagination, }: {
|
|
228
|
-
runId: string;
|
|
229
|
-
pagination: StoragePagination;
|
|
230
|
-
}): Promise<{
|
|
231
|
-
pagination: PaginationInfo;
|
|
232
|
-
scores: ScoreRowData[];
|
|
233
|
-
}>;
|
|
234
|
-
listScoresByEntityId({ entityId: _entityId, entityType: _entityType, pagination: _pagination, }: {
|
|
235
|
-
pagination: StoragePagination;
|
|
236
|
-
entityId: string;
|
|
237
|
-
entityType: string;
|
|
238
|
-
}): Promise<{
|
|
239
|
-
pagination: PaginationInfo;
|
|
240
|
-
scores: ScoreRowData[];
|
|
241
|
-
}>;
|
|
242
|
-
listScoresBySpan({ traceId, spanId, pagination: _pagination, }: {
|
|
243
|
-
traceId: string;
|
|
244
|
-
spanId: string;
|
|
245
|
-
pagination: StoragePagination;
|
|
246
|
-
}): Promise<{
|
|
247
|
-
pagination: PaginationInfo;
|
|
248
|
-
scores: ScoreRowData[];
|
|
249
|
-
}>;
|
|
250
142
|
}
|
|
251
143
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storage/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storage/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/E,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;AACxE,YAAY,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AAE9C;;;;;;;GAOG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;;;;;;;;;;;;;OAkBG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;;;;OAQG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;;;;;;;;;;;;;OAgBG;IACH,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC,GAAG,CACA;IACE;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,IAAI,EAAE,GAAG,CAAC,cAAc,CAAC;CAC1B,GACD;IACE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,GAAG,CAAC,QAAQ,CAAC;CACxB,GACD;IACE,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CACJ,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC;AAS1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,UAAW,SAAQ,aAAa;IACpC,IAAI,EAAE,GAAG,CAAC,cAAc,CAAC;IAChC,OAAO,CAAC,MAAM,CAAC,CAAS;IACxB,OAAO,CAAC,WAAW,CAAiC;IACpD,MAAM,EAAE,cAAc,CAAC;gBAEX,MAAM,EAAE,eAAe;IAmE7B,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;YAqBb,8BAA8B;IAS5C;;;;OAIG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAG7B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/mssql",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.9",
|
|
4
4
|
"description": "MSSQL provider for Mastra - db storage capabilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"vitest": "4.0.12",
|
|
34
34
|
"@internal/lint": "0.0.53",
|
|
35
35
|
"@internal/storage-test-utils": "0.0.49",
|
|
36
|
-
"@mastra/core": "1.0.0-beta.
|
|
36
|
+
"@mastra/core": "1.0.0-beta.16",
|
|
37
37
|
"@internal/types-builder": "0.0.28"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains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