@lushly-dev/afd-client 1.0.0 → 2.0.0
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/README.md +197 -34
- package/dist/backoff.d.ts +20 -0
- package/dist/backoff.d.ts.map +1 -0
- package/dist/backoff.js +42 -0
- package/dist/backoff.js.map +1 -0
- package/dist/client-errors.d.ts +39 -0
- package/dist/client-errors.d.ts.map +1 -0
- package/dist/client-errors.js +163 -0
- package/dist/client-errors.js.map +1 -0
- package/dist/client-events.d.ts +23 -0
- package/dist/client-events.d.ts.map +1 -0
- package/dist/client-events.js +47 -0
- package/dist/client-events.js.map +1 -0
- package/dist/client.d.ts +86 -30
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +359 -450
- package/dist/client.js.map +1 -1
- package/dist/direct-timeout.d.ts +22 -0
- package/dist/direct-timeout.d.ts.map +1 -0
- package/dist/direct-timeout.js +54 -0
- package/dist/direct-timeout.js.map +1 -0
- package/dist/direct-transport.d.ts +71 -0
- package/dist/direct-transport.d.ts.map +1 -0
- package/dist/direct-transport.js +203 -0
- package/dist/direct-transport.js.map +1 -0
- package/dist/direct-types.d.ts +106 -0
- package/dist/direct-types.d.ts.map +1 -0
- package/dist/direct-types.js +5 -0
- package/dist/direct-types.js.map +1 -0
- package/dist/direct-validation.d.ts +1 -1
- package/dist/direct-validation.d.ts.map +1 -1
- package/dist/direct-validation.js +4 -1
- package/dist/direct-validation.js.map +1 -1
- package/dist/direct.d.ts +62 -192
- package/dist/direct.d.ts.map +1 -1
- package/dist/direct.js +116 -450
- package/dist/direct.js.map +1 -1
- package/dist/handlers.d.ts.map +1 -1
- package/dist/handlers.js +24 -21
- package/dist/handlers.js.map +1 -1
- package/dist/handoff.d.ts +17 -4
- package/dist/handoff.d.ts.map +1 -1
- package/dist/handoff.js +110 -86
- package/dist/handoff.js.map +1 -1
- package/dist/index.d.ts +12 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/dist/mcp-session.d.ts +29 -0
- package/dist/mcp-session.d.ts.map +1 -0
- package/dist/mcp-session.js +67 -0
- package/dist/mcp-session.js.map +1 -0
- package/dist/mcp-stream.d.ts +56 -0
- package/dist/mcp-stream.d.ts.map +1 -0
- package/dist/mcp-stream.js +192 -0
- package/dist/mcp-stream.js.map +1 -0
- package/dist/result-parsing.d.ts +27 -0
- package/dist/result-parsing.d.ts.map +1 -0
- package/dist/result-parsing.js +107 -0
- package/dist/result-parsing.js.map +1 -0
- package/dist/sse-parser.d.ts +70 -0
- package/dist/sse-parser.d.ts.map +1 -0
- package/dist/sse-parser.js +159 -0
- package/dist/sse-parser.js.map +1 -0
- package/dist/transport.d.ts +46 -6
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +181 -40
- package/dist/transport.js.map +1 -1
- package/dist/types.d.ts +40 -10
- package/dist/types.d.ts.map +1 -1
- package/dist/unknown-tool.d.ts +28 -8
- package/dist/unknown-tool.d.ts.map +1 -1
- package/dist/unknown-tool.js +51 -52
- package/dist/unknown-tool.js.map +1 -1
- package/package.json +7 -7
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Typed event subscription for `McpClient`.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Event emitter base of `McpClient`. Handlers run in subscription order; one that throws is
|
|
6
|
+
* logged and does not stop the others.
|
|
7
|
+
*/
|
|
8
|
+
export class McpClientEventEmitter {
|
|
9
|
+
eventHandlers = {
|
|
10
|
+
stateChange: [],
|
|
11
|
+
connected: [],
|
|
12
|
+
disconnected: [],
|
|
13
|
+
reconnecting: [],
|
|
14
|
+
error: [],
|
|
15
|
+
message: [],
|
|
16
|
+
toolsChanged: [],
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Subscribe to an event.
|
|
20
|
+
*
|
|
21
|
+
* @returns A function that unsubscribes the handler
|
|
22
|
+
*/
|
|
23
|
+
on(event, handler) {
|
|
24
|
+
this.eventHandlers[event].push(handler);
|
|
25
|
+
return () => {
|
|
26
|
+
const index = this.eventHandlers[event].indexOf(handler);
|
|
27
|
+
if (index > -1) {
|
|
28
|
+
this.eventHandlers[event].splice(index, 1);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Emit an event to a snapshot of the handlers, so a handler that subscribes or unsubscribes
|
|
34
|
+
* while the event is delivered does not make others run twice or be skipped.
|
|
35
|
+
*/
|
|
36
|
+
emit(event, ...args) {
|
|
37
|
+
for (const handler of [...this.eventHandlers[event]]) {
|
|
38
|
+
try {
|
|
39
|
+
handler(...args);
|
|
40
|
+
}
|
|
41
|
+
catch (error) {
|
|
42
|
+
console.error(`Error in event handler for '${event}':`, error);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=client-events.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-events.js","sourceRoot":"","sources":["../src/client-events.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH;;;GAGG;AACH,MAAM,OAAO,qBAAqB;IAChB,aAAa,GAAa;QAC1C,WAAW,EAAE,EAAE;QACf,SAAS,EAAE,EAAE;QACb,YAAY,EAAE,EAAE;QAChB,YAAY,EAAE,EAAE;QAChB,KAAK,EAAE,EAAE;QACT,OAAO,EAAE,EAAE;QACX,YAAY,EAAE,EAAE;KAChB,CAAC;IAEF;;;;OAIG;IACH,EAAE,CAAkC,KAAQ,EAAE,OAA2B;QACxE,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAExC,OAAO,GAAG,EAAE;YACX,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACzD,IAAI,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC;gBAChB,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;YAC5C,CAAC;QACF,CAAC,CAAC;IACH,CAAC;IAED;;;OAGG;IACO,IAAI,CACb,KAAQ,EACR,GAAG,IAAoC;QAEvC,KAAK,MAAM,OAAO,IAAI,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;YACtD,IAAI,CAAC;gBACH,OAA6D,CAAC,GAAG,IAAI,CAAC,CAAC;YACzE,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,OAAO,CAAC,KAAK,CAAC,+BAA+B,KAAK,IAAI,EAAE,KAAK,CAAC,CAAC;YAChE,CAAC;QACF,CAAC;IACF,CAAC;CACD"}
|
package/dist/client.d.ts
CHANGED
|
@@ -2,13 +2,25 @@
|
|
|
2
2
|
* @fileoverview MCP Client implementation
|
|
3
3
|
*/
|
|
4
4
|
import type { BatchCommand, BatchOptions, BatchResult, CommandResult, McpInitializeResult, McpTool, McpToolCallResult, PipelineOptions, PipelineRequest, PipelineResult, PipelineStep, StreamCallbacks, StreamChunk, StreamOptions } from '@lushly-dev/afd-core';
|
|
5
|
-
import
|
|
5
|
+
import { McpClientEventEmitter } from './client-events.js';
|
|
6
|
+
import type { ClientStatus, McpClientConfig } from './types.js';
|
|
7
|
+
/** Options for a single `request()` or `callTool()`. */
|
|
8
|
+
export interface RequestOptions {
|
|
9
|
+
/** Request timeout in milliseconds. Default: the client's `timeout`. */
|
|
10
|
+
timeout?: number;
|
|
11
|
+
}
|
|
6
12
|
/**
|
|
7
|
-
*
|
|
13
|
+
* Extra time `batch()` and `pipe()` wait beyond the server-side deadline in their options, so
|
|
14
|
+
* the server's own timeout result can arrive before the client gives up.
|
|
8
15
|
*/
|
|
9
|
-
|
|
16
|
+
export declare const SERVER_DEADLINE_MARGIN_MS = 5000;
|
|
10
17
|
/**
|
|
11
|
-
* MCP Client for
|
|
18
|
+
* MCP Client for AFD servers (`createMcpServer()` from `@lushly-dev/afd-server`) and in-process
|
|
19
|
+
* registries.
|
|
20
|
+
*
|
|
21
|
+
* It speaks the AFD server's HTTP transport (`/sse` + `POST /message`, `POST /stream/<command>`).
|
|
22
|
+
* It does not implement the MCP Streamable HTTP transport or read the legacy SSE `endpoint`
|
|
23
|
+
* event, so it cannot talk to servers built on the official MCP SDK.
|
|
12
24
|
*
|
|
13
25
|
* @example
|
|
14
26
|
* ```typescript
|
|
@@ -20,13 +32,14 @@ type EventHandler<T extends (...args: never[]) => void> = T;
|
|
|
20
32
|
* const tools = await client.listTools();
|
|
21
33
|
*
|
|
22
34
|
* // Call a tool
|
|
23
|
-
* const result = await client.call('document
|
|
35
|
+
* const result = await client.call('document-create', { title: 'Test' });
|
|
24
36
|
*
|
|
25
37
|
* await client.disconnect();
|
|
26
38
|
* ```
|
|
27
39
|
*/
|
|
28
|
-
export declare class McpClient {
|
|
40
|
+
export declare class McpClient extends McpClientEventEmitter {
|
|
29
41
|
private readonly config;
|
|
42
|
+
private readonly registry;
|
|
30
43
|
private transport;
|
|
31
44
|
private state;
|
|
32
45
|
private serverInfo;
|
|
@@ -35,14 +48,23 @@ export declare class McpClient {
|
|
|
35
48
|
private connectedAt;
|
|
36
49
|
private reconnectAttempts;
|
|
37
50
|
private pendingRequests;
|
|
38
|
-
private
|
|
51
|
+
private activeStreams;
|
|
52
|
+
private intentionalDisconnect;
|
|
53
|
+
private connectionGeneration;
|
|
54
|
+
private connectionController;
|
|
55
|
+
private readonly reconnectWait;
|
|
56
|
+
private reconnectPromise;
|
|
57
|
+
private reconnectGeneration;
|
|
39
58
|
constructor(config: McpClientConfig);
|
|
40
59
|
/**
|
|
41
|
-
* Connect to the MCP server.
|
|
60
|
+
* Connect to the MCP server. Resolves, and `connected` is emitted, once the server is
|
|
61
|
+
* initialized and the tools list has been fetched (a failed tools refresh leaves the list
|
|
62
|
+
* empty but does not fail the connection).
|
|
42
63
|
*/
|
|
43
64
|
connect(): Promise<McpInitializeResult>;
|
|
44
65
|
/**
|
|
45
|
-
* Disconnect from the MCP server.
|
|
66
|
+
* Disconnect from the MCP server. Pending requests reject and active streams end with a
|
|
67
|
+
* `STREAM_CANCELLED` error chunk.
|
|
46
68
|
*/
|
|
47
69
|
disconnect(): Promise<void>;
|
|
48
70
|
/**
|
|
@@ -70,13 +92,16 @@ export declare class McpClient {
|
|
|
70
92
|
*
|
|
71
93
|
* @param name - Tool name
|
|
72
94
|
* @param args - Tool arguments
|
|
95
|
+
* @param options - Request options such as `timeout`
|
|
73
96
|
*/
|
|
74
|
-
callTool(name: string, args?: Record<string, unknown
|
|
97
|
+
callTool(name: string, args?: Record<string, unknown>, options?: RequestOptions): Promise<McpToolCallResult>;
|
|
75
98
|
/**
|
|
76
99
|
* Call a command and return a CommandResult.
|
|
77
100
|
*
|
|
78
101
|
* This is the preferred method for AFD - it wraps the MCP response
|
|
79
|
-
* in a standardized CommandResult.
|
|
102
|
+
* in a standardized CommandResult. It never rejects: a JSON-RPC error becomes a failure with
|
|
103
|
+
* a matching AFD code (`INVALID_INPUT` for -32602, `SESSION_NOT_FOUND` for -32001, ...), a
|
|
104
|
+
* timeout becomes `TIMEOUT`, and a connection problem `CONNECTION_ERROR` or `NOT_CONNECTED`.
|
|
80
105
|
*
|
|
81
106
|
* @param name - Command/tool name
|
|
82
107
|
* @param args - Command arguments
|
|
@@ -89,6 +114,12 @@ export declare class McpClient {
|
|
|
89
114
|
* succeeds if at least one command succeeds, with aggregated
|
|
90
115
|
* confidence scores and detailed timing information.
|
|
91
116
|
*
|
|
117
|
+
* The request waits for `options.timeout` (the server-side batch deadline) plus
|
|
118
|
+
* {@link SERVER_DEADLINE_MARGIN_MS}, and never less than the client's `timeout`. If no result
|
|
119
|
+
* arrives (timeout or connection failure), the server may already have run some commands, so
|
|
120
|
+
* the result is an `OUTCOME_UNKNOWN` failure with `retryable: false`, no per-command results
|
|
121
|
+
* and zero success and failure counts.
|
|
122
|
+
*
|
|
92
123
|
* @param commands - Array of commands to execute
|
|
93
124
|
* @param options - Batch execution options
|
|
94
125
|
* @returns BatchResult with individual command results
|
|
@@ -96,9 +127,9 @@ export declare class McpClient {
|
|
|
96
127
|
* @example
|
|
97
128
|
* ```typescript
|
|
98
129
|
* const result = await client.batch([
|
|
99
|
-
* {
|
|
100
|
-
* {
|
|
101
|
-
* {
|
|
130
|
+
* { command: 'todo-create', input: { title: 'First' } },
|
|
131
|
+
* { command: 'todo-create', input: { title: 'Second' } },
|
|
132
|
+
* { command: 'todo-list', input: {} }
|
|
102
133
|
* ], { stopOnError: false });
|
|
103
134
|
*
|
|
104
135
|
* console.log(`${result.summary.successCount}/${result.summary.total} succeeded`);
|
|
@@ -112,8 +143,14 @@ export declare class McpClient {
|
|
|
112
143
|
* Pipelines enable declarative composition of commands where the output
|
|
113
144
|
* of one becomes the input of the next via variable resolution.
|
|
114
145
|
*
|
|
146
|
+
* The request waits for `timeoutMs` (the server-side pipeline deadline) plus
|
|
147
|
+
* {@link SERVER_DEADLINE_MARGIN_MS}, and never less than the client's `timeout`. If no result
|
|
148
|
+
* arrives (timeout or connection failure), earlier steps may already have run, so the result
|
|
149
|
+
* carries an `OUTCOME_UNKNOWN` error (`retryable: false`) on a single pipeline-level entry
|
|
150
|
+
* (`index: -1`) instead of a status for each step.
|
|
151
|
+
*
|
|
115
152
|
* @param stepsOrRequest - Array of pipeline steps or full PipelineRequest
|
|
116
|
-
* @param options - Optional pipeline options
|
|
153
|
+
* @param options - Optional pipeline options (used with an array of steps)
|
|
117
154
|
* @returns Pipeline result with aggregated metadata
|
|
118
155
|
*
|
|
119
156
|
* @example
|
|
@@ -139,6 +176,19 @@ export declare class McpClient {
|
|
|
139
176
|
* containing progress updates, incremental data, completion,
|
|
140
177
|
* or error information.
|
|
141
178
|
*
|
|
179
|
+
* The last chunk is always a `complete` or `error` chunk. The client makes the error chunk
|
|
180
|
+
* itself when the stream ends early (`STREAM_TRUNCATED`), `options.timeout` passes
|
|
181
|
+
* (`STREAM_TIMEOUT`), the caller's signal or `disconnect()` stops it (`STREAM_CANCELLED`),
|
|
182
|
+
* one event exceeds `maxStreamEventSize` (`STREAM_EVENT_TOO_LARGE`), or the client is not
|
|
183
|
+
* connected (`NOT_CONNECTED`).
|
|
184
|
+
*
|
|
185
|
+
* Over HTTP it posts to `<base>/stream/<command>`, where `<base>` is the client URL without
|
|
186
|
+
* a trailing `/sse`, `/message` or `/messages`, in the client's MCP session: the request
|
|
187
|
+
* carries the `Mcp-Session-Id` from `initialize`, so the stream sees the session's active
|
|
188
|
+
* context (`afd-context-enter`). If the server has expired that session (404), the client
|
|
189
|
+
* starts a new one and retries once, as it does for other requests. With
|
|
190
|
+
* `transport: 'direct'` it runs the command in process through core's `executeStream()`.
|
|
191
|
+
*
|
|
142
192
|
* @param name - Command name to execute
|
|
143
193
|
* @param args - Command arguments
|
|
144
194
|
* @param options - Stream options (abort signal, timeout)
|
|
@@ -146,7 +196,7 @@ export declare class McpClient {
|
|
|
146
196
|
*
|
|
147
197
|
* @example
|
|
148
198
|
* ```typescript
|
|
149
|
-
* for await (const chunk of client.stream('llm
|
|
199
|
+
* for await (const chunk of client.stream('llm-generate', { prompt: 'Hello' })) {
|
|
150
200
|
* if (chunk.type === 'progress') {
|
|
151
201
|
* console.log(`Progress: ${(chunk.progress * 100).toFixed(0)}%`);
|
|
152
202
|
* } else if (chunk.type === 'data') {
|
|
@@ -174,7 +224,7 @@ export declare class McpClient {
|
|
|
174
224
|
*
|
|
175
225
|
* @example
|
|
176
226
|
* ```typescript
|
|
177
|
-
* await client.streamWithCallbacks('llm
|
|
227
|
+
* await client.streamWithCallbacks('llm-generate', { prompt: 'Hello' }, {
|
|
178
228
|
* onProgress: (chunk) => console.log(`${(chunk.progress * 100).toFixed(0)}% - ${chunk.message}`),
|
|
179
229
|
* onData: (chunk) => process.stdout.write(String(chunk.data)),
|
|
180
230
|
* onComplete: (chunk) => console.log('Done!', chunk.data),
|
|
@@ -183,25 +233,32 @@ export declare class McpClient {
|
|
|
183
233
|
* ```
|
|
184
234
|
*/
|
|
185
235
|
streamWithCallbacks<T = unknown>(name: string, args: Record<string, unknown> | undefined, callbacks: StreamCallbacks<T>, options?: StreamOptions): Promise<void>;
|
|
186
|
-
/**
|
|
187
|
-
* Combine two AbortSignals into one.
|
|
188
|
-
*/
|
|
189
|
-
private combineSignals;
|
|
190
236
|
/**
|
|
191
237
|
* Send a raw MCP request and wait for response.
|
|
238
|
+
*
|
|
239
|
+
* @throws NotConnectedError when not connected; RequestTimeoutError when no response arrives
|
|
240
|
+
* in time; JsonRpcResponseError when the server answers with a JSON-RPC error;
|
|
241
|
+
* HttpStatusError for another non-2xx HTTP status
|
|
192
242
|
*/
|
|
193
|
-
request<T = unknown>(method: string, params?: Record<string, unknown
|
|
194
|
-
/**
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
243
|
+
request<T = unknown>(method: string, params?: Record<string, unknown>, options?: RequestOptions): Promise<T>;
|
|
244
|
+
/** A request timeout that outlasts a server-side deadline by the margin. */
|
|
245
|
+
private timeoutWithMargin;
|
|
246
|
+
private initialize;
|
|
247
|
+
private createConnectionTransport;
|
|
248
|
+
private assertCurrent;
|
|
198
249
|
/**
|
|
199
|
-
*
|
|
250
|
+
* Connect, initialize and refresh tools. An initial connection reports its failure through
|
|
251
|
+
* the `error` event and the rejection; reconnection attempts report nothing themselves, and
|
|
252
|
+
* the reconnect loop emits one `error` when it gives up.
|
|
200
253
|
*/
|
|
201
|
-
private
|
|
202
|
-
private
|
|
254
|
+
private establishConnection;
|
|
255
|
+
private runReconnectLoop;
|
|
203
256
|
private setState;
|
|
204
257
|
private handleMessage;
|
|
258
|
+
/**
|
|
259
|
+
* Forward transport errors of the current, established connection. While connecting or
|
|
260
|
+
* reconnecting, failures are reported by `connect()` and the reconnect loop instead.
|
|
261
|
+
*/
|
|
205
262
|
private handleError;
|
|
206
263
|
private handleClose;
|
|
207
264
|
private attemptReconnect;
|
|
@@ -214,5 +271,4 @@ export declare class McpClient {
|
|
|
214
271
|
* @returns New McpClient instance
|
|
215
272
|
*/
|
|
216
273
|
export declare function createClient(config: McpClientConfig): McpClient;
|
|
217
|
-
export {};
|
|
218
274
|
//# sourceMappingURL=client.d.ts.map
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AACA;;GAEG;AAEH,OAAO,KAAK,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,mBAAmB,EAEnB,OAAO,EACP,iBAAiB,EAEjB,eAAe,EACf,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,WAAW,EACX,aAAa,EACb,MAAM,sBAAsB,CAAC;AAkB9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAwB3D,OAAO,KAAK,EACX,YAAY,EAEZ,eAAe,EAGf,MAAM,YAAY,CAAC;AAUpB,wDAAwD;AACxD,MAAM,WAAW,cAAc;IAC9B,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAWD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,OAAO,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,SAAU,SAAQ,qBAAqB;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiB;IACxC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA6B;IACtD,OAAO,CAAC,SAAS,CAA0B;IAC3C,OAAO,CAAC,KAAK,CAAmC;IAChD,OAAO,CAAC,UAAU,CAAkD;IACpE,OAAO,CAAC,YAAY,CAAoD;IACxE,OAAO,CAAC,KAAK,CAAiB;IAC9B,OAAO,CAAC,WAAW,CAAqB;IACxC,OAAO,CAAC,iBAAiB,CAA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