@almadar/server 1.4.5 → 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.
Files changed (83) hide show
  1. package/LICENSE +21 -72
  2. package/README.md +25 -0
  3. package/dist/deepagent/__tests__/memory.test.d.ts +6 -0
  4. package/dist/deepagent/__tests__/memory.test.d.ts.map +1 -0
  5. package/dist/deepagent/__tests__/session.test.d.ts +6 -0
  6. package/dist/deepagent/__tests__/session.test.d.ts.map +1 -0
  7. package/dist/deepagent/__tests__/skill-agent.test.d.ts +6 -0
  8. package/dist/deepagent/__tests__/skill-agent.test.d.ts.map +1 -0
  9. package/dist/deepagent/memory.d.ts +4 -7
  10. package/dist/deepagent/memory.d.ts.map +1 -0
  11. package/dist/deepagent/session.d.ts +4 -7
  12. package/dist/deepagent/session.d.ts.map +1 -0
  13. package/dist/deepagent/skill-agent.d.ts +6 -8
  14. package/dist/deepagent/skill-agent.d.ts.map +1 -0
  15. package/dist/index.d.ts +30 -36
  16. package/dist/index.d.ts.map +1 -0
  17. package/dist/index.js +435 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/lib/db.d.ts +36 -0
  20. package/dist/lib/db.d.ts.map +1 -0
  21. package/dist/lib/debugRouter.d.ts +20 -0
  22. package/dist/lib/debugRouter.d.ts.map +1 -0
  23. package/dist/lib/env.d.ts +16 -0
  24. package/dist/lib/env.d.ts.map +1 -0
  25. package/dist/lib/eventBus.d.ts +46 -0
  26. package/dist/lib/eventBus.d.ts.map +1 -0
  27. package/dist/lib/eventBusTransport.d.ts +143 -0
  28. package/dist/lib/eventBusTransport.d.ts.map +1 -0
  29. package/dist/lib/eventPersistence.d.ts +151 -0
  30. package/dist/lib/eventPersistence.d.ts.map +1 -0
  31. package/dist/lib/index.d.ts +6 -4
  32. package/dist/lib/index.d.ts.map +1 -0
  33. package/dist/lib/logger.d.ts +7 -0
  34. package/dist/lib/logger.d.ts.map +1 -0
  35. package/dist/lib/serviceDiscovery.d.ts +168 -0
  36. package/dist/lib/serviceDiscovery.d.ts.map +1 -0
  37. package/dist/lib/websocket.d.ts +41 -0
  38. package/dist/lib/websocket.d.ts.map +1 -0
  39. package/dist/middleware/__tests__/multi-user.test.d.ts +6 -0
  40. package/dist/middleware/__tests__/multi-user.test.d.ts.map +1 -0
  41. package/dist/middleware/authenticateFirebase.d.ts +4 -0
  42. package/dist/middleware/authenticateFirebase.d.ts.map +1 -0
  43. package/dist/middleware/errorHandler.d.ts +53 -0
  44. package/dist/middleware/errorHandler.d.ts.map +1 -0
  45. package/dist/middleware/index.d.ts +4 -71
  46. package/dist/middleware/index.d.ts.map +1 -0
  47. package/dist/middleware/multi-user.d.ts +4 -7
  48. package/dist/middleware/multi-user.d.ts.map +1 -0
  49. package/dist/middleware/validation.d.ts +15 -0
  50. package/dist/middleware/validation.d.ts.map +1 -0
  51. package/dist/routes/__tests__/observability.test.d.ts +6 -0
  52. package/dist/routes/__tests__/observability.test.d.ts.map +1 -0
  53. package/dist/services/DataService.d.ts +69 -0
  54. package/dist/services/DataService.d.ts.map +1 -0
  55. package/dist/{index-D8fohXsO.d.ts → services/MockDataService.d.ts} +9 -78
  56. package/dist/services/MockDataService.d.ts.map +1 -0
  57. package/dist/services/index.d.ts +8 -2
  58. package/dist/services/index.d.ts.map +1 -0
  59. package/dist/stores/ChangeSetStore.d.ts +24 -0
  60. package/dist/stores/ChangeSetStore.d.ts.map +1 -0
  61. package/dist/stores/SchemaProtectionService.d.ts +23 -0
  62. package/dist/stores/SchemaProtectionService.d.ts.map +1 -0
  63. package/dist/stores/SchemaStore.d.ts +52 -0
  64. package/dist/stores/SchemaStore.d.ts.map +1 -0
  65. package/dist/stores/SnapshotStore.d.ts +26 -0
  66. package/dist/stores/SnapshotStore.d.ts.map +1 -0
  67. package/dist/stores/ValidationStore.d.ts +19 -0
  68. package/dist/stores/ValidationStore.d.ts.map +1 -0
  69. package/dist/stores/firestoreFormat.d.ts +21 -0
  70. package/dist/stores/firestoreFormat.d.ts.map +1 -0
  71. package/dist/stores/index.d.ts +10 -163
  72. package/dist/stores/index.d.ts.map +1 -0
  73. package/dist/utils/index.d.ts +4 -73
  74. package/dist/utils/index.d.ts.map +1 -0
  75. package/dist/utils/queryFilters.d.ts +77 -0
  76. package/dist/utils/queryFilters.d.ts.map +1 -0
  77. package/dist/websocket/__tests__/state-sync.test.d.ts +6 -0
  78. package/dist/websocket/__tests__/state-sync.test.d.ts.map +1 -0
  79. package/dist/websocket/state-sync.d.ts +3 -3
  80. package/dist/websocket/state-sync.d.ts.map +1 -0
  81. package/package.json +9 -13
  82. package/dist/index-B64ll_cY.d.ts +0 -149
  83. package/dist/routes/observability.d.ts +0 -12
package/LICENSE CHANGED
@@ -1,72 +1,21 @@
1
- Business Source License 1.1
2
-
3
- Parameters
4
-
5
- Licensor: Almadar FZE
6
- Licensed Work: KFlow Builder / Almadar
7
- The Licensed Work is (c) 2025-2026 Almadar FZE.
8
- Additional Use Grant: You may make production use of the Licensed Work for
9
- non-commercial purposes and for internal evaluation.
10
- Production use for commercial purposes requires a
11
- commercial license from the Licensor.
12
- Change Date: 2030-02-01
13
- Change License: Apache License, Version 2.0
14
-
15
- Terms
16
-
17
- The Licensor hereby grants you the right to copy, modify, create derivative
18
- works, redistribute, and make non-production use of the Licensed Work. The
19
- Licensor may make an Additional Use Grant, above, permitting limited
20
- production use.
21
-
22
- Effective on the Change Date, or the fourth anniversary of the first publicly
23
- available distribution of a specific version of the Licensed Work under this
24
- License, whichever comes first, the Licensor hereby grants you rights under
25
- the terms of the Change License, and the rights granted in the paragraph
26
- above terminate.
27
-
28
- If your use of the Licensed Work does not comply with the requirements
29
- currently in effect as described in this License, you must purchase a
30
- commercial license from the Licensor, its affiliated entities, or authorized
31
- resellers, or you must refrain from using the Licensed Work.
32
-
33
- All copies of the original and modified Licensed Work, and derivative works
34
- of the Licensed Work, are subject to this License. This License applies
35
- separately for each version of the Licensed Work and the Change Date may vary
36
- for each version of the Licensed Work released by Licensor.
37
-
38
- You must conspicuously display this License on each original or modified copy
39
- of the Licensed Work. If you receive the Licensed Work in original or
40
- modified form from a third party, the terms and conditions set forth in this
41
- License apply to your use of that work.
42
-
43
- Any use of the Licensed Work in violation of this License will automatically
44
- terminate your rights under this License for the current and all other
45
- versions of the Licensed Work.
46
-
47
- This License does not grant you any right in any trademark or logo of
48
- Licensor or its affiliates (provided that you may use a trademark or logo of
49
- Licensor as expressly required by this License).
50
-
51
- TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
52
- AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
53
- EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
54
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
55
- TITLE.
56
-
57
- ---
58
-
59
- License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
60
- "Business Source License" is a trademark of MariaDB Corporation Ab.
61
-
62
- ADDITIONAL TERMS:
63
-
64
- Documentation (builder/packages/website/docs/) is licensed under CC BY 4.0.
65
-
66
- TRADEMARKS:
67
-
68
- "Orbital", "KFlow", "Almadar", and the Almadar logo are trademarks of
69
- Almadar FZE. You may not use these trademarks without prior written
70
- permission from Almadar FZE.
71
-
72
- For licensing inquiries: licensing@almadar.io
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Almadar Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # @almadar/server
2
+
3
+ > Shared server infrastructure for Almadar applications
4
+
5
+ Part of the [Almadar](https://github.com/almadar-io/almadar) platform.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ npm install @almadar/server
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```typescript
16
+ import { /* ... */ } from '@almadar/server';
17
+ ```
18
+
19
+ ## API
20
+
21
+ <!-- Document public exports here -->
22
+
23
+ ## License
24
+
25
+ MIT
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @fileoverview Unit tests for MemoryManager integration
3
+ * @module @almadar/server/deepagent/memory.test
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=memory.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memory.test.d.ts","sourceRoot":"","sources":["../../../src/deepagent/__tests__/memory.test.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @fileoverview Unit tests for SessionManager integration
3
+ * @module @almadar/server/deepagent/session.test
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=session.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session.test.d.ts","sourceRoot":"","sources":["../../../src/deepagent/__tests__/session.test.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @fileoverview Unit tests for skill agent factory
3
+ * @module @almadar/server/deepagent/skill-agent.test
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=skill-agent.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-agent.test.d.ts","sourceRoot":"","sources":["../../../src/deepagent/__tests__/skill-agent.test.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
@@ -1,5 +1,3 @@
1
- import { MemoryManager } from '@almadar/agent';
2
-
3
1
  /**
4
2
  * Memory Manager Singleton
5
3
  *
@@ -7,14 +5,13 @@ import { MemoryManager } from '@almadar/agent';
7
5
  *
8
6
  * @packageDocumentation
9
7
  */
10
-
8
+ import { MemoryManager } from '@almadar/agent';
11
9
  /**
12
10
  * Get or create the MemoryManager singleton
13
11
  */
14
- declare function getMemoryManager(): MemoryManager;
12
+ export declare function getMemoryManager(): MemoryManager;
15
13
  /**
16
14
  * Reset the MemoryManager (useful for testing)
17
15
  */
18
- declare function resetMemoryManager(): void;
19
-
20
- export { getMemoryManager, resetMemoryManager };
16
+ export declare function resetMemoryManager(): void;
17
+ //# sourceMappingURL=memory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/deepagent/memory.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAK/C;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,aAAa,CAehD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,IAAI,CAEzC"}
@@ -1,5 +1,3 @@
1
- import { SessionManager } from '@almadar/agent';
2
-
3
1
  /**
4
2
  * Session Manager Singleton
5
3
  *
@@ -7,14 +5,13 @@ import { SessionManager } from '@almadar/agent';
7
5
  *
8
6
  * @packageDocumentation
9
7
  */
10
-
8
+ import { SessionManager } from '@almadar/agent';
11
9
  /**
12
10
  * Get or create the SessionManager singleton
13
11
  */
14
- declare function getSessionManager(): SessionManager;
12
+ export declare function getSessionManager(): SessionManager;
15
13
  /**
16
14
  * Reset the SessionManager (useful for testing)
17
15
  */
18
- declare function resetSessionManager(): void;
19
-
20
- export { getSessionManager, resetSessionManager };
16
+ export declare function resetSessionManager(): void;
17
+ //# sourceMappingURL=session.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/deepagent/session.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAchD;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,cAAc,CAclD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAE1C"}
@@ -1,7 +1,3 @@
1
- import { SkillAgentOptions, SkillAgentResult } from '@almadar/agent';
2
- export { getMemoryManager } from './memory.js';
3
- export { getSessionManager } from './session.js';
4
-
5
1
  /**
6
2
  * Skill Agent Factory
7
3
  *
@@ -9,7 +5,9 @@ export { getSessionManager } from './session.js';
9
5
  *
10
6
  * @packageDocumentation
11
7
  */
12
-
8
+ import { type SkillAgentOptions, type SkillAgentResult } from '@almadar/agent';
9
+ import { getMemoryManager } from './memory.js';
10
+ import { getSessionManager } from './session.js';
13
11
  interface ServerSkillAgentOptions extends SkillAgentOptions {
14
12
  /** User ID from Firebase Auth */
15
13
  userId: string;
@@ -19,6 +17,6 @@ interface ServerSkillAgentOptions extends SkillAgentOptions {
19
17
  /**
20
18
  * Create a skill agent with full server-side GAP integration
21
19
  */
22
- declare function createServerSkillAgent(options: ServerSkillAgentOptions): Promise<SkillAgentResult>;
23
-
24
- export { createServerSkillAgent };
20
+ export declare function createServerSkillAgent(options: ServerSkillAgentOptions): Promise<SkillAgentResult>;
21
+ export { getMemoryManager, getSessionManager };
22
+ //# sourceMappingURL=skill-agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-agent.d.ts","sourceRoot":"","sources":["../../src/deepagent/skill-agent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAKL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,UAAU,uBAAwB,SAAQ,iBAAiB;IACzD,iCAAiC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,gBAAgB,CAAC,CAsD3B;AAGD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,41 +1,35 @@
1
- export { E as EventBus, a as EventLogEntry, c as closeWebSocketServer, d as db, e as emitEntityEvent, b as env, g as getAuth, f as getConnectedClientCount, h as getFirestore, i as getWebSocketServer, j as initializeFirebase, l as logger, s as serverEventBus, k as setupEventBroadcast } from './index-B64ll_cY.js';
2
- import { Router } from 'express';
3
- export { AppError, ConflictError, ForbiddenError, NotFoundError, UnauthorizedError, ValidationError, asyncHandler, authenticateFirebase, errorHandler, notFoundHandler, validateBody, validateParams, validateQuery } from './middleware/index.js';
4
- export { D as DataService, E as EntitySchema, a as EntitySeedConfig, F as FieldSchema, M as MockDataService, P as PaginatedResult, b as PaginationOptions, d as dataService, m as mockDataService, s as seedMockData } from './index-D8fohXsO.js';
5
- export { ChangeSetStore, SchemaProtectionService, SchemaStore, SnapshotStore, ValidationStore, fromFirestoreFormat, toFirestoreFormat } from './stores/index.js';
6
- export { FirestoreWhereFilterOp, PaginationParams, ParsedFilter, applyFiltersToQuery, extractPaginationParams, parseQueryFilters } from './utils/index.js';
7
- export { getMemoryManager as getAgentMemoryManager, getMemoryManager, resetMemoryManager } from './deepagent/memory.js';
8
- export { getSessionManager as getAgentSessionManager, getSessionManager, resetSessionManager } from './deepagent/session.js';
9
- export { createServerSkillAgent } from './deepagent/skill-agent.js';
10
- export { multiUserMiddleware, verifyFirebaseAuth } from './middleware/multi-user.js';
11
- export { setupStateSyncWebSocket } from './websocket/state-sync.js';
12
- export { default as observabilityRouter } from './routes/observability.js';
13
- export { default as admin } from 'firebase-admin';
14
- import 'ws';
15
- import 'http';
16
- import 'zod';
17
- import '@almadar/core';
18
- import '@almadar/agent';
19
- import 'express-serve-static-core';
20
-
21
1
  /**
22
- * Debug Events Router
2
+ * @almadar/server - Shared server infrastructure for Almadar applications
23
3
  *
24
- * Provides diagnostic endpoints for inspecting the server EventBus.
25
- * Only active when NODE_ENV=development.
26
- *
27
- * Endpoints:
28
- * GET /event-log - Recent emitted events with listener counts
29
- * DELETE /event-log - Clear the event log
30
- * GET /listeners - Registered listener counts per event
4
+ * This package provides:
5
+ * - Database utilities (Firebase/Firestore)
6
+ * - Event bus for cross-trait communication
7
+ * - Express middleware (auth, error handling, validation)
8
+ * - Data services (mock and production)
9
+ * - Query filter utilities
31
10
  *
32
11
  * @packageDocumentation
33
12
  */
34
-
35
- /**
36
- * Creates an Express router with debug endpoints for the server EventBus.
37
- * Returns a no-op router in production (no routes registered).
38
- */
39
- declare function debugEventsRouter(): Router;
40
-
41
- export { debugEventsRouter };
13
+ export { env } from './lib/env.js';
14
+ export { logger } from './lib/logger.js';
15
+ export { EventBus, serverEventBus, emitEntityEvent, type EventLogEntry } from './lib/eventBus.js';
16
+ export { DistributedEventBus, InMemoryTransport, RedisTransport, type IEventBusTransport, type TransportMessage, type TransportReceiver, type RedisTransportOptions, } from './lib/eventBusTransport.js';
17
+ export { EventPersistence, InMemoryEventStore, type PersistedEvent, type EventQuery, type EventPersistenceOptions, type IEventStore, } from './lib/eventPersistence.js';
18
+ export { debugEventsRouter } from './lib/debugRouter.js';
19
+ export { initializeFirebase, getFirestore, getAuth, admin, db } from './lib/db.js';
20
+ export { setupEventBroadcast, getWebSocketServer, closeWebSocketServer, getConnectedClientCount, } from './lib/websocket.js';
21
+ export { errorHandler, notFoundHandler, asyncHandler, AppError, NotFoundError, ValidationError, UnauthorizedError, ForbiddenError, ConflictError, } from './middleware/errorHandler.js';
22
+ export { validateBody, validateQuery, validateParams } from './middleware/validation.js';
23
+ export { authenticateFirebase } from './middleware/authenticateFirebase.js';
24
+ export { mockDataService, MockDataService, type FieldSchema, type EntitySchema, } from './services/MockDataService.js';
25
+ export { dataService, seedMockData, type DataService, type EntitySeedConfig, type PaginationOptions, type PaginatedResult, } from './services/DataService.js';
26
+ export { toFirestoreFormat, fromFirestoreFormat, SchemaStore, SnapshotStore, ChangeSetStore, ValidationStore, SchemaProtectionService, } from './stores/index.js';
27
+ export { parseQueryFilters, applyFiltersToQuery, extractPaginationParams, type ParsedFilter, type FirestoreWhereFilterOp, type PaginationParams, } from './utils/queryFilters.js';
28
+ export { getMemoryManager, resetMemoryManager, } from './deepagent/memory.js';
29
+ export { getSessionManager, resetSessionManager, } from './deepagent/session.js';
30
+ export { createServerSkillAgent, getMemoryManager as getAgentMemoryManager, getSessionManager as getAgentSessionManager, } from './deepagent/skill-agent.js';
31
+ export { multiUserMiddleware, verifyFirebaseAuth, } from './middleware/multi-user.js';
32
+ export { setupStateSyncWebSocket } from './websocket/state-sync.js';
33
+ export { ServiceDiscovery, InMemoryServiceRegistry, type ServiceRegistration, type ServiceRegistryOptions, type IServiceRegistry, } from './lib/serviceDiscovery.js';
34
+ export { default as observabilityRouter } from './routes/observability.js';
35
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB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