elsium-ai 0.2.3 → 0.4.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/README.md CHANGED
@@ -49,28 +49,37 @@ Every value and type listed below is available directly from `'elsium-ai'`.
49
49
  | `ok` | `ContentPart` |
50
50
  | `err` | `TextContent` |
51
51
  | `isOk` | `ImageContent` |
52
- | `isErr` | `Message` |
53
- | `unwrap` | `ToolCall` |
54
- | `unwrapOr` | `ToolResult` |
55
- | `tryCatch` | `TokenUsage` |
56
- | `tryCatchSync` | `CostBreakdown` |
57
- | `createStream` | `StopReason` |
58
- | `createLogger` | `LLMResponse` |
59
- | `env` | `StreamEvent` |
60
- | `envNumber` | `XRayData` |
61
- | `envBool` | `StreamCheckpoint` |
62
- | `generateId` | `ProviderConfig` |
63
- | `generateTraceId` | `CompletionRequest` |
64
- | `extractText` | `ToolDefinition` |
65
- | `sleep` | `Middleware` |
66
- | `retry` | `Result` |
67
- | | `Ok` |
52
+ | `isErr` | `AudioContent` |
53
+ | `unwrap` | `DocumentContent` |
54
+ | `unwrapOr` | `Message` |
55
+ | `tryCatch` | `ToolCall` |
56
+ | `tryCatchSync` | `ToolResult` |
57
+ | `createStream` | `TokenUsage` |
58
+ | `createLogger` | `CostBreakdown` |
59
+ | `env` | `StopReason` |
60
+ | `envNumber` | `LLMResponse` |
61
+ | `envBool` | `StreamEvent` |
62
+ | `generateId` | `XRayData` |
63
+ | `generateTraceId` | `StreamCheckpoint` |
64
+ | `extractText` | `ProviderConfig` |
65
+ | `sleep` | `CompletionRequest` |
66
+ | `retry` | `ToolDefinition` |
67
+ | `zodToJsonSchema` | `TenantContext` |
68
+ | `createRegistry` | `Middleware` |
69
+ | `countTokens` | `Result` |
70
+ | `createContextManager` | `Ok` |
68
71
  | | `Err` |
69
72
  | | `ElsiumStream` |
70
73
  | | `ResilientStreamOptions` |
71
74
  | | `LogLevel` |
72
75
  | | `Logger` |
73
76
  | | `ErrorCode` |
77
+ | | `Registry` |
78
+ | | `ContextStrategy` |
79
+ | | `ContextManagerConfig` |
80
+ | | `StreamMiddleware` |
81
+ | | `StreamMiddlewareNext` |
82
+ | | `ContextManager` |
74
83
 
75
84
  ### `@elsium-ai/gateway`
76
85
 
@@ -79,6 +88,8 @@ Every value and type listed below is available directly from `'elsium-ai'`.
79
88
  | `gateway` | `LLMProvider` |
80
89
  | `registerProviderFactory` | `ProviderFactory` |
81
90
  | `calculateCost` | `Gateway` |
91
+ | `estimateCost` | |
92
+ | `composeStreamMiddleware` | |
82
93
  | `registerPricing` | `GatewayConfig` |
83
94
  | `composeMiddleware` | `XRayStore` |
84
95
  | `loggingMiddleware` | `ProviderMeshConfig` |
@@ -88,11 +99,15 @@ Every value and type listed below is available directly from `'elsium-ai'`.
88
99
  | `createOpenAIProvider` | `SecurityMiddlewareConfig` |
89
100
  | `createGoogleProvider` | `SecurityViolation` |
90
101
  | `createProviderMesh` | `SecurityResult` |
91
- | `securityMiddleware` | |
92
- | `detectPromptInjection` | |
93
- | `detectJailbreak` | |
94
- | `redactSecrets` | |
95
- | `checkBlockedPatterns` | |
102
+ | `securityMiddleware` | `CacheAdapter` |
103
+ | `detectPromptInjection` | `CacheStats` |
104
+ | `detectJailbreak` | `CacheMiddlewareConfig` |
105
+ | `redactSecrets` | `OutputGuardrailConfig` |
106
+ | `checkBlockedPatterns` | `OutputGuardrailRule` |
107
+ | `cacheMiddleware` | `OutputViolation` |
108
+ | `createInMemoryCache` | `BatchConfig` |
109
+ | `outputGuardrailMiddleware` | `BatchResult` |
110
+ | `createBatch` | `BatchResultItem` |
96
111
 
97
112
  ### `@elsium-ai/agents`
98
113
 
@@ -103,10 +118,15 @@ Every value and type listed below is available directly from `'elsium-ai'`.
103
118
  | `runParallel` | `AgentConfig` |
104
119
  | `runSupervisor` | `AgentResult` |
105
120
  | `createMemory` | `AgentRunOptions` |
106
- | `createSemanticValidator` | `GuardrailConfig` |
107
- | `createAgentSecurity` | `AgentHooks` |
108
- | `createConfidenceScorer` | `Memory` |
109
- | `executeStateMachine` | `MemoryConfig` |
121
+ | `createSharedMemory` | `SharedMemory` |
122
+ | `createSemanticValidator` | `MultiAgentOptions` |
123
+ | `createAgentSecurity` | `GuardrailConfig` |
124
+ | `createConfidenceScorer` | `AgentHooks` |
125
+ | `executeStateMachine` | `Memory` |
126
+ | `createInMemoryMemoryStore` | `MemoryConfig` |
127
+ | `createSqliteMemoryStore` | `MemoryStore` |
128
+ | | `SqliteMemoryStoreConfig` |
129
+ | | `StateTransitionResult` |
110
130
  | | `SemanticGuardrailConfig` |
111
131
  | | `SemanticCheck` |
112
132
  | | `SemanticCheckResult` |
@@ -140,13 +160,16 @@ Every value and type listed below is available directly from `'elsium-ai'`.
140
160
  | `rag` | `RAGPipeline` |
141
161
  | `createInMemoryStore` | `RAGPipelineConfig` |
142
162
  | `createOpenAIEmbeddings` | `IngestResult` |
143
- | `createMockEmbeddings` | `Document` |
144
- | | `Chunk` |
145
- | | `EmbeddedChunk` |
146
- | | `RetrievalResult` |
147
- | | `QueryOptions` |
148
- | | `EmbeddingProvider` |
149
- | | `VectorStore` |
163
+ | `createGoogleEmbeddings` | `Document` |
164
+ | `createCohereEmbeddings` | `Chunk` |
165
+ | `createMockEmbeddings` | `EmbeddedChunk` |
166
+ | `vectorStoreRegistry` | `RetrievalResult` |
167
+ | `embeddingProviderRegistry` | `QueryOptions` |
168
+ | `createPgVectorStore` | `EmbeddingProvider` |
169
+ | `createQdrantStore` | `VectorStore` |
170
+ | `createBM25Index` | `VectorStoreFactory` |
171
+ | `createHybridSearch` | `EmbeddingProviderFactory` |
172
+ | | `PgVectorStoreConfig` |
150
173
 
151
174
  ### `@elsium-ai/workflows`
152
175
 
@@ -155,10 +178,12 @@ Every value and type listed below is available directly from `'elsium-ai'`.
155
178
  | `defineWorkflow` | `Workflow` |
156
179
  | `defineParallelWorkflow` | `WorkflowConfig` |
157
180
  | `defineBranchWorkflow` | `WorkflowResult` |
158
- | `step` | `WorkflowRunOptions` |
159
- | | `StepConfig` |
181
+ | `defineDagWorkflow` | `WorkflowRunOptions` |
182
+ | `step` | `StepConfig` |
160
183
  | | `StepContext` |
161
184
  | | `StepResult` |
185
+ | | `DagStepConfig` |
186
+ | | `DagWorkflowConfig` |
162
187
 
163
188
  ### `@elsium-ai/observe`
164
189
 
@@ -168,18 +193,25 @@ Every value and type listed below is available directly from `'elsium-ai'`.
168
193
  | `createSpan` | `TracerConfig` |
169
194
  | `createMetrics` | `TracerExporter` |
170
195
  | `createCostEngine` | `CostReport` |
171
- | `toOTelSpan` | `Span` |
172
- | `toOTelExportRequest` | `SpanData` |
173
- | `toTraceparent` | `SpanKind` |
174
- | `parseTraceparent` | `SpanStatus` |
175
- | `injectTraceContext` | `MetricsCollector` |
176
- | `extractTraceContext` | `MetricEntry` |
177
- | `createOTLPExporter` | `CostEngine` |
178
- | | `CostEngineConfig` |
196
+ | `createExperiment` | `Span` |
197
+ | `instrumentComplete` | `ExperimentStore` |
198
+ | `instrumentAgent` | |
199
+ | `createFileExperimentStore` | |
200
+ | `toOTelSpan` | `SpanData` |
201
+ | `toOTelExportRequest` | `SpanKind` |
202
+ | `toTraceparent` | `SpanStatus` |
203
+ | `parseTraceparent` | `MetricsCollector` |
204
+ | `injectTraceContext` | `MetricEntry` |
205
+ | `extractTraceContext` | `CostEngine` |
206
+ | `createOTLPExporter` | `CostEngineConfig` |
179
207
  | | `CostAlert` |
180
208
  | | `CostDimension` |
181
209
  | | `CostIntelligenceReport` |
182
210
  | | `ModelSuggestion` |
211
+ | | `Experiment` |
212
+ | | `ExperimentConfig` |
213
+ | | `ExperimentVariant` |
214
+ | | `ExperimentResults` |
183
215
  | | `OTelSpan` |
184
216
  | | `OTelExportRequest` |
185
217
  | | `TraceContext` |
@@ -190,10 +222,13 @@ Every value and type listed below is available directly from `'elsium-ai'`.
190
222
  | Values | Types |
191
223
  |--------|-------|
192
224
  | `createApp` | `AppConfig` |
193
- | | `ServerConfig` |
194
- | | `CorsConfig` |
195
- | | `AuthConfig` |
196
- | | `RateLimitConfig` |
225
+ | `sseHeaders` | `ServerConfig` |
226
+ | `formatSSE` | `CorsConfig` |
227
+ | `streamResponse` | `AuthConfig` |
228
+ | `tenantMiddleware` | `RateLimitConfig` |
229
+ | `tenantRateLimitMiddleware` | `StreamChatEvent` |
230
+ | `tenantBudgetMiddleware` | `StreamCompleteEvent` |
231
+ | | `TenantMiddlewareConfig` |
197
232
 
198
233
  ### `@elsium-ai/mcp`
199
234
 
@@ -201,9 +236,19 @@ Every value and type listed below is available directly from `'elsium-ai'`.
201
236
  |--------|-------|
202
237
  | `createMCPClient` | `MCPClient` |
203
238
  | `createMCPServer` | `MCPClientConfig` |
204
- | | `MCPToolInfo` |
239
+ | `createMCPHttpHandler` | `MCPToolInfo` |
205
240
  | | `MCPServer` |
206
241
  | | `MCPServerConfig` |
242
+ | | `JsonRpcRequest` |
243
+ | | `JsonRpcResponse` |
244
+ | | `MCPTransport` |
245
+
246
+ ### `@elsium-ai/client`
247
+
248
+ | Values | Types |
249
+ |--------|-------|
250
+ | `createClient` | `ElsiumClient` |
251
+ | | `ClientConfig` |
207
252
 
208
253
  ### `@elsium-ai/testing`
209
254
 
@@ -287,14 +332,15 @@ For full API documentation, see each sub-package README.
287
332
 
288
333
  | Package | npm | Description |
289
334
  |---------|-----|-------------|
290
- | `@elsium-ai/core` | [npm](https://www.npmjs.com/package/@elsium-ai/core) | Types, errors, result pattern, streaming, logger, config utilities |
291
- | `@elsium-ai/gateway` | [npm](https://www.npmjs.com/package/@elsium-ai/gateway) | Multi-provider LLM gateway, middleware, provider mesh, security |
292
- | `@elsium-ai/agents` | [npm](https://www.npmjs.com/package/@elsium-ai/agents) | Agent definitions, memory, guardrails, multi-agent orchestration |
335
+ | `@elsium-ai/core` | [npm](https://www.npmjs.com/package/@elsium-ai/core) | Types, errors, result pattern, streaming, logger, config, tokens, context manager, registry, schema |
336
+ | `@elsium-ai/gateway` | [npm](https://www.npmjs.com/package/@elsium-ai/gateway) | Multi-provider LLM gateway, middleware, provider mesh, security, caching, output guardrails, batch |
337
+ | `@elsium-ai/agents` | [npm](https://www.npmjs.com/package/@elsium-ai/agents) | Agent definitions, memory, persistent stores (in-memory, SQLite), guardrails, multi-agent |
293
338
  | `@elsium-ai/tools` | [npm](https://www.npmjs.com/package/@elsium-ai/tools) | Tool definitions with Zod validation, built-in tools |
294
- | `@elsium-ai/rag` | [npm](https://www.npmjs.com/package/@elsium-ai/rag) | Document ingestion, chunking, embeddings, vector search |
339
+ | `@elsium-ai/rag` | [npm](https://www.npmjs.com/package/@elsium-ai/rag) | Document ingestion, chunking, embeddings, vector search, PgVector store, plugin registries |
295
340
  | `@elsium-ai/workflows` | [npm](https://www.npmjs.com/package/@elsium-ai/workflows) | Sequential, parallel, and branching workflow definitions |
296
- | `@elsium-ai/observe` | [npm](https://www.npmjs.com/package/@elsium-ai/observe) | Tracing, metrics, cost intelligence, OpenTelemetry export |
297
- | `@elsium-ai/app` | [npm](https://www.npmjs.com/package/@elsium-ai/app) | HTTP server with CORS, auth, and rate limiting |
341
+ | `@elsium-ai/observe` | [npm](https://www.npmjs.com/package/@elsium-ai/observe) | Tracing, metrics, cost intelligence, OpenTelemetry export, A/B experiments |
342
+ | `@elsium-ai/app` | [npm](https://www.npmjs.com/package/@elsium-ai/app) | HTTP server with CORS, auth, rate limiting, SSE streaming, multi-tenant |
343
+ | `@elsium-ai/client` | [npm](https://www.npmjs.com/package/@elsium-ai/client) | TypeScript HTTP client with SSE parsing for consuming ElsiumAI servers |
298
344
  | `@elsium-ai/mcp` | [npm](https://www.npmjs.com/package/@elsium-ai/mcp) | Model Context Protocol client and server |
299
345
  | `@elsium-ai/testing` | [npm](https://www.npmjs.com/package/@elsium-ai/testing) | Mocks, fixtures, evals, snapshot testing, prompt versioning, replay |
300
346
 
package/dist/index.d.ts CHANGED
@@ -9,24 +9,26 @@
9
9
  * You can import everything from one place:
10
10
  * import { env, gateway, defineAgent } from 'elsium-ai'
11
11
  */
12
- export { ElsiumError, ok, err, isOk, isErr, unwrap, unwrapOr, tryCatch, tryCatchSync, createStream, createLogger, env, envNumber, envBool, generateId, generateTraceId, extractText, sleep, retry, } from '@elsium-ai/core';
13
- export type { Role, ContentPart, TextContent, ImageContent, Message, ToolCall, ToolResult, TokenUsage, CostBreakdown, StopReason, LLMResponse, StreamEvent, XRayData, StreamCheckpoint, ProviderConfig, CompletionRequest, ToolDefinition, Middleware, Result, Ok, Err, ElsiumStream, ResilientStreamOptions, LogLevel, Logger, ErrorCode, } from '@elsium-ai/core';
14
- export { gateway, registerProviderFactory, calculateCost, registerPricing, composeMiddleware, loggingMiddleware, costTrackingMiddleware, xrayMiddleware, createAnthropicProvider, createOpenAIProvider, createGoogleProvider, createProviderMesh, securityMiddleware, detectPromptInjection, detectJailbreak, redactSecrets, checkBlockedPatterns, } from '@elsium-ai/gateway';
15
- export type { LLMProvider, ProviderFactory, Gateway, GatewayConfig, XRayStore, ProviderMeshConfig, ProviderEntry, RoutingStrategy, ProviderMesh, SecurityMiddlewareConfig, SecurityViolation, SecurityResult, } from '@elsium-ai/gateway';
16
- export { defineAgent, runSequential, runParallel, runSupervisor, createMemory, createSemanticValidator, createAgentSecurity, createConfidenceScorer, executeStateMachine, } from '@elsium-ai/agents';
17
- export type { Agent, AgentDependencies, AgentConfig, AgentResult, AgentRunOptions, GuardrailConfig, AgentHooks, Memory, MemoryConfig, SemanticGuardrailConfig, SemanticCheck, SemanticCheckResult, SemanticValidationResult, SemanticValidator, AgentSecurityConfig, AgentSecurityResult, ConfidenceConfig, ConfidenceResult, StateDefinition, StateHistoryEntry, StateMachineResult, } from '@elsium-ai/agents';
12
+ export { ElsiumError, ok, err, isOk, isErr, unwrap, unwrapOr, tryCatch, tryCatchSync, createStream, createLogger, env, envNumber, envBool, generateId, generateTraceId, extractText, sleep, retry, zodToJsonSchema, createRegistry, countTokens, createContextManager, } from '@elsium-ai/core';
13
+ export type { Role, ContentPart, TextContent, ImageContent, AudioContent, DocumentContent, Message, ToolCall, ToolResult, TokenUsage, CostBreakdown, StopReason, LLMResponse, StreamEvent, XRayData, StreamCheckpoint, ProviderConfig, CompletionRequest, ToolDefinition, TenantContext, Middleware, Result, Ok, Err, ElsiumStream, ResilientStreamOptions, LogLevel, Logger, ErrorCode, Registry, ContextStrategy, ContextManagerConfig, ContextManager, } from '@elsium-ai/core';
14
+ export { gateway, registerProviderFactory, calculateCost, registerPricing, composeMiddleware, loggingMiddleware, costTrackingMiddleware, xrayMiddleware, createAnthropicProvider, createOpenAIProvider, createGoogleProvider, createProviderMesh, securityMiddleware, detectPromptInjection, detectJailbreak, redactSecrets, checkBlockedPatterns, cacheMiddleware, createInMemoryCache, outputGuardrailMiddleware, createBatch, } from '@elsium-ai/gateway';
15
+ export type { LLMProvider, ProviderFactory, Gateway, GatewayConfig, XRayStore, ProviderMeshConfig, ProviderEntry, RoutingStrategy, ProviderMesh, SecurityMiddlewareConfig, SecurityViolation, SecurityResult, CacheAdapter, CacheStats, CacheMiddlewareConfig, OutputGuardrailConfig, OutputGuardrailRule, OutputViolation, BatchConfig, BatchResult, BatchResultItem, } from '@elsium-ai/gateway';
16
+ export { defineAgent, runSequential, runParallel, runSupervisor, createMemory, createSemanticValidator, createAgentSecurity, createConfidenceScorer, executeStateMachine, createInMemoryMemoryStore, createSqliteMemoryStore, } from '@elsium-ai/agents';
17
+ export type { Agent, AgentDependencies, AgentConfig, AgentResult, AgentRunOptions, GuardrailConfig, AgentHooks, Memory, MemoryConfig, SemanticGuardrailConfig, SemanticCheck, SemanticCheckResult, SemanticValidationResult, SemanticValidator, AgentSecurityConfig, AgentSecurityResult, ConfidenceConfig, ConfidenceResult, StateDefinition, StateHistoryEntry, StateMachineResult, MemoryStore, SqliteMemoryStoreConfig, } from '@elsium-ai/agents';
18
18
  export { defineTool, createToolkit, httpFetchTool, calculatorTool, jsonParseTool, currentTimeTool, formatToolResult, formatToolResultAsText, } from '@elsium-ai/tools';
19
19
  export type { Tool, ToolConfig, ToolContext, ToolExecutionResult, Toolkit, } from '@elsium-ai/tools';
20
- export { rag, createInMemoryStore, createOpenAIEmbeddings, createMockEmbeddings, } from '@elsium-ai/rag';
21
- export type { RAGPipeline, RAGPipelineConfig, IngestResult, Document, Chunk, EmbeddedChunk, RetrievalResult, QueryOptions, EmbeddingProvider, VectorStore, } from '@elsium-ai/rag';
20
+ export { rag, createInMemoryStore, createOpenAIEmbeddings, createMockEmbeddings, vectorStoreRegistry, embeddingProviderRegistry, createPgVectorStore, } from '@elsium-ai/rag';
21
+ export type { RAGPipeline, RAGPipelineConfig, IngestResult, Document, Chunk, EmbeddedChunk, RetrievalResult, QueryOptions, EmbeddingProvider, VectorStore, VectorStoreFactory, EmbeddingProviderFactory, PgVectorStoreConfig, } from '@elsium-ai/rag';
22
22
  export { defineWorkflow, defineParallelWorkflow, defineBranchWorkflow, step, } from '@elsium-ai/workflows';
23
23
  export type { Workflow, WorkflowConfig, WorkflowResult, WorkflowRunOptions, StepConfig, StepContext, StepResult, } from '@elsium-ai/workflows';
24
- export { observe, createSpan, createMetrics, createCostEngine, toOTelSpan, toOTelExportRequest, toTraceparent, parseTraceparent, injectTraceContext, extractTraceContext, createOTLPExporter, } from '@elsium-ai/observe';
25
- export type { Tracer, TracerConfig, TracerExporter, CostReport, Span, SpanData, SpanKind, SpanStatus, MetricsCollector, MetricEntry, CostEngine, CostEngineConfig, CostAlert, CostDimension, CostIntelligenceReport, ModelSuggestion, OTelSpan, OTelExportRequest, TraceContext, OTLPExporterConfig, } from '@elsium-ai/observe';
26
- export { createApp } from '@elsium-ai/app';
27
- export type { AppConfig, ServerConfig, CorsConfig, AuthConfig, RateLimitConfig, } from '@elsium-ai/app';
24
+ export { observe, createSpan, createMetrics, createCostEngine, createExperiment, toOTelSpan, toOTelExportRequest, toTraceparent, parseTraceparent, injectTraceContext, extractTraceContext, createOTLPExporter, } from '@elsium-ai/observe';
25
+ export type { Tracer, TracerConfig, TracerExporter, CostReport, Span, SpanData, SpanKind, SpanStatus, MetricsCollector, MetricEntry, CostEngine, CostEngineConfig, CostAlert, CostDimension, CostIntelligenceReport, ModelSuggestion, Experiment, ExperimentConfig, ExperimentVariant, ExperimentResults, OTelSpan, OTelExportRequest, TraceContext, OTLPExporterConfig, } from '@elsium-ai/observe';
26
+ export { createApp, sseHeaders, formatSSE, streamResponse, tenantMiddleware, tenantRateLimitMiddleware, } from '@elsium-ai/app';
27
+ export type { AppConfig, ServerConfig, CorsConfig, AuthConfig, RateLimitConfig, StreamChatEvent, StreamCompleteEvent, TenantMiddlewareConfig, } from '@elsium-ai/app';
28
28
  export { createMCPClient, createMCPServer } from '@elsium-ai/mcp';
29
29
  export type { MCPClient, MCPClientConfig, MCPToolInfo, MCPServer, MCPServerConfig, } from '@elsium-ai/mcp';
30
+ export { createClient } from '@elsium-ai/client';
31
+ export type { ElsiumClient, ClientConfig, } from '@elsium-ai/client';
30
32
  export { mockProvider, createFixture, loadFixture, createRecorder, runEvalSuite, formatEvalReport, createSnapshotStore, createPromptRegistry, definePrompt, createRegressionSuite, createReplayRecorder, createReplayPlayer, } from '@elsium-ai/testing';
31
33
  export type { MockProviderOptions, MockResponseConfig, MockProvider, EvalSuiteConfig, EvalCase, EvalCriterion, EvalResult, EvalSuiteResult, LLMJudge, SnapshotStore, PromptDefinition, PromptDiff, PromptRegistry, RegressionBaseline, RegressionResult, RegressionDetail, RegressionSuite, ReplayEntry, ReplayRecorder, ReplayPlayer, } from '@elsium-ai/testing';
32
34
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAEN,WAAW,EAEX,EAAE,EACF,GAAG,EACH,IAAI,EACJ,KAAK,EACL,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,YAAY,EAEZ,YAAY,EAEZ,YAAY,EAEZ,GAAG,EACH,SAAS,EACT,OAAO,EAEP,UAAU,EACV,eAA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