@okrlinkhub/agent-factory 1.0.11 → 2.0.1

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 CHANGED
@@ -67,6 +67,39 @@ crons.interval(
67
67
  export default crons;
68
68
  ```
69
69
 
70
+ ## Upgrade to 2.0.0
71
+
72
+ Version `2.0.0` introduces a **conversation identity breaking change**.
73
+
74
+ What changed:
75
+ - `conversationId` is now required for worker snapshot upload and restore APIs.
76
+ - `dataSnapshots.conversationId` is now mandatory in persisted storage.
77
+ - Snapshot restore no longer falls back to the latest archive for `workspaceId + agentKey`.
78
+ - User-agent flows now use a stable conversation identity scoped to `consumerUserId + agentKey`.
79
+ - Telegram pairing no longer changes the conversation lineage used for chat history and snapshots.
80
+
81
+ Important warnings:
82
+ - This release is intentionally **not backward compatible** with legacy snapshots created without `conversationId`.
83
+ - Existing non-prod agents, snapshots, bindings, and conversations created with the old model should be deleted before rollout.
84
+ - If a worker runtime or consumer app still calls snapshot APIs without `conversationId`, the call will now fail at validation time.
85
+ - If your integration assumed conversation IDs like `telegram:<chatId>` or `user:<consumerUserId>` for user-agent flows, you must update it to treat `conversationId` as an opaque stable identifier.
86
+ - If you have custom dashboards, scripts, or admin tools that query snapshots only by `agentKey`, they must be updated to scope by `workspaceId + agentKey + conversationId`.
87
+
88
+ Quick upgrade checklist:
89
+ 1. Delete legacy non-production agents, snapshots, conversations, and identity bindings created before this release.
90
+ 2. Upgrade the package to `2.0.0`.
91
+ 3. Regenerate Convex bindings in the consumer app.
92
+ 4. Redeploy all worker runtimes and make sure they always pass `conversationId` to snapshot upload/restore APIs.
93
+ 5. Update any custom integrations that assumed user-agent conversation IDs were derived from Telegram chat IDs.
94
+ 6. Verify that snapshot restore returns data only for the exact `workspaceId + agentKey + conversationId` tuple.
95
+ 7. Smoke-test one manual user-agent flow, one Telegram-paired flow, and one worker snapshot restore flow before wider rollout.
96
+
97
+ Recommended release notes to communicate to consumers:
98
+ - treat this as a major upgrade, not a safe drop-in patch;
99
+ - start from a clean non-prod environment;
100
+ - roll out workers and consumer app together;
101
+ - do not reuse legacy archives generated before `conversationId` became mandatory.
102
+
70
103
  ## Usage
71
104
 
72
105
  ### User-facing agent APIs
@@ -103,6 +136,10 @@ Core APIs added for this pattern:
103
136
  - `listSnapshotsForUserAgent`
104
137
  - `getLatestSnapshotForUserAgent`
105
138
 
139
+ For user-agent flows, the component now treats `conversationId` as a stable identity scoped to
140
+ `consumerUserId + agentKey`, so Telegram pairing changes do not move the chat to a different
141
+ conversation history or snapshot lineage.
142
+
106
143
  Minimal consumer example:
107
144
 
108
145
  ```ts
@@ -215,6 +252,10 @@ After enqueue, a **queue processor runtime** must process the queue by calling:
215
252
  - `components.agentFactory.lib.heartbeat`
216
253
  - `components.agentFactory.lib.complete` or `components.agentFactory.lib.fail`
217
254
 
255
+ When workers create or restore filesystem snapshots, `conversationId` must always be passed
256
+ explicitly alongside `workspaceId` and `agentKey`; the component no longer supports snapshot
257
+ fallbacks that select the latest archive for an agent without matching the conversation.
258
+
218
259
  Worker autoscaling reconcile now follows a hybrid model:
219
260
  - `enqueue` schedules an immediate async reconcile trigger (`runAfter(0, ...)`)
220
261
  - a periodic cron fallback is still recommended to recover from missed triggers
@@ -22,8 +22,8 @@ export declare function exposeApi(component: ComponentApi, options: {
22
22
  getProviderRuntimeConfig: import("convex/server").RegisteredQuery<"public", {}, Promise<any>>;
23
23
  setProviderRuntimeConfig: import("convex/server").RegisteredMutation<"public", {
24
24
  providerConfig: {
25
- appName: string;
26
25
  kind: "fly" | "runpod" | "ecs";
26
+ appName: string;
27
27
  organizationSlug: string;
28
28
  image: string;
29
29
  region: string;
@@ -36,13 +36,13 @@ export declare function exposeApi(component: ComponentApi, options: {
36
36
  setMessageRuntimeConfig: import("convex/server").RegisteredMutation<"public", {
37
37
  messageConfig: {
38
38
  systemPrompt?: string | undefined;
39
+ telegramAttachmentRetentionMs?: number | undefined;
39
40
  };
40
41
  }, Promise<null>>;
41
42
  enqueue: import("convex/server").RegisteredMutation<"public", {
42
- metadata?: Record<string, string> | undefined;
43
43
  providerConfig?: {
44
- appName: string;
45
44
  kind: "fly" | "runpod" | "ecs";
45
+ appName: string;
46
46
  organizationSlug: string;
47
47
  image: string;
48
48
  region: string;
@@ -50,11 +50,22 @@ export declare function exposeApi(component: ComponentApi, options: {
50
50
  volumePath: string;
51
51
  volumeSizeGb: number;
52
52
  } | undefined;
53
- priority?: number | undefined;
54
53
  externalMessageId?: string | undefined;
55
54
  rawUpdateJson?: string | undefined;
56
- agentKey: string;
55
+ metadata?: Record<string, string> | undefined;
56
+ attachments?: {
57
+ fileName?: string | undefined;
58
+ mimeType?: string | undefined;
59
+ sizeBytes?: number | undefined;
60
+ kind: "photo" | "video" | "audio" | "voice" | "document";
61
+ status: "ready" | "expired";
62
+ storageId: string;
63
+ telegramFileId: string;
64
+ expiresAt: number;
65
+ }[] | undefined;
66
+ priority?: number | undefined;
57
67
  conversationId: string;
68
+ agentKey: string;
58
69
  provider: string;
59
70
  providerUserId: string;
60
71
  messageText: string;
@@ -81,6 +92,16 @@ export declare function exposeApi(component: ComponentApi, options: {
81
92
  leaseId: string;
82
93
  messageId: string;
83
94
  payload: {
95
+ attachments?: Array<{
96
+ expiresAt: number;
97
+ fileName?: string;
98
+ kind: "photo" | "video" | "audio" | "voice" | "document";
99
+ mimeType?: string;
100
+ sizeBytes?: number;
101
+ status: "ready" | "expired";
102
+ storageId: string;
103
+ telegramFileId: string;
104
+ }>;
84
105
  externalMessageId?: string;
85
106
  messageText: string;
86
107
  metadata?: Record<string, string>;
@@ -90,18 +111,18 @@ export declare function exposeApi(component: ComponentApi, options: {
90
111
  };
91
112
  } | null>>;
92
113
  workerHeartbeat: import("convex/server").RegisteredMutation<"public", {
93
- messageId: string;
94
114
  workerId: string;
115
+ messageId: string;
95
116
  leaseId: string;
96
117
  }, Promise<boolean>>;
97
118
  workerComplete: import("convex/server").RegisteredMutation<"public", {
98
- messageId: string;
99
119
  workerId: string;
120
+ messageId: string;
100
121
  leaseId: string;
101
122
  }, Promise<boolean>>;
102
123
  workerFail: import("convex/server").RegisteredMutation<"public", {
103
- messageId: string;
104
124
  workerId: string;
125
+ messageId: string;
105
126
  leaseId: string;
106
127
  errorMessage: string;
107
128
  }, Promise<{
@@ -110,8 +131,8 @@ export declare function exposeApi(component: ComponentApi, options: {
110
131
  requeued: boolean;
111
132
  }>>;
112
133
  workerHydrationBundle: import("convex/server").RegisteredQuery<"public", {
113
- workspaceId: string;
114
134
  messageId: string;
135
+ workspaceId: string;
115
136
  }, Promise<{
116
137
  agentKey: string;
117
138
  bridgeRuntimeConfig: null | {
@@ -137,6 +158,16 @@ export declare function exposeApi(component: ComponentApi, options: {
137
158
  };
138
159
  messageId: string;
139
160
  payload: {
161
+ attachments?: Array<{
162
+ expiresAt: number;
163
+ fileName?: string;
164
+ kind: "photo" | "video" | "audio" | "voice" | "document";
165
+ mimeType?: string;
166
+ sizeBytes?: number;
167
+ status: "ready" | "expired";
168
+ storageId: string;
169
+ telegramFileId: string;
170
+ }>;
140
171
  externalMessageId?: string;
141
172
  messageText: string;
142
173
  metadata?: Record<string, string>;
@@ -147,8 +178,8 @@ export declare function exposeApi(component: ComponentApi, options: {
147
178
  telegramBotToken: null | string;
148
179
  } | null>>;
149
180
  workerGlobalSkillsManifest: import("convex/server").RegisteredQuery<"public", {
150
- workspaceId?: string | undefined;
151
181
  workerId?: string | undefined;
182
+ workspaceId?: string | undefined;
152
183
  releaseChannel?: "stable" | "canary" | undefined;
153
184
  }, Promise<any>>;
154
185
  workerConversationHasQueued: import("convex/server").RegisteredQuery<"public", {
@@ -159,8 +190,8 @@ export declare function exposeApi(component: ComponentApi, options: {
159
190
  conversationId: string;
160
191
  messages: {
161
192
  at?: number | undefined;
162
- content: string;
163
193
  role: "system" | "user" | "assistant" | "tool";
194
+ content: string;
164
195
  }[];
165
196
  }, Promise<{
166
197
  messageCount: number;
@@ -170,26 +201,26 @@ export declare function exposeApi(component: ComponentApi, options: {
170
201
  workerId: string;
171
202
  }, Promise<any>>;
172
203
  workerPrepareSnapshotUpload: import("convex/server").RegisteredMutation<"public", {
173
- conversationId?: string | undefined;
204
+ conversationId: string;
174
205
  agentKey: string;
175
- workspaceId: string;
176
206
  workerId: string;
177
- reason: "manual" | "drain" | "signal";
207
+ workspaceId: string;
208
+ reason: "drain" | "signal" | "manual";
178
209
  }, Promise<any>>;
179
210
  workerFinalizeSnapshotUpload: import("convex/server").RegisteredMutation<"public", {
180
- workerId: string;
181
211
  storageId: string;
212
+ sizeBytes: number;
213
+ workerId: string;
182
214
  snapshotId: string;
183
215
  sha256: string;
184
- sizeBytes: number;
185
216
  }, Promise<any>>;
186
217
  workerFailSnapshotUpload: import("convex/server").RegisteredMutation<"public", {
187
- error: string;
188
218
  workerId: string;
189
219
  snapshotId: string;
220
+ error: string;
190
221
  }, Promise<any>>;
191
222
  workerLatestSnapshotForRestore: import("convex/server").RegisteredQuery<"public", {
192
- conversationId?: string | undefined;
223
+ conversationId: string;
193
224
  agentKey: string;
194
225
  workspaceId: string;
195
226
  }, Promise<any>>;
@@ -202,20 +233,20 @@ export declare function exposeApi(component: ComponentApi, options: {
202
233
  messageId: string;
203
234
  }, Promise<any>>;
204
235
  globalSkillsDeploy: import("convex/server").RegisteredMutation<"public", {
205
- actor?: string | undefined;
206
- description?: string | undefined;
236
+ releaseChannel?: "stable" | "canary" | undefined;
207
237
  displayName?: string | undefined;
238
+ description?: string | undefined;
208
239
  entryPoint?: string | undefined;
209
240
  moduleFormat?: "esm" | "cjs" | undefined;
210
- releaseChannel?: "stable" | "canary" | undefined;
211
- version: string;
241
+ actor?: string | undefined;
212
242
  slug: string;
243
+ version: string;
213
244
  sourceJs: string;
214
245
  }, Promise<any>>;
215
246
  globalSkillsList: import("convex/server").RegisteredQuery<"public", {
216
247
  status?: "active" | "disabled" | undefined;
217
- limit?: number | undefined;
218
248
  releaseChannel?: "stable" | "canary" | undefined;
249
+ limit?: number | undefined;
219
250
  }, Promise<any>>;
220
251
  globalSkillsSetStatus: import("convex/server").RegisteredMutation<"public", {
221
252
  actor?: string | undefined;
@@ -291,14 +322,15 @@ export declare function exposeApi(component: ComponentApi, options: {
291
322
  bindUserAgent: import("convex/server").RegisteredMutation<"public", {
292
323
  metadata?: Record<string, string> | undefined;
293
324
  source?: "manual" | "telegram_pairing" | "api" | undefined;
294
- telegramChatId?: string | undefined;
295
325
  telegramUserId?: string | undefined;
326
+ telegramChatId?: string | undefined;
296
327
  agentKey: string;
297
328
  consumerUserId: string;
298
329
  }, Promise<{
299
330
  agentKey: string;
300
331
  boundAt: number;
301
332
  consumerUserId: string;
333
+ conversationId: string;
302
334
  metadata: null | Record<string, string>;
303
335
  revokedAt: null | number;
304
336
  source: "manual" | "telegram_pairing" | "api";
@@ -323,6 +355,7 @@ export declare function exposeApi(component: ComponentApi, options: {
323
355
  agentKey: string;
324
356
  boundAt: number;
325
357
  consumerUserId: string;
358
+ conversationId: string;
326
359
  metadata: null | Record<string, string>;
327
360
  revokedAt: null | number;
328
361
  source: "manual" | "telegram_pairing" | "api";
@@ -345,11 +378,12 @@ export declare function exposeApi(component: ComponentApi, options: {
345
378
  consumerUserId: string;
346
379
  }, Promise<any>>;
347
380
  resolveAgentForTelegram: import("convex/server").RegisteredQuery<"public", {
348
- telegramChatId?: string | undefined;
349
381
  telegramUserId?: string | undefined;
382
+ telegramChatId?: string | undefined;
350
383
  }, Promise<{
351
384
  agentKey: null | string;
352
385
  consumerUserId: null | string;
386
+ conversationId: null | string;
353
387
  }>>;
354
388
  createPairingCode: import("convex/server").RegisteredMutation<"public", {
355
389
  ttlMs?: number | undefined;
@@ -372,8 +406,8 @@ export declare function exposeApi(component: ComponentApi, options: {
372
406
  consumerUserId: string;
373
407
  }, Promise<any>>;
374
408
  consumePairingCode: import("convex/server").RegisteredMutation<"public", {
375
- telegramChatId: string;
376
409
  telegramUserId: string;
410
+ telegramChatId: string;
377
411
  code: string;
378
412
  }, Promise<{
379
413
  agentKey: string;
@@ -406,8 +440,8 @@ export declare function exposeApi(component: ComponentApi, options: {
406
440
  importTelegramTokenForAgent: import("convex/server").RegisteredMutation<"public", {
407
441
  metadata?: Record<string, string> | undefined;
408
442
  agentKey: string;
409
- consumerUserId: string;
410
443
  plaintextValue: string;
444
+ consumerUserId: string;
411
445
  }, Promise<any>>;
412
446
  getUserAgentOnboardingState: import("convex/server").RegisteredQuery<"public", {
413
447
  agentKey: string;
@@ -443,11 +477,11 @@ export declare function exposeApi(component: ComponentApi, options: {
443
477
  }, Promise<any>>;
444
478
  createPushTemplate: import("convex/server").RegisteredMutation<"public", {
445
479
  enabled?: boolean | undefined;
446
- companyId: string;
447
480
  periodicity: "manual" | "daily" | "weekly" | "monthly";
448
- text: string;
481
+ companyId: string;
482
+ templateKey: string;
449
483
  title: string;
450
- actorUserId: string;
484
+ text: string;
451
485
  suggestedTimes: ({
452
486
  kind: "daily";
453
487
  time: string;
@@ -460,13 +494,12 @@ export declare function exposeApi(component: ComponentApi, options: {
460
494
  time: string;
461
495
  dayOfMonth: number | "last";
462
496
  })[];
463
- templateKey: string;
497
+ actorUserId: string;
464
498
  }, Promise<any>>;
465
499
  updatePushTemplate: import("convex/server").RegisteredMutation<"public", {
466
- enabled?: boolean | undefined;
467
500
  periodicity?: "manual" | "daily" | "weekly" | "monthly" | undefined;
468
- text?: string | undefined;
469
501
  title?: string | undefined;
502
+ text?: string | undefined;
470
503
  suggestedTimes?: ({
471
504
  kind: "daily";
472
505
  time: string;
@@ -479,8 +512,9 @@ export declare function exposeApi(component: ComponentApi, options: {
479
512
  time: string;
480
513
  dayOfMonth: number | "last";
481
514
  })[] | undefined;
482
- templateId: string;
515
+ enabled?: boolean | undefined;
483
516
  actorUserId: string;
517
+ templateId: string;
484
518
  }, Promise<any>>;
485
519
  deletePushTemplate: import("convex/server").RegisteredMutation<"public", {
486
520
  templateId: string;
@@ -507,14 +541,17 @@ export declare function exposeApi(component: ComponentApi, options: {
507
541
  } | undefined;
508
542
  consumerUserId: string;
509
543
  companyId: string;
510
- timezone: string;
511
544
  templateId: string;
545
+ timezone: string;
512
546
  }, Promise<any>>;
513
547
  createPushJobCustom: import("convex/server").RegisteredMutation<"public", {
514
548
  enabled?: boolean | undefined;
515
549
  consumerUserId: string;
516
- companyId: string;
517
550
  periodicity: "manual" | "daily" | "weekly" | "monthly";
551
+ companyId: string;
552
+ title: string;
553
+ text: string;
554
+ timezone: string;
518
555
  schedule: {
519
556
  kind: "manual";
520
557
  } | {
@@ -529,13 +566,13 @@ export declare function exposeApi(component: ComponentApi, options: {
529
566
  time: string;
530
567
  dayOfMonth: number | "last";
531
568
  };
532
- text: string;
533
- timezone: string;
534
- title: string;
535
569
  }, Promise<any>>;
536
570
  updatePushJob: import("convex/server").RegisteredMutation<"public", {
537
- enabled?: boolean | undefined;
538
571
  periodicity?: "manual" | "daily" | "weekly" | "monthly" | undefined;
572
+ title?: string | undefined;
573
+ text?: string | undefined;
574
+ enabled?: boolean | undefined;
575
+ timezone?: string | undefined;
539
576
  schedule?: {
540
577
  kind: "manual";
541
578
  } | {
@@ -550,9 +587,6 @@ export declare function exposeApi(component: ComponentApi, options: {
550
587
  time: string;
551
588
  dayOfMonth: number | "last";
552
589
  } | undefined;
553
- text?: string | undefined;
554
- timezone?: string | undefined;
555
- title?: string | undefined;
556
590
  jobId: string;
557
591
  }, Promise<any>>;
558
592
  deletePushJob: import("convex/server").RegisteredMutation<"public", {
@@ -572,7 +606,7 @@ export declare function exposeApi(component: ComponentApi, options: {
572
606
  }, Promise<any>>;
573
607
  listQueueItemsForUserAgent: import("convex/server").RegisteredQuery<"public", {
574
608
  limit?: number | undefined;
575
- statuses?: ("failed" | "done" | "queued" | "processing" | "dead_letter")[] | undefined;
609
+ statuses?: ("queued" | "processing" | "done" | "failed" | "dead_letter")[] | undefined;
576
610
  agentKey: string;
577
611
  consumerUserId: string;
578
612
  }, Promise<any>>;
@@ -584,8 +618,8 @@ export declare function exposeApi(component: ComponentApi, options: {
584
618
  sendMessageToUserAgent: import("convex/server").RegisteredMutation<"public", {
585
619
  metadata?: Record<string, string> | undefined;
586
620
  agentKey: string;
587
- consumerUserId: string;
588
621
  content: string;
622
+ consumerUserId: string;
589
623
  }, Promise<any>>;
590
624
  listSnapshotsForConversation: import("convex/server").RegisteredQuery<"public", {
591
625
  limit?: number | undefined;
@@ -627,15 +661,18 @@ export declare function exposeApi(component: ComponentApi, options: {
627
661
  agentKey: string;
628
662
  consumerUserId: string;
629
663
  companyId: string;
630
- timezone: string;
631
664
  templateId: string;
665
+ timezone: string;
632
666
  }, Promise<any>>;
633
667
  createPushJobCustomForAgent: import("convex/server").RegisteredMutation<"public", {
634
668
  enabled?: boolean | undefined;
635
669
  agentKey: string;
636
670
  consumerUserId: string;
637
- companyId: string;
638
671
  periodicity: "manual" | "daily" | "weekly" | "monthly";
672
+ companyId: string;
673
+ title: string;
674
+ text: string;
675
+ timezone: string;
639
676
  schedule: {
640
677
  kind: "manual";
641
678
  } | {
@@ -650,13 +687,13 @@ export declare function exposeApi(component: ComponentApi, options: {
650
687
  time: string;
651
688
  dayOfMonth: number | "last";
652
689
  };
653
- text: string;
654
- timezone: string;
655
- title: string;
656
690
  }, Promise<any>>;
657
691
  updatePushJobForAgent: import("convex/server").RegisteredMutation<"public", {
658
- enabled?: boolean | undefined;
659
692
  periodicity?: "manual" | "daily" | "weekly" | "monthly" | undefined;
693
+ title?: string | undefined;
694
+ text?: string | undefined;
695
+ enabled?: boolean | undefined;
696
+ timezone?: string | undefined;
660
697
  schedule?: {
661
698
  kind: "manual";
662
699
  } | {
@@ -671,9 +708,6 @@ export declare function exposeApi(component: ComponentApi, options: {
671
708
  time: string;
672
709
  dayOfMonth: number | "last";
673
710
  } | undefined;
674
- text?: string | undefined;
675
- timezone?: string | undefined;
676
- title?: string | undefined;
677
711
  agentKey: string;
678
712
  consumerUserId: string;
679
713
  jobId: string;
@@ -706,8 +740,8 @@ export declare function exposeApi(component: ComponentApi, options: {
706
740
  }, Promise<any>>;
707
741
  sendBroadcastToAllActiveAgents: import("convex/server").RegisteredMutation<"public", {
708
742
  companyId: string;
709
- text: string;
710
743
  title: string;
744
+ text: string;
711
745
  requestedBy: string;
712
746
  }, Promise<any>>;
713
747
  listPushDispatchesByJob: import("convex/server").RegisteredQuery<"public", {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,wBAAwB,CAAC;AAiDhC,OAAO,EACL,6BAA6B,EAC7B,qBAAqB,EACrB,gBAAgB,EAChB,0BAA0B,EAC1B,0BAA0B,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,GACjC,MAAM,aAAa,CAAC;AAErB,wBAAgB,SAAS,CACvB,SAAS,EAAE,YAAY,EACvB,OAAO,EAAE;IACP,IAAI,EAAE,CACJ,GAAG,EAAE;QAAE,IAAI,EAAE,IAAI,CAAA;KAAE,EACnB,SAAS,EACL;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAChB;QACE,IAAI,EAAE,OAAO,CAAC;QACd,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,KACF,OAAO,CAAC,MAAM,CAAC,CAAC;IACrB,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAusCulpB,CAAC;;oBAA+D,CAAC;;;yBAAqH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAAkmM,CAAC;;oBAA+D,CAAC;;;yBAAqH,CA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