@q00bs/agent-sdk 1.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/dist/Q00bsAgent.d.ts +331 -0
- package/dist/Q00bsAgent.d.ts.map +1 -0
- package/dist/Q00bsAgent.js +695 -0
- package/dist/Q00bsAgent.js.map +1 -0
- package/dist/abis/AgentEscrow.d.ts +336 -0
- package/dist/abis/AgentEscrow.d.ts.map +1 -0
- package/dist/abis/AgentEscrow.js +206 -0
- package/dist/abis/AgentEscrow.js.map +1 -0
- package/dist/abis/AgentRegistry.d.ts +496 -0
- package/dist/abis/AgentRegistry.d.ts.map +1 -0
- package/dist/abis/AgentRegistry.js +280 -0
- package/dist/abis/AgentRegistry.js.map +1 -0
- package/dist/abis/ConsensusModule.d.ts +270 -0
- package/dist/abis/ConsensusModule.d.ts.map +1 -0
- package/dist/abis/ConsensusModule.js +157 -0
- package/dist/abis/ConsensusModule.js.map +1 -0
- package/dist/abis/ERC8004Identity.d.ts +293 -0
- package/dist/abis/ERC8004Identity.d.ts.map +1 -0
- package/dist/abis/ERC8004Identity.js +223 -0
- package/dist/abis/ERC8004Identity.js.map +1 -0
- package/dist/abis/ERC8004Reputation.d.ts +362 -0
- package/dist/abis/ERC8004Reputation.d.ts.map +1 -0
- package/dist/abis/ERC8004Reputation.js +229 -0
- package/dist/abis/ERC8004Reputation.js.map +1 -0
- package/dist/abis/ERC8004Validation.d.ts +234 -0
- package/dist/abis/ERC8004Validation.d.ts.map +1 -0
- package/dist/abis/ERC8004Validation.js +162 -0
- package/dist/abis/ERC8004Validation.js.map +1 -0
- package/dist/abis/Q00bFactory.d.ts +123 -0
- package/dist/abis/Q00bFactory.d.ts.map +1 -0
- package/dist/abis/Q00bFactory.js +65 -0
- package/dist/abis/Q00bFactory.js.map +1 -0
- package/dist/abis/TheQ00bs.d.ts +119 -0
- package/dist/abis/TheQ00bs.d.ts.map +1 -0
- package/dist/abis/TheQ00bs.js +73 -0
- package/dist/abis/TheQ00bs.js.map +1 -0
- package/dist/abis/index.d.ts +9 -0
- package/dist/abis/index.d.ts.map +1 -0
- package/dist/abis/index.js +17 -0
- package/dist/abis/index.js.map +1 -0
- package/dist/client.d.ts +111 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +134 -0
- package/dist/client.js.map +1 -0
- package/dist/consensus.d.ts +85 -0
- package/dist/consensus.d.ts.map +1 -0
- package/dist/consensus.js +227 -0
- package/dist/consensus.js.map +1 -0
- package/dist/constants.d.ts +85 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +113 -0
- package/dist/constants.js.map +1 -0
- package/dist/discovery.d.ts +70 -0
- package/dist/discovery.d.ts.map +1 -0
- package/dist/discovery.js +214 -0
- package/dist/discovery.js.map +1 -0
- package/dist/erc8004.d.ts +311 -0
- package/dist/erc8004.d.ts.map +1 -0
- package/dist/erc8004.js +824 -0
- package/dist/erc8004.js.map +1 -0
- package/dist/errors.d.ts +107 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +210 -0
- package/dist/errors.js.map +1 -0
- package/dist/escrow.d.ts +86 -0
- package/dist/escrow.d.ts.map +1 -0
- package/dist/escrow.js +267 -0
- package/dist/escrow.js.map +1 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +118 -0
- package/dist/index.js.map +1 -0
- package/dist/privy.d.ts +197 -0
- package/dist/privy.d.ts.map +1 -0
- package/dist/privy.js +524 -0
- package/dist/privy.js.map +1 -0
- package/dist/trust.d.ts +49 -0
- package/dist/trust.d.ts.map +1 -0
- package/dist/trust.js +117 -0
- package/dist/trust.js.map +1 -0
- package/dist/types.d.ts +472 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +36 -0
- package/dist/types.js.map +1 -0
- package/package.json +30 -0
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @q00bs/agent-sdk — Q00bsAgent (Main Entry Point)
|
|
3
|
+
*
|
|
4
|
+
* This is the primary class developers interact with. It wraps all SDK
|
|
5
|
+
* modules (trust, escrow, consensus, discovery) behind a clean interface.
|
|
6
|
+
*
|
|
7
|
+
* WHAT THIS CLASS DOES:
|
|
8
|
+
* - Initializes blockchain clients from a private key (Mode 1) OR Privy (Mode 2).
|
|
9
|
+
* - Registers the agent on-chain as an ERC-721 on the owner's q00b.
|
|
10
|
+
* - Provides methods for trust verification, agent discovery, payments, and consensus.
|
|
11
|
+
* - Enforces spend limits and trust-path checks BEFORE sending transactions.
|
|
12
|
+
*
|
|
13
|
+
* TWO WALLET MODES:
|
|
14
|
+
*
|
|
15
|
+
* MODE 1 — Raw Private Key (legacy):
|
|
16
|
+
* Pass `privateKey` in config. The SDK creates viem clients locally.
|
|
17
|
+
*
|
|
18
|
+
* MODE 2 — Privy Server Wallet (recommended for ClawBot / OpenClaw agents):
|
|
19
|
+
* Pass `privy` in config (appId + appSecret). The SDK creates a Privy-managed
|
|
20
|
+
* wallet with spending policies. No private keys in your code.
|
|
21
|
+
* See: https://privy.io/blog/securely-equipping-openclaw-agents-with-privy-wallets
|
|
22
|
+
*
|
|
23
|
+
* SECURITY GUARANTEES:
|
|
24
|
+
* - In Mode 1: Private keys are used by viem locally and never leave the process.
|
|
25
|
+
* - In Mode 2: Private keys are held by Privy's HSM and NEVER appear in your code.
|
|
26
|
+
* - All state-changing operations go through on-chain contracts.
|
|
27
|
+
* - Spend limits are enforced at 3 layers: Privy policy → SDK pre-check → on-chain.
|
|
28
|
+
* - Trust paths are verified on-chain through the q00b graph before communication.
|
|
29
|
+
*
|
|
30
|
+
* USAGE (Mode 1 — raw key):
|
|
31
|
+
* ```ts
|
|
32
|
+
* const agent = new Q00bsAgent({
|
|
33
|
+
* privateKey: process.env.AGENT_PRIVATE_KEY!,
|
|
34
|
+
* rpcUrl: process.env.BASE_RPC_URL!,
|
|
35
|
+
* registryAddress: '0x...',
|
|
36
|
+
* });
|
|
37
|
+
* await agent.initialize();
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* USAGE (Mode 2 — Privy, recommended):
|
|
41
|
+
* ```ts
|
|
42
|
+
* const agent = new Q00bsAgent({
|
|
43
|
+
* privy: {
|
|
44
|
+
* appId: process.env.PRIVY_APP_ID!,
|
|
45
|
+
* appSecret: process.env.PRIVY_APP_SECRET!,
|
|
46
|
+
* walletId: process.env.PRIVY_WALLET_ID, // optional, creates new if omitted
|
|
47
|
+
* },
|
|
48
|
+
* rpcUrl: process.env.BASE_RPC_URL!,
|
|
49
|
+
* registryAddress: '0x...',
|
|
50
|
+
* });
|
|
51
|
+
* await agent.initialize();
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
import { PrivyWalletManager } from './privy';
|
|
55
|
+
import { ERC8004Manager } from './erc8004';
|
|
56
|
+
import type { AgentConfig, AgentRecord, TrustPath, AgentQuery, DiscoveredAgent, CreateEscrowParams, EscrowRecord, ConsensusParams, ConsensusResult, ConsensusRecord, PrivyWalletPolicy, PrivyWalletInfo, ERC8004Identity, ERC8004ReputationSummary, ERC8004Feedback, GiveFeedbackParams } from './types';
|
|
57
|
+
export declare class Q00bsAgent {
|
|
58
|
+
private config;
|
|
59
|
+
private logger;
|
|
60
|
+
private publicClient;
|
|
61
|
+
private walletClient?;
|
|
62
|
+
private walletAddress;
|
|
63
|
+
private privyManager?;
|
|
64
|
+
private _walletMode;
|
|
65
|
+
private trustResolver;
|
|
66
|
+
private escrowManager?;
|
|
67
|
+
private consensusManager?;
|
|
68
|
+
private agentDiscovery;
|
|
69
|
+
private _erc8004Manager?;
|
|
70
|
+
private _agentId?;
|
|
71
|
+
private _initialized;
|
|
72
|
+
/** The agent's on-chain ID (set after register() or from config). */
|
|
73
|
+
get agentId(): number | undefined;
|
|
74
|
+
/** Whether initialize() has been called. */
|
|
75
|
+
get initialized(): boolean;
|
|
76
|
+
/** The agent's wallet address (derived from private key or Privy). */
|
|
77
|
+
get address(): string;
|
|
78
|
+
/** Which wallet mode is active: 'privateKey' (Mode 1) or 'privy' (Mode 2). */
|
|
79
|
+
get walletMode(): 'privateKey' | 'privy';
|
|
80
|
+
/** Whether this agent uses a Privy-managed wallet (Mode 2). */
|
|
81
|
+
get isPrivyMode(): boolean;
|
|
82
|
+
/** The Privy wallet manager (only available in Mode 2). */
|
|
83
|
+
get privyWallet(): PrivyWalletManager | undefined;
|
|
84
|
+
/** The ERC-8004 manager (available if erc8004 config is set or after initialize). */
|
|
85
|
+
get erc8004(): ERC8004Manager | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Create a new Q00bsAgent.
|
|
88
|
+
*
|
|
89
|
+
* @param config - Agent configuration. Must include either `privateKey` (Mode 1) or `privy` (Mode 2).
|
|
90
|
+
*
|
|
91
|
+
* NOTE: This does NOT connect to the blockchain yet. Call initialize() next.
|
|
92
|
+
*/
|
|
93
|
+
constructor(config: AgentConfig);
|
|
94
|
+
/**
|
|
95
|
+
* Initialize blockchain connections and sub-modules.
|
|
96
|
+
* Must be called before any other method.
|
|
97
|
+
*
|
|
98
|
+
* In Mode 1 (private key): Creates viem clients and derives wallet address.
|
|
99
|
+
* In Mode 2 (Privy): Creates/loads Privy wallet with policy, gets address.
|
|
100
|
+
*
|
|
101
|
+
* @param walletPolicy - (Mode 2 only) Policy to apply when creating a new Privy wallet.
|
|
102
|
+
* @throws If configuration is invalid.
|
|
103
|
+
*/
|
|
104
|
+
initialize(walletPolicy?: PrivyWalletPolicy): Promise<void>;
|
|
105
|
+
/**
|
|
106
|
+
* Register this agent on-chain on one side of the owner's q00b.
|
|
107
|
+
*
|
|
108
|
+
* @param ownerQ00bAddress - The q00b contract address owned by this agent's human.
|
|
109
|
+
* @param sidePosition - Which side of the q00b (0-5) to occupy.
|
|
110
|
+
* @returns The new agent's on-chain ID.
|
|
111
|
+
*
|
|
112
|
+
* IMPORTANT: The transaction sender must be the q00b OWNER (not the agent wallet).
|
|
113
|
+
* In practice, the owner calls registerAgent() from their wallet, passing
|
|
114
|
+
* the agent's wallet address. This method is for convenience when the owner's
|
|
115
|
+
* private key is used.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* ```ts
|
|
119
|
+
* const agentId = await agent.register('0xMyQ00bAddress', 0);
|
|
120
|
+
* console.log(`Registered as agent #${agentId}`);
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
123
|
+
register(ownerQ00bAddress: string, sidePosition: number): Promise<number>;
|
|
124
|
+
/**
|
|
125
|
+
* Check the trust path between this agent and another.
|
|
126
|
+
*
|
|
127
|
+
* @param targetAgentId - The other agent's on-chain ID.
|
|
128
|
+
* @returns TrustPath with connection status, hops, and effective trust score.
|
|
129
|
+
*/
|
|
130
|
+
checkTrust(targetAgentId: number): Promise<TrustPath>;
|
|
131
|
+
/**
|
|
132
|
+
* Get this agent's on-chain record.
|
|
133
|
+
*/
|
|
134
|
+
getMyRecord(): Promise<AgentRecord | null>;
|
|
135
|
+
/**
|
|
136
|
+
* Search for agents in the trust network.
|
|
137
|
+
*
|
|
138
|
+
* @param query - Optional filters (minTrustScore, maxHops, limit, sortBy).
|
|
139
|
+
* @returns Array of discovered agents sorted by effective trust.
|
|
140
|
+
*/
|
|
141
|
+
discoverAgents(query?: AgentQuery): Promise<DiscoveredAgent[]>;
|
|
142
|
+
/**
|
|
143
|
+
* Get any agent's record by ID.
|
|
144
|
+
*/
|
|
145
|
+
getAgent(agentId: number): Promise<AgentRecord | null>;
|
|
146
|
+
/**
|
|
147
|
+
* Get any agent's record by wallet address.
|
|
148
|
+
*/
|
|
149
|
+
getAgentByWallet(wallet: string): Promise<{
|
|
150
|
+
id: number;
|
|
151
|
+
agent: AgentRecord;
|
|
152
|
+
} | null>;
|
|
153
|
+
/**
|
|
154
|
+
* Create an escrow to pay another agent for a task.
|
|
155
|
+
*
|
|
156
|
+
* @param params - Service agent ID, task description, payment amount, deadline.
|
|
157
|
+
* @returns The new escrow ID.
|
|
158
|
+
* @throws If escrow module is not configured.
|
|
159
|
+
*/
|
|
160
|
+
createEscrow(params: CreateEscrowParams): Promise<number>;
|
|
161
|
+
/**
|
|
162
|
+
* Accept an escrow (as the service agent).
|
|
163
|
+
*/
|
|
164
|
+
acceptEscrow(escrowId: number): Promise<string>;
|
|
165
|
+
/**
|
|
166
|
+
* Mark an escrow complete (as the service agent).
|
|
167
|
+
*/
|
|
168
|
+
completeEscrow(escrowId: number, deliverableDescription: string): Promise<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Release escrowed funds to the service agent (as the client agent).
|
|
171
|
+
*/
|
|
172
|
+
releaseEscrow(escrowId: number): Promise<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Request refund for an expired escrow.
|
|
175
|
+
*/
|
|
176
|
+
refundEscrow(escrowId: number): Promise<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Get escrow details.
|
|
179
|
+
*/
|
|
180
|
+
getEscrow(escrowId: number): Promise<EscrowRecord>;
|
|
181
|
+
/**
|
|
182
|
+
* Request consensus from peer agents for a high-stakes action.
|
|
183
|
+
*
|
|
184
|
+
* @param params - Action description, value, and optional timeout.
|
|
185
|
+
* @returns The consensus request ID.
|
|
186
|
+
*/
|
|
187
|
+
requestConsensus(params: ConsensusParams): Promise<number>;
|
|
188
|
+
/**
|
|
189
|
+
* Vote on a peer's consensus request.
|
|
190
|
+
*/
|
|
191
|
+
voteOnConsensus(requestId: number, approve: boolean): Promise<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Wait for a consensus request to reach a decision (blocking).
|
|
194
|
+
*/
|
|
195
|
+
waitForConsensus(requestId: number, pollIntervalMs?: number, timeoutMs?: number): Promise<ConsensusResult>;
|
|
196
|
+
/**
|
|
197
|
+
* Get consensus request details.
|
|
198
|
+
*/
|
|
199
|
+
getConsensusRequest(requestId: number): Promise<ConsensusRecord>;
|
|
200
|
+
/**
|
|
201
|
+
* Get this agent's Privy wallet info (Mode 2 only).
|
|
202
|
+
*
|
|
203
|
+
* @returns The Privy wallet info, or undefined if not in Privy mode.
|
|
204
|
+
*/
|
|
205
|
+
getPrivyWalletInfo(): PrivyWalletInfo | undefined;
|
|
206
|
+
/**
|
|
207
|
+
* Update the spending policy on this agent's Privy wallet (Mode 2 only).
|
|
208
|
+
*
|
|
209
|
+
* Use this to dynamically adjust limits — for example, after the agent
|
|
210
|
+
* gains more trust or is granted higher permissions by its owner.
|
|
211
|
+
*
|
|
212
|
+
* @param policy - The new wallet policy to apply.
|
|
213
|
+
* @throws PrivyWalletError if not in Privy mode or update fails.
|
|
214
|
+
*
|
|
215
|
+
* @example
|
|
216
|
+
* ```ts
|
|
217
|
+
* await agent.updatePrivyPolicy({
|
|
218
|
+
* name: 'Elevated Limits',
|
|
219
|
+
* rules: [
|
|
220
|
+
* { type: 'max_transaction_value', value: '0.5' },
|
|
221
|
+
* { type: 'daily_spend_limit', value: '5.0' },
|
|
222
|
+
* ],
|
|
223
|
+
* });
|
|
224
|
+
* ```
|
|
225
|
+
*/
|
|
226
|
+
updatePrivyPolicy(policy: PrivyWalletPolicy): Promise<void>;
|
|
227
|
+
/**
|
|
228
|
+
* Sign a message with this agent's wallet.
|
|
229
|
+
*
|
|
230
|
+
* Works in both modes:
|
|
231
|
+
* - Mode 1: Uses viem walletClient.signMessage()
|
|
232
|
+
* - Mode 2: Uses Privy's signMessage API
|
|
233
|
+
*
|
|
234
|
+
* @param message - The message to sign.
|
|
235
|
+
* @returns The signature hex string.
|
|
236
|
+
*/
|
|
237
|
+
signMessage(message: string): Promise<string>;
|
|
238
|
+
/**
|
|
239
|
+
* Register this agent's ERC-8004 identity in the IdentityRegistry.
|
|
240
|
+
*
|
|
241
|
+
* This creates a portable identity on the canonical ERC-8004 registry
|
|
242
|
+
* that other agent platforms can discover and verify.
|
|
243
|
+
*
|
|
244
|
+
* @param ownerAddress - Address to mint the identity NFT to (usually your wallet).
|
|
245
|
+
* @returns The new ERC-8004 identity.
|
|
246
|
+
*
|
|
247
|
+
* @example
|
|
248
|
+
* ```ts
|
|
249
|
+
* const identity = await agent.registerERC8004Identity(agent.address);
|
|
250
|
+
* console.log(`ERC-8004 ID: ${identity.agentId}`);
|
|
251
|
+
* console.log(`Identifier: ${identity.identifier}`);
|
|
252
|
+
* ```
|
|
253
|
+
*/
|
|
254
|
+
registerERC8004Identity(ownerAddress?: string): Promise<ERC8004Identity>;
|
|
255
|
+
/**
|
|
256
|
+
* Get an ERC-8004 identity by agentId.
|
|
257
|
+
*
|
|
258
|
+
* @param agentId - The ERC-8004 agentId (tokenId in IdentityRegistry).
|
|
259
|
+
* @returns The identity, or null if not found.
|
|
260
|
+
*/
|
|
261
|
+
getERC8004Identity(agentId: number): Promise<ERC8004Identity | null>;
|
|
262
|
+
/**
|
|
263
|
+
* Set the agentURI on this agent's ERC-8004 identity.
|
|
264
|
+
*
|
|
265
|
+
* The URI should point to a JSON registration file describing
|
|
266
|
+
* the agent (name, capabilities, endpoints, trust level, etc.).
|
|
267
|
+
*
|
|
268
|
+
* @param erc8004AgentId - The agent's ERC-8004 ID.
|
|
269
|
+
* @param uri - The URI (IPFS, HTTPS, etc.).
|
|
270
|
+
*/
|
|
271
|
+
setERC8004AgentURI(erc8004AgentId: number, uri: string): Promise<void>;
|
|
272
|
+
/**
|
|
273
|
+
* Sync this agent's Q00bs trust score to its ERC-8004 metadata.
|
|
274
|
+
*
|
|
275
|
+
* This makes the Q00bs trust score visible to other agent platforms
|
|
276
|
+
* that read ERC-8004 metadata.
|
|
277
|
+
*
|
|
278
|
+
* @param erc8004AgentId - The agent's ERC-8004 ID.
|
|
279
|
+
*/
|
|
280
|
+
syncTrustToERC8004(erc8004AgentId: number): Promise<void>;
|
|
281
|
+
/**
|
|
282
|
+
* Give ERC-8004 feedback to another agent.
|
|
283
|
+
*
|
|
284
|
+
* This publishes a reputation signal on the canonical ReputationRegistry.
|
|
285
|
+
* Other agent platforms can read this feedback to assess your peer's
|
|
286
|
+
* trustworthiness.
|
|
287
|
+
*
|
|
288
|
+
* @param params - Feedback parameters (subject, value, decimals).
|
|
289
|
+
* @param fromERC8004AgentId - Your agent's ERC-8004 ID.
|
|
290
|
+
* @returns The feedback index.
|
|
291
|
+
*
|
|
292
|
+
* @example
|
|
293
|
+
* ```ts
|
|
294
|
+
* await agent.giveERC8004Feedback({
|
|
295
|
+
* subjectAgentId: 7,
|
|
296
|
+
* value: 4.5, // positive feedback
|
|
297
|
+
* decimals: 2,
|
|
298
|
+
* }, myERC8004Id);
|
|
299
|
+
* ```
|
|
300
|
+
*/
|
|
301
|
+
giveERC8004Feedback(params: GiveFeedbackParams, fromERC8004AgentId: number): Promise<number>;
|
|
302
|
+
/**
|
|
303
|
+
* Get the ERC-8004 reputation summary for an agent.
|
|
304
|
+
*
|
|
305
|
+
* @param erc8004AgentId - The agent's ERC-8004 ID.
|
|
306
|
+
* @returns Aggregate reputation summary.
|
|
307
|
+
*/
|
|
308
|
+
getERC8004Reputation(erc8004AgentId: number): Promise<ERC8004ReputationSummary>;
|
|
309
|
+
/**
|
|
310
|
+
* Read all ERC-8004 feedback for an agent.
|
|
311
|
+
*
|
|
312
|
+
* @param erc8004AgentId - The agent's ERC-8004 ID.
|
|
313
|
+
* @returns Array of feedback entries.
|
|
314
|
+
*/
|
|
315
|
+
getERC8004Feedback(erc8004AgentId: number): Promise<ERC8004Feedback[]>;
|
|
316
|
+
/**
|
|
317
|
+
* Calculate effective trust locally (no blockchain call).
|
|
318
|
+
* Useful for quick UI previews.
|
|
319
|
+
*/
|
|
320
|
+
calculateTrust(baseTrustScore: number, hops: number): number;
|
|
321
|
+
/**
|
|
322
|
+
* Clear the trust cache (call after known on-chain changes).
|
|
323
|
+
*/
|
|
324
|
+
clearTrustCache(): void;
|
|
325
|
+
private ensureInitialized;
|
|
326
|
+
private ensureRegistered;
|
|
327
|
+
private ensureEscrow;
|
|
328
|
+
private ensureConsensus;
|
|
329
|
+
private ensureERC8004;
|
|
330
|
+
}
|
|
331
|
+
//# sourceMappingURL=Q00bsAgent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Q00bsAgent.d.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