@distilled.cloud/celld 0.0.0-placeholder → 1.0.0-rc.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/LICENSE +201 -0
- package/README.md +116 -0
- package/lib/endpoint.d.ts +11 -0
- package/lib/endpoint.d.ts.map +1 -0
- package/lib/endpoint.js +11 -0
- package/lib/endpoint.js.map +1 -0
- package/lib/errors.d.ts +24 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +19 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +5 -0
- package/lib/index.js.map +1 -0
- package/lib/protocol.d.ts +12 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +33 -0
- package/lib/protocol.js.map +1 -0
- package/lib/response-validation.test.d.ts +4 -0
- package/lib/response-validation.test.d.ts.map +1 -0
- package/lib/response-validation.test.js +30 -0
- package/lib/response-validation.test.js.map +1 -0
- package/lib/services/index.d.ts +3 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +4 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/node.d.ts +334 -0
- package/lib/services/node.d.ts.map +1 -0
- package/lib/services/node.js +340 -0
- package/lib/services/node.js.map +1 -0
- package/lib/services/runtime.d.ts +686 -0
- package/lib/services/runtime.d.ts.map +1 -0
- package/lib/services/runtime.js +553 -0
- package/lib/services/runtime.js.map +1 -0
- package/lib/traits.d.ts +3 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +3 -0
- package/lib/traits.js.map +1 -0
- package/package.json +66 -7
- package/src/endpoint.ts +13 -0
- package/src/errors.ts +25 -0
- package/src/index.ts +8 -0
- package/src/protocol.ts +49 -0
- package/src/response-validation.test.ts +43 -0
- package/src/services/index.ts +3 -0
- package/src/services/node.ts +767 -0
- package/src/services/runtime.ts +1455 -0
- package/src/traits.ts +6 -0
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as API from "@distilled.cloud/core/api";
|
|
3
|
+
import { type CelldOpError, type CelldOpContext } from "../protocol.ts";
|
|
4
|
+
export type { CelldOpError, CelldOpContext };
|
|
5
|
+
declare const EvictionCancelled_base: S.Class<EvictionCancelled, S.TaggedStruct<"EvictionCancelled", {
|
|
6
|
+
readonly message: any;
|
|
7
|
+
}>, import("effect/Cause").YieldableError>;
|
|
8
|
+
/** An accepted eviction was interrupted by activity, an alarm, or node fencing. The message preserves cancelled: <reason>. */
|
|
9
|
+
export declare class EvictionCancelled extends /*@__PURE__*/ EvictionCancelled_base {
|
|
10
|
+
}
|
|
11
|
+
declare const EvictionFailed_base: S.Class<EvictionFailed, S.TaggedStruct<"EvictionFailed", {
|
|
12
|
+
readonly message: any;
|
|
13
|
+
}>, import("effect/Cause").YieldableError>;
|
|
14
|
+
/** Eviction completion could not be established. The message preserves failed: <reason>; this does not authorize automatic replay. */
|
|
15
|
+
export declare class EvictionFailed extends /*@__PURE__*/ EvictionFailed_base {
|
|
16
|
+
}
|
|
17
|
+
declare const EvictionRefused_base: S.Class<EvictionRefused, S.TaggedStruct<"EvictionRefused", {
|
|
18
|
+
readonly message: any;
|
|
19
|
+
}>, import("effect/Cause").YieldableError>;
|
|
20
|
+
/** Eviction was refused before admission. The message preserves refused: <reason> from the node error envelope. */
|
|
21
|
+
export declare class EvictionRefused extends /*@__PURE__*/ EvictionRefused_base {
|
|
22
|
+
}
|
|
23
|
+
declare const MalformedScope_base: S.Class<MalformedScope, S.TaggedStruct<"MalformedScope", {
|
|
24
|
+
readonly message: any;
|
|
25
|
+
}>, import("effect/Cause").YieldableError>;
|
|
26
|
+
export declare class MalformedScope extends /*@__PURE__*/ MalformedScope_base {
|
|
27
|
+
}
|
|
28
|
+
declare const NodeHasNoLease_base: S.Class<NodeHasNoLease, S.TaggedStruct<"NodeHasNoLease", {
|
|
29
|
+
readonly message: any;
|
|
30
|
+
}>, import("effect/Cause").YieldableError>;
|
|
31
|
+
export declare class NodeHasNoLease extends /*@__PURE__*/ NodeHasNoLease_base {
|
|
32
|
+
}
|
|
33
|
+
declare const NodeUnavailable_base: S.Class<NodeUnavailable, S.TaggedStruct<"NodeUnavailable", {
|
|
34
|
+
readonly message: any;
|
|
35
|
+
}>, import("effect/Cause").YieldableError>;
|
|
36
|
+
export declare class NodeUnavailable extends /*@__PURE__*/ NodeUnavailable_base {
|
|
37
|
+
}
|
|
38
|
+
declare const ReloadFailed_base: S.Class<ReloadFailed, S.TaggedStruct<"ReloadFailed", {
|
|
39
|
+
readonly message: any;
|
|
40
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
41
|
+
"@distilled.cloud/error/categories": {
|
|
42
|
+
BadRequestError: true;
|
|
43
|
+
};
|
|
44
|
+
});
|
|
45
|
+
export declare class ReloadFailed extends /*@__PURE__*/ ReloadFailed_base {
|
|
46
|
+
}
|
|
47
|
+
export interface EvictCellRequest {
|
|
48
|
+
scope: string;
|
|
49
|
+
}
|
|
50
|
+
export declare const EvictCellRequest: S.Schema<EvictCellRequest>;
|
|
51
|
+
export interface OkResponse {
|
|
52
|
+
ok: boolean;
|
|
53
|
+
}
|
|
54
|
+
export declare const OkResponse: S.Schema<OkResponse>;
|
|
55
|
+
export interface GetNodeStateRequest {
|
|
56
|
+
}
|
|
57
|
+
export declare const GetNodeStateRequest: S.Schema<GetNodeStateRequest>;
|
|
58
|
+
export type DocumentMap = {
|
|
59
|
+
[key: string]: unknown | undefined;
|
|
60
|
+
};
|
|
61
|
+
export declare const DocumentMap: S.Schema<DocumentMap>;
|
|
62
|
+
export type DocumentList = Array<unknown>;
|
|
63
|
+
export declare const DocumentList: S.Schema<DocumentList>;
|
|
64
|
+
/** Isolate pool census. heap_bytes and external_bytes sample isolates not held by a turn. */
|
|
65
|
+
export interface PoolCensus {
|
|
66
|
+
live: number;
|
|
67
|
+
live_empty: number;
|
|
68
|
+
retiring: number;
|
|
69
|
+
freed: number;
|
|
70
|
+
cells: number;
|
|
71
|
+
requests: number;
|
|
72
|
+
turns: number;
|
|
73
|
+
heap_bytes: number;
|
|
74
|
+
external_bytes: number;
|
|
75
|
+
}
|
|
76
|
+
export declare const PoolCensus: S.Schema<PoolCensus>;
|
|
77
|
+
export type PoolCensuses = {
|
|
78
|
+
[key: string]: PoolCensus | undefined;
|
|
79
|
+
};
|
|
80
|
+
export declare const PoolCensuses: S.Schema<PoolCensuses>;
|
|
81
|
+
/** Current or draining deployment isolate pools, keyed by service or Worker script. */
|
|
82
|
+
export interface IsolateCensus {
|
|
83
|
+
stateless: PoolCensus;
|
|
84
|
+
services: PoolCensuses;
|
|
85
|
+
cells: PoolCensuses;
|
|
86
|
+
}
|
|
87
|
+
export declare const IsolateCensus: S.Schema<IsolateCensus>;
|
|
88
|
+
export interface DeploymentGeneration {
|
|
89
|
+
generation: number;
|
|
90
|
+
version: string;
|
|
91
|
+
isolates: IsolateCensus;
|
|
92
|
+
}
|
|
93
|
+
export declare const DeploymentGeneration: S.Schema<DeploymentGeneration>;
|
|
94
|
+
export type DeploymentGenerations = Array<DeploymentGeneration>;
|
|
95
|
+
export declare const DeploymentGenerations: S.Schema<DeploymentGenerations>;
|
|
96
|
+
export type LongMap = {
|
|
97
|
+
[key: string]: number | undefined;
|
|
98
|
+
};
|
|
99
|
+
export declare const LongMap: S.Schema<LongMap>;
|
|
100
|
+
export interface DeploymentState {
|
|
101
|
+
generation: number;
|
|
102
|
+
version: string;
|
|
103
|
+
prefix: string;
|
|
104
|
+
draining: DeploymentGenerations;
|
|
105
|
+
swapping: number;
|
|
106
|
+
cells: LongMap;
|
|
107
|
+
isolates: IsolateCensus;
|
|
108
|
+
}
|
|
109
|
+
export declare const DeploymentState: S.Schema<DeploymentState>;
|
|
110
|
+
/** Jemalloc memory counters from the node snapshot, in bytes. */
|
|
111
|
+
export interface AllocatorStats {
|
|
112
|
+
allocated_bytes: number;
|
|
113
|
+
active_bytes: number;
|
|
114
|
+
resident_bytes: number;
|
|
115
|
+
mapped_bytes: number;
|
|
116
|
+
retained_bytes: number;
|
|
117
|
+
}
|
|
118
|
+
export declare const AllocatorStats: S.Schema<AllocatorStats>;
|
|
119
|
+
/** System allocator memory counters, in bytes. The node reports null when unavailable. */
|
|
120
|
+
export interface LibcMallocStats {
|
|
121
|
+
in_use_bytes: number;
|
|
122
|
+
free_bytes: number;
|
|
123
|
+
mmap_bytes: number;
|
|
124
|
+
arena_bytes: number;
|
|
125
|
+
}
|
|
126
|
+
export declare const LibcMallocStats: S.Schema<LibcMallocStats>;
|
|
127
|
+
/** Node snapshot. Census detail is implementation-defined JSON. If the actor has stopped, the server instead returns only error="actor_stopped". */
|
|
128
|
+
export interface NodeState {
|
|
129
|
+
activating?: number;
|
|
130
|
+
activation_waiting?: number;
|
|
131
|
+
adopting?: number;
|
|
132
|
+
capacity_waiting?: number;
|
|
133
|
+
evicting?: number;
|
|
134
|
+
handed_off?: number;
|
|
135
|
+
handoff_failed?: number;
|
|
136
|
+
occupied?: number;
|
|
137
|
+
owned_cells?: number;
|
|
138
|
+
publishes?: number;
|
|
139
|
+
quiescing?: number;
|
|
140
|
+
rebalance_failed?: number;
|
|
141
|
+
rebalanced?: number;
|
|
142
|
+
releasing?: number;
|
|
143
|
+
remote_route_refreshes?: number;
|
|
144
|
+
restoring?: number;
|
|
145
|
+
stops?: number;
|
|
146
|
+
cgroup_current_bytes?: number | null;
|
|
147
|
+
cgroup_working_set_bytes?: number | null;
|
|
148
|
+
in_use_bytes?: number;
|
|
149
|
+
rss_bytes?: number;
|
|
150
|
+
ownership?: string;
|
|
151
|
+
phases?: DocumentMap;
|
|
152
|
+
published?: DocumentList;
|
|
153
|
+
residents?: DocumentList;
|
|
154
|
+
node_load?: unknown;
|
|
155
|
+
shedding?: unknown;
|
|
156
|
+
drainPins?: DocumentList;
|
|
157
|
+
deployment?: DeploymentState;
|
|
158
|
+
error?: string;
|
|
159
|
+
allocator?: AllocatorStats | null;
|
|
160
|
+
libc_malloc?: LibcMallocStats | null;
|
|
161
|
+
}
|
|
162
|
+
export declare const NodeState: S.Schema<NodeState>;
|
|
163
|
+
export interface PauseRebalancingRequest {
|
|
164
|
+
}
|
|
165
|
+
export declare const PauseRebalancingRequest: S.Schema<PauseRebalancingRequest>;
|
|
166
|
+
export interface RebalanceResponse {
|
|
167
|
+
rebalance_paused: boolean;
|
|
168
|
+
}
|
|
169
|
+
export declare const RebalanceResponse: S.Schema<RebalanceResponse>;
|
|
170
|
+
export interface ReloadDeploymentRequest {
|
|
171
|
+
}
|
|
172
|
+
export declare const ReloadDeploymentRequest: S.Schema<ReloadDeploymentRequest>;
|
|
173
|
+
export interface ReloadResponse {
|
|
174
|
+
ok: boolean;
|
|
175
|
+
outcome: string;
|
|
176
|
+
generation: number;
|
|
177
|
+
version: string;
|
|
178
|
+
prefix?: string;
|
|
179
|
+
}
|
|
180
|
+
export declare const ReloadResponse: S.Schema<ReloadResponse>;
|
|
181
|
+
export interface ResumeRebalancingRequest {
|
|
182
|
+
}
|
|
183
|
+
export declare const ResumeRebalancingRequest: S.Schema<ResumeRebalancingRequest>;
|
|
184
|
+
export interface RouteCellRequest {
|
|
185
|
+
scope: string;
|
|
186
|
+
}
|
|
187
|
+
export declare const RouteCellRequest: S.Schema<RouteCellRequest>;
|
|
188
|
+
export interface RouteCellResponse {
|
|
189
|
+
route?: string;
|
|
190
|
+
cell?: string;
|
|
191
|
+
node?: string;
|
|
192
|
+
addr?: string;
|
|
193
|
+
epoch?: number;
|
|
194
|
+
peer_protocol?: number;
|
|
195
|
+
}
|
|
196
|
+
export declare const RouteCellResponse: S.Schema<RouteCellResponse>;
|
|
197
|
+
export type ShutdownHandoff = "preserve";
|
|
198
|
+
export declare const ShutdownHandoff: any;
|
|
199
|
+
export interface ShutdownNodeRequest {
|
|
200
|
+
handoff?: ShutdownHandoff | (string & {});
|
|
201
|
+
}
|
|
202
|
+
export declare const ShutdownNodeRequest: S.Schema<ShutdownNodeRequest>;
|
|
203
|
+
export type StringList = Array<string>;
|
|
204
|
+
export declare const StringList: S.Schema<StringList>;
|
|
205
|
+
export type ModuleKind = "wasm";
|
|
206
|
+
export declare const ModuleKind: any;
|
|
207
|
+
export interface ModuleRef {
|
|
208
|
+
name: string;
|
|
209
|
+
bytes: number;
|
|
210
|
+
sha256: string;
|
|
211
|
+
kind?: ModuleKind;
|
|
212
|
+
}
|
|
213
|
+
export declare const ModuleRef: S.Schema<ModuleRef>;
|
|
214
|
+
export type ModuleRefs = Array<ModuleRef>;
|
|
215
|
+
export declare const ModuleRefs: S.Schema<ModuleRefs>;
|
|
216
|
+
export interface AssetManifestRef {
|
|
217
|
+
index: string;
|
|
218
|
+
sha256: string;
|
|
219
|
+
file_count: number;
|
|
220
|
+
total_bytes: number;
|
|
221
|
+
}
|
|
222
|
+
export declare const AssetManifestRef: S.Schema<AssetManifestRef>;
|
|
223
|
+
export interface QueueConsumerConfig {
|
|
224
|
+
queue: string;
|
|
225
|
+
max_batch_size: number;
|
|
226
|
+
max_batch_timeout: number;
|
|
227
|
+
max_retries: number;
|
|
228
|
+
dead_letter_queue?: string;
|
|
229
|
+
max_concurrency?: number;
|
|
230
|
+
retry_delay?: number;
|
|
231
|
+
}
|
|
232
|
+
export declare const QueueConsumerConfig: S.Schema<QueueConsumerConfig>;
|
|
233
|
+
export type QueueConsumerConfigs = Array<QueueConsumerConfig>;
|
|
234
|
+
export declare const QueueConsumerConfigs: S.Schema<QueueConsumerConfigs>;
|
|
235
|
+
export interface ContainerSpec {
|
|
236
|
+
class_name: string;
|
|
237
|
+
image: string;
|
|
238
|
+
instance_type?: string;
|
|
239
|
+
max_instances?: number;
|
|
240
|
+
runtime?: string;
|
|
241
|
+
}
|
|
242
|
+
export declare const ContainerSpec: S.Schema<ContainerSpec>;
|
|
243
|
+
export type ContainerSpecs = Array<ContainerSpec>;
|
|
244
|
+
export declare const ContainerSpecs: S.Schema<ContainerSpecs>;
|
|
245
|
+
/** Deployment manifest stored at deploy/<script>/<version>/manifest.json. This is an object-storage contract, not an HTTP operation. main_module is null for asset-only deployments. */
|
|
246
|
+
export interface Manifest {
|
|
247
|
+
schema_version?: number;
|
|
248
|
+
version: string;
|
|
249
|
+
script_name: string;
|
|
250
|
+
do_classes: StringList;
|
|
251
|
+
sqlite_classes: StringList;
|
|
252
|
+
modules: ModuleRefs;
|
|
253
|
+
assets?: AssetManifestRef;
|
|
254
|
+
crons?: StringList;
|
|
255
|
+
queue_consumers?: QueueConsumerConfigs;
|
|
256
|
+
containers?: ContainerSpecs;
|
|
257
|
+
fence_image?: string;
|
|
258
|
+
required_features?: StringList;
|
|
259
|
+
raw_metadata: unknown;
|
|
260
|
+
main_module?: string | null;
|
|
261
|
+
}
|
|
262
|
+
export declare const Manifest: S.Schema<Manifest>;
|
|
263
|
+
export interface Rollout {
|
|
264
|
+
percent: number;
|
|
265
|
+
}
|
|
266
|
+
export declare const Rollout: S.Schema<Rollout>;
|
|
267
|
+
export interface DeployPointer {
|
|
268
|
+
script_name?: string;
|
|
269
|
+
version: string;
|
|
270
|
+
prefix: string;
|
|
271
|
+
rollout: Rollout;
|
|
272
|
+
}
|
|
273
|
+
export declare const DeployPointer: S.Schema<DeployPointer>;
|
|
274
|
+
export interface AssetEntry {
|
|
275
|
+
sha256: string;
|
|
276
|
+
bytes: number;
|
|
277
|
+
content_type?: string;
|
|
278
|
+
}
|
|
279
|
+
export declare const AssetEntry: S.Schema<AssetEntry>;
|
|
280
|
+
export type AssetEntries = {
|
|
281
|
+
[key: string]: AssetEntry | undefined;
|
|
282
|
+
};
|
|
283
|
+
export declare const AssetEntries: S.Schema<AssetEntries>;
|
|
284
|
+
export type RunWorkerFirst = boolean | StringList;
|
|
285
|
+
export declare const RunWorkerFirst: S.Schema<RunWorkerFirst>;
|
|
286
|
+
export interface AssetConfig {
|
|
287
|
+
binding?: string;
|
|
288
|
+
html_handling?: string;
|
|
289
|
+
not_found_handling?: string;
|
|
290
|
+
run_worker_first?: RunWorkerFirst;
|
|
291
|
+
headers?: string;
|
|
292
|
+
redirects?: string;
|
|
293
|
+
compatibility_date?: string;
|
|
294
|
+
compatibility_flags?: StringList;
|
|
295
|
+
}
|
|
296
|
+
export declare const AssetConfig: S.Schema<AssetConfig>;
|
|
297
|
+
export interface AssetIndex {
|
|
298
|
+
schema_version: number;
|
|
299
|
+
entries: AssetEntries;
|
|
300
|
+
config: AssetConfig;
|
|
301
|
+
}
|
|
302
|
+
export declare const AssetIndex: S.Schema<AssetIndex>;
|
|
303
|
+
export interface QueueConsumerDeployment {
|
|
304
|
+
script_name: string;
|
|
305
|
+
version: string;
|
|
306
|
+
prefix: string;
|
|
307
|
+
}
|
|
308
|
+
export declare const QueueConsumerDeployment: S.Schema<QueueConsumerDeployment>;
|
|
309
|
+
export interface QueueConsumerAttachment {
|
|
310
|
+
schema_version: number;
|
|
311
|
+
queue: string;
|
|
312
|
+
consumer?: QueueConsumerDeployment;
|
|
313
|
+
}
|
|
314
|
+
export declare const QueueConsumerAttachment: S.Schema<QueueConsumerAttachment>;
|
|
315
|
+
export type EvictCellError = MalformedScope | EvictionRefused | EvictionCancelled | EvictionFailed | CelldOpError;
|
|
316
|
+
/** Wait for cell eviction to complete. Refusal or cancellation returns 409, unavailable admission or actor returns 503, and other failures return 500. Failure bodies contain {ok:false,error:{kind,reason}}. Use only a trusted internal listener. */
|
|
317
|
+
export declare const evictCell: API.OperationMethod<EvictCellRequest, OkResponse, EvictCellError, CelldOpContext>;
|
|
318
|
+
export type GetNodeStateError = CelldOpError;
|
|
319
|
+
/** Read the snapshot from the trusted internal listener. This endpoint is unauthenticated. */
|
|
320
|
+
export declare const getNodeState: API.OperationMethod<GetNodeStateRequest, NodeState, GetNodeStateError, CelldOpContext>;
|
|
321
|
+
export type PauseRebalancingError = NodeHasNoLease | CelldOpError;
|
|
322
|
+
export declare const pauseRebalancing: API.OperationMethod<PauseRebalancingRequest, RebalanceResponse, PauseRebalancingError, CelldOpContext>;
|
|
323
|
+
export type ReloadDeploymentError = ReloadFailed | NodeUnavailable | CelldOpError;
|
|
324
|
+
/** Force adoption of the existing object-store deployment pointer. This does not upload a deployment. A standalone node without a deployment watcher may wait indefinitely; set a request timeout. */
|
|
325
|
+
export declare const reloadDeployment: API.OperationMethod<ReloadDeploymentRequest, ReloadResponse, ReloadDeploymentError, CelldOpContext>;
|
|
326
|
+
export type ResumeRebalancingError = NodeHasNoLease | CelldOpError;
|
|
327
|
+
export declare const resumeRebalancing: API.OperationMethod<ResumeRebalancingRequest, RebalanceResponse, ResumeRebalancingError, CelldOpContext>;
|
|
328
|
+
export type RouteCellError = MalformedScope | NodeUnavailable | CelldOpError;
|
|
329
|
+
/** Resolve or activate a cell. A remote owner returns status 307 with routing information, not an HTTP Location redirect. */
|
|
330
|
+
export declare const routeCell: API.OperationMethod<RouteCellRequest, RouteCellResponse, RouteCellError, CelldOpContext>;
|
|
331
|
+
export type ShutdownNodeError = CelldOpError;
|
|
332
|
+
/** Gracefully stop this node. handoff=preserve retains ownership for a same-node reload. Only call on a trusted internal listener. */
|
|
333
|
+
export declare const shutdownNode: API.OperationMethod<ShutdownNodeRequest, OkResponse, ShutdownNodeError, CelldOpContext>;
|
|
334
|
+
//# sourceMappingURL=node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/services/node.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,cAAc,EACpB,MAAM,gBAAgB,CAAC;AAExB,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;;;;AAE7C,8HAA8H;AAC9H,qBAAa,iBACX,SAAQ,aAAa,CAAC,sBAKrB;CAAG;;;;AAEN,sIAAsI;AACtI,qBAAa,cACX,SAAQ,aAAa,CAAC,mBAQrB;CAAG;;;;AAEN,mHAAmH;AAC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