@dcdr/contracts 2.2.0 → 2.3.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.
Files changed (72) hide show
  1. package/dist/asset.contract.d.ts +195 -0
  2. package/dist/asset.contract.d.ts.map +1 -0
  3. package/dist/asset.contract.js +60 -0
  4. package/dist/catalog/anthropic.contract.d.ts +11 -0
  5. package/dist/catalog/anthropic.contract.d.ts.map +1 -0
  6. package/dist/catalog/anthropic.contract.js +342 -0
  7. package/dist/catalog/clip.contract.d.ts +10 -0
  8. package/dist/catalog/clip.contract.d.ts.map +1 -0
  9. package/dist/catalog/clip.contract.js +16 -0
  10. package/dist/catalog/cohere.contract.d.ts +10 -0
  11. package/dist/catalog/cohere.contract.d.ts.map +1 -0
  12. package/dist/catalog/cohere.contract.js +16 -0
  13. package/dist/catalog/dcdr.contract.d.ts +10 -0
  14. package/dist/catalog/dcdr.contract.d.ts.map +1 -0
  15. package/dist/catalog/dcdr.contract.js +16 -0
  16. package/dist/catalog/gemini.contract.d.ts +10 -0
  17. package/dist/catalog/gemini.contract.d.ts.map +1 -0
  18. package/dist/catalog/gemini.contract.js +1067 -0
  19. package/dist/catalog/grok.contract.d.ts +10 -0
  20. package/dist/catalog/grok.contract.d.ts.map +1 -0
  21. package/dist/catalog/grok.contract.js +194 -0
  22. package/dist/catalog/http-tool.contract.d.ts +10 -0
  23. package/dist/catalog/http-tool.contract.d.ts.map +1 -0
  24. package/dist/catalog/http-tool.contract.js +16 -0
  25. package/dist/catalog/mistral.contract.d.ts +10 -0
  26. package/dist/catalog/mistral.contract.d.ts.map +1 -0
  27. package/dist/catalog/mistral.contract.js +234 -0
  28. package/dist/catalog/ocr.contract.d.ts +10 -0
  29. package/dist/catalog/ocr.contract.d.ts.map +1 -0
  30. package/dist/catalog/ocr.contract.js +16 -0
  31. package/dist/catalog/office.contract.d.ts +10 -0
  32. package/dist/catalog/office.contract.d.ts.map +1 -0
  33. package/dist/catalog/office.contract.js +53 -0
  34. package/dist/catalog/ollama.contract.d.ts +10 -0
  35. package/dist/catalog/ollama.contract.d.ts.map +1 -0
  36. package/dist/catalog/ollama.contract.js +16 -0
  37. package/dist/catalog/openai-compatible.contract.d.ts +10 -0
  38. package/dist/catalog/openai-compatible.contract.d.ts.map +1 -0
  39. package/dist/catalog/openai-compatible.contract.js +16 -0
  40. package/dist/catalog/openai.contract.d.ts +11 -0
  41. package/dist/catalog/openai.contract.d.ts.map +1 -0
  42. package/dist/catalog/openai.contract.js +2654 -0
  43. package/dist/catalog/rules.contract.d.ts +10 -0
  44. package/dist/catalog/rules.contract.d.ts.map +1 -0
  45. package/dist/catalog/rules.contract.js +16 -0
  46. package/dist/entitlements.contract.d.ts +3 -0
  47. package/dist/entitlements.contract.d.ts.map +1 -1
  48. package/dist/execution.contract.d.ts +122 -0
  49. package/dist/execution.contract.d.ts.map +1 -1
  50. package/dist/execution.contract.js +17 -1
  51. package/dist/policies.contract.d.ts +19 -0
  52. package/dist/policies.contract.d.ts.map +1 -1
  53. package/dist/policies.contract.js +24 -1
  54. package/dist/prompt-variable-schema.contract.d.ts +8 -1
  55. package/dist/prompt-variable-schema.contract.d.ts.map +1 -1
  56. package/dist/prompt-variable-schema.contract.js +109 -4
  57. package/dist/prompts.contract.d.ts +14 -8
  58. package/dist/prompts.contract.d.ts.map +1 -1
  59. package/dist/prompts.contract.js +12 -1
  60. package/dist/provider.catalog.contract.d.ts +459 -0
  61. package/dist/provider.catalog.contract.d.ts.map +1 -0
  62. package/dist/provider.catalog.contract.js +765 -0
  63. package/dist/provider.contract.d.ts +4 -352
  64. package/dist/provider.contract.d.ts.map +1 -1
  65. package/dist/provider.contract.js +16 -3634
  66. package/dist/runtime.client.d.ts +54 -1
  67. package/dist/runtime.client.d.ts.map +1 -1
  68. package/dist/runtime.client.js +185 -0
  69. package/dist/utils.contract.d.ts +33 -0
  70. package/dist/utils.contract.d.ts.map +1 -1
  71. package/dist/utils.contract.js +35 -0
  72. package/package.json +2 -1
@@ -1,6 +1,7 @@
1
1
  import { ImplementationContract } from "./implementations.contract";
2
2
  import { Message } from "./messages.contract";
3
- import { Intent, IntentContract, IntentType } from "./intent.contract";
3
+ import { ExecutionInputPart } from "./execution.contract";
4
+ import { Intent, IntentContract } from "./intent.contract";
4
5
  import { PromptParameters } from "./policies.contract";
5
6
  import { PromptTemplate } from "./prompts.contract";
6
7
  import { CredentialsContract } from "./credentials.contract";
@@ -84,6 +85,7 @@ export type ProviderExecuteArgs = {
84
85
  credentials: CredentialsContract | null;
85
86
  prompt: PromptTemplate;
86
87
  renderedMessages: Message[];
88
+ inputParts?: ExecutionInputPart[];
87
89
  vars: Record<string, unknown>;
88
90
  /**
89
91
  * If provided, this is what will be sent to the provider.
@@ -123,355 +125,5 @@ export type ProviderExecuteResult = {
123
125
  totalTokens?: number;
124
126
  };
125
127
  };
126
- /**
127
- * Pricing metadata shared across different pricing components.
128
- */
129
- export interface ProviderPricingMeta {
130
- currency: "USD" | "EURO" | "GBP" | string;
131
- /** Optional URL to the provider pricing page used as the source. */
132
- sourceUrl?: string;
133
- /** Timestamp (ms) indicating when this pricing snapshot was last updated. */
134
- updatedAt: number;
135
- /** How confident this data is (design-time friendly). */
136
- confidence?: "official" | "approx" | "unknown";
137
- notes?: string;
138
- }
139
- export type ProviderPricingComponent = {
140
- kind: "tokens";
141
- unit: "per_million_tokens";
142
- input: number;
143
- outputUsd: number;
144
- cachedInput?: number;
145
- cachedOutput?: number;
146
- /** Optional tiered pricing (e.g. different rates by modality or prompt size). */
147
- tiers?: Array<{
148
- name: string;
149
- condition?: string;
150
- input: number;
151
- output: number;
152
- cachedInput?: number;
153
- cachedOutput?: number;
154
- }>;
155
- notes?: string;
156
- } | {
157
- kind: "characters";
158
- unit: "per_million_characters";
159
- input: number;
160
- notes?: string;
161
- } | {
162
- kind: "audio_minutes";
163
- unit: "per_minute";
164
- input: number;
165
- output?: number;
166
- notes?: string;
167
- } | {
168
- kind: "images";
169
- unit: "per_image";
170
- input?: number;
171
- output?: number;
172
- notes?: string;
173
- } | {
174
- kind: "video_seconds";
175
- unit: "per_second";
176
- input?: number;
177
- output?: number;
178
- notes?: string;
179
- } | {
180
- kind: "pages";
181
- unit: "per_1000_pages";
182
- input: number;
183
- notes?: string;
184
- };
185
- /** Unified pricing for a model: composed of 1..N pricing components. */
186
- export interface ProviderModelPricing extends ProviderPricingMeta {
187
- components: ProviderPricingComponent[];
188
- }
189
- /** Runtime-level support status for a (provider, modelId) pair. */
190
- export declare enum ProviderModelRuntimeSupportStatus {
191
- /** Supported by this runtime (intended to work). */
192
- SUPPORTED = "SUPPORTED",
193
- /** Explicitly not supported by this runtime (do not attempt provider calls). */
194
- NOT_SUPPORTED = "NOT_SUPPORTED",
195
- /** Known failing in current runtime; keep visible but treat as unstable. */
196
- FAILING = "FAILING",
197
- /** Under active work; may be partially implemented. */
198
- IN_PROGRESS = "IN_PROGRESS"
199
- }
200
- /** Preferred upstream API surface for this model (when provider offers multiple). */
201
- export declare enum ProviderModelPreferredApi {
202
- CHAT_COMPLETIONS = "CHAT_COMPLETIONS",
203
- RESPONSES = "RESPONSES"
204
- }
205
- /** Generic prompt/runtime parameter keys that can be exposed to users (UI) and adapters. */
206
- export declare enum PromptParameterKey {
207
- TEMPERATURE = "temperature",
208
- TOP_P = "top_p",
209
- TOP_K = "top_k",
210
- MAX_TOKENS = "max_tokens",
211
- SEED = "seed",
212
- ENABLE_THINKING = "enable_thinking",
213
- RESPONSE_FORMAT = "response_format",
214
- PRESENCE_PENALTY = "presence_penalty",
215
- FREQUENCY_PENALTY = "frequency_penalty"
216
- }
217
- /** Runtime-level parameter support status for a specific model. */
218
- export declare enum ProviderModelParameterSupportStatus {
219
- /** Parameter is supported and may be used. */
220
- SUPPORTED = "SUPPORTED",
221
- /** Parameter is not supported and should not be sent. */
222
- NOT_SUPPORTED = "NOT_SUPPORTED",
223
- /** Only provider default is supported; runtime should avoid sending custom values. */
224
- DEFAULT_ONLY = "DEFAULT_ONLY"
225
- }
226
- /** Optional parameter support metadata attached to a model definition (for UI and adapter normalization). */
227
- export interface ProviderModelParameterSupportInfo {
228
- /** Per-parameter support mapping. Omitted keys mean "unknown" (use adapter defaults). */
229
- parameters?: Partial<Record<PromptParameterKey, ProviderModelParameterSupportStatus>>;
230
- /** Optional recommendations to avoid common misconfiguration. */
231
- recommended?: {
232
- /** Recommended minimum `max_tokens` to avoid empty/reasoning-only outputs on some models. */
233
- minMaxTokens?: number;
234
- };
235
- /** Human-readable notes (safe for UI/logs). */
236
- notes?: string;
237
- /** ISO date string of last verification (e.g. from E2E/probes). */
238
- updatedAt?: string;
239
- }
240
- /** Optional runtime support metadata attached to a model definition. */
241
- export interface ProviderModelRuntimeSupportInfo {
242
- status: ProviderModelRuntimeSupportStatus;
243
- preferredApi?: ProviderModelPreferredApi;
244
- /** Human-readable notes (safe for logs/CI). */
245
- reason?: string;
246
- /** ISO date string of last verification (e.g. from E2E/probes). */
247
- updatedAt?: string;
248
- }
249
- /**
250
- * Product-level managed categories for public customer models.
251
- *
252
- * Purpose
253
- * - Provide a stable grouping/filtering abstraction for customer-facing UIs.
254
- * - Avoid exposing a flat provider/model list by default.
255
- */
256
- export declare enum DcdrPublicModelCategory {
257
- /** Maximum quality / strongest reasoning; typically expensive. */
258
- BEST = "BEST",
259
- /** Best balance between quality and cost; recommended default for production chat. */
260
- SMART = "SMART",
261
- /** Low latency; good for interactive chat/support. */
262
- FAST = "FAST",
263
- /** Lowest cost; good for high-volume simple tasks. */
264
- ECONOMY = "ECONOMY",
265
- /** Internal/local/company-managed models (self-hosted, Office, etc.). */
266
- PRIVATE = "PRIVATE"
267
- }
268
- /**
269
- * Canonical (de-duplicated) model definition.
270
- *
271
- * A single model can support multiple IntentType(s). Keeping the model metadata in one place
272
- * avoids duplicating fields like cost/capabilities across multiple per-type listings.
273
- */
274
- export interface ProviderModelDefinition {
275
- id: string;
276
- types: IntentType[];
277
- /**
278
- * If true, this model is eligible for customer-facing UIs.
279
- *
280
- * Notes
281
- * - Fail-closed: missing/undefined is treated as false by the catalog normalizer.
282
- * - This does not affect runtime execution support; it is a UI curation flag.
283
- */
284
- publicForCustomers: boolean;
285
- /** Stable customer-facing family name for managed public models (should not expose provider/model IDs). */
286
- publicName?: string;
287
- /** Small variant label displayed next to `publicName` (e.g. "OpenAI", "Fast", "Lowest cost"). */
288
- badge?: string;
289
- /** Primary managed category used for default grouping in simple UI mode. */
290
- primaryCategory?: DcdrPublicModelCategory;
291
- /** Additional managed categories/tags for badges and advanced filtering. */
292
- categories?: DcdrPublicModelCategory[];
293
- /** Quality tier (1..5), where 5 is best. */
294
- qualityTier?: number;
295
- /** Speed tier (1..5), where 5 is best. */
296
- speedTier?: number;
297
- /** Cost tier (1..5), where 5 is best (lowest cost). */
298
- costTier?: number;
299
- /** Optional suggested use cases (safe for UI). */
300
- recommendedUseCases?: string[];
301
- /** Model is generally recommended to customers. */
302
- isRecommended?: boolean;
303
- /** Global default model when the user has not chosen any model/category. Exactly one public model should be true. */
304
- isGlobalDefault?: boolean;
305
- /** Default model within its primaryCategory when a category is chosen but no specific model is selected. */
306
- isCategoryDefault?: boolean;
307
- /**
308
- * When true, this model has been verified (via E2E) to return token usage (`promptTokens`/`completionTokens`/`totalTokens`)
309
- * in the runtime execution report.
310
- *
311
- * Notes
312
- * - This is a billing invariant: public customer models must have token usage tracking.
313
- * - Missing/undefined is treated as false (fail-closed).
314
- */
315
- tokenUsageCovered?: boolean;
316
- pricing?: ProviderModelPricing;
317
- runtimeSupport?: ProviderModelRuntimeSupportInfo;
318
- parameterSupport?: ProviderModelParameterSupportInfo;
319
- }
320
- /**
321
- * Stricter shape for public customer models.
322
- *
323
- * Notes
324
- * - This is an additive (non-breaking) interface.
325
- * - The catalog normalizer enforces these fields at runtime for models where `publicForCustomers === true`.
326
- */
327
- export interface ProviderPublicCustomerModelDefinition extends ProviderModelDefinition {
328
- publicForCustomers: true;
329
- publicName: string;
330
- badge?: string;
331
- tokenUsageCovered: boolean;
332
- primaryCategory: DcdrPublicModelCategory;
333
- categories: DcdrPublicModelCategory[];
334
- qualityTier: number;
335
- speedTier: number;
336
- costTier: number;
337
- recommendedUseCases: string[];
338
- isRecommended: boolean;
339
- isGlobalDefault: boolean;
340
- isCategoryDefault: boolean;
341
- }
342
- /** Options for ProviderModelRegistry.listProviderModels(...). */
343
- export interface ProviderModelListProviderModelsOptions {
344
- /** When true, only returns models explicitly curated for customer-facing UIs. */
345
- onlyPublicForCustomers?: boolean;
346
- }
347
- /** Provider + model pairing for public customer model listing helpers. */
348
- export interface ProviderPublicCustomerModelRef {
349
- provider: IntentProvider;
350
- modelId: string;
351
- model: ProviderPublicCustomerModelDefinition;
352
- }
353
- /** Options for ProviderModelRegistry.listPublicCustomerModels(...). */
354
- export interface ProviderModelListPublicCustomerModelsOptions {
355
- /** Optional filter: only include models whose primaryCategory matches this value. */
356
- primaryCategory?: DcdrPublicModelCategory;
357
- /** Optional filter: only include models that contain at least one of these categories. */
358
- includeCategories?: DcdrPublicModelCategory[];
359
- }
360
- export interface DcdrVirtualModelResolution {
361
- provider: IntentProvider;
362
- modelId: string;
363
- prefixedModelId: string;
364
- }
365
- /**
366
- * Formats a DCDR virtual provider model id as `provider/model`.
367
- *
368
- * Returns an empty string for unsupported provider prefixes.
369
- */
370
- export declare function formatDcdrVirtualModelId(provider: IntentProvider, modelId: string): string;
371
- /**
372
- * Parses a DCDR virtual provider model id of the form `provider/model`.
373
- *
374
- * Returns null when the id is not a valid DCDR virtual model id.
375
- */
376
- export declare function parseDcdrVirtualModelId(prefixedModelId: string): DcdrVirtualModelResolution | null;
377
- /**
378
- * Canonical provider model catalog (after enrichment passes).
379
- */
380
- export declare const PROVIDER_MODEL_DEFINITIONS_BY_PROVIDER: Record<IntentProvider, ProviderModelDefinition[]>;
381
- /**
382
- * Canonical lookup: provider -> modelId -> model definition.
383
- */
384
- export declare const PROVIDER_MODEL_CATALOG: Record<IntentProvider, Record<string, ProviderModelDefinition>>;
385
- /**
386
- * Primary listing structure (no duplicated metadata): provider -> intent type -> model IDs.
387
- */
388
- export declare const PROVIDER_MODEL_IDS_BY_PROVIDER_AND_TYPE: Record<IntentProvider, Record<IntentType, string[]>>;
389
- /**
390
- * E2E model status used by provider test suites.
391
- *
392
- * Notes
393
- * - This is an opt-in testing mechanism; it does not affect runtime behavior.
394
- * - Use `LEGACY` to explicitly skip obsolete/retired model IDs while still keeping them
395
- * discoverable in the catalog for historical compatibility.
396
- */
397
- export declare enum ProviderModelE2EStatus {
398
- /** Model should be exercised by E2E suites (when provider is implemented and credentials exist). */
399
- ACTIVE = "ACTIVE",
400
- /** Model is considered legacy/obsolete and may be skipped by E2E suites. */
401
- LEGACY = "LEGACY"
402
- }
403
- /**
404
- * Per-model E2E override metadata.
405
- */
406
- export interface ProviderModelE2EOverride {
407
- status: ProviderModelE2EStatus;
408
- /** Human-readable skip rationale (keep short; safe for CI logs). */
409
- reason: string;
410
- }
411
- /**
412
- * Optional provider-model overrides consumed by the provider E2E matrix tests.
413
- *
414
- * How to use
415
- * - When a model ID becomes obsolete/retired, mark it as `LEGACY` with a reason.
416
- * - The E2E suite will still enumerate it (catalog stays complete) but will skip execution.
417
- */
418
- export declare const PROVIDER_MODEL_E2E_OVERRIDES: Record<IntentProvider, Record<string, ProviderModelE2EOverride>>;
419
- /**
420
- * Static utility class for querying the provider model catalog.
421
- *
422
- * Designed for client consumption: `ProviderModelRegistry.listProvidersSupportingType(...)`.
423
- */
424
- export declare class ProviderModelRegistry {
425
- /** Canonical catalog view: provider -> modelId -> definition. */
426
- static readonly catalog: Record<IntentProvider, Record<string, ProviderModelDefinition>>;
427
- /** Primary listing view: provider -> intent type -> model IDs. */
428
- static readonly idsByProviderAndType: Record<IntentProvider, Record<IntentType, string[]>>;
429
- /** Source-of-truth definitions in declared order (useful for UI display). */
430
- static readonly definitionsByProvider: Record<IntentProvider, ProviderModelDefinition[]>;
431
- /** Returns the model definition if present; otherwise null. */
432
- static getModelDefinition(provider: IntentProvider, modelId: string): ProviderModelDefinition | null;
433
- /** Lists all model IDs for a provider (stable order as declared in the catalog). */
434
- static listProviderModelIds(provider: IntentProvider): string[];
435
- /** Lists all model definitions for a provider (stable order as declared in the catalog). */
436
- static listProviderModels(provider: IntentProvider, options?: ProviderModelListProviderModelsOptions): ProviderModelDefinition[];
437
- /**
438
- * Lists all public customer models across all providers.
439
- *
440
- * Notes
441
- * - Uses the catalog declared order (provider order, then per-provider declaration order).
442
- * - This is a UI/helper surface only; execution still uses provider+modelId.
443
- */
444
- static listPublicCustomerModels(options?: ProviderModelListPublicCustomerModelsOptions): ProviderPublicCustomerModelRef[];
445
- /**
446
- * Groups all public customer models by their primaryCategory.
447
- *
448
- * Intended for the "simple UI" mode where the UI shows high-level DCDR groups.
449
- */
450
- static listPublicCustomerModelsByPrimaryCategory(): Record<DcdrPublicModelCategory, ProviderPublicCustomerModelRef[]>;
451
- /** Lists model IDs for a provider that support a given IntentType. */
452
- static listProviderModelIdsForType(provider: IntentProvider, type: IntentType): string[];
453
- /** Lists model definitions for a provider that support a given IntentType. */
454
- static listProviderModelsForType(provider: IntentProvider, type: IntentType): ProviderModelDefinition[];
455
- /** Returns true if the provider has at least one model for the given IntentType. */
456
- static providerSupportsType(provider: IntentProvider, type: IntentType): boolean;
457
- /** Returns true if the model supports the given IntentType (based on the catalog). */
458
- static modelSupportsType(provider: IntentProvider, modelId: string, type: IntentType): boolean;
459
- /** Lists all providers that have at least one model supporting the given IntentType. */
460
- static listProvidersSupportingType(type: IntentType): IntentProvider[];
461
- /** Returns all model IDs across all providers for a given type. */
462
- static listAllModelIdsForType(type: IntentType): Array<{
463
- provider: IntentProvider;
464
- modelId: string;
465
- }>;
466
- /** Convenience: get unified pricing if present (or null if not set/unknown). */
467
- static getModelPricing(provider: IntentProvider, modelId: string): ProviderModelPricing | null;
468
- /** Get a specific pricing component from a model by kind (or null if absent). */
469
- static getPricingComponent<TKind extends ProviderPricingComponent["kind"]>(provider: IntentProvider, modelId: string, kind: TKind): Extract<ProviderPricingComponent, {
470
- kind: TKind;
471
- }> | null;
472
- /** Convenience: token pricing (per MTok) if present. */
473
- static getTokenPricing(provider: IntentProvider, modelId: string): Extract<ProviderPricingComponent, {
474
- kind: "tokens";
475
- }> | null;
476
- }
128
+ export * from "./provider.catalog.contract";
477
129
  //# sourceMappingURL=provider.contract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provider.contract.d.ts","sourceRoot":"","sources":["../src/provider.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D;;;;;;;;;;GAUG;AACH,oBAAY,cAAc;IACxB;;;;;;OAMG;IACH,IAAI,SAAS;IAEb,0DAA0D;IAC1D,OAAO,YAAY;IAEnB,2BAA2B;IAC3B,MAAM,WAAW;IAEjB,sBAAsB;IACtB,IAAI,SAAS;IAEb,8BAA8B;IAC9B,SAAS,cAAc;IAEvB,4BAA4B;IAC5B,OAAO,YAAY;IAEnB,wCAAwC;IACxC,MAAM,WAAW;IAEjB;;;;;;OAMG;IACH,MAAM,WAAW;IAEjB;;;OAGG;IACH,MAAM,WAAW;IAEjB;;;;;;;;OAQG;IACH,kBAAkB,uBAAuB;IAEzC;;OAEG;IACH,GAAG,QAAQ;IAEX;;OAEG;IACH,IAAI,SAAS;IAEb;;;OAGG;IACH,SAAS,cAAc;IAEvB;;;OAGG;IACH,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAA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