@downcity/agent 1.1.79 → 1.1.82

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 (173) hide show
  1. package/README.md +1 -1
  2. package/bin/agent/local/Agent.d.ts +8 -121
  3. package/bin/agent/local/Agent.d.ts.map +1 -1
  4. package/bin/agent/local/Agent.js +63 -381
  5. package/bin/agent/local/Agent.js.map +1 -1
  6. package/bin/agent/local/AgentRuntimeFactory.d.ts +2 -2
  7. package/bin/agent/local/AgentRuntimeFactory.d.ts.map +1 -1
  8. package/bin/agent/local/AgentRuntimeFactory.js +2 -23
  9. package/bin/agent/local/AgentRuntimeFactory.js.map +1 -1
  10. package/bin/agent/local/services/AgentAssemblyService.d.ts +112 -0
  11. package/bin/agent/local/services/AgentAssemblyService.d.ts.map +1 -0
  12. package/bin/agent/local/services/AgentAssemblyService.js +135 -0
  13. package/bin/agent/local/services/AgentAssemblyService.js.map +1 -0
  14. package/bin/agent/local/services/AgentLifecycleService.d.ts +59 -0
  15. package/bin/agent/local/services/AgentLifecycleService.d.ts.map +1 -0
  16. package/bin/agent/local/services/AgentLifecycleService.js +136 -0
  17. package/bin/agent/local/services/AgentLifecycleService.js.map +1 -0
  18. package/bin/agent/local/services/AgentSessionManager.d.ts +106 -0
  19. package/bin/agent/local/services/AgentSessionManager.d.ts.map +1 -0
  20. package/bin/agent/local/services/AgentSessionManager.js +182 -0
  21. package/bin/agent/local/services/AgentSessionManager.js.map +1 -0
  22. package/bin/executor/Executor.d.ts +7 -24
  23. package/bin/executor/Executor.d.ts.map +1 -1
  24. package/bin/executor/Executor.js +73 -361
  25. package/bin/executor/Executor.js.map +1 -1
  26. package/bin/executor/SessionRunScope.d.ts +18 -34
  27. package/bin/executor/SessionRunScope.d.ts.map +1 -1
  28. package/bin/executor/SessionRunScope.js +42 -28
  29. package/bin/executor/SessionRunScope.js.map +1 -1
  30. package/bin/executor/composer/context/LocalSessionContextComposer.d.ts +5 -3
  31. package/bin/executor/composer/context/LocalSessionContextComposer.d.ts.map +1 -1
  32. package/bin/executor/composer/context/LocalSessionContextComposer.js +11 -18
  33. package/bin/executor/composer/context/LocalSessionContextComposer.js.map +1 -1
  34. package/bin/executor/composer/context/SessionContextComposer.d.ts +8 -3
  35. package/bin/executor/composer/context/SessionContextComposer.d.ts.map +1 -1
  36. package/bin/executor/composer/system/SessionSystemComposer.d.ts +2 -1
  37. package/bin/executor/composer/system/SessionSystemComposer.d.ts.map +1 -1
  38. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts +2 -1
  39. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.d.ts.map +1 -1
  40. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.js +2 -4
  41. package/bin/executor/composer/system/default/DefaultSessionSystemComposer.js.map +1 -1
  42. package/bin/executor/core-engine/CoreEngineRunner.d.ts +62 -0
  43. package/bin/executor/core-engine/CoreEngineRunner.d.ts.map +1 -0
  44. package/bin/executor/core-engine/CoreEngineRunner.js +309 -0
  45. package/bin/executor/core-engine/CoreEngineRunner.js.map +1 -0
  46. package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts +5 -0
  47. package/bin/executor/core-engine/CoreEngineUiStreamCollector.d.ts.map +1 -1
  48. package/bin/executor/core-engine/CoreEngineUiStreamCollector.js +2 -4
  49. package/bin/executor/core-engine/CoreEngineUiStreamCollector.js.map +1 -1
  50. package/bin/executor/services/ExecutorInflightService.d.ts +39 -0
  51. package/bin/executor/services/ExecutorInflightService.d.ts.map +1 -0
  52. package/bin/executor/services/ExecutorInflightService.js +75 -0
  53. package/bin/executor/services/ExecutorInflightService.js.map +1 -0
  54. package/bin/executor/services/ExecutorRecoveryPolicy.d.ts +103 -0
  55. package/bin/executor/services/ExecutorRecoveryPolicy.d.ts.map +1 -0
  56. package/bin/executor/services/ExecutorRecoveryPolicy.js +87 -0
  57. package/bin/executor/services/ExecutorRecoveryPolicy.js.map +1 -0
  58. package/bin/executor/tools/plugin/PluginToolBridge.d.ts +19 -0
  59. package/bin/executor/tools/plugin/PluginToolBridge.d.ts.map +1 -0
  60. package/bin/executor/tools/plugin/PluginToolBridge.js +143 -0
  61. package/bin/executor/tools/plugin/PluginToolBridge.js.map +1 -0
  62. package/bin/executor/tools/plugin/PluginToolDefinition.d.ts +32 -0
  63. package/bin/executor/tools/plugin/PluginToolDefinition.d.ts.map +1 -0
  64. package/bin/executor/tools/plugin/PluginToolDefinition.js +27 -0
  65. package/bin/executor/tools/plugin/PluginToolDefinition.js.map +1 -0
  66. package/bin/executor/tools/plugin/PluginToolSchemas.d.ts +14 -0
  67. package/bin/executor/tools/plugin/PluginToolSchemas.d.ts.map +1 -0
  68. package/bin/executor/tools/plugin/PluginToolSchemas.js +19 -0
  69. package/bin/executor/tools/plugin/PluginToolSchemas.js.map +1 -0
  70. package/bin/executor/tools/plugin/types/PluginTool.d.ts +39 -0
  71. package/bin/executor/tools/plugin/types/PluginTool.d.ts.map +1 -0
  72. package/bin/executor/tools/plugin/types/PluginTool.js +9 -0
  73. package/bin/executor/tools/plugin/types/PluginTool.js.map +1 -0
  74. package/bin/executor/tools/shell/ShellToolBridge.js +3 -3
  75. package/bin/executor/tools/shell/ShellToolBridge.js.map +1 -1
  76. package/bin/executor/types/SessionRun.d.ts +18 -0
  77. package/bin/executor/types/SessionRun.d.ts.map +1 -1
  78. package/bin/index.d.ts +10 -1
  79. package/bin/index.d.ts.map +1 -1
  80. package/bin/index.js +3 -0
  81. package/bin/index.js.map +1 -1
  82. package/bin/plugin/core/BasePlugin.d.ts +2 -2
  83. package/bin/plugin/core/BasePlugin.d.ts.map +1 -1
  84. package/bin/plugin/core/BasePlugin.js.map +1 -1
  85. package/bin/plugin/core/ImagePlugin.d.ts +56 -0
  86. package/bin/plugin/core/ImagePlugin.d.ts.map +1 -0
  87. package/bin/plugin/core/ImagePlugin.js +109 -0
  88. package/bin/plugin/core/ImagePlugin.js.map +1 -0
  89. package/bin/session/Session.d.ts +25 -84
  90. package/bin/session/Session.d.ts.map +1 -1
  91. package/bin/session/Session.js +162 -367
  92. package/bin/session/Session.js.map +1 -1
  93. package/bin/session/SessionSystemBuilder.d.ts +2 -1
  94. package/bin/session/SessionSystemBuilder.d.ts.map +1 -1
  95. package/bin/session/SessionSystemBuilder.js +2 -3
  96. package/bin/session/SessionSystemBuilder.js.map +1 -1
  97. package/bin/session/services/SessionStateService.d.ts +132 -0
  98. package/bin/session/services/SessionStateService.d.ts.map +1 -0
  99. package/bin/session/services/SessionStateService.js +242 -0
  100. package/bin/session/services/SessionStateService.js.map +1 -0
  101. package/bin/session/services/SessionTurnService.d.ts +66 -0
  102. package/bin/session/services/SessionTurnService.d.ts.map +1 -0
  103. package/bin/session/services/SessionTurnService.js +137 -0
  104. package/bin/session/services/SessionTurnService.js.map +1 -0
  105. package/bin/session/services/SessionViewService.d.ts +106 -0
  106. package/bin/session/services/SessionViewService.d.ts.map +1 -0
  107. package/bin/session/services/SessionViewService.js +198 -0
  108. package/bin/session/services/SessionViewService.js.map +1 -0
  109. package/bin/types/agent/AgentOptions.d.ts +18 -0
  110. package/bin/types/agent/AgentOptions.d.ts.map +1 -1
  111. package/bin/types/agent/AgentTypes.d.ts +3 -1
  112. package/bin/types/agent/AgentTypes.d.ts.map +1 -1
  113. package/bin/types/agent/SessionTypes.d.ts.map +1 -1
  114. package/bin/types/executor/SessionRunContext.d.ts +66 -0
  115. package/bin/types/executor/SessionRunContext.d.ts.map +1 -0
  116. package/bin/types/executor/SessionRunContext.js +10 -0
  117. package/bin/types/executor/SessionRunContext.js.map +1 -0
  118. package/bin/types/plugin/ImagePlugin.d.ts +94 -0
  119. package/bin/types/plugin/ImagePlugin.d.ts.map +1 -0
  120. package/bin/types/plugin/ImagePlugin.js +10 -0
  121. package/bin/types/plugin/ImagePlugin.js.map +1 -0
  122. package/bin/types/session/SessionComposerOptions.d.ts +90 -0
  123. package/bin/types/session/SessionComposerOptions.d.ts.map +1 -0
  124. package/bin/types/session/SessionComposerOptions.js +10 -0
  125. package/bin/types/session/SessionComposerOptions.js.map +1 -0
  126. package/bin/types/session/SessionLocalState.d.ts +35 -0
  127. package/bin/types/session/SessionLocalState.d.ts.map +1 -0
  128. package/bin/types/session/SessionLocalState.js +10 -0
  129. package/bin/types/session/SessionLocalState.js.map +1 -0
  130. package/bin/types/session/SessionOptions.d.ts +85 -0
  131. package/bin/types/session/SessionOptions.d.ts.map +1 -0
  132. package/bin/types/session/SessionOptions.js +10 -0
  133. package/bin/types/session/SessionOptions.js.map +1 -0
  134. package/package.json +1 -1
  135. package/src/agent/local/Agent.ts +74 -433
  136. package/src/agent/local/AgentRuntimeFactory.ts +4 -25
  137. package/src/agent/local/services/AgentAssemblyService.ts +268 -0
  138. package/src/agent/local/services/AgentLifecycleService.ts +187 -0
  139. package/src/agent/local/services/AgentSessionManager.ts +290 -0
  140. package/src/executor/Executor.ts +103 -441
  141. package/src/executor/README.md +4 -4
  142. package/src/executor/SessionRunScope.ts +47 -71
  143. package/src/executor/composer/context/LocalSessionContextComposer.ts +24 -20
  144. package/src/executor/composer/context/SessionContextComposer.ts +13 -3
  145. package/src/executor/composer/system/SessionSystemComposer.ts +2 -1
  146. package/src/executor/composer/system/default/DefaultSessionSystemComposer.ts +3 -4
  147. package/src/executor/core-engine/CoreEngineRunner.ts +433 -0
  148. package/src/executor/core-engine/CoreEngineUiStreamCollector.ts +7 -5
  149. package/src/executor/services/ExecutorInflightService.ts +101 -0
  150. package/src/executor/services/ExecutorRecoveryPolicy.ts +213 -0
  151. package/src/executor/tools/plugin/PluginToolBridge.ts +161 -0
  152. package/src/executor/tools/plugin/PluginToolDefinition.ts +32 -0
  153. package/src/executor/tools/plugin/PluginToolSchemas.ts +20 -0
  154. package/src/executor/tools/plugin/types/PluginTool.ts +41 -0
  155. package/src/executor/tools/shell/ShellToolBridge.ts +3 -3
  156. package/src/executor/types/SessionRun.ts +20 -0
  157. package/src/index.ts +33 -0
  158. package/src/plugin/core/BasePlugin.ts +2 -2
  159. package/src/plugin/core/ImagePlugin.ts +128 -0
  160. package/src/session/Session.ts +216 -500
  161. package/src/session/SessionSystemBuilder.ts +3 -3
  162. package/src/session/services/SessionStateService.ts +341 -0
  163. package/src/session/services/SessionTurnService.ts +202 -0
  164. package/src/session/services/SessionViewService.ts +323 -0
  165. package/src/types/agent/AgentOptions.ts +25 -0
  166. package/src/types/agent/AgentTypes.ts +10 -0
  167. package/src/types/agent/SessionTypes.ts +1 -0
  168. package/src/types/executor/SessionRunContext.ts +76 -0
  169. package/src/types/plugin/ImagePlugin.ts +103 -0
  170. package/src/types/session/SessionComposerOptions.ts +107 -0
  171. package/src/types/session/SessionLocalState.ts +40 -0
  172. package/src/types/session/SessionOptions.ts +99 -0
  173. package/tsconfig.tsbuildinfo +1 -1
package/README.md CHANGED
@@ -83,7 +83,7 @@ src/
83
83
  - `src/executor/`
84
84
  - 内部执行内核
85
85
  - `Session` 是 SDK 用户面对的会话整体,`Executor` 是内部单轮执行引擎
86
- - Store 负责 history 事实源落盘,Composer 是纯 interface 协议,负责组装 system / history / context / compaction
86
+ - Store 负责 history 事实源落盘,Composer 是可替换的 session 阶段策略协议,负责定义 system / history / context / compaction 等执行阶段逻辑
87
87
  - `Executor.prepareExecuteInput()` 串起四类 Composer,`Executor.runCoreEngine()` 负责进入模型 tool loop
88
88
  - 负责 history、system、context、CoreEngine、增量输出与消息持久化
89
89
 
@@ -1,21 +1,17 @@
1
1
  /**
2
- * Agent local:本地入口与实例装配中心。
2
+ * Agent local:本地入口与 facade。
3
3
  *
4
4
  * 职责说明(中文)
5
5
  * - 对外暴露 `Agent` 这一唯一的本地实例类。
6
- * - 统一承接单个 agent 实例的配置加载、plugin 装配、session 创建、RPC 启停。
7
- * - 把原先独立的实例内核装配逻辑收敛到 `Agent` 内部,避免 facade 与 core 双层跳转。
8
- *
9
- * 边界说明(中文)
10
- * - 这里负责“单个 agent 实例”的长期状态与装配,不负责平台级多 agent 管理。
11
- * - 这里不直接实现 session 执行细节,而是继续复用 `Session` / `Executor` 体系。
6
+ * - facade 只保留公开 API 与 service 组合,不再直接承载装配、session 管理与生命周期细节。
7
+ * - 单个 agent 的长期对象装配、session 管理、后台能力生命周期分别下沉到独立 service。
12
8
  */
13
9
  import type { Tool } from "ai";
14
10
  import type { AgentContext } from "../../types/runtime/agent/AgentContext.js";
15
11
  import type { AgentRuntime } from "../../types/runtime/agent/AgentRuntime.js";
16
12
  import type { DowncityConfig } from "../../types/config/DowncityConfig.js";
17
13
  import type { PluginPort } from "../../plugin/types/Plugin.js";
18
- import type { AgentSession, AgentCreateSessionInput, AgentListSessionsInput, AgentOptions, AgentStartOptions, AgentStartResult, AgentStopResult, AgentSessionCollection, AgentSessionSummaryPage } from "../../types/agent/AgentTypes.js";
14
+ import type { AgentCreateSessionInput, AgentListSessionsInput, AgentOptions, AgentSession, AgentSessionCollection, AgentSessionSummaryPage, AgentStartOptions, AgentStartResult, AgentStopResult } from "../../types/agent/AgentTypes.js";
19
15
  import { Logger } from "../../utils/logger/Logger.js";
20
16
  /**
21
17
  * SDK 本地 Agent。
@@ -26,36 +22,23 @@ export declare class Agent {
26
22
  readonly tools: Record<string, Tool>;
27
23
  readonly plugins: PluginPort;
28
24
  private readonly logger;
29
- private readonly sessionsById;
30
25
  private readonly runtime;
31
26
  private readonly agentContext;
32
27
  private readonly pluginRegistry;
33
28
  private readonly config;
34
29
  private readonly env;
35
30
  private readonly defaultModel?;
36
- private readonly pluginInstances;
37
- private readonly sessionCollection;
31
+ private readonly SessionClass;
32
+ private readonly sessionManager;
33
+ private readonly lifecycleService;
38
34
  private instruction;
39
- private configuredSessionIds;
40
- private pluginsStarted;
41
- private actionScheduleRuntime;
42
- private startPromise;
43
- private rpcBinding;
44
35
  constructor(options: AgentOptions);
45
36
  /**
46
37
  * 新建一个 session。
47
- *
48
- * 关键点(中文)
49
- * - 若调用方显式传入 `sessionId`,这里会先检查缓存与磁盘目录,避免重复创建。
50
- * - session 初始化完成后会立即应用默认模型。
51
38
  */
52
39
  createSession(input?: AgentCreateSessionInput): Promise<AgentSession>;
53
40
  /**
54
41
  * 获取一个已存在的 session。
55
- *
56
- * 关键点(中文)
57
- * - 若缓存中没有该 session,会根据磁盘目录决定是否允许懒加载恢复。
58
- * - 返回前同样会兜底执行一次默认配置装配。
59
42
  */
60
43
  getSession(sessionId: string): Promise<AgentSession>;
61
44
  /**
@@ -64,26 +47,14 @@ export declare class Agent {
64
47
  listSessions(input?: AgentListSessionsInput): Promise<AgentSessionSummaryPage>;
65
48
  /**
66
49
  * 启动当前 agent 实例的长期运行能力。
67
- *
68
- * 关键点(中文)
69
- * - `start()` 是唯一公开的长期运行生命周期入口。
70
- * - 多次并发调用会复用同一个启动 Promise,避免重复启动 plugins / rpc。
71
50
  */
72
51
  start(options?: AgentStartOptions): Promise<AgentStartResult>;
73
52
  /**
74
53
  * 停止当前 agent 实例的长期运行能力。
75
- *
76
- * 关键点(中文)
77
- * - 停止顺序保持为 plugins -> rpc,与当前运行语义一致。
78
- * - 停止后会清空 `startPromise`,允许后续再次 `start()`。
79
54
  */
80
55
  stop(): Promise<AgentStopResult>;
81
56
  /**
82
57
  * 更新当前 SDK Agent 的静态基础指令。
83
- *
84
- * 关键点(中文)
85
- * - instruction 不做动态变量替换。
86
- * - 已创建的 session 后续 run 会读取最新 instruction blocks。
87
58
  */
88
59
  setInstruction(input: string | string[]): void;
89
60
  /**
@@ -96,100 +67,16 @@ export declare class Agent {
96
67
  getLogger(): Logger;
97
68
  /**
98
69
  * 返回当前 agent runtime。
99
- *
100
- * 关键点(中文)
101
- * - 供宿主在 agent 外部装配 transport(例如 Town HTTP gateway)时复用。
102
- * - 不暴露启动语义,只暴露运行时访问口。
103
70
  */
104
71
  getRuntime(): AgentRuntime;
105
72
  /**
106
73
  * 返回当前 agent context。
107
- *
108
- * 关键点(中文)
109
- * - 供宿主装配 plugin/control 相关外层协议面。
110
74
  */
111
75
  getContext(): AgentContext;
112
76
  /**
113
77
  * 返回当前 session collection。
114
- *
115
- * 关键点(中文)
116
- * - 供宿主在外层挂载 RemoteAgent transport 时复用。
117
78
  */
118
79
  getSessionCollection(): AgentSessionCollection;
119
- /**
120
- * 确保当前 plugins 已启动。
121
- *
122
- * 关键点(中文)
123
- * - 这里只负责托管 plugin 的生命周期启动,不隐式启动 RPC 能力。
124
- * - 启动失败的 plugin 会记录日志,但保留与原行为一致的整体启动流程。
125
- */
126
- private ensurePluginsStarted;
127
- /**
128
- * 确保 ActionSchedule runtime 已随 Agent 长期生命周期启动。
129
- *
130
- * 关键点(中文)
131
- * - ActionSchedule 不作为 plugin 注册,但它依赖 plugin action 执行能力。
132
- * - 因此这里放在普通 plugins 启动之后,避免到期任务执行到尚未启动的 plugin。
133
- */
134
- private ensureActionScheduleRuntimeStarted;
135
- /**
136
- * 停止 ActionSchedule runtime。
137
- *
138
- * 关键点(中文)
139
- * - Agent 停止时先停 ActionSchedule,再停普通 plugin,避免关停期间继续触发 action。
140
- */
141
- private stopActionScheduleRuntime;
142
- /**
143
- * 启动当前 agent 的本机 RPC server。
144
- */
145
- private startRpc;
146
- /**
147
- * 停止当前 agent 的本机 RPC server。
148
- */
149
- private stopRpc;
150
- /**
151
- * 读取当前项目配置。
152
- *
153
- * 关键点(中文)
154
- * - 若项目根目录尚未存在合法 `downcity.json`,会退回最小 SDK 占位配置。
155
- * - 这样可以允许纯 SDK 场景在尚未初始化项目时继续装配本地 Agent。
156
- */
157
- private loadConfig;
158
- /**
159
- * 注册当前 agent 可见的 plugin 实例。
160
- *
161
- * 关键点(中文)
162
- * - SDK 只注册宿主显式传入的 plugin 实例,不再隐式装配 built-in 集合。
163
- * - 所有 plugin 在注册前都会绑定到当前实例 runtime。
164
- */
165
- private registerPlugins;
166
- /**
167
- * 读取当前 agent 静态 instruction blocks。
168
- */
169
- private loadInstructionSystemBlocks;
170
- /**
171
- * 读取当前可用 plugin 暴露的 system blocks。
172
- *
173
- * 关键点(中文)
174
- * - 单个 plugin system 失败不会阻断 session 主链路。
175
- * - 这里只加载当前启用且可用的 plugin system 文本。
176
- */
177
- private loadPluginSystemBlocks;
178
- /**
179
- * 获取或创建一个本地 Session 实例。
180
- *
181
- * 关键点(中文)
182
- * - 同一个 `sessionId` 在单个 Agent 实例内只会装配一次。
183
- * - 新建 session 时会把 instruction 与 plugin system 读取能力注入进去。
184
- */
185
- private getOrCreateSession;
186
- /**
187
- * 为 session 应用默认模型。
188
- *
189
- * 关键点(中文)
190
- * - 同一个 session 在单个 Agent 实例中只会执行一次配置装配。
191
- * - 默认模型会在首次访问/首次执行前写入当前 session。
192
- */
193
- private applySessionDefaults;
80
+ private create_session_manager;
194
81
  }
195
82
  //# sourceMappingURL=Agent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Agent.d.ts","sourceRoot":"","sources":["../../../src/agent/local/Agent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EACV,YAAY,EACZ,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EAGf,sBAAsB,EACtB,uBAAuB,EAExB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AA4BlD;;GAEG;AACH,qBAAa,KAAK;IAChB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IACrC,QAAQ,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