@agentshouse/mdruntime-adapter 0.1.0-c84b58736cfc7 → 0.1.0-c85fd6db0c262
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 -2
- package/dist/actions.d.ts +3 -56
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +1 -288
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +128 -326
- package/dist/app-reference.d.ts +2 -0
- package/dist/app-reference.d.ts.map +1 -0
- package/dist/app-reference.js +2 -0
- package/dist/crockford.d.ts +4 -0
- package/dist/crockford.d.ts.map +1 -0
- package/dist/crockford.js +3 -0
- package/dist/discovery.d.ts +12 -12
- package/dist/discovery.d.ts.map +1 -1
- package/dist/discovery.js +44 -51
- package/dist/history.d.ts +12 -0
- package/dist/history.d.ts.map +1 -0
- package/dist/history.js +91 -0
- package/dist/house-model.d.ts +955 -0
- package/dist/house-model.d.ts.map +1 -0
- package/dist/house-model.js +521 -0
- package/dist/index.d.ts +9 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/model.d.ts +5 -2
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +10 -29
- package/dist/part.d.ts +12 -13
- package/dist/part.d.ts.map +1 -1
- package/dist/part.js +66 -61
- package/dist/read.d.ts +15 -57
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +99 -249
- package/dist/refusal.d.ts +0 -3
- package/dist/refusal.d.ts.map +1 -1
- package/dist/refusal.js +0 -5
- package/dist/room-stream.d.ts +19 -0
- package/dist/room-stream.d.ts.map +1 -0
- package/dist/room-stream.js +57 -0
- package/dist/room-types.d.ts +2 -1
- package/dist/room-types.d.ts.map +1 -1
- package/dist/room-types.js +62 -3
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +75 -157
- package/dist/stream.d.ts +13 -14
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +160 -423
- package/dist/transport.d.ts +46 -36
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +53 -11
- package/dist/upload.d.ts.map +1 -1
- package/dist/upload.js +26 -15
- package/dist/write.d.ts +4 -0
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +10 -2
- package/package.json +8 -4
- package/AGENTS.md +0 -317
- package/dist/gather.d.ts +0 -4
- package/dist/gather.d.ts.map +0 -1
- package/dist/gather.js +0 -35
package/dist/model.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { sha256Hex } from './digest.js';
|
|
2
|
-
import { schemaOf, schemaPath } from './read.js';
|
|
2
|
+
import { modelScope, schemaOf, schemaPath, } from './read.js';
|
|
3
3
|
const MODEL_ABSENT = { kind: 'model-unavailable', reason: 'not-readable' };
|
|
4
4
|
const ABSENT_SCHEMA = { schema: null, version: null, revision: null };
|
|
5
5
|
async function heldModel(read, identity) {
|
|
@@ -12,19 +12,10 @@ async function heldModel(read, identity) {
|
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
async function modelsOf(tracked, read) {
|
|
15
|
-
const models = {};
|
|
16
15
|
const collection = read(tracked.schema);
|
|
17
|
-
if (collection
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
if (tracked.houseModel !== null) {
|
|
21
|
-
const root = tracked.houseModel.root;
|
|
22
|
-
const selection = read(root);
|
|
23
|
-
if (selection !== undefined) {
|
|
24
|
-
models.selection = await heldModel(selection, schemaPath(tracked.handle, root));
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
return models.collection === undefined && models.selection === undefined ? undefined : models;
|
|
16
|
+
if (collection === undefined)
|
|
17
|
+
return undefined;
|
|
18
|
+
return { collection: await heldModel(collection, schemaPath(tracked.handle, tracked.schema)) };
|
|
28
19
|
}
|
|
29
20
|
export function partModels(scope, tracked, seen, final) {
|
|
30
21
|
return modelsOf(tracked, (schema) => {
|
|
@@ -33,22 +24,12 @@ export function partModels(scope, tracked, seen, final) {
|
|
|
33
24
|
return final && !seen.has(schema) ? ABSENT_SCHEMA : undefined;
|
|
34
25
|
});
|
|
35
26
|
}
|
|
36
|
-
export function
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
return ABSENT_SCHEMA;
|
|
43
|
-
if ('content' in change) {
|
|
44
|
-
return {
|
|
45
|
-
schema: change.content,
|
|
46
|
-
version: change.version,
|
|
47
|
-
revision: change.revision ?? null,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
return null;
|
|
51
|
-
});
|
|
27
|
+
export async function manifestedModels(room, tracked) {
|
|
28
|
+
const scope = modelScope(room);
|
|
29
|
+
return {
|
|
30
|
+
models: await partModels(scope, tracked, new Set(), true),
|
|
31
|
+
seen: scope.files.some((file) => file.path === tracked.schema) ? [tracked.schema] : [],
|
|
32
|
+
};
|
|
52
33
|
}
|
|
53
34
|
export function streamedModels(schemas, tracked, mode) {
|
|
54
35
|
return modelsOf(tracked, (schema) => {
|
package/dist/part.d.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
export type RoomFrame = {
|
|
2
|
+
readonly kind: 'frame';
|
|
3
|
+
readonly payload: Uint8Array<ArrayBuffer>;
|
|
4
|
+
readonly bytes: number;
|
|
5
|
+
} | {
|
|
6
|
+
readonly kind: 'ended';
|
|
7
|
+
} | {
|
|
8
|
+
readonly kind: 'broken';
|
|
8
9
|
};
|
|
9
|
-
export
|
|
10
|
-
export declare function
|
|
11
|
-
export declare function
|
|
12
|
-
export declare function
|
|
13
|
-
export declare function gunzipped(payload: Uint8Array<ArrayBuffer>): Promise<string | null>;
|
|
14
|
-
export declare function unverifiedPart(locator: string): ScopedRefusal;
|
|
10
|
+
export type RoomFrames = () => Promise<RoomFrame>;
|
|
11
|
+
export declare function checkedPayload(frame: Uint8Array<ArrayBuffer>): Promise<Uint8Array<ArrayBuffer> | null>;
|
|
12
|
+
export declare function roomFrames(room: ReadableStream<Uint8Array>, arrived?: (bytes: number) => void, signal?: AbortSignal): RoomFrames;
|
|
13
|
+
export declare function gunzipped(payload: Uint8Array<ArrayBuffer>): ReadableStream<string>;
|
|
15
14
|
//# sourceMappingURL=part.d.ts.map
|
package/dist/part.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"part.d.ts","sourceRoot":"","sources":["../src/part.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"part.d.ts","sourceRoot":"","sources":["../src/part.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,SAAS,GACjB;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAC7F;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAC1B;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAEhC,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,CAAC,SAAS,CAAC,CAAC;AAQlD,wBAAsB,cAAc,CAClC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,GAC7B,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CASzC;AAED,wBAAgB,UAAU,CACxB,IAAI,EAAE,cAAc,CAAC,UAAU,CAAC,EAChC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,EACjC,MAAM,CAAC,EAAE,WAAW,GACnB,UAAU,CAwDZ;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,CAKlF"}
|
package/dist/part.js
CHANGED
|
@@ -1,54 +1,13 @@
|
|
|
1
1
|
const PART_MAGIC = 0x48505431;
|
|
2
2
|
const PART_HEAD_BYTES = 8;
|
|
3
3
|
const PART_DIGEST_BYTES = 32;
|
|
4
|
-
const PART_SHA256 = /^[0-9a-f]{64}$/u;
|
|
5
|
-
export const PART_ATTEMPTS = 3;
|
|
6
|
-
export const PART_UNVERIFIED = 'part_unverified';
|
|
7
|
-
export function parsePart(value) {
|
|
8
|
-
if (typeof value !== 'object' || value === null)
|
|
9
|
-
return null;
|
|
10
|
-
const { part, bytes, sha256 } = value;
|
|
11
|
-
if (typeof part !== 'string' || part.length === 0)
|
|
12
|
-
return null;
|
|
13
|
-
if (typeof bytes !== 'number' || !Number.isSafeInteger(bytes) || bytes <= 0)
|
|
14
|
-
return null;
|
|
15
|
-
if (typeof sha256 !== 'string' || !PART_SHA256.test(sha256))
|
|
16
|
-
return null;
|
|
17
|
-
return { part, bytes, sha256 };
|
|
18
|
-
}
|
|
19
|
-
function decoded(text) {
|
|
20
|
-
let binary;
|
|
21
|
-
try {
|
|
22
|
-
binary = atob(text);
|
|
23
|
-
}
|
|
24
|
-
catch {
|
|
25
|
-
return null;
|
|
26
|
-
}
|
|
27
|
-
const bytes = new Uint8Array(binary.length);
|
|
28
|
-
for (let at = 0; at < binary.length; at += 1)
|
|
29
|
-
bytes[at] = binary.charCodeAt(at);
|
|
30
|
-
return bytes;
|
|
31
|
-
}
|
|
32
4
|
function hex(bytes) {
|
|
33
5
|
let text = '';
|
|
34
6
|
for (const byte of bytes)
|
|
35
7
|
text += byte.toString(16).padStart(2, '0');
|
|
36
8
|
return text;
|
|
37
9
|
}
|
|
38
|
-
export function
|
|
39
|
-
if (arriving === undefined)
|
|
40
|
-
return undefined;
|
|
41
|
-
return (answered) => arriving(Math.min(listed.bytes, Math.floor((answered * 3) / 4)));
|
|
42
|
-
}
|
|
43
|
-
export function partFrame(body) {
|
|
44
|
-
if (typeof body !== 'object' || body === null)
|
|
45
|
-
return null;
|
|
46
|
-
const { part } = body;
|
|
47
|
-
return typeof part === 'string' ? decoded(part) : null;
|
|
48
|
-
}
|
|
49
|
-
export async function checkedPayload(frame, listed) {
|
|
50
|
-
if (frame.length !== listed.bytes)
|
|
51
|
-
return null;
|
|
10
|
+
export async function checkedPayload(frame) {
|
|
52
11
|
if (frame.length < PART_HEAD_BYTES + PART_DIGEST_BYTES)
|
|
53
12
|
return null;
|
|
54
13
|
const view = new DataView(frame.buffer, frame.byteOffset, frame.byteLength);
|
|
@@ -59,27 +18,73 @@ export async function checkedPayload(frame, listed) {
|
|
|
59
18
|
return null;
|
|
60
19
|
const payload = frame.subarray(PART_HEAD_BYTES, PART_HEAD_BYTES + length);
|
|
61
20
|
const digest = hex(new Uint8Array(await crypto.subtle.digest('SHA-256', payload)));
|
|
62
|
-
|
|
63
|
-
return null;
|
|
64
|
-
}
|
|
65
|
-
return payload;
|
|
21
|
+
return hex(frame.subarray(PART_HEAD_BYTES + length)) === digest ? payload : null;
|
|
66
22
|
}
|
|
67
|
-
export
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
23
|
+
export function roomFrames(room, arrived, signal) {
|
|
24
|
+
const reader = room.getReader();
|
|
25
|
+
signal?.addEventListener('abort', () => void reader.cancel().catch(() => { }), { once: true });
|
|
26
|
+
const chunks = [];
|
|
27
|
+
let held = 0;
|
|
28
|
+
let received = 0;
|
|
29
|
+
let ended = false;
|
|
30
|
+
async function filled(bytes) {
|
|
31
|
+
while (held < bytes && !ended) {
|
|
32
|
+
const read = await reader.read();
|
|
33
|
+
if (read.done) {
|
|
34
|
+
ended = true;
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
chunks.push(read.value);
|
|
38
|
+
held += read.value.byteLength;
|
|
39
|
+
received += read.value.byteLength;
|
|
40
|
+
arrived?.(received);
|
|
41
|
+
}
|
|
42
|
+
return held >= bytes;
|
|
71
43
|
}
|
|
72
|
-
|
|
73
|
-
|
|
44
|
+
function taken(bytes) {
|
|
45
|
+
const out = new Uint8Array(bytes);
|
|
46
|
+
let at = 0;
|
|
47
|
+
while (at < bytes) {
|
|
48
|
+
const chunk = chunks[0];
|
|
49
|
+
const used = Math.min(chunk.byteLength, bytes - at);
|
|
50
|
+
out.set(chunk.subarray(0, used), at);
|
|
51
|
+
at += used;
|
|
52
|
+
if (used === chunk.byteLength)
|
|
53
|
+
chunks.shift();
|
|
54
|
+
else
|
|
55
|
+
chunks[0] = chunk.subarray(used);
|
|
56
|
+
}
|
|
57
|
+
held -= bytes;
|
|
58
|
+
return out;
|
|
74
59
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
60
|
+
return async () => {
|
|
61
|
+
try {
|
|
62
|
+
if (!(await filled(PART_HEAD_BYTES)))
|
|
63
|
+
return held === 0 ? { kind: 'ended' } : { kind: 'broken' };
|
|
64
|
+
const head = taken(PART_HEAD_BYTES);
|
|
65
|
+
const view = new DataView(head.buffer);
|
|
66
|
+
if (view.getUint32(0) !== PART_MAGIC)
|
|
67
|
+
return { kind: 'broken' };
|
|
68
|
+
const length = view.getUint32(4);
|
|
69
|
+
const rest = length + PART_DIGEST_BYTES;
|
|
70
|
+
if (!(await filled(rest)))
|
|
71
|
+
return { kind: 'broken' };
|
|
72
|
+
const frame = new Uint8Array(PART_HEAD_BYTES + rest);
|
|
73
|
+
frame.set(head, 0);
|
|
74
|
+
frame.set(taken(rest), PART_HEAD_BYTES);
|
|
75
|
+
const payload = await checkedPayload(frame);
|
|
76
|
+
return payload === null
|
|
77
|
+
? { kind: 'broken' }
|
|
78
|
+
: { kind: 'frame', payload, bytes: frame.byteLength };
|
|
79
|
+
}
|
|
80
|
+
catch {
|
|
81
|
+
return { kind: 'broken' };
|
|
82
|
+
}
|
|
84
83
|
};
|
|
85
84
|
}
|
|
85
|
+
export function gunzipped(payload) {
|
|
86
|
+
return new Blob([payload])
|
|
87
|
+
.stream()
|
|
88
|
+
.pipeThrough(new DecompressionStream('gzip'))
|
|
89
|
+
.pipeThrough(new TextDecoderStream());
|
|
90
|
+
}
|
package/dist/read.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import type { TrackedAuthority } from './discovery.js';
|
|
3
|
-
import { type HousePart } from './part.js';
|
|
1
|
+
import { type BinaryFile, type BootstrapPage, type RoomModels, type TransportUncertainty } from '@agentshouse/mdruntime';
|
|
4
2
|
import type { HouseMode } from './transport.js';
|
|
5
3
|
import { type LogPosition } from './version.js';
|
|
6
4
|
export type HeadChange = BootstrapPage['changes'][string];
|
|
@@ -46,13 +44,13 @@ export type HouseScope = LogPosition & {
|
|
|
46
44
|
contents: readonly HouseContent[];
|
|
47
45
|
folders?: readonly string[];
|
|
48
46
|
};
|
|
49
|
-
export type
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
export type HouseModels = {
|
|
48
|
+
files: readonly HouseManifestFile[];
|
|
49
|
+
contents: readonly HouseContent[];
|
|
52
50
|
};
|
|
53
|
-
export type
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
export type HouseRoomHead = LogPosition & {
|
|
52
|
+
anchor: string;
|
|
53
|
+
models: HouseModels;
|
|
56
54
|
};
|
|
57
55
|
export type HouseGrant = {
|
|
58
56
|
operation: string;
|
|
@@ -64,43 +62,6 @@ export type HouseFileAddress = {
|
|
|
64
62
|
sha256: string;
|
|
65
63
|
mediaType: string;
|
|
66
64
|
};
|
|
67
|
-
export type HouseChange = {
|
|
68
|
-
path: string;
|
|
69
|
-
removed: true;
|
|
70
|
-
} | {
|
|
71
|
-
path: string;
|
|
72
|
-
content: string;
|
|
73
|
-
revision: string | undefined;
|
|
74
|
-
version: string;
|
|
75
|
-
head?: HeadChange;
|
|
76
|
-
} | {
|
|
77
|
-
path: string;
|
|
78
|
-
binary: BinaryFile;
|
|
79
|
-
revision: string | undefined;
|
|
80
|
-
version: string;
|
|
81
|
-
head?: HeadChange;
|
|
82
|
-
};
|
|
83
|
-
export type HousePage = {
|
|
84
|
-
after: string;
|
|
85
|
-
through: string;
|
|
86
|
-
read: number;
|
|
87
|
-
};
|
|
88
|
-
export type HouseFolder = {
|
|
89
|
-
path: string;
|
|
90
|
-
removed: boolean;
|
|
91
|
-
};
|
|
92
|
-
export type HouseView = LogPosition & {
|
|
93
|
-
authority: string;
|
|
94
|
-
changes: readonly HouseChange[];
|
|
95
|
-
folders?: readonly HouseFolder[];
|
|
96
|
-
next?: HousePage;
|
|
97
|
-
};
|
|
98
|
-
type PageFailure = AdapterFailure | {
|
|
99
|
-
kind: 'beyond-horizon';
|
|
100
|
-
};
|
|
101
|
-
export type HouseEnumeration = {
|
|
102
|
-
authorities: readonly HouseView[];
|
|
103
|
-
};
|
|
104
65
|
export declare function authorityRoot(handle: string): string;
|
|
105
66
|
export declare function schemaPath(handle: string, schema: string): string;
|
|
106
67
|
export declare function parseGrant(body: unknown): HouseGrant | null;
|
|
@@ -110,14 +71,14 @@ export declare function headChange(held: {
|
|
|
110
71
|
readonly created_at?: unknown;
|
|
111
72
|
}): HeadChange | undefined | null;
|
|
112
73
|
export declare function binaryFileOf(held: Readonly<Record<string, unknown>>): BinaryFile | undefined | null;
|
|
113
|
-
export declare function
|
|
114
|
-
export declare function
|
|
115
|
-
export declare function
|
|
116
|
-
export declare function
|
|
117
|
-
export declare function
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
74
|
+
export declare function roomHead(payload: Uint8Array<ArrayBuffer>, mode: HouseMode): Promise<HouseRoomHead | null>;
|
|
75
|
+
export declare function manifested(room: HouseRoomHead, pageToken: string, models: RoomModels | undefined): BootstrapPage;
|
|
76
|
+
export declare function modelScope(room: HouseRoomHead): HouseScope;
|
|
77
|
+
export declare function emptyScope(room: HouseRoomHead): HouseScope;
|
|
78
|
+
export declare function housePart(room: HouseRoomHead, payload: Uint8Array<ArrayBuffer>, mode: HouseMode): Promise<{
|
|
79
|
+
scope: HouseScope;
|
|
80
|
+
ended: boolean;
|
|
81
|
+
} | TransportUncertainty>;
|
|
121
82
|
export declare function bootstrapping(scope: HouseScope): Generator<number, BootstrapPage, void>;
|
|
122
83
|
export type HouseSchema = {
|
|
123
84
|
schema: string | null;
|
|
@@ -125,7 +86,4 @@ export type HouseSchema = {
|
|
|
125
86
|
revision: string | null;
|
|
126
87
|
};
|
|
127
88
|
export declare function schemaOf(scope: HouseScope, schema: string): HouseSchema | null;
|
|
128
|
-
export declare function viewOf(enumeration: HouseEnumeration, tracked: TrackedAuthority): HouseView | undefined;
|
|
129
|
-
export declare function refreshFrom(view: HouseView, fromRoomVersion: string): Promise<RefreshResult>;
|
|
130
|
-
export {};
|
|
131
89
|
//# sourceMappingURL=read.d.ts.map
|
package/dist/read.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../src/read.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,
|
|
1
|
+
{"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../src/read.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,UAAU,EACf,KAAK,aAAa,EAElB,KAAK,UAAU,EACf,KAAK,oBAAoB,EAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAA6B,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3E,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;AAQ1D,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAC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