holon-sh 0.0.1-dev.11 → 0.0.1-dev.13
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 +2 -30
- package/dist/ext/events.d.ts +15 -155
- package/dist/ext/events.d.ts.map +1 -1
- package/dist/ext/events.js +103 -218
- package/dist/ext/events.js.map +1 -1
- package/dist/ext/files.client.d.ts +1 -1
- package/dist/ext/files.client.d.ts.map +1 -1
- package/dist/ext/files.client.js +2 -2
- package/dist/ext/files.client.js.map +1 -1
- package/dist/protocol.js +1 -1
- package/dist/protocol.js.map +1 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +20 -13
- package/dist/runtime.js.map +1 -1
- package/package.json +1 -2
- package/src/ext/events.ts +140 -328
- package/src/ext/files.client.ts +2 -2
- package/src/protocol.ts +1 -1
- package/src/runtime.ts +20 -14
- package/dist/ext/webhooks.d.ts +0 -18
- package/dist/ext/webhooks.d.ts.map +0 -1
- package/dist/ext/webhooks.js +0 -527
- package/dist/ext/webhooks.js.map +0 -1
- package/src/ext/webhooks.ts +0 -512
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ This repository contains the Node.js runtime for [`holon`](https://github.com/ho
|
|
|
11
11
|
## Install
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
npm install holon-sh
|
|
14
|
+
npm install holon-sh
|
|
15
15
|
npm install -D holon-types typescript
|
|
16
16
|
```
|
|
17
17
|
|
|
@@ -102,20 +102,6 @@ The client is pushed each event on a stream where the server offers one and poll
|
|
|
102
102
|
|
|
103
103
|
To hand a page its state and then its changes, a tool returns the state together with `said.cursor()`, read in the same synchronous run, and the page subscribes from that cursor: it hears every change after the state, and none twice. Occurrences emitted one after another in one run reach each subscriber in that order with nothing of the same type between them, so a group of changes is emitted together or sent as one occurrence holding a list.
|
|
104
104
|
|
|
105
|
-
A source that keeps its own history is read through a check function instead. Its cursor is the source's own, so a client resumes across restarts with nothing skipped. Polls are answered by it, streams ask it every second, and the type can still `emit` to push at once:
|
|
106
|
-
|
|
107
|
-
```ts
|
|
108
|
-
events.event("email.received", {
|
|
109
|
-
inputSchema: z.object({ from: z.string() }),
|
|
110
|
-
payloadSchema: z.object({ subject: z.string() }),
|
|
111
|
-
check: async (cursor, { from }) => {
|
|
112
|
-
if (cursor === null) return { events: [], cursor: await mailbox.head() };
|
|
113
|
-
const { messages, head } = await mailbox.since(cursor, from);
|
|
114
|
-
return { events: messages.map(m => ({ eventId: m.id, data: { subject: m.subject } })), cursor: head };
|
|
115
|
-
},
|
|
116
|
-
});
|
|
117
|
-
```
|
|
118
|
-
|
|
119
105
|
An event type may also say who may subscribe, and hear when subscriptions begin and end:
|
|
120
106
|
|
|
121
107
|
```ts
|
|
@@ -134,21 +120,7 @@ said.remove(); // stops offering the type
|
|
|
134
120
|
|
|
135
121
|
A refused subscription is answered Forbidden, and access is checked again at each poll and heartbeat. A subscription begins when its stream opens or its first poll arrives, and ends when its last stream closes or polls stop for a while. For a signed-in caller its `id` is the same for the same user, client, agent, scopes, event type and arguments, so what is emitted to it while its client reconnects is still delivered. A caller without an identity gets a new id for each stream, and its polls share one lease per arguments with every such caller, to which nothing is emitted alone. Each type keeps its last ten thousand events for ten minutes, polls are told to come back every second, a poll subscription ends a minute after its last poll, and subscriptions are limited to ten thousand in all and a thousand per caller. Names follow the design sketch.
|
|
136
122
|
|
|
137
|
-
Poll
|
|
138
|
-
|
|
139
|
-
### Webhook delivery
|
|
140
|
-
|
|
141
|
-
A server delivers by webhook too when `createEvents` is given the sketch's `webhookTtl`, the longest lifetime it grants a webhook subscription. Nothing else changes: `emit` reaches webhook subscribers as it does the others. A type with a check function is offered by poll and push only, since webhook delivery sends what is emitted.
|
|
142
|
-
|
|
143
|
-
```ts
|
|
144
|
-
const events = createEvents({ webhookTtl: 30 * 60_000 });
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
The SDK keeps each subscription, checks that its callback wants deliveries before sending any, signs each one per [Standard Webhooks](https://www.standardwebhooks.com/), retries failures, and drops a subscription its client stops refreshing. Only an authenticated caller can subscribe, and only an `https` callback at a public address is called. A type's `authorize`, hooks, `terminate`, `remove` and the limits of `createEvents` apply to webhook subscriptions as to the others, and access is checked again every thirty seconds, at each heartbeat. Subscriptions are kept in memory, so after a restart each comes back when its client next refreshes it.
|
|
148
|
-
|
|
149
|
-
Every subscription expires unless its client refreshes it: one that never expires would need storage the server does not have. On Holon, an app that delivers webhooks leaves `egress` undeclared in `holon.yaml`, since declared hosts are the only ones it can reach.
|
|
150
|
-
|
|
151
|
-
Subscribing by webhook is for clients that can be reached at an `https` URL. This client does not subscribe by webhook yet: a Holon app cannot serve the route a receiver needs, so it subscribes by push or poll.
|
|
123
|
+
Poll and push delivery are here, with targeted emits, subscription hooks, authorization, ending subscriptions, limits, paged listing and removing event types. Webhook delivery and check functions, which read a source that keeps its own history, are not, and neither are typed event names. Clients are not told when the event types change: they list them again.
|
|
152
124
|
|
|
153
125
|
## Community
|
|
154
126
|
|
package/dist/ext/events.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { AuthInfo, JSONRPCErrorResponse, McpServer, Server, StandardSchemaWithJSON } from "@modelcontextprotocol/server";
|
|
2
|
-
import { type WebhookOptions } from "./webhooks.js";
|
|
3
|
-
export type { WebhookOptions } from "./webhooks.js";
|
|
4
2
|
/** The request a subscription came in, as Holon admitted it: read its caller with getContext. */
|
|
5
3
|
export type SubscriptionContext = {
|
|
6
4
|
authInfo?: AuthInfo | undefined;
|
|
7
5
|
} | undefined;
|
|
8
6
|
/** How a subscription receives its events. */
|
|
9
|
-
export type DeliveryModeName = "poll" | "push"
|
|
7
|
+
export type DeliveryModeName = "poll" | "push";
|
|
10
8
|
/** A JSON-RPC error, as a subscription that is terminated or fails is told it. */
|
|
11
9
|
export type EventError = JSONRPCErrorResponse["error"];
|
|
12
10
|
/** A subscription as it begins: who asked, for what, and by which delivery mode. */
|
|
@@ -32,31 +30,7 @@ export interface EventOccurrence<D = unknown> {
|
|
|
32
30
|
/** When it happened, in ISO 8601. */
|
|
33
31
|
timestamp: string;
|
|
34
32
|
data: D;
|
|
35
|
-
cursor?: string
|
|
36
|
-
_meta?: Record<string, unknown>;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* What happened after a cursor, as a check function finds it: the sketch's EventResult. Each event is an
|
|
40
|
-
* EventOccurrence whose name is the type's, and whose `eventId` (the source's own, so a client drops one it has seen)
|
|
41
|
-
* and `timestamp` are made up when not given. An event's `cursor`, the position just after it, lets a batch be cut
|
|
42
|
-
* short; without it a batch is delivered whole.
|
|
43
|
-
*/
|
|
44
|
-
export interface EventResult<D> {
|
|
45
|
-
/**
|
|
46
|
-
* Empty when the cursor was null: a null cursor asks only for the current position. A source without positions
|
|
47
|
-
* answers with a null cursor, is asked with null each time, and answers each time with what is new.
|
|
48
|
-
*/
|
|
49
|
-
events: Array<Omit<EventOccurrence<D>, "name" | "eventId" | "timestamp" | "cursor"> & {
|
|
50
|
-
eventId?: string;
|
|
51
|
-
timestamp?: string;
|
|
52
|
-
cursor?: string;
|
|
53
|
-
}>;
|
|
54
|
-
/** The position after these events, or null when the source cannot be resumed from a position. */
|
|
55
|
-
cursor: string | null;
|
|
56
|
-
/** Events between the cursor and these were skipped, for instance because the source no longer keeps them. */
|
|
57
|
-
truncated?: boolean;
|
|
58
|
-
/** More events are ready at once after this batch. */
|
|
59
|
-
hasMore?: boolean;
|
|
33
|
+
cursor?: string;
|
|
60
34
|
}
|
|
61
35
|
/** An event type: the arguments a subscription gives, and the data each occurrence carries. */
|
|
62
36
|
export interface EventDefinition<A, D> {
|
|
@@ -76,14 +50,7 @@ export interface EventDefinition<A, D> {
|
|
|
76
50
|
match?: (data: D, args: A, context: SubscriptionContext) => boolean;
|
|
77
51
|
/** The data a subscription with these arguments receives of an emitted event. Without it, the data as emitted. */
|
|
78
52
|
transform?: (data: D, args: A, context: SubscriptionContext) => unknown;
|
|
79
|
-
/**
|
|
80
|
-
* What happened after a cursor, for a source that keeps its own history: polls are answered by it, and streams ask
|
|
81
|
-
* it every second. The cursor is the source's own, so it outlives the process. A null cursor asks for the
|
|
82
|
-
* current position. The function filters and shapes for the arguments itself; `match` and `transform` apply only to
|
|
83
|
-
* what is emitted. Without it, emitted events are kept in memory and polls and streams are served from there.
|
|
84
|
-
*/
|
|
85
|
-
check?: (cursor: string | null, args: A, context: SubscriptionContext) => EventResult<D> | Promise<EventResult<D>>;
|
|
86
|
-
/** The delivery modes this event type offers. Every mode served unless given, except webhook for a type with a check function, which webhook delivery does not read. */
|
|
53
|
+
/** The delivery modes this event type offers: poll and push unless given. */
|
|
87
54
|
delivery?: DeliveryModeName[];
|
|
88
55
|
/**
|
|
89
56
|
* Whether the caller may subscribe with these arguments. A subscription is refused with Forbidden when it may not,
|
|
@@ -107,18 +74,15 @@ export interface EventDefinition<A, D> {
|
|
|
107
74
|
export interface Emitter<D> {
|
|
108
75
|
/**
|
|
109
76
|
* `eventId` lets a client drop an occurrence it has seen. Give the source's own id when it has one. With
|
|
110
|
-
* `subscriptionId`, the sketch's targeted emit, the occurrence goes to that subscription alone, whatever its
|
|
111
|
-
* other, so a subscription that reconnects or polls again from its cursor still has
|
|
112
|
-
*
|
|
113
|
-
* reconnecting streams learn of it from the check function, and one emitted to a subscription that does not get it
|
|
114
|
-
* on a stream is lost, so that subscription's next poll or stream is told of a gap.
|
|
77
|
+
* `subscriptionId`, the sketch's targeted emit, the occurrence goes to that subscription alone, whatever its
|
|
78
|
+
* arguments; it is kept like any other, so a subscription that reconnects or polls again from its cursor still has
|
|
79
|
+
* it, or is told of a gap.
|
|
115
80
|
*
|
|
116
81
|
* Emitting is synchronous. Occurrences emitted one after another in the same synchronous run reach each
|
|
117
82
|
* subscription in that order, with no other occurrence of this type between them, whether polled or pushed. So a
|
|
118
83
|
* group of changes that nothing may come between is either emitted in one run or sent as one occurrence holding a
|
|
119
84
|
* list. A subscription skips part of a group only when it is told of a gap: the group outgrew the events kept, or
|
|
120
|
-
* the subscription fell behind them.
|
|
121
|
-
* not between what is emitted and what the check function finds, which may arrive later or again.
|
|
85
|
+
* the subscription fell behind them.
|
|
122
86
|
*
|
|
123
87
|
* The data is serialised when it is emitted, so data that cannot be sent as JSON throws here, before anything is
|
|
124
88
|
* kept or sent.
|
|
@@ -129,15 +93,14 @@ export interface Emitter<D> {
|
|
|
129
93
|
subscriptionId?: string;
|
|
130
94
|
}): void;
|
|
131
95
|
/**
|
|
132
|
-
* The position after the last occurrence emitted
|
|
133
|
-
*
|
|
134
|
-
* state and none before. A type with a check function has no such position here: its cursor is the source's own,
|
|
135
|
-
* so read the source's head instead. This throws for such a type.
|
|
96
|
+
* The position after the last occurrence emitted. Return it with the state a tool reads, in the same synchronous
|
|
97
|
+
* run, and a client that subscribes from it hears every change after that state and none before.
|
|
136
98
|
*/
|
|
137
99
|
cursor(): string;
|
|
138
100
|
/**
|
|
139
|
-
* Terminates one subscription, or all of this type's: a stream is sent
|
|
140
|
-
* `
|
|
101
|
+
* Terminates one subscription, or all of this type's: a stream is sent what was emitted to it before, then
|
|
102
|
+
* `notifications/events/terminated` with `error`, and closed. The next poll is answered with the error. Forbidden
|
|
103
|
+
* unless given, which ends delivery at once, since access is lost.
|
|
141
104
|
*/
|
|
142
105
|
terminate(subscriptionId?: string, error?: EventError): void;
|
|
143
106
|
/**
|
|
@@ -145,124 +108,21 @@ export interface Emitter<D> {
|
|
|
145
108
|
*/
|
|
146
109
|
remove(): void;
|
|
147
110
|
}
|
|
148
|
-
export interface EventsOptions {
|
|
149
|
-
/**
|
|
150
|
-
* The sketch's webhook_ttl, which turns webhook delivery on: the longest lifetime granted to a webhook
|
|
151
|
-
* subscription, in milliseconds. A client's suggestion is held to it, and every grant expires. Without it, webhook
|
|
152
|
-
* delivery is not offered.
|
|
153
|
-
*/
|
|
154
|
-
webhookTtl?: number;
|
|
155
|
-
/** For tests of webhook delivery. */
|
|
156
|
-
webhook?: WebhookOptions;
|
|
157
|
-
}
|
|
158
|
-
/** A delivery mode besides poll and push: webhook. It registers its requests on each server and is listed by events/list. Not for applications. */
|
|
159
|
-
export interface DeliveryMode {
|
|
160
|
-
readonly name: string;
|
|
161
|
-
serve(server: object, internals: Internals): void;
|
|
162
|
-
}
|
|
163
111
|
/** The event types of a process, served by each MCP server it creates. */
|
|
164
112
|
export interface Events {
|
|
165
113
|
/** Declares an event type. Emit its occurrences with the returned emitter. */
|
|
166
114
|
event<A, D>(name: string, definition: EventDefinition<A, D>): Emitter<D>;
|
|
167
115
|
/** Serves events/list, events/poll and events/stream on an McpServer or a Server, and declares the extension. */
|
|
168
116
|
serve(server: McpServer | Server): void;
|
|
169
|
-
/** What a delivery mode works with. Not for applications. */
|
|
170
|
-
readonly [INTERNALS]: Internals;
|
|
171
|
-
}
|
|
172
|
-
/** An emitted event: kept, at a sequence, for a type without a check function; pushed only, for one with. */
|
|
173
|
-
export interface Kept {
|
|
174
|
-
sequence?: number;
|
|
175
|
-
at?: number;
|
|
176
|
-
target?: string | undefined;
|
|
177
|
-
occurrence: EventOccurrence;
|
|
178
|
-
}
|
|
179
|
-
/** What a subscription is owed after a cursor. */
|
|
180
|
-
export interface Owed {
|
|
181
|
-
events: EventOccurrence[];
|
|
182
|
-
/** Events that could not be shaped for it, and were skipped. */
|
|
183
|
-
failures?: EventError[];
|
|
184
|
-
/** Where delivery starts. */
|
|
185
|
-
start: string | null;
|
|
186
|
-
cursor: string | null;
|
|
187
|
-
truncated: boolean;
|
|
188
|
-
hasMore: boolean;
|
|
189
|
-
}
|
|
190
|
-
/** A subscription as a delivery mode holds it. */
|
|
191
|
-
export interface Held {
|
|
192
|
-
readonly id: string;
|
|
193
|
-
readonly name: string;
|
|
194
|
-
readonly delivery: DeliveryModeName;
|
|
195
|
-
readonly arguments: unknown;
|
|
196
|
-
readonly context: SubscriptionContext;
|
|
197
|
-
/** Nothing is emitted to it alone: a poll lease shared by callers without an identity. */
|
|
198
|
-
untargetable?: boolean;
|
|
199
|
-
/** Called when the app ends the subscription. */
|
|
200
|
-
readonly end: (error: EventError) => void;
|
|
201
|
-
/** Says the hold is over. */
|
|
202
|
-
close(): void;
|
|
203
|
-
}
|
|
204
|
-
/** The subscription a request asks for, checked. */
|
|
205
|
-
export interface Requested {
|
|
206
|
-
id: string;
|
|
207
|
-
lease: string;
|
|
208
|
-
arguments: unknown;
|
|
209
|
-
context: SubscriptionContext;
|
|
210
|
-
untargetable?: boolean;
|
|
211
|
-
}
|
|
212
|
-
/** A declared event type, as the delivery modes see it. */
|
|
213
|
-
export interface EventTypeState {
|
|
214
|
-
readonly name: string;
|
|
215
|
-
readonly delivery: DeliveryModeName[];
|
|
216
|
-
readonly interval: number;
|
|
217
|
-
readonly check?: EventDefinition<unknown, unknown>["check"];
|
|
218
|
-
/** Whether the caller may hold the subscription, which a mode that holds subscriptions long asks again. */
|
|
219
|
-
authorize?(args: unknown, context: SubscriptionContext): boolean | Promise<boolean>;
|
|
220
|
-
/** Told each event as it is emitted: a push stream is one, and a delivery mode adds its own. */
|
|
221
|
-
readonly sinks: Set<(kept: Kept) => void>;
|
|
222
|
-
/** The subscriptions held by every mode, by id. */
|
|
223
|
-
readonly subscriptions: Map<string, {
|
|
224
|
-
held: Set<Held>;
|
|
225
|
-
ready: Promise<unknown>;
|
|
226
|
-
}>;
|
|
227
|
-
}
|
|
228
|
-
/** What a delivery mode works with. */
|
|
229
|
-
export interface Internals {
|
|
230
|
-
readonly types: Map<string, EventTypeState>;
|
|
231
|
-
/** Checks a request, names its event type and the subscription's id. */
|
|
232
|
-
readonly subscription: (request: Record<string, unknown>, context: SubscriptionContext, delivery?: DeliveryModeName) => Promise<{
|
|
233
|
-
type: EventTypeState;
|
|
234
|
-
subscription: Requested;
|
|
235
|
-
}>;
|
|
236
|
-
/** Begins holding a subscription. */
|
|
237
|
-
readonly open: (type: EventTypeState, subscription: {
|
|
238
|
-
id: string;
|
|
239
|
-
delivery: DeliveryModeName;
|
|
240
|
-
arguments: unknown;
|
|
241
|
-
context: SubscriptionContext;
|
|
242
|
-
}, end: (error: EventError) => void) => Promise<Held>;
|
|
243
|
-
/** What a subscription is owed after a cursor. */
|
|
244
|
-
readonly read: (type: EventTypeState, subscription: Pick<Held, "id" | "arguments" | "context" | "untargetable">, cursor: string | null | undefined, options?: {
|
|
245
|
-
maxAgeMs?: number;
|
|
246
|
-
maxEvents?: number;
|
|
247
|
-
}) => Owed | Promise<Owed>;
|
|
248
|
-
/** What a subscription is owed of the events emitted. */
|
|
249
|
-
readonly since: (type: EventTypeState, subscription: Pick<Held, "id" | "arguments" | "context" | "untargetable">, cursor: string | null | undefined, maxAgeMs?: number, limit?: number) => Owed;
|
|
250
|
-
/** An emitted event as one subscription receives it, or nothing when it is not for it. */
|
|
251
|
-
readonly shape: (type: EventTypeState, kept: Kept, subscription: Pick<Held, "id" | "arguments" | "context" | "untargetable">, failed?: (error: EventError) => void) => EventOccurrence | undefined;
|
|
252
|
-
/** A type's current cursor. */
|
|
253
|
-
readonly position: (type: EventTypeState, sequence?: number) => string;
|
|
254
117
|
}
|
|
255
118
|
/** The identifier a server declares the Events extension under, in capabilities.extensions. */
|
|
256
119
|
export declare const EVENTS_EXTENSION = "io.modelcontextprotocol/events";
|
|
257
|
-
/** Reaches what a delivery mode needs of the events it serves. Not for applications. */
|
|
258
|
-
export declare const INTERNALS: unique symbol;
|
|
259
120
|
/**
|
|
260
121
|
* Event types a process emits and the MCP servers it creates serve, in the poll and push delivery modes of MCP Events,
|
|
261
122
|
* the draft extension of the Triggers & Events Working Group. Each type keeps the last ten thousand events it emits,
|
|
262
123
|
* for ten minutes, for polls and for streams that reconnect: those cursors last as long as the process, and after a
|
|
263
|
-
* restart a client is told that events were skipped. A
|
|
264
|
-
*
|
|
265
|
-
* the server every thirty seconds.
|
|
124
|
+
* restart a client is told that events were skipped. A poll is told to come back every second, and a stream hears
|
|
125
|
+
* from the server every thirty seconds.
|
|
266
126
|
*/
|
|
267
|
-
export declare function createEvents(
|
|
127
|
+
export declare function createEvents(): Events;
|
|
268
128
|
//# sourceMappingURL=events.d.ts.map
|
package/dist/ext/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/ext/events.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/ext/events.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAE9H,iGAAiG;AACjG,MAAM,MAAM,mBAAmB,GAAG;IAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,GAAG,SAAS,CAAC;AAClF,8CAA8C;AAC9C,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,CAAC;AAC/C,kFAAkF;AAClF,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;AACvD,oFAAoF;AACpF,MAAM,WAAW,YAAY,CAAC,CAAC;IAC7B;;;;;;;OAOG;IACH,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,SAAS,EAAE,CAAC,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAC;CACvC;AACD,kHAAkH;AAClH,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,OAAO;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,qCAAqC;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,+FAA+F;AAC/F,MAAM,WAAW,eAAe,CAAC,CAAC,EAAE,CAAC;IACnC,W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