@rool-dev/sdk 0.9.0 → 0.10.0-dev.2e3d7c6

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.
Files changed (47) hide show
  1. package/README.md +359 -166
  2. package/dist/channel.d.ts +94 -184
  3. package/dist/channel.d.ts.map +1 -1
  4. package/dist/channel.js +360 -351
  5. package/dist/channel.js.map +1 -1
  6. package/dist/client.d.ts +32 -5
  7. package/dist/client.d.ts.map +1 -1
  8. package/dist/client.js +59 -57
  9. package/dist/client.js.map +1 -1
  10. package/dist/graphql.d.ts +35 -19
  11. package/dist/graphql.d.ts.map +1 -1
  12. package/dist/graphql.js +114 -128
  13. package/dist/graphql.js.map +1 -1
  14. package/dist/index.d.ts +7 -1
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +6 -4
  17. package/dist/index.js.map +1 -1
  18. package/dist/locations.d.ts +34 -0
  19. package/dist/locations.d.ts.map +1 -0
  20. package/dist/locations.js +90 -0
  21. package/dist/locations.js.map +1 -0
  22. package/dist/machine.d.ts +16 -0
  23. package/dist/machine.d.ts.map +1 -0
  24. package/dist/machine.js +51 -0
  25. package/dist/machine.js.map +1 -0
  26. package/dist/rest.d.ts +18 -0
  27. package/dist/rest.d.ts.map +1 -0
  28. package/dist/rest.js +46 -0
  29. package/dist/rest.js.map +1 -0
  30. package/dist/space.d.ts +20 -4
  31. package/dist/space.d.ts.map +1 -1
  32. package/dist/space.js +31 -45
  33. package/dist/space.js.map +1 -1
  34. package/dist/subscription.d.ts.map +1 -1
  35. package/dist/subscription.js +11 -12
  36. package/dist/subscription.js.map +1 -1
  37. package/dist/types.d.ts +79 -59
  38. package/dist/types.d.ts.map +1 -1
  39. package/dist/webdav.d.ts +153 -0
  40. package/dist/webdav.d.ts.map +1 -0
  41. package/dist/webdav.js +458 -0
  42. package/dist/webdav.js.map +1 -0
  43. package/package.json +1 -1
  44. package/dist/media.d.ts +0 -70
  45. package/dist/media.d.ts.map +0 -1
  46. package/dist/media.js +0 -228
  47. package/dist/media.js.map +0 -1
package/dist/channel.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { EventEmitter } from './event-emitter.js';
2
2
  import type { GraphQLClient } from './graphql.js';
3
- import type { MediaClient } from './media.js';
3
+ import type { RestClient } from './rest.js';
4
+ import type { RoolWebDAV } from './webdav.js';
4
5
  import type { Logger } from './logger.js';
5
- import type { RoolObject, RoolObjectStat, ChannelEvents, RoolUserRole, PromptOptions, FindObjectsOptions, CreateObjectOptions, UpdateObjectOptions, MediaInfo, MediaResponse, ChannelEvent, Interaction, Channel, ConversationInfo, LinkAccess, SpaceSchema, CollectionDef, FieldDef, ExtensionManifest } from './types.js';
6
+ import type { RoolObject, RoolObjectStat, ChannelEvents, RoolUserRole, PromptOptions, FindObjectsOptions, CreateObjectOptions, UpdateObjectOptions, MoveObjectOptions, ChannelEvent, Interaction, Channel, ConversationInfo, LinkAccess, SpaceSchema, CollectionDef, FieldDef, ExtensionManifest } from './types.js';
6
7
  export declare function generateEntityId(): string;
7
8
  export interface ChannelConfig {
8
9
  id: string;
@@ -11,9 +12,9 @@ export interface ChannelConfig {
11
12
  linkAccess: LinkAccess;
12
13
  /** Current user's ID (for identifying own interactions) */
13
14
  userId: string;
14
- /** Object IDs in the space (sorted by modifiedAt desc) */
15
- objectIds: string[];
16
- /** Object stats keyed by object ID */
15
+ /** Object locations in the space (sorted by modifiedAt desc) */
16
+ objectLocations: string[];
17
+ /** Object stats keyed by location */
17
18
  objectStats: Record<string, RoolObjectStat>;
18
19
  /** Collection schema */
19
20
  schema: SpaceSchema;
@@ -24,7 +25,8 @@ export interface ChannelConfig {
24
25
  /** Channel ID for this channel (required). */
25
26
  channelId: string;
26
27
  graphqlClient: GraphQLClient;
27
- mediaClient: MediaClient;
28
+ restClient: RestClient;
29
+ webdav: RoolWebDAV;
28
30
  logger: Logger;
29
31
  onClose: () => void;
30
32
  }
@@ -35,16 +37,10 @@ export interface ChannelConfig {
35
37
  * at open time and cannot be changed. To use a different channel,
36
38
  * open a second one.
37
39
  *
38
- * Objects are fetched on demand from the server; only schema, metadata,
39
- * and the channel's own history are cached locally. Object changes
40
+ * Objects are addressed by location (`/space/<collection>/<basename>.json`).
41
+ * Only schema, metadata, the live object location list, and the channel's own
42
+ * history are cached locally. Object bodies are fetched on demand. Changes
40
43
  * arrive via SSE semantic events and are emitted as SDK events.
41
- *
42
- * Features:
43
- * - High-level object operations
44
- * - Built-in undo/redo with checkpoints
45
- * - Metadata management
46
- * - Event emission for state changes
47
- * - Real-time updates via space-specific subscription
48
44
  */
49
45
  export declare class RoolChannel extends EventEmitter<ChannelEvents> {
50
46
  private _id;
@@ -56,13 +52,14 @@ export declare class RoolChannel extends EventEmitter<ChannelEvents> {
56
52
  private _conversationId;
57
53
  private _closed;
58
54
  private graphqlClient;
59
- private mediaClient;
55
+ private restClient;
56
+ private webdav;
60
57
  private onCloseCallback;
61
58
  private logger;
62
59
  private _meta;
63
60
  private _schema;
64
61
  private _channel;
65
- private _objectIds;
62
+ private _objectLocations;
66
63
  private _objectStats;
67
64
  private _activeLeaves;
68
65
  private _pendingMutations;
@@ -83,7 +80,7 @@ export declare class RoolChannel extends EventEmitter<ChannelEvents> {
83
80
  _applyResyncData(data: {
84
81
  meta: Record<string, unknown>;
85
82
  schema: SpaceSchema;
86
- objectIds: string[];
83
+ objectLocations: string[];
87
84
  objectStats: Record<string, RoolObjectStat>;
88
85
  channel: Channel | undefined;
89
86
  }): void;
@@ -160,10 +157,6 @@ export declare class RoolChannel extends EventEmitter<ChannelEvents> {
160
157
  deleteConversation(conversationId: string): Promise<void>;
161
158
  /**
162
159
  * Get a handle for a specific conversation within this channel.
163
- * The handle scopes AI and mutation operations to that conversation's
164
- * interaction history, while sharing the channel's single SSE connection.
165
- *
166
- * Conversations are auto-created on first interaction — no explicit create needed.
167
160
  */
168
161
  conversation(conversationId: string): ConversationHandle;
169
162
  /**
@@ -173,57 +166,32 @@ export declare class RoolChannel extends EventEmitter<ChannelEvents> {
173
166
  close(): void;
174
167
  /**
175
168
  * Create a checkpoint of the current space state.
176
- * Checkpoints are space-wide and shared across channels and users.
177
- * @returns The checkpoint ID
178
169
  */
179
170
  checkpoint(label?: string): Promise<string>;
180
- /**
181
- * Check if undo is available for this space.
182
- */
171
+ /** Check if undo is available for this space. */
183
172
  canUndo(): Promise<boolean>;
184
- /**
185
- * Check if redo is available for this space.
186
- */
173
+ /** Check if redo is available for this space. */
187
174
  canRedo(): Promise<boolean>;
188
- /**
189
- * Restore the space to the most recent checkpoint.
190
- * @returns true if undo was performed
191
- */
175
+ /** Restore the space to the most recent checkpoint. */
192
176
  undo(): Promise<boolean>;
193
- /**
194
- * Reapply the most recently undone checkpoint.
195
- * Affects the entire space.
196
- * @returns true if redo was performed
197
- */
177
+ /** Reapply the most recently undone checkpoint. */
198
178
  redo(): Promise<boolean>;
199
- /**
200
- * Clear the space's checkpoint history.
201
- */
179
+ /** Clear the space's checkpoint history. */
202
180
  clearHistory(): Promise<void>;
203
181
  /**
204
- * Get an object's data by ID.
205
- * Fetches from the server on each call.
182
+ * Get an object by location. Fetches from the server on each call.
183
+ *
184
+ * Accepts either the canonical form (`/space/<collection>/<basename>.json`)
185
+ * or the short form (`<collection>/<basename>`).
206
186
  */
207
- getObject(objectId: string): Promise<RoolObject | undefined>;
187
+ getObject(location: string): Promise<RoolObject | undefined>;
208
188
  /**
209
189
  * Get an object's stat (audit information).
210
- * Returns modification timestamp and author, or undefined if object not found.
190
+ * Returns the cached stat or undefined if not known.
211
191
  */
212
- stat(objectId: string): RoolObjectStat | undefined;
192
+ stat(location: string): RoolObjectStat | undefined;
213
193
  /**
214
194
  * Find objects using structured filters and/or natural language.
215
- *
216
- * `where` provides exact-match filtering — values must match literally (no placeholders or operators).
217
- * `prompt` enables AI-powered semantic queries. When both are provided, `where` and `objectIds`
218
- * constrain the data set before the AI sees it.
219
- *
220
- * @param options.where - Exact-match field filter (e.g. `{ type: 'article' }`). Constrains which objects the AI can see when combined with `prompt`.
221
- * @param options.prompt - Natural language query. Triggers AI evaluation (uses credits).
222
- * @param options.limit - Maximum number of results to return (applies to structured filtering only; the AI controls its own result size).
223
- * @param options.objectIds - Scope search to specific object IDs. Constrains the candidate set in both structured and AI queries.
224
- * @param options.order - Sort order by modifiedAt: `'asc'` or `'desc'` (default: `'desc'`). Only applies to structured filtering (no `prompt`).
225
- * @param options.ephemeral - If true, the query won't be recorded in interaction history.
226
- * @returns The matching objects and a descriptive message.
227
195
  */
228
196
  findObjects(options: FindObjectsOptions): Promise<{
229
197
  objects: RoolObject[];
@@ -235,127 +203,115 @@ export declare class RoolChannel extends EventEmitter<ChannelEvents> {
235
203
  message: string;
236
204
  }>;
237
205
  /**
238
- * Get all object IDs (sync, from local cache).
206
+ * Get all object locations (sync, from local cache).
239
207
  * The list is loaded on open and kept current via SSE events.
240
- * @param options.limit - Maximum number of IDs to return
241
- * @param options.order - Sort order by modifiedAt ('asc' or 'desc', default: 'desc')
242
208
  */
243
- getObjectIds(options?: {
209
+ getObjectLocations(options?: {
244
210
  limit?: number;
245
211
  order?: 'asc' | 'desc';
246
212
  }): string[];
247
213
  /**
248
- * Create a new object with optional AI generation.
249
- * @param options.data - Object data fields (any key-value pairs). Optionally include `id` to use a custom ID. Use {{placeholder}} for AI-generated content. Fields prefixed with _ are hidden from AI.
214
+ * Create a new object in the given collection.
215
+ *
216
+ * @param collection - The collection (must exist in the schema)
217
+ * @param body - Object body fields. Use `{{placeholder}}` for AI-generated content.
218
+ * Fields prefixed with `_` are hidden from AI.
219
+ * @param options.basename - Specific basename to use. If omitted, the SDK generates a random one.
250
220
  * @param options.ephemeral - If true, the operation won't be recorded in interaction history.
251
- * @returns The created object (with AI-filled content) and message
221
+ * @returns The created object and a status message.
252
222
  */
253
- createObject(options: CreateObjectOptions): Promise<{
223
+ createObject(collection: string, body: Record<string, unknown>, options?: CreateObjectOptions): Promise<{
254
224
  object: RoolObject;
255
225
  message: string;
256
226
  }>;
257
227
  /** @internal */
258
- _createObjectImpl(options: CreateObjectOptions, conversationId: string): Promise<{
228
+ _createObjectImpl(collection: string, body: Record<string, unknown>, options: CreateObjectOptions | undefined, conversationId: string): Promise<{
259
229
  object: RoolObject;
260
230
  message: string;
261
231
  }>;
262
232
  /**
263
233
  * Update an existing object.
264
- * @param objectId - The ID of the object to update
265
- * @param options.data - Fields to add or update. Pass null or undefined to delete a field. Use {{placeholder}} for AI-generated content. Fields prefixed with _ are hidden from AI.
266
- * @param options.prompt - AI prompt for content editing (optional).
234
+ *
235
+ * @param location - The object's location (canonical or short form)
236
+ * @param options.data - Fields to add or update. Pass `null` to delete a field. Use `{{placeholder}}` for AI-generated content.
237
+ * @param options.prompt - AI prompt to drive the update.
267
238
  * @param options.ephemeral - If true, the operation won't be recorded in interaction history.
268
- * @returns The updated object (with AI-filled content) and message
269
239
  */
270
- updateObject(objectId: string, options: UpdateObjectOptions): Promise<{
240
+ updateObject(location: string, options: UpdateObjectOptions): Promise<{
271
241
  object: RoolObject;
272
242
  message: string;
273
243
  }>;
274
244
  /** @internal */
275
- _updateObjectImpl(objectId: string, options: UpdateObjectOptions, conversationId: string): Promise<{
245
+ _updateObjectImpl(location: string, options: UpdateObjectOptions, conversationId: string): Promise<{
276
246
  object: RoolObject;
277
247
  message: string;
278
248
  }>;
279
249
  /**
280
- * Delete objects by IDs.
281
- * Other objects that reference deleted objects via data fields will retain stale ref values.
250
+ * Move (rename or relocate) an object to a new location.
251
+ * Use this to rename, change collection, or atomically rewrite the body.
252
+ *
253
+ * @param from - Current location
254
+ * @param to - New location
255
+ * @param options.body - Replace the body atomically as part of the move.
256
+ * @param options.ephemeral - If true, the operation won't be recorded in interaction history.
282
257
  */
283
- deleteObjects(objectIds: string[]): Promise<void>;
258
+ moveObject(from: string, to: string, options?: MoveObjectOptions): Promise<{
259
+ object: RoolObject;
260
+ message: string;
261
+ }>;
284
262
  /** @internal */
285
- _deleteObjectsImpl(objectIds: string[], conversationId: string): Promise<void>;
263
+ _moveObjectImpl(from: string, to: string, options: MoveObjectOptions | undefined, conversationId: string): Promise<{
264
+ object: RoolObject;
265
+ message: string;
266
+ }>;
286
267
  /**
287
- * Get the current schema for this space.
288
- * Returns a map of collection names to their definitions.
268
+ * Delete objects by location.
269
+ * Other objects that reference deleted objects will retain stale ref values.
289
270
  */
271
+ deleteObjects(locations: string[]): Promise<void>;
272
+ /** @internal */
273
+ _deleteObjectsImpl(locations: string[], conversationId: string): Promise<void>;
274
+ /** Get the current schema for this space. */
290
275
  getSchema(): SpaceSchema;
291
- /**
292
- * Create a new collection schema.
293
- * @param name - Collection name (must start with a letter, alphanumeric/hyphens/underscores only)
294
- * @param fields - Field definitions for the collection
295
- * @returns The created CollectionDef
296
- */
276
+ /** Create a new collection schema. */
297
277
  createCollection(name: string, fields: FieldDef[]): Promise<CollectionDef>;
298
278
  /** @internal */
299
279
  _createCollectionImpl(name: string, fields: FieldDef[], conversationId: string): Promise<CollectionDef>;
300
- /**
301
- * Alter an existing collection schema, replacing its field definitions.
302
- * @param name - Name of the collection to alter
303
- * @param fields - New field definitions (replaces all existing fields)
304
- * @returns The updated CollectionDef
305
- */
280
+ /** Alter an existing collection schema, replacing its field definitions. */
306
281
  alterCollection(name: string, fields: FieldDef[]): Promise<CollectionDef>;
307
282
  /** @internal */
308
283
  _alterCollectionImpl(name: string, fields: FieldDef[], conversationId: string): Promise<CollectionDef>;
309
- /**
310
- * Drop a collection schema.
311
- * @param name - Name of the collection to drop
312
- */
284
+ /** Drop a collection schema. */
313
285
  dropCollection(name: string): Promise<void>;
314
286
  /** @internal */
315
287
  _dropCollectionImpl(name: string, conversationId: string): Promise<void>;
316
288
  /**
317
289
  * Get the system instruction for the current conversation.
318
- * Returns undefined if no system instruction is set.
319
290
  */
320
291
  getSystemInstruction(): string | undefined;
321
292
  /** @internal */
322
293
  _getSystemInstructionImpl(conversationId: string): string | undefined;
323
- /**
324
- * Set the system instruction for the current conversation.
325
- * Pass null to clear the instruction.
326
- */
294
+ /** Set the system instruction for the current conversation. */
327
295
  setSystemInstruction(instruction: string | null): Promise<void>;
328
296
  /** @internal */
329
297
  _setSystemInstructionImpl(instruction: string | null, conversationId: string): Promise<void>;
330
- /**
331
- * Rename the current conversation.
332
- */
298
+ /** Rename the current conversation. */
333
299
  renameConversation(name: string): Promise<void>;
334
300
  /** @internal */
335
301
  _renameConversationImpl(name: string, conversationId: string): Promise<void>;
336
- /**
337
- * Ensure a conversation exists in the local channel cache.
338
- * @internal
339
- */
302
+ /** @internal */
340
303
  _ensureConversationImpl(conversationId: string): void;
341
- /**
342
- * Set a space-level metadata value.
343
- * Metadata is stored in meta and hidden from AI operations.
344
- */
304
+ /** Set a space-level metadata value. */
345
305
  setMetadata(key: string, value: unknown): void;
346
306
  /** @internal */
347
307
  _setMetadataImpl(key: string, value: unknown, conversationId: string): void;
348
- /**
349
- * Get a space-level metadata value.
350
- */
308
+ /** Get a space-level metadata value. */
351
309
  getMetadata(key: string): unknown;
352
- /**
353
- * Get all space-level metadata.
354
- */
310
+ /** Get all space-level metadata. */
355
311
  getAllMetadata(): Record<string, unknown>;
356
312
  /**
357
313
  * Send a prompt to the AI agent for space manipulation.
358
- * @returns The message from the AI and the list of objects that were created or modified
314
+ * @returns The message from the AI and the list of objects that were created or modified.
359
315
  */
360
316
  prompt(prompt: string, options?: PromptOptions): Promise<{
361
317
  message: string;
@@ -366,94 +322,43 @@ export declare class RoolChannel extends EventEmitter<ChannelEvents> {
366
322
  message: string;
367
323
  objects: RoolObject[];
368
324
  }>;
369
- /**
370
- * Rename this channel.
371
- */
325
+ /** Rename this channel. */
372
326
  rename(newName: string): Promise<void>;
373
- /**
374
- * List all media files for this space.
375
- */
376
- listMedia(): Promise<MediaInfo[]>;
377
- /**
378
- * Upload a file to this space. Returns the URL.
379
- */
380
- uploadMedia(file: File | Blob | {
381
- data: string;
382
- contentType: string;
383
- }): Promise<string>;
384
- /**
385
- * Fetch any URL, returning headers and a blob() method (like fetch Response).
386
- * Adds auth headers for backend media URLs, fetches external URLs via server proxy if CORS blocks.
387
- * Pass `{ forceProxy: true }` to skip the direct fetch and go straight through the server proxy.
388
- */
389
- fetchMedia(url: string, options?: {
390
- forceProxy?: boolean;
391
- }): Promise<MediaResponse>;
392
- /**
393
- * Delete a media file by URL.
394
- */
395
- deleteMedia(url: string): Promise<void>;
396
327
  /**
397
328
  * Fetch an external URL via the server proxy, bypassing CORS restrictions.
398
- * Requires editor role or above. Blocked for private/internal IP ranges (SSRF protection).
399
- *
400
- * @param url - The URL to fetch
401
- * @param init - Optional method, headers, and body
402
- * @returns The proxied Response
403
329
  */
404
330
  fetch(url: string, init?: {
405
331
  method?: string;
406
332
  headers?: Record<string, string>;
407
333
  body?: unknown;
408
334
  }): Promise<Response>;
335
+ private uploadAttachment;
336
+ private ensureCollection;
409
337
  /**
410
338
  * Register a collector that resolves when the object arrives via SSE.
411
- * If the object is already in the buffer (arrived before collector), resolves immediately.
412
339
  * @internal
413
340
  */
414
341
  private _collectObject;
415
- /**
416
- * Cancel a pending object collector (e.g., on mutation error).
417
- * @internal
418
- */
342
+ /** @internal */
419
343
  private _cancelCollector;
420
- /**
421
- * Deliver an object to a pending collector, or buffer it for later collection.
422
- * @internal
423
- */
344
+ /** @internal */
424
345
  private _deliverObject;
425
346
  /**
426
347
  * Handle a channel event from the subscription.
427
348
  * @internal
428
349
  */
429
350
  private handleChannelEvent;
430
- /**
431
- * Handle an object_created SSE event.
432
- * Deduplicates against optimistic local creates.
433
- * @internal
434
- */
351
+ /** @internal */
435
352
  private _handleObjectCreated;
436
- /**
437
- * Handle an object_updated SSE event.
438
- * Deduplicates against optimistic local updates.
439
- * @internal
440
- */
353
+ /** @internal */
441
354
  private _handleObjectUpdated;
442
- /**
443
- * Handle an object_deleted SSE event.
444
- * Deduplicates against optimistic local deletes.
445
- * @internal
446
- */
355
+ /** @internal */
447
356
  private _handleObjectDeleted;
357
+ /** @internal */
358
+ private _handleObjectMoved;
448
359
  }
449
360
  /**
450
361
  * A lightweight handle for a specific conversation within a channel.
451
- *
452
- * Scopes AI and mutation operations to a particular conversation's interaction
453
- * history, while sharing the channel's single SSE connection and object state.
454
- *
455
- * Obtain via `channel.conversation('thread-id')`.
456
- * Conversations are auto-created on first interaction.
457
362
  */
458
363
  export declare class ConversationHandle {
459
364
  /** @internal */
@@ -483,17 +388,22 @@ export declare class ConversationHandle {
483
388
  message: string;
484
389
  }>;
485
390
  /** Create a new object. */
486
- createObject(options: CreateObjectOptions): Promise<{
391
+ createObject(collection: string, body: Record<string, unknown>, options?: CreateObjectOptions): Promise<{
487
392
  object: RoolObject;
488
393
  message: string;
489
394
  }>;
490
395
  /** Update an existing object. */
491
- updateObject(objectId: string, options: UpdateObjectOptions): Promise<{
396
+ updateObject(location: string, options: UpdateObjectOptions): Promise<{
397
+ object: RoolObject;
398
+ message: string;
399
+ }>;
400
+ /** Move (rename/relocate) an object. */
401
+ moveObject(from: string, to: string, options?: MoveObjectOptions): Promise<{
492
402
  object: RoolObject;
493
403
  message: string;
494
404
  }>;
495
- /** Delete objects by IDs. */
496
- deleteObjects(objectIds: string[]): Promise<void>;
405
+ /** Delete objects by location. */
406
+ deleteObjects(locations: string[]): Promise<void>;
497
407
  /** Send a prompt to the AI agent, scoped to this conversation's history. */
498
408
  prompt(text: string, options?: PromptOptions): Promise<{
499
409
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../src/channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EACV,UAAU,EACV,cAAc,EACd,aAAa,EACb,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,SAAS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