@diegoaltoworks/chatter 0.60.0 → 0.62.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 (125) hide show
  1. package/README.md +56 -17
  2. package/dist/auth/secretStrength.d.ts +1 -1
  3. package/dist/auth/secretStrength.d.ts.map +1 -1
  4. package/dist/bin/create-apikey.js +45 -28
  5. package/dist/bin/wa-pair.js +113 -46
  6. package/dist/channels/backoff.d.ts +10 -0
  7. package/dist/channels/backoff.d.ts.map +1 -0
  8. package/dist/channels/gates.d.ts +15 -8
  9. package/dist/channels/gates.d.ts.map +1 -1
  10. package/dist/channels/index.d.ts +1 -1
  11. package/dist/channels/index.d.ts.map +1 -1
  12. package/dist/channels/index.js +38 -5
  13. package/dist/channels/index.mjs +37 -5
  14. package/dist/channels/matrix/api.d.ts +152 -0
  15. package/dist/channels/matrix/api.d.ts.map +1 -0
  16. package/dist/channels/matrix/channel.d.ts +46 -0
  17. package/dist/channels/matrix/channel.d.ts.map +1 -0
  18. package/dist/channels/matrix/handler.d.ts +58 -0
  19. package/dist/channels/matrix/handler.d.ts.map +1 -0
  20. package/dist/channels/matrix/index.d.ts +37 -0
  21. package/dist/channels/matrix/index.d.ts.map +1 -0
  22. package/dist/channels/matrix/index.js +1128 -0
  23. package/dist/channels/matrix/index.mjs +1079 -0
  24. package/dist/channels/matrix/sync.d.ts +53 -0
  25. package/dist/channels/matrix/sync.d.ts.map +1 -0
  26. package/dist/channels/matrix/updates.d.ts +104 -0
  27. package/dist/channels/matrix/updates.d.ts.map +1 -0
  28. package/dist/channels/pipeline.d.ts +14 -14
  29. package/dist/channels/pipeline.d.ts.map +1 -1
  30. package/dist/channels/polling.d.ts +67 -0
  31. package/dist/channels/polling.d.ts.map +1 -0
  32. package/dist/channels/telegram/channel.d.ts +2 -56
  33. package/dist/channels/telegram/channel.d.ts.map +1 -1
  34. package/dist/channels/telegram/index.js +53 -23
  35. package/dist/channels/telegram/index.mjs +53 -23
  36. package/dist/channels/telegram/poll.d.ts +5 -1
  37. package/dist/channels/telegram/poll.d.ts.map +1 -1
  38. package/dist/channels/telegram/webhook.d.ts +2 -10
  39. package/dist/channels/telegram/webhook.d.ts.map +1 -1
  40. package/dist/channels/whatsapp/authState.d.ts +40 -9
  41. package/dist/channels/whatsapp/authState.d.ts.map +1 -1
  42. package/dist/channels/whatsapp/channel.d.ts +25 -4
  43. package/dist/channels/whatsapp/channel.d.ts.map +1 -1
  44. package/dist/channels/whatsapp/inbound.d.ts +23 -25
  45. package/dist/channels/whatsapp/inbound.d.ts.map +1 -1
  46. package/dist/channels/whatsapp/index.d.ts +3 -3
  47. package/dist/channels/whatsapp/index.d.ts.map +1 -1
  48. package/dist/channels/whatsapp/index.js +123 -41
  49. package/dist/channels/whatsapp/index.mjs +120 -41
  50. package/dist/channels/whatsapp/pairing.d.ts.map +1 -1
  51. package/dist/client/src/Chat.d.ts.map +1 -1
  52. package/dist/client/src/ChatButton.d.ts.map +1 -1
  53. package/dist/client/src/browser.d.ts.map +1 -1
  54. package/dist/core/answer.d.ts +8 -0
  55. package/dist/core/answer.d.ts.map +1 -1
  56. package/dist/core/buildLock.d.ts +52 -0
  57. package/dist/core/buildLock.d.ts.map +1 -0
  58. package/dist/core/pipeline.d.ts +42 -5
  59. package/dist/core/pipeline.d.ts.map +1 -1
  60. package/dist/core/prompts.d.ts +2 -0
  61. package/dist/core/prompts.d.ts.map +1 -1
  62. package/dist/core/retrieval.d.ts +100 -25
  63. package/dist/core/retrieval.d.ts.map +1 -1
  64. package/dist/core/session.d.ts +8 -0
  65. package/dist/core/session.d.ts.map +1 -1
  66. package/dist/flows/index.d.ts +1 -1
  67. package/dist/flows/index.d.ts.map +1 -1
  68. package/dist/flows/index.js +8 -6
  69. package/dist/flows/index.mjs +7 -6
  70. package/dist/flows/intent.d.ts +1 -1
  71. package/dist/flows/intent.d.ts.map +1 -1
  72. package/dist/flows/loader.d.ts +1 -2
  73. package/dist/flows/loader.d.ts.map +1 -1
  74. package/dist/flows/params.d.ts +1 -1
  75. package/dist/flows/params.d.ts.map +1 -1
  76. package/dist/flows/session.d.ts +4 -2
  77. package/dist/flows/session.d.ts.map +1 -1
  78. package/dist/flows/types.d.ts +2 -3
  79. package/dist/flows/types.d.ts.map +1 -1
  80. package/dist/history/index.d.ts +1 -1
  81. package/dist/history/index.d.ts.map +1 -1
  82. package/dist/history/index.js +6 -3
  83. package/dist/history/index.mjs +5 -3
  84. package/dist/history/tursoStore.d.ts +6 -4
  85. package/dist/history/tursoStore.d.ts.map +1 -1
  86. package/dist/images/index.js +2 -2
  87. package/dist/images/index.mjs +2 -2
  88. package/dist/index.d.ts +7 -5
  89. package/dist/index.d.ts.map +1 -1
  90. package/dist/index.js +596 -295
  91. package/dist/index.mjs +595 -295
  92. package/dist/mcp-server/index.d.ts +5 -5
  93. package/dist/mcp-server/index.d.ts.map +1 -1
  94. package/dist/mcp-server/logger.d.ts +12 -2
  95. package/dist/mcp-server/logger.d.ts.map +1 -1
  96. package/dist/mcp-server/rate-limiter.d.ts +10 -3
  97. package/dist/mcp-server/rate-limiter.d.ts.map +1 -1
  98. package/dist/mcp-server/types.d.ts +20 -5
  99. package/dist/mcp-server/types.d.ts.map +1 -1
  100. package/dist/mcp-server.js +479 -244
  101. package/dist/mcp-server.mjs +485 -244
  102. package/dist/middleware/apiKey.d.ts +10 -0
  103. package/dist/middleware/apiKey.d.ts.map +1 -0
  104. package/dist/middleware/auth.d.ts.map +1 -1
  105. package/dist/middleware/cors.d.ts.map +1 -1
  106. package/dist/middleware/ratelimit.d.ts.map +1 -1
  107. package/dist/middleware/referrer.d.ts.map +1 -1
  108. package/dist/middleware/session.d.ts +1 -1
  109. package/dist/middleware/session.d.ts.map +1 -1
  110. package/dist/routes/demo.d.ts.map +1 -1
  111. package/dist/routes/openai.d.ts.map +1 -1
  112. package/dist/routes/private.d.ts.map +1 -1
  113. package/dist/routes/public.d.ts.map +1 -1
  114. package/dist/scheduler/index.js +1 -1
  115. package/dist/scheduler/index.mjs +1 -1
  116. package/dist/scheduler/scheduler.d.ts +9 -1
  117. package/dist/scheduler/scheduler.d.ts.map +1 -1
  118. package/dist/server.d.ts.map +1 -1
  119. package/dist/server.js +491 -268
  120. package/dist/server.mjs +497 -268
  121. package/dist/shortener.d.ts +5 -4
  122. package/dist/shortener.d.ts.map +1 -1
  123. package/dist/types.d.ts +129 -75
  124. package/dist/types.d.ts.map +1 -1
  125. package/package.json +11 -2
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/history/index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
+ DEFAULT_HISTORY_TABLE: () => DEFAULT_HISTORY_TABLE,
23
24
  SUMMARY_PREFIX: () => SUMMARY_PREFIX,
24
25
  createHistoryCompactor: () => createHistoryCompactor,
25
26
  createTursoHistoryStore: () => createTursoHistoryStore
@@ -97,7 +98,7 @@ async function answerOnce({
97
98
  }
98
99
 
99
100
  // src/history/compaction.ts
100
- var DEFAULT_TIMEOUT_MS = 8e3;
101
+ var COMPACTION_TIMEOUT_MS = 8e3;
101
102
  var LOAD_ALL = Number.MAX_SAFE_INTEGER;
102
103
  var SUMMARY_PREFIX = "Summary of earlier conversation: ";
103
104
  function defaultSummarize(client, model) {
@@ -125,7 +126,7 @@ function createHistoryCompactor(deps, options) {
125
126
  throw new Error(`Invalid history compaction keep: ${keep}`);
126
127
  }
127
128
  const summarize = options.summarize ?? defaultSummarize(deps.client, options.model);
128
- const timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS;
129
+ const timeoutMs = options.timeoutMs ?? COMPACTION_TIMEOUT_MS;
129
130
  return {
130
131
  async maybeCompact(store, conversationId) {
131
132
  const turns = await store.load(conversationId, LOAD_ALL);
@@ -199,7 +200,8 @@ function ensureHistorySchema(client, tableName) {
199
200
  var VALID_TABLE_NAME = /^[A-Za-z_][A-Za-z0-9_]*$/;
200
201
  var VALID_ROLES = /* @__PURE__ */ new Set(["user", "assistant"]);
201
202
  var DEFAULT_MAX_PER_CONVERSATION = 200;
202
- function createTursoHistoryStore(client, tableName = "chat_history", maxPerConversation = DEFAULT_MAX_PER_CONVERSATION, options) {
203
+ var DEFAULT_HISTORY_TABLE = "chat_history";
204
+ function createTursoHistoryStore(client, tableName = DEFAULT_HISTORY_TABLE, maxPerConversation = DEFAULT_MAX_PER_CONVERSATION, options) {
203
205
  if (!VALID_TABLE_NAME.test(tableName)) {
204
206
  throw new Error(`Invalid history store table name: ${tableName}`);
205
207
  }
@@ -258,6 +260,7 @@ function createTursoHistoryStore(client, tableName = "chat_history", maxPerConve
258
260
  }
259
261
  // Annotate the CommonJS export names for ESM import in node:
260
262
  0 && (module.exports = {
263
+ DEFAULT_HISTORY_TABLE,
261
264
  SUMMARY_PREFIX,
262
265
  createHistoryCompactor,
263
266
  createTursoHistoryStore
@@ -69,7 +69,7 @@ async function answerOnce({
69
69
  }
70
70
 
71
71
  // src/history/compaction.ts
72
- var DEFAULT_TIMEOUT_MS = 8e3;
72
+ var COMPACTION_TIMEOUT_MS = 8e3;
73
73
  var LOAD_ALL = Number.MAX_SAFE_INTEGER;
74
74
  var SUMMARY_PREFIX = "Summary of earlier conversation: ";
75
75
  function defaultSummarize(client, model) {
@@ -97,7 +97,7 @@ function createHistoryCompactor(deps, options) {
97
97
  throw new Error(`Invalid history compaction keep: ${keep}`);
98
98
  }
99
99
  const summarize = options.summarize ?? defaultSummarize(deps.client, options.model);
100
- const timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS;
100
+ const timeoutMs = options.timeoutMs ?? COMPACTION_TIMEOUT_MS;
101
101
  return {
102
102
  async maybeCompact(store, conversationId) {
103
103
  const turns = await store.load(conversationId, LOAD_ALL);
@@ -171,7 +171,8 @@ function ensureHistorySchema(client, tableName) {
171
171
  var VALID_TABLE_NAME = /^[A-Za-z_][A-Za-z0-9_]*$/;
172
172
  var VALID_ROLES = /* @__PURE__ */ new Set(["user", "assistant"]);
173
173
  var DEFAULT_MAX_PER_CONVERSATION = 200;
174
- function createTursoHistoryStore(client, tableName = "chat_history", maxPerConversation = DEFAULT_MAX_PER_CONVERSATION, options) {
174
+ var DEFAULT_HISTORY_TABLE = "chat_history";
175
+ function createTursoHistoryStore(client, tableName = DEFAULT_HISTORY_TABLE, maxPerConversation = DEFAULT_MAX_PER_CONVERSATION, options) {
175
176
  if (!VALID_TABLE_NAME.test(tableName)) {
176
177
  throw new Error(`Invalid history store table name: ${tableName}`);
177
178
  }
@@ -229,6 +230,7 @@ function createTursoHistoryStore(client, tableName = "chat_history", maxPerConve
229
230
  };
230
231
  }
231
232
  export {
233
+ DEFAULT_HISTORY_TABLE,
232
234
  SUMMARY_PREFIX,
233
235
  createHistoryCompactor,
234
236
  createTursoHistoryStore
@@ -2,18 +2,20 @@
2
2
  * Turso/libsql-backed {@link HistoryStore}.
3
3
  *
4
4
  * History lives in the database rather than process memory because
5
- * deployments run multiple instances — the instance that handles turn 2 of a
6
- * conversation is not guaranteed to be the one that handled turn 1.
5
+ * deployments run multiple instances, and the instance that handles turn 2
6
+ * of a conversation is not guaranteed to be the one that handled turn 1.
7
7
  *
8
8
  * `@libsql/client` is imported for its type alone, so this module adds no
9
9
  * runtime dependency to anyone importing `./history` for the store contract.
10
10
  */
11
11
  import type { Client } from "@libsql/client";
12
12
  import type { HistoryStore } from "./types";
13
+ /** Default table name for {@link createTursoHistoryStore} when no `tableName` is given, mirroring `scheduler`'s `DEFAULT_CLAIM_TABLE`. */
14
+ export declare const DEFAULT_HISTORY_TABLE = "chat_history";
13
15
  export interface TursoHistoryStoreOptions {
14
16
  /**
15
17
  * Retention window: rows older than this are pruned whenever the
16
- * conversation they belong to is accessed (`append` or `load`) — there is
18
+ * conversation they belong to is accessed (`append` or `load`); there is
17
19
  * no background sweep. Unset: rows never expire on their own (only the
18
20
  * `maxPerConversation` count cap and explicit `clear` remove them). Must be
19
21
  * a positive integer, validated at construction like `maxPerConversation`.
@@ -28,7 +30,7 @@ export interface TursoHistoryStoreOptions {
28
30
  *
29
31
  * `append` prunes each conversation back down to `maxPerConversation` after
30
32
  * every write, so the table stays bounded even for a conversation nobody
31
- * ever calls `load` on with a small `limit` — a caller's `limit` shapes what
33
+ * ever calls `load` on with a small `limit`; a caller's `limit` shapes what
32
34
  * a single `load` returns, not how much history physically accumulates. A
33
35
  * non-positive `maxPerConversation` would prune every write to nothing (`0`)
34
36
  * or disable pruning entirely (SQLite reads a negative `LIMIT` as
@@ -1 +1 @@
1
- {"version":3,"file":"tursoStore.d.ts","sourceRoot":"","sources":["../../src/history/tursoStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,SAAS,CAAC;AAkD5D,MAAM,WAAW,wBAAwB;IACvC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,EACd,SAAS,SAAiB,EAC1B,kBAAkB,SAA+B,EACjD,OAAO,CAAC,EAAE,wBAAwB,GACjC,YAAY,CAyEd"}
1
+ {"version":3,"file":"tursoStore.d.ts","sourceRoot":"","sources":["../../src/history/tursoStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,SAAS,CAAC;AAkD5D,0IAA0I;AAC1I,eAAO,MAAM,qBAAqB,iBAAiB,CAAC;AAEpD,MAAM,WAAW,wBAAwB;IACvC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,EACd,SAAS,SAAwB,EACjC,kBAAkB,SAA+B,EACjD,OAAO,CAAC,EAAE,wBAAwB,GACjC,YAAY,CAyEd"}
@@ -120,11 +120,11 @@ function createTursoImageCacheStore(client, tableName) {
120
120
  }
121
121
 
122
122
  // src/images/captionComposer.ts
123
- var DEFAULT_TIMEOUT_MS = 8e3;
123
+ var CAPTION_TIMEOUT_MS = 8e3;
124
124
  var MAX_COMPOSED_LENGTH = 300;
125
125
  function createCaptionComposer(options) {
126
126
  const { pool } = options;
127
- const timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS;
127
+ const timeoutMs = options.timeoutMs ?? CAPTION_TIMEOUT_MS;
128
128
  const random = options.random ?? Math.random;
129
129
  function randomCaption(subject) {
130
130
  if (pool.length === 0) return "";
@@ -66,11 +66,11 @@ function createTursoImageCacheStore(client, tableName) {
66
66
  }
67
67
 
68
68
  // src/images/captionComposer.ts
69
- var DEFAULT_TIMEOUT_MS = 8e3;
69
+ var CAPTION_TIMEOUT_MS = 8e3;
70
70
  var MAX_COMPOSED_LENGTH = 300;
71
71
  function createCaptionComposer(options) {
72
72
  const { pool } = options;
73
- const timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS;
73
+ const timeoutMs = options.timeoutMs ?? CAPTION_TIMEOUT_MS;
74
74
  const random = options.random ?? Math.random;
75
75
  function randomCaption(subject) {
76
76
  if (pool.length === 0) return "";
package/dist/index.d.ts CHANGED
@@ -18,6 +18,8 @@ export type { AnswerFn, AnswerFnInput, AnswerFnResult, AnswerOptions, AnswerUsag
18
18
  export { answerOnce, answerStream, applyTransformReply } from "./core/answer";
19
19
  export type { BucketsFor, BucketsForContext } from "./core/buckets";
20
20
  export { defaultBuckets, resolveBuckets } from "./core/buckets";
21
+ export type { BuildLock, BuildLockRow } from "./core/buildLock";
22
+ export { BUILD_LOCK_KEY, BUILD_LOCK_STALE_MS, canAcquireBuildLock, createTursoBuildLock, } from "./core/buildLock";
21
23
  export { detectLeakage, guardOutput, scrubOutput } from "./core/guardrails";
22
24
  export { completeOnce, completeStream, DEFAULT_MODEL } from "./core/llm";
23
25
  export { loadKnowledge } from "./core/loaders";
@@ -25,11 +27,11 @@ export type { Logger, LogLevel } from "./core/logger";
25
27
  export { createConsoleLogger } from "./core/logger";
26
28
  export type { NormalizedChatBody } from "./core/messages";
27
29
  export { normalizeChatBody, normalizeMessages } from "./core/messages";
28
- export type { PipelineMessage, PipelineMode, PreparedChat, RerankContext, RerankContextArgs, RewriteQuery, RewriteQueryArgs, } from "./core/pipeline";
30
+ export type { FallbackContext, FallbackFn, PipelineMessage, PipelineMode, PreparedChat, RerankContext, RerankContextArgs, RewriteQuery, RewriteQueryArgs, } from "./core/pipeline";
29
31
  export { prepareChat } from "./core/pipeline";
30
- export { PromptLoader } from "./core/prompts";
31
- export type { VectorStoreOptions } from "./core/retrieval";
32
- export { VectorStore } from "./core/retrieval";
32
+ export { DEFAULT_PROMPTS_DIR, PromptLoader } from "./core/prompts";
33
+ export type { Embedder, Retriever, VectorStoreOptions } from "./core/retrieval";
34
+ export { createOpenAIEmbedder, DEFAULT_KNOWLEDGE_DIR, VectorStore } from "./core/retrieval";
33
35
  export { createSession, getActiveSessions, getSessionInfo, validateSession, } from "./core/session";
34
36
  export type { MCPServerOptions, MCPTransportMode } from "./mcp-server";
35
37
  export { createMCPServer } from "./mcp-server";
@@ -49,5 +51,5 @@ export type { ChatterApp } from "./server";
49
51
  export { createServer } from "./server";
50
52
  export type { Shortener, ShortenerConfig } from "./shortener";
51
53
  export { createShortener } from "./shortener";
52
- export type { BotBranding, BotChatConfig, BotIdentity, ChatterConfig, CustomRoutes, EmbeddingChunk, KnowledgeDocument, PricingRates, ServerDependencies, } from "./types";
54
+ export type { BotBranding, BotChatConfig, BotIdentity, BrainHooks, ChatterConfig, CustomRoutes, EmbeddingChunk, KnowledgeDocument, PricingRates, ServerDependencies, } from "./types";
53
55
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAIvC,YAAY,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAG1C,YAAY,EACV,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,QAAQ,EACR,eAAe,GAChB,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,WAAW,EACX,cAAc,EACd,mBAAmB,GACpB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAC9E,YAAY,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEpE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAG1D,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACvE,YAAY,EACV,eAAe,EACf,YAAY,EACZ,YA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