@agentunion/fastaun-browser 0.5.18 → 0.5.20
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 +172 -79
- package/_packed_docs/CHANGELOG.md +172 -79
- package/_packed_docs/INDEX.md +244 -116
- package/_packed_docs/KITE_DOCS_GUIDE.md +98 -69
- package/_packed_docs/agent.md/SCHEMA.md +245 -205
- package/_packed_docs/agent.md//350/277/234/347/250/213agent.md/347/274/223/345/255/230/344/270/216etag/351/200/217/344/274/240/346/226/271/346/241/210.md +11 -11
- package/_packed_docs/aun/345/210/206/345/270/203/345/274/217/346/265/213/350/257/225/350/277/220/350/241/214/346/214/207/345/215/227.md +42 -15
- package/_packed_docs/aun/346/265/213/350/257/225/350/277/220/350/241/214/346/214/207/345/215/227.md +4 -4
- package/_packed_docs/protocol/01-/350/272/253/344/273/275/344/270/216/345/207/255/350/257/201/345/215/217/350/256/256-auth.md +45 -134
- package/_packed_docs/protocol/06-/346/234/215/345/212/241/345/215/217/350/256/256.md +1072 -1072
- package/_packed_docs/protocol/07-/351/224/231/350/257/257/347/240/201/344/270/216/347/212/266/346/200/201/346/234/272.md +5 -20
- package/_packed_docs/protocol/10-Group-/345/255/220/345/215/217/350/256/256.md +687 -668
- package/_packed_docs/protocol/11-Storage-/345/255/220/345/215/217/350/256/256.md +19 -28
- package/_packed_docs/protocol/Ownership/345/215/217/350/256/256/345/256/232/344/271/211.md +443 -0
- package/_packed_docs/protocol/Ownership/345/215/217/350/256/256/345/256/232/344/271/2112.0.md +161 -0
- package/_packed_docs/protocol/Ownership/345/215/217/350/256/256/345/256/232/344/271/2112.1.md +658 -0
- package/_packed_docs/protocol/Ownership/345/215/217/350/256/256/345/256/232/344/271/2113.0.md +233 -0
- package/_packed_docs/protocol/agent.md/SCHEMA.md +4 -0
- package/_packed_docs/sdk/03-/346/240/270/345/277/203/346/246/202/345/277/265.md +1 -1
- package/_packed_docs/sdk/04-/350/277/236/346/216/245/344/270/216/350/256/244/350/257/201.md +68 -61
- package/_packed_docs/sdk/05-E2EE/345/212/240/345/257/206/351/200/232/344/277/241.md +1 -1
- package/_packed_docs/sdk/06-API/346/211/213/345/206/214.md +279 -285
- package/_packed_docs/sdk/08-/346/234/200/344/275/263/345/256/236/350/267/265.md +3 -3
- package/_packed_docs/sdk/09-group-rpc-manual.md +271 -235
- package/_packed_docs/sdk/09-message-rpc-manual.md +47 -6
- package/_packed_docs/sdk/09-storage-rpc-manual.md +70 -68
- package/_packed_docs/sdk/AUN_DOCS_GUIDE.md +63 -34
- package/_packed_docs/sdk/INDEX.md +105 -34
- package/_packed_docs/sdk/Ownership-SDK/345/256/236/347/216/260/346/214/207/345/215/227.md +169 -0
- package/_packed_docs/sdk/Ownership-SDK/347/274/226/346/216/222/346/214/207/345/215/227.md +349 -0
- package/_packed_docs/sdk/Ownership-SDK/347/274/226/346/216/222/346/214/207/345/215/2272.1.md +922 -0
- package/_packed_docs/sdk/Ownership-SDK/351/233/206/346/210/220/346/214/207/345/215/227.md +270 -0
- package/_packed_docs/sdk/Ownership2.1-SDK/345/272/224/347/224/250/351/233/206/346/210/220/346/214/207/345/215/227.md +300 -0
- package/_packed_docs/sdk/Ownership2.1-SDK/345/274/200/345/217/221/344/270/216/347/247/273/346/244/215/346/214/207/345/215/227.md +382 -0
- package/_packed_docs/sdk/Ownership2.1-TDD/345/210/206/351/230/266/346/256/265/345/256/236/346/226/275/350/256/241/345/210/222.md +708 -0
- package/_packed_docs/sdk/Ownership2.1/350/257/246/347/273/206/350/256/276/350/256/241.md +476 -0
- package/_packed_docs/sdk/Ownership/347/256/241/347/220/206/344/270/223/351/242/230.md +559 -0
- package/_packed_docs/sdk/ProtectedHeaders/347/224/250/346/263/225/344/270/223/351/242/230.md +299 -0
- package/_packed_docs/sdk//345/207/255/350/257/201/344/270/216/347/273/204/347/273/207/346/234/215/345/212/241SDK/345/272/224/347/224/250/351/233/206/346/210/220/346/214/207/345/215/227.md +173 -0
- package/_packed_docs/sdk//345/207/255/350/257/201/344/270/216/347/273/204/347/273/207/346/234/215/345/212/241SDK/345/274/200/345/217/221/344/270/216/347/247/273/346/244/215/346/214/207/345/215/227.md +211 -0
- package/_packed_docs//350/267/250/350/256/276/345/244/207/345/267/262/350/257/273/346/234/252/350/257/273SDK/345/256/236/347/216/260/347/247/273/346/244/215/346/214/207/345/215/227.md +331 -0
- package/_packed_docs//350/267/250/350/256/276/345/244/207/345/267/262/350/257/273/346/234/252/350/257/273SDK/351/233/206/346/210/220/346/214/207/345/215/227.md +207 -0
- package/_packed_docs//350/267/250/350/256/276/345/244/207/345/267/262/350/257/273/346/234/252/350/257/273/344/273/243/347/240/201/345/256/241/346/237/245/346/212/245/345/221/212.md +252 -0
- package/_packed_docs//350/267/250/350/256/276/345/244/207/345/267/262/350/257/273/346/234/252/350/257/273/345/256/236/346/226/275/350/256/241/345/210/222.md +156 -0
- package/_packed_docs//350/267/250/350/256/276/345/244/207/345/267/262/350/257/273/346/234/252/350/257/273/346/226/271/346/241/210.md +273 -0
- package/_packed_docs//350/267/250/350/256/276/345/244/207/345/267/262/350/257/273/346/234/252/350/257/273/350/257/246/347/273/206/350/256/276/350/256/241.md +211 -0
- package/dist/agent-md-schema.d.ts +17 -3
- package/dist/agent-md-schema.d.ts.map +1 -1
- package/dist/agent-md-schema.js +94 -26
- package/dist/agent-md-schema.js.map +1 -1
- package/dist/agent-md.d.ts +54 -3
- package/dist/agent-md.d.ts.map +1 -1
- package/dist/agent-md.js +711 -65
- package/dist/agent-md.js.map +1 -1
- package/dist/aid-store.d.ts +58 -46
- package/dist/aid-store.d.ts.map +1 -1
- package/dist/aid-store.js +254 -248
- package/dist/aid-store.js.map +1 -1
- package/dist/aid.d.ts +4 -1
- package/dist/aid.d.ts.map +1 -1
- package/dist/aid.js +27 -33
- package/dist/aid.js.map +1 -1
- package/dist/auth.d.ts +4 -1
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +426 -39
- package/dist/auth.js.map +1 -1
- package/dist/bundle.js +38179 -32054
- package/dist/cert-utils.d.ts +50 -2
- package/dist/cert-utils.d.ts.map +1 -1
- package/dist/cert-utils.js +105 -47
- package/dist/cert-utils.js.map +1 -1
- package/dist/client/delivery.d.ts +22 -1
- package/dist/client/delivery.d.ts.map +1 -1
- package/dist/client/delivery.js +389 -78
- package/dist/client/delivery.js.map +1 -1
- package/dist/client/rpc-pipeline.d.ts.map +1 -1
- package/dist/client/rpc-pipeline.js +103 -77
- package/dist/client/rpc-pipeline.js.map +1 -1
- package/dist/client/v2-e2ee.d.ts +1 -0
- package/dist/client/v2-e2ee.d.ts.map +1 -1
- package/dist/client/v2-e2ee.js +182 -89
- package/dist/client/v2-e2ee.js.map +1 -1
- package/dist/client.d.ts +100 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1220 -25
- package/dist/client.js.map +1 -1
- package/dist/crypto.d.ts.map +1 -1
- package/dist/crypto.js +8 -6
- package/dist/crypto.js.map +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +3 -2
- package/dist/errors.js.map +1 -1
- package/dist/events.d.ts +9 -2
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +72 -13
- package/dist/events.js.map +1 -1
- package/dist/facades.d.ts +82 -2
- package/dist/facades.d.ts.map +1 -1
- package/dist/facades.js +100 -6
- package/dist/facades.js.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/keystore/index.d.ts +17 -0
- package/dist/keystore/index.d.ts.map +1 -1
- package/dist/keystore/indexeddb-shared.d.ts +10 -1
- package/dist/keystore/indexeddb-shared.d.ts.map +1 -1
- package/dist/keystore/indexeddb-shared.js +111 -0
- package/dist/keystore/indexeddb-shared.js.map +1 -1
- package/dist/keystore/indexeddb-token-store.d.ts +7 -1
- package/dist/keystore/indexeddb-token-store.d.ts.map +1 -1
- package/dist/keystore/indexeddb-token-store.js +30 -1
- package/dist/keystore/indexeddb-token-store.js.map +1 -1
- package/dist/org-protocol.d.ts +98 -0
- package/dist/org-protocol.d.ts.map +1 -0
- package/dist/org-protocol.js +1802 -0
- package/dist/org-protocol.js.map +1 -0
- package/dist/ownership-proof.d.ts +93 -5
- package/dist/ownership-proof.d.ts.map +1 -1
- package/dist/ownership-proof.js +239 -53
- package/dist/ownership-proof.js.map +1 -1
- package/dist/ownership-v21.d.ts +194 -0
- package/dist/ownership-v21.d.ts.map +1 -0
- package/dist/ownership-v21.js +678 -0
- package/dist/ownership-v21.js.map +1 -0
- package/dist/ownership-workflow.d.ts +151 -0
- package/dist/ownership-workflow.d.ts.map +1 -0
- package/dist/ownership-workflow.js +1229 -0
- package/dist/ownership-workflow.js.map +1 -0
- package/dist/seq-tracker.d.ts +1 -0
- package/dist/seq-tracker.d.ts.map +1 -1
- package/dist/seq-tracker.js +10 -2
- package/dist/seq-tracker.js.map +1 -1
- package/dist/tools/cross-sdk-agent.d.ts +83 -0
- package/dist/tools/cross-sdk-agent.d.ts.map +1 -1
- package/dist/tools/cross-sdk-agent.js +415 -7
- package/dist/tools/cross-sdk-agent.js.map +1 -1
- package/dist/transport.d.ts +7 -0
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +90 -2
- package/dist/transport.js.map +1 -1
- package/dist/v2/e2ee/decrypt.d.ts +1 -0
- package/dist/v2/e2ee/decrypt.d.ts.map +1 -1
- package/dist/v2/e2ee/decrypt.js +9 -1
- package/dist/v2/e2ee/decrypt.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import type { AID } from './aid.js';
|
|
2
|
+
import { type DocumentSignature } from './cert-utils.js';
|
|
3
|
+
export type OwnershipFileRole = 'agent' | 'owner';
|
|
4
|
+
export type OwnershipConsensusStatus = 'consensus' | 'released' | 'unbound' | 'single_sided' | 'invalid' | 'unavailable' | 'not_applicable';
|
|
5
|
+
export interface OwnershipStatementV21 {
|
|
6
|
+
version: 2;
|
|
7
|
+
declaration_id: string;
|
|
8
|
+
owner_aid: string;
|
|
9
|
+
sub_aid: string;
|
|
10
|
+
relation_version: number;
|
|
11
|
+
declared_at: number;
|
|
12
|
+
}
|
|
13
|
+
export interface OwnershipTransferV21 {
|
|
14
|
+
new_owner_aid: string;
|
|
15
|
+
target_relation_version: number;
|
|
16
|
+
expires_at: number;
|
|
17
|
+
}
|
|
18
|
+
export interface OwnershipFileContext {
|
|
19
|
+
expectedSubAid?: string;
|
|
20
|
+
expectedOwnerAid?: string;
|
|
21
|
+
now?: number;
|
|
22
|
+
requireSignature?: boolean;
|
|
23
|
+
expectedTargetAid?: string;
|
|
24
|
+
authenticatedAid?: string;
|
|
25
|
+
certificateAid?: string;
|
|
26
|
+
resourcePath?: string;
|
|
27
|
+
storagePath?: string;
|
|
28
|
+
certificateResolver?: (aid: string, fingerprint: string) => Promise<OwnershipCertificate> | OwnershipCertificate;
|
|
29
|
+
}
|
|
30
|
+
export interface OwnershipCertificate {
|
|
31
|
+
cert_pem: string;
|
|
32
|
+
chain_valid: boolean;
|
|
33
|
+
state: string;
|
|
34
|
+
revoked: boolean;
|
|
35
|
+
revocation_checked: boolean;
|
|
36
|
+
observed_at: number;
|
|
37
|
+
}
|
|
38
|
+
export interface OwnershipFile {
|
|
39
|
+
raw: Uint8Array;
|
|
40
|
+
payload: string;
|
|
41
|
+
frontmatter: Record<string, unknown>;
|
|
42
|
+
signature: Record<string, string> | null;
|
|
43
|
+
signatures: DocumentSignature[];
|
|
44
|
+
statement?: OwnershipStatementV21;
|
|
45
|
+
action?: 'declare' | 'release' | 'transfer_owner';
|
|
46
|
+
transfer?: OwnershipTransferV21;
|
|
47
|
+
}
|
|
48
|
+
export interface OwnershipConsensusResult {
|
|
49
|
+
status: OwnershipConsensusStatus;
|
|
50
|
+
sub_aid: string;
|
|
51
|
+
owner_aid: string | null;
|
|
52
|
+
relation_version: number;
|
|
53
|
+
lock: 'locked' | 'unlocked';
|
|
54
|
+
agent_md_etag: string;
|
|
55
|
+
agent_md_sha256: string;
|
|
56
|
+
owner_md_sha256: string;
|
|
57
|
+
code?: string;
|
|
58
|
+
reason?: string;
|
|
59
|
+
retryable?: boolean;
|
|
60
|
+
}
|
|
61
|
+
export declare const OWNERSHIP_UUID_V4_RE: RegExp;
|
|
62
|
+
export declare function ownershipAid(value: unknown, field: string): string;
|
|
63
|
+
export declare function ownershipInteger(value: unknown, field: string, min?: number): number;
|
|
64
|
+
export declare function validateOwnershipStatement(value: unknown): OwnershipStatementV21;
|
|
65
|
+
export declare function validateOwnershipAgentFrontmatter(meta: Record<string, unknown>, expectedAid?: string): OwnershipStatementV21 | undefined;
|
|
66
|
+
export declare function parseOwnershipFile(content: string | Uint8Array, role: OwnershipFileRole, context?: OwnershipFileContext): OwnershipFile;
|
|
67
|
+
export declare function verifyOwnershipFile(content: string | Uint8Array, role: OwnershipFileRole, certificate: OwnershipCertificate, context?: OwnershipFileContext): Promise<OwnershipFile>;
|
|
68
|
+
export declare function signOwnershipFile(identity: AID, content: string | Uint8Array, role: OwnershipFileRole, context?: OwnershipFileContext): Promise<string>;
|
|
69
|
+
export declare function ownershipSha256(content: string | Uint8Array): Promise<string>;
|
|
70
|
+
export declare function ownershipStatementsMatch(first: OwnershipStatementV21, second: OwnershipStatementV21): boolean;
|
|
71
|
+
export interface OwnershipAgentSnapshot {
|
|
72
|
+
sub_aid: string;
|
|
73
|
+
exists: boolean;
|
|
74
|
+
content: string;
|
|
75
|
+
etag: string;
|
|
76
|
+
protocol: string;
|
|
77
|
+
relation_version: number;
|
|
78
|
+
lock: 'locked' | 'unlocked';
|
|
79
|
+
observed_at: number;
|
|
80
|
+
owner_aid?: string | null;
|
|
81
|
+
recovery_ready?: boolean;
|
|
82
|
+
}
|
|
83
|
+
export interface OwnershipOwnerSnapshot {
|
|
84
|
+
owner_aid: string;
|
|
85
|
+
bucket: string;
|
|
86
|
+
path: string;
|
|
87
|
+
exists: boolean;
|
|
88
|
+
observed_at: number;
|
|
89
|
+
sha256: string;
|
|
90
|
+
content: string;
|
|
91
|
+
authoritative: boolean;
|
|
92
|
+
service_aid: string;
|
|
93
|
+
authenticated_service_aid: string;
|
|
94
|
+
version?: number;
|
|
95
|
+
recovery_ready?: boolean;
|
|
96
|
+
error?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface OwnershipBaseAgentMd {
|
|
99
|
+
exists: boolean;
|
|
100
|
+
raw: string;
|
|
101
|
+
sha256: string;
|
|
102
|
+
etag: string;
|
|
103
|
+
statement: OwnershipStatementV21 | null;
|
|
104
|
+
}
|
|
105
|
+
export interface OwnershipBaseOwnerMd {
|
|
106
|
+
exists: boolean;
|
|
107
|
+
raw: string;
|
|
108
|
+
sha256: string;
|
|
109
|
+
}
|
|
110
|
+
export interface OwnershipPreparedFile {
|
|
111
|
+
raw: string;
|
|
112
|
+
sha256: string;
|
|
113
|
+
condition: {
|
|
114
|
+
if_match?: string;
|
|
115
|
+
if_none_match?: '*';
|
|
116
|
+
};
|
|
117
|
+
published_etag?: string;
|
|
118
|
+
expires_at?: number;
|
|
119
|
+
cleaned?: boolean;
|
|
120
|
+
original_owner?: OwnershipBaseOwnerMd;
|
|
121
|
+
}
|
|
122
|
+
export interface OwnershipFileTask {
|
|
123
|
+
operation: 'bind' | 'release' | 'transfer';
|
|
124
|
+
sub_aid: string;
|
|
125
|
+
owner_aid: string;
|
|
126
|
+
new_owner_aid?: string;
|
|
127
|
+
base_relation_version: number;
|
|
128
|
+
target_relation_version: number;
|
|
129
|
+
files: Record<string, OwnershipPreparedFile>;
|
|
130
|
+
base_agent_md?: OwnershipBaseAgentMd;
|
|
131
|
+
base_owner_md?: OwnershipBaseOwnerMd;
|
|
132
|
+
expires_at?: number;
|
|
133
|
+
authorization_sha256?: string;
|
|
134
|
+
expected_agent_statement?: OwnershipStatementV21;
|
|
135
|
+
guard?(): Promise<void>;
|
|
136
|
+
persist(): Promise<void>;
|
|
137
|
+
}
|
|
138
|
+
export interface OwnershipFileDependencies {
|
|
139
|
+
currentAid(): AID;
|
|
140
|
+
currentAidType?(): string;
|
|
141
|
+
now?(): number;
|
|
142
|
+
readAgentMdFresh(subAid: string): Promise<OwnershipAgentSnapshot>;
|
|
143
|
+
submitAgentMdRaw(subAid: string, raw: string, condition: OwnershipPreparedFile['condition']): Promise<OwnershipAgentSnapshot>;
|
|
144
|
+
readOwnerMd(ownerAid: string, subAid: string): Promise<OwnershipOwnerSnapshot>;
|
|
145
|
+
writeOwnerMd(ownerAid: string, subAid: string, raw: string): Promise<OwnershipOwnerSnapshot>;
|
|
146
|
+
deleteOwnerMd?(ownerAid: string, subAid: string): Promise<void>;
|
|
147
|
+
resolveCertificate(aid: string, fingerprint: string, keyPurpose?: 'group_identity'): Promise<OwnershipCertificate>;
|
|
148
|
+
}
|
|
149
|
+
export interface OwnershipStorageDependencies {
|
|
150
|
+
currentAid(): string;
|
|
151
|
+
now?(): number;
|
|
152
|
+
call(method: string, params: Record<string, unknown>): Promise<unknown>;
|
|
153
|
+
httpPut?(url: string, data: Uint8Array, headers?: Record<string, string>): Promise<void>;
|
|
154
|
+
}
|
|
155
|
+
export declare class OwnershipStorageAdapter {
|
|
156
|
+
private readonly deps;
|
|
157
|
+
constructor(deps: OwnershipStorageDependencies);
|
|
158
|
+
private error;
|
|
159
|
+
private request;
|
|
160
|
+
private metadata;
|
|
161
|
+
readFile(ownerAid: string, path: string): Promise<OwnershipOwnerSnapshot>;
|
|
162
|
+
readOwnerMd(ownerAid: string, subAid: string): Promise<OwnershipOwnerSnapshot>;
|
|
163
|
+
writeOwnerMd(ownerAid: string, subAid: string, raw: string): Promise<OwnershipOwnerSnapshot>;
|
|
164
|
+
deleteOwnerMd(ownerAid: string, subAid: string): Promise<void>;
|
|
165
|
+
}
|
|
166
|
+
export declare function requireOwnershipApplicable(type: unknown): void;
|
|
167
|
+
export declare class OwnershipFiles {
|
|
168
|
+
private readonly deps;
|
|
169
|
+
constructor(deps: OwnershipFileDependencies);
|
|
170
|
+
private now;
|
|
171
|
+
private fresh;
|
|
172
|
+
validateAgentSnapshot(snapshot: OwnershipAgentSnapshot, subAid: string): void;
|
|
173
|
+
validateOwnerSnapshot(snapshot: OwnershipOwnerSnapshot, ownerAid: string, subAid: string): Promise<void>;
|
|
174
|
+
readAgent(subAid: string): Promise<OwnershipAgentSnapshot>;
|
|
175
|
+
readOwner(ownerAid: string, subAid: string): Promise<OwnershipOwnerSnapshot>;
|
|
176
|
+
verify(content: string, role: OwnershipFileRole, subAid: string, ownerAid?: string): Promise<OwnershipFile>;
|
|
177
|
+
checkConsensus(subAid?: string, pendingTarget?: {
|
|
178
|
+
owner_aid: string;
|
|
179
|
+
relation_version: number;
|
|
180
|
+
}): Promise<OwnershipConsensusResult>;
|
|
181
|
+
private local;
|
|
182
|
+
private statement;
|
|
183
|
+
requireBase(task: OwnershipFileTask): Promise<OwnershipAgentSnapshot>;
|
|
184
|
+
verifyTransfer(task: OwnershipFileTask): Promise<OwnershipFile>;
|
|
185
|
+
private publishOwner;
|
|
186
|
+
declareSubaid(task: OwnershipFileTask): Promise<OwnershipPreparedFile>;
|
|
187
|
+
revokeSubaid(task: OwnershipFileTask): Promise<OwnershipPreparedFile>;
|
|
188
|
+
transferOwneraid(task: OwnershipFileTask): Promise<OwnershipPreparedFile>;
|
|
189
|
+
private publishAgent;
|
|
190
|
+
declareOwneraid(task: OwnershipFileTask): Promise<OwnershipPreparedFile>;
|
|
191
|
+
revokeOwneraid(task: OwnershipFileTask): Promise<OwnershipPreparedFile>;
|
|
192
|
+
cleanupOwnerFile(task: OwnershipFileTask): Promise<void>;
|
|
193
|
+
}
|
|
194
|
+
//# sourceMappingURL=ownership-v21.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ownership-v21.d.ts","sourceRoot":"","sources":["../src/ownership-v21.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE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