@sudocode-ai/local-server 0.1.6 → 0.1.8

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 (361) hide show
  1. package/README.md +6 -0
  2. package/dist/errors/agent-errors.d.ts +43 -0
  3. package/dist/errors/agent-errors.d.ts.map +1 -0
  4. package/dist/errors/agent-errors.js +69 -0
  5. package/dist/errors/agent-errors.js.map +1 -0
  6. package/dist/execution/adapters/claude-adapter.d.ts +63 -0
  7. package/dist/execution/adapters/claude-adapter.d.ts.map +1 -0
  8. package/dist/execution/adapters/claude-adapter.js +82 -0
  9. package/dist/execution/adapters/claude-adapter.js.map +1 -0
  10. package/dist/execution/adapters/codex-adapter.d.ts +67 -0
  11. package/dist/execution/adapters/codex-adapter.d.ts.map +1 -0
  12. package/dist/execution/adapters/codex-adapter.js +183 -0
  13. package/dist/execution/adapters/codex-adapter.js.map +1 -0
  14. package/dist/execution/adapters/codex-config-builder.d.ts +30 -0
  15. package/dist/execution/adapters/codex-config-builder.d.ts.map +1 -0
  16. package/dist/execution/adapters/codex-config-builder.js +110 -0
  17. package/dist/execution/adapters/codex-config-builder.js.map +1 -0
  18. package/dist/execution/adapters/copilot-adapter.d.ts +94 -0
  19. package/dist/execution/adapters/copilot-adapter.d.ts.map +1 -0
  20. package/dist/execution/adapters/copilot-adapter.js +163 -0
  21. package/dist/execution/adapters/copilot-adapter.js.map +1 -0
  22. package/dist/execution/adapters/copilot-config-builder.d.ts +48 -0
  23. package/dist/execution/adapters/copilot-config-builder.d.ts.map +1 -0
  24. package/dist/execution/adapters/copilot-config-builder.js +125 -0
  25. package/dist/execution/adapters/copilot-config-builder.js.map +1 -0
  26. package/dist/execution/adapters/cursor-adapter.d.ts +66 -0
  27. package/dist/execution/adapters/cursor-adapter.d.ts.map +1 -0
  28. package/dist/execution/adapters/cursor-adapter.js +121 -0
  29. package/dist/execution/adapters/cursor-adapter.js.map +1 -0
  30. package/dist/execution/adapters/cursor-config-builder.d.ts +29 -0
  31. package/dist/execution/adapters/cursor-config-builder.d.ts.map +1 -0
  32. package/dist/execution/adapters/cursor-config-builder.js +49 -0
  33. package/dist/execution/adapters/cursor-config-builder.js.map +1 -0
  34. package/dist/execution/adapters/shared/config-presets.d.ts +102 -0
  35. package/dist/execution/adapters/shared/config-presets.d.ts.map +1 -0
  36. package/dist/execution/adapters/shared/config-presets.js +205 -0
  37. package/dist/execution/adapters/shared/config-presets.js.map +1 -0
  38. package/dist/execution/adapters/shared/config-utils.d.ts +95 -0
  39. package/dist/execution/adapters/shared/config-utils.d.ts.map +1 -0
  40. package/dist/execution/adapters/shared/config-utils.js +163 -0
  41. package/dist/execution/adapters/shared/config-utils.js.map +1 -0
  42. package/dist/execution/adapters/shared/index.d.ts +8 -0
  43. package/dist/execution/adapters/shared/index.d.ts.map +1 -0
  44. package/dist/execution/adapters/shared/index.js +8 -0
  45. package/dist/execution/adapters/shared/index.js.map +1 -0
  46. package/dist/execution/executors/agent-executor-wrapper.d.ts +153 -0
  47. package/dist/execution/executors/agent-executor-wrapper.d.ts.map +1 -0
  48. package/dist/execution/executors/agent-executor-wrapper.js +652 -0
  49. package/dist/execution/executors/agent-executor-wrapper.js.map +1 -0
  50. package/dist/execution/executors/executor-factory.d.ts +95 -0
  51. package/dist/execution/executors/executor-factory.d.ts.map +1 -0
  52. package/dist/execution/executors/executor-factory.js +120 -0
  53. package/dist/execution/executors/executor-factory.js.map +1 -0
  54. package/dist/execution/output/ag-ui-adapter.d.ts +0 -2
  55. package/dist/execution/output/ag-ui-adapter.d.ts.map +1 -1
  56. package/dist/execution/output/ag-ui-adapter.js +0 -2
  57. package/dist/execution/output/ag-ui-adapter.js.map +1 -1
  58. package/dist/execution/output/index.d.ts +0 -3
  59. package/dist/execution/output/index.d.ts.map +1 -1
  60. package/dist/execution/output/index.js +0 -2
  61. package/dist/execution/output/index.js.map +1 -1
  62. package/dist/execution/output/normalized-to-ag-ui-adapter.d.ts +108 -0
  63. package/dist/execution/output/normalized-to-ag-ui-adapter.d.ts.map +1 -0
  64. package/dist/execution/output/normalized-to-ag-ui-adapter.js +321 -0
  65. package/dist/execution/output/normalized-to-ag-ui-adapter.js.map +1 -0
  66. package/dist/execution/process/builders/claude.d.ts +25 -58
  67. package/dist/execution/process/builders/claude.d.ts.map +1 -1
  68. package/dist/execution/process/builders/claude.js +153 -19
  69. package/dist/execution/process/builders/claude.js.map +1 -1
  70. package/dist/execution/transport/ipc-transport-manager.d.ts +74 -0
  71. package/dist/execution/transport/ipc-transport-manager.d.ts.map +1 -0
  72. package/dist/execution/transport/ipc-transport-manager.js +104 -0
  73. package/dist/execution/transport/ipc-transport-manager.js.map +1 -0
  74. package/dist/execution/transport/transport-manager.d.ts.map +1 -1
  75. package/dist/execution/transport/transport-manager.js +3 -0
  76. package/dist/execution/transport/transport-manager.js.map +1 -1
  77. package/dist/execution/worktree/conflict-detector.d.ts +85 -0
  78. package/dist/execution/worktree/conflict-detector.d.ts.map +1 -0
  79. package/dist/execution/worktree/conflict-detector.js +129 -0
  80. package/dist/execution/worktree/conflict-detector.js.map +1 -0
  81. package/dist/execution/worktree/git-cli.d.ts +9 -0
  82. package/dist/execution/worktree/git-cli.d.ts.map +1 -1
  83. package/dist/execution/worktree/git-cli.js +10 -0
  84. package/dist/execution/worktree/git-cli.js.map +1 -1
  85. package/dist/execution/worktree/git-sync-cli.d.ts +187 -0
  86. package/dist/execution/worktree/git-sync-cli.d.ts.map +1 -0
  87. package/dist/execution/worktree/git-sync-cli.js +350 -0
  88. package/dist/execution/worktree/git-sync-cli.js.map +1 -0
  89. package/dist/execution/worktree/manager.d.ts +18 -0
  90. package/dist/execution/worktree/manager.d.ts.map +1 -1
  91. package/dist/execution/worktree/manager.js +9 -3
  92. package/dist/execution/worktree/manager.js.map +1 -1
  93. package/dist/index.d.ts +1 -3
  94. package/dist/index.d.ts.map +1 -1
  95. package/dist/index.js +175 -195
  96. package/dist/index.js.map +1 -1
  97. package/dist/middleware/project-context.d.ts +37 -0
  98. package/dist/middleware/project-context.d.ts.map +1 -0
  99. package/dist/middleware/project-context.js +91 -0
  100. package/dist/middleware/project-context.js.map +1 -0
  101. package/dist/public/assets/index-Bb_W5bUr.css +1 -0
  102. package/dist/public/assets/index-CFKL113G.js +710 -0
  103. package/dist/public/assets/index-CFKL113G.js.map +1 -0
  104. package/dist/public/assets/{react-vendor-ByUx1V_q.js → react-vendor-DiL5hC7l.js} +2 -2
  105. package/dist/public/assets/{react-vendor-ByUx1V_q.js.map → react-vendor-DiL5hC7l.js.map} +1 -1
  106. package/dist/public/assets/ui-vendor-B4WMPEfa.js +54 -0
  107. package/dist/public/assets/ui-vendor-B4WMPEfa.js.map +1 -0
  108. package/dist/public/index.html +4 -4
  109. package/dist/routes/agents.d.ts +3 -0
  110. package/dist/routes/agents.d.ts.map +1 -0
  111. package/dist/routes/agents.js +62 -0
  112. package/dist/routes/agents.js.map +1 -0
  113. package/dist/routes/config.d.ts +3 -0
  114. package/dist/routes/config.d.ts.map +1 -0
  115. package/dist/routes/config.js +25 -0
  116. package/dist/routes/config.js.map +1 -0
  117. package/dist/routes/editors.d.ts +15 -0
  118. package/dist/routes/editors.d.ts.map +1 -0
  119. package/dist/routes/editors.js +98 -0
  120. package/dist/routes/editors.js.map +1 -0
  121. package/dist/routes/executions-stream.d.ts +8 -5
  122. package/dist/routes/executions-stream.d.ts.map +1 -1
  123. package/dist/routes/executions-stream.js +10 -6
  124. package/dist/routes/executions-stream.js.map +1 -1
  125. package/dist/routes/executions.d.ts +6 -10
  126. package/dist/routes/executions.d.ts.map +1 -1
  127. package/dist/routes/executions.js +506 -54
  128. package/dist/routes/executions.js.map +1 -1
  129. package/dist/routes/feedback.d.ts +3 -2
  130. package/dist/routes/feedback.d.ts.map +1 -1
  131. package/dist/routes/feedback.js +32 -22
  132. package/dist/routes/feedback.js.map +1 -1
  133. package/dist/routes/files.d.ts +18 -0
  134. package/dist/routes/files.d.ts.map +1 -0
  135. package/dist/routes/files.js +89 -0
  136. package/dist/routes/files.js.map +1 -0
  137. package/dist/routes/issues.d.ts +3 -2
  138. package/dist/routes/issues.d.ts.map +1 -1
  139. package/dist/routes/issues.js +19 -18
  140. package/dist/routes/issues.js.map +1 -1
  141. package/dist/routes/projects.d.ts +11 -0
  142. package/dist/routes/projects.d.ts.map +1 -0
  143. package/dist/routes/projects.js +447 -0
  144. package/dist/routes/projects.js.map +1 -0
  145. package/dist/routes/relationships.d.ts +3 -2
  146. package/dist/routes/relationships.d.ts.map +1 -1
  147. package/dist/routes/relationships.js +12 -10
  148. package/dist/routes/relationships.js.map +1 -1
  149. package/dist/routes/repo-info.d.ts +3 -0
  150. package/dist/routes/repo-info.d.ts.map +1 -0
  151. package/dist/routes/repo-info.js +126 -0
  152. package/dist/routes/repo-info.js.map +1 -0
  153. package/dist/routes/specs.d.ts +3 -2
  154. package/dist/routes/specs.d.ts.map +1 -1
  155. package/dist/routes/specs.js +19 -18
  156. package/dist/routes/specs.js.map +1 -1
  157. package/dist/services/agent-registry.d.ts +140 -0
  158. package/dist/services/agent-registry.d.ts.map +1 -0
  159. package/dist/services/agent-registry.js +272 -0
  160. package/dist/services/agent-registry.js.map +1 -0
  161. package/dist/services/db.d.ts.map +1 -1
  162. package/dist/services/db.js +19 -14
  163. package/dist/services/db.js.map +1 -1
  164. package/dist/services/editor-service.d.ts +57 -0
  165. package/dist/services/editor-service.d.ts.map +1 -0
  166. package/dist/services/editor-service.js +204 -0
  167. package/dist/services/editor-service.js.map +1 -0
  168. package/dist/services/execution-changes-service.d.ts +92 -0
  169. package/dist/services/execution-changes-service.d.ts.map +1 -0
  170. package/dist/services/execution-changes-service.js +546 -0
  171. package/dist/services/execution-changes-service.js.map +1 -0
  172. package/dist/services/execution-lifecycle.d.ts +1 -0
  173. package/dist/services/execution-lifecycle.d.ts.map +1 -1
  174. package/dist/services/execution-lifecycle.js +37 -7
  175. package/dist/services/execution-lifecycle.js.map +1 -1
  176. package/dist/services/execution-logs-store.d.ts +75 -0
  177. package/dist/services/execution-logs-store.d.ts.map +1 -1
  178. package/dist/services/execution-logs-store.js +142 -2
  179. package/dist/services/execution-logs-store.js.map +1 -1
  180. package/dist/services/execution-service.d.ts +50 -58
  181. package/dist/services/execution-service.d.ts.map +1 -1
  182. package/dist/services/execution-service.js +433 -448
  183. package/dist/services/execution-service.js.map +1 -1
  184. package/dist/services/execution-worker-pool.d.ts +116 -0
  185. package/dist/services/execution-worker-pool.d.ts.map +1 -0
  186. package/dist/services/execution-worker-pool.js +326 -0
  187. package/dist/services/execution-worker-pool.js.map +1 -0
  188. package/dist/services/executions.d.ts +3 -0
  189. package/dist/services/executions.d.ts.map +1 -1
  190. package/dist/services/executions.js +11 -2
  191. package/dist/services/executions.js.map +1 -1
  192. package/dist/services/export.d.ts +8 -2
  193. package/dist/services/export.d.ts.map +1 -1
  194. package/dist/services/export.js +29 -23
  195. package/dist/services/export.js.map +1 -1
  196. package/dist/services/feedback.d.ts +16 -0
  197. package/dist/services/feedback.d.ts.map +1 -1
  198. package/dist/services/feedback.js +25 -1
  199. package/dist/services/feedback.js.map +1 -1
  200. package/dist/services/file-search/git-ls-files-strategy.d.ts +72 -0
  201. package/dist/services/file-search/git-ls-files-strategy.d.ts.map +1 -0
  202. package/dist/services/file-search/git-ls-files-strategy.js +176 -0
  203. package/dist/services/file-search/git-ls-files-strategy.js.map +1 -0
  204. package/dist/services/file-search/index.d.ts +9 -0
  205. package/dist/services/file-search/index.d.ts.map +1 -0
  206. package/dist/services/file-search/index.js +10 -0
  207. package/dist/services/file-search/index.js.map +1 -0
  208. package/dist/services/file-search/registry.d.ts +97 -0
  209. package/dist/services/file-search/registry.d.ts.map +1 -0
  210. package/dist/services/file-search/registry.js +140 -0
  211. package/dist/services/file-search/registry.js.map +1 -0
  212. package/dist/services/file-search/strategy.d.ts +58 -0
  213. package/dist/services/file-search/strategy.d.ts.map +1 -0
  214. package/dist/services/file-search/strategy.js +8 -0
  215. package/dist/services/file-search/strategy.js.map +1 -0
  216. package/dist/services/project-context.d.ts +69 -0
  217. package/dist/services/project-context.d.ts.map +1 -0
  218. package/dist/services/project-context.js +113 -0
  219. package/dist/services/project-context.js.map +1 -0
  220. package/dist/services/project-manager.d.ts +95 -0
  221. package/dist/services/project-manager.d.ts.map +1 -0
  222. package/dist/services/project-manager.js +388 -0
  223. package/dist/services/project-manager.js.map +1 -0
  224. package/dist/services/project-registry.d.ts +98 -0
  225. package/dist/services/project-registry.d.ts.map +1 -0
  226. package/dist/services/project-registry.js +289 -0
  227. package/dist/services/project-registry.js.map +1 -0
  228. package/dist/services/prompt-resolver.d.ts +97 -0
  229. package/dist/services/prompt-resolver.d.ts.map +1 -0
  230. package/dist/services/prompt-resolver.js +377 -0
  231. package/dist/services/prompt-resolver.js.map +1 -0
  232. package/dist/services/repo-info.d.ts +29 -0
  233. package/dist/services/repo-info.d.ts.map +1 -0
  234. package/dist/services/repo-info.js +99 -0
  235. package/dist/services/repo-info.js.map +1 -0
  236. package/dist/services/watcher.d.ts +3 -4
  237. package/dist/services/watcher.d.ts.map +1 -1
  238. package/dist/services/watcher.js +18 -35
  239. package/dist/services/watcher.js.map +1 -1
  240. package/dist/services/websocket.d.ts +51 -15
  241. package/dist/services/websocket.d.ts.map +1 -1
  242. package/dist/services/websocket.js +169 -40
  243. package/dist/services/websocket.js.map +1 -1
  244. package/dist/services/worktree-sync-service.d.ts +228 -0
  245. package/dist/services/worktree-sync-service.d.ts.map +1 -0
  246. package/dist/services/worktree-sync-service.js +563 -0
  247. package/dist/services/worktree-sync-service.js.map +1 -0
  248. package/dist/types/editor.d.ts +49 -0
  249. package/dist/types/editor.d.ts.map +1 -0
  250. package/dist/types/editor.js +50 -0
  251. package/dist/types/editor.js.map +1 -0
  252. package/dist/types/project.d.ts +58 -0
  253. package/dist/types/project.d.ts.map +1 -0
  254. package/dist/types/project.js +10 -0
  255. package/dist/types/project.js.map +1 -0
  256. package/dist/utils/executable-check.d.ts +36 -0
  257. package/dist/utils/executable-check.d.ts.map +1 -0
  258. package/dist/utils/executable-check.js +79 -0
  259. package/dist/utils/executable-check.js.map +1 -0
  260. package/dist/workers/execution-worker.d.ts +18 -0
  261. package/dist/workers/execution-worker.d.ts.map +1 -0
  262. package/dist/workers/execution-worker.js +340 -0
  263. package/dist/workers/execution-worker.js.map +1 -0
  264. package/dist/workers/worker-ipc.d.ts +84 -0
  265. package/dist/workers/worker-ipc.d.ts.map +1 -0
  266. package/dist/workers/worker-ipc.js +29 -0
  267. package/dist/workers/worker-ipc.js.map +1 -0
  268. package/package.json +6 -4
  269. package/dist/execution/engine/engine.d.ts +0 -103
  270. package/dist/execution/engine/engine.d.ts.map +0 -1
  271. package/dist/execution/engine/engine.js +0 -10
  272. package/dist/execution/engine/engine.js.map +0 -1
  273. package/dist/execution/engine/simple-engine.d.ts +0 -190
  274. package/dist/execution/engine/simple-engine.d.ts.map +0 -1
  275. package/dist/execution/engine/simple-engine.js +0 -611
  276. package/dist/execution/engine/simple-engine.js.map +0 -1
  277. package/dist/execution/engine/types.d.ts +0 -116
  278. package/dist/execution/engine/types.d.ts.map +0 -1
  279. package/dist/execution/engine/types.js +0 -10
  280. package/dist/execution/engine/types.js.map +0 -1
  281. package/dist/execution/output/ag-ui-integration.d.ts +0 -96
  282. package/dist/execution/output/ag-ui-integration.d.ts.map +0 -1
  283. package/dist/execution/output/ag-ui-integration.js +0 -96
  284. package/dist/execution/output/ag-ui-integration.js.map +0 -1
  285. package/dist/execution/output/claude-code-output-processor.d.ts +0 -321
  286. package/dist/execution/output/claude-code-output-processor.d.ts.map +0 -1
  287. package/dist/execution/output/claude-code-output-processor.js +0 -769
  288. package/dist/execution/output/claude-code-output-processor.js.map +0 -1
  289. package/dist/execution/process/index.d.ts +0 -15
  290. package/dist/execution/process/index.d.ts.map +0 -1
  291. package/dist/execution/process/index.js +0 -15
  292. package/dist/execution/process/index.js.map +0 -1
  293. package/dist/execution/process/manager.d.ts +0 -133
  294. package/dist/execution/process/manager.d.ts.map +0 -1
  295. package/dist/execution/process/manager.js +0 -10
  296. package/dist/execution/process/manager.js.map +0 -1
  297. package/dist/execution/process/simple-manager.d.ts +0 -102
  298. package/dist/execution/process/simple-manager.d.ts.map +0 -1
  299. package/dist/execution/process/simple-manager.js +0 -336
  300. package/dist/execution/process/simple-manager.js.map +0 -1
  301. package/dist/execution/process/types.d.ts +0 -105
  302. package/dist/execution/process/types.d.ts.map +0 -1
  303. package/dist/execution/process/types.js +0 -10
  304. package/dist/execution/process/types.js.map +0 -1
  305. package/dist/execution/process/utils.d.ts +0 -53
  306. package/dist/execution/process/utils.d.ts.map +0 -1
  307. package/dist/execution/process/utils.js +0 -97
  308. package/dist/execution/process/utils.js.map +0 -1
  309. package/dist/execution/resilience/circuit-breaker.d.ts +0 -170
  310. package/dist/execution/resilience/circuit-breaker.d.ts.map +0 -1
  311. package/dist/execution/resilience/circuit-breaker.js +0 -291
  312. package/dist/execution/resilience/circuit-breaker.js.map +0 -1
  313. package/dist/execution/resilience/executor.d.ts +0 -109
  314. package/dist/execution/resilience/executor.d.ts.map +0 -1
  315. package/dist/execution/resilience/executor.js +0 -10
  316. package/dist/execution/resilience/executor.js.map +0 -1
  317. package/dist/execution/resilience/index.d.ts +0 -14
  318. package/dist/execution/resilience/index.d.ts.map +0 -1
  319. package/dist/execution/resilience/index.js +0 -15
  320. package/dist/execution/resilience/index.js.map +0 -1
  321. package/dist/execution/resilience/resilient-executor.d.ts +0 -86
  322. package/dist/execution/resilience/resilient-executor.d.ts.map +0 -1
  323. package/dist/execution/resilience/resilient-executor.js +0 -261
  324. package/dist/execution/resilience/resilient-executor.js.map +0 -1
  325. package/dist/execution/resilience/retry.d.ts +0 -161
  326. package/dist/execution/resilience/retry.d.ts.map +0 -1
  327. package/dist/execution/resilience/retry.js +0 -234
  328. package/dist/execution/resilience/retry.js.map +0 -1
  329. package/dist/execution/resilience/types.d.ts +0 -226
  330. package/dist/execution/resilience/types.d.ts.map +0 -1
  331. package/dist/execution/resilience/types.js +0 -30
  332. package/dist/execution/resilience/types.js.map +0 -1
  333. package/dist/execution/workflow/index.d.ts +0 -13
  334. package/dist/execution/workflow/index.d.ts.map +0 -1
  335. package/dist/execution/workflow/index.js +0 -13
  336. package/dist/execution/workflow/index.js.map +0 -1
  337. package/dist/execution/workflow/linear-orchestrator.d.ts +0 -216
  338. package/dist/execution/workflow/linear-orchestrator.d.ts.map +0 -1
  339. package/dist/execution/workflow/linear-orchestrator.js +0 -683
  340. package/dist/execution/workflow/linear-orchestrator.js.map +0 -1
  341. package/dist/execution/workflow/memory-storage.d.ts +0 -54
  342. package/dist/execution/workflow/memory-storage.d.ts.map +0 -1
  343. package/dist/execution/workflow/memory-storage.js +0 -68
  344. package/dist/execution/workflow/memory-storage.js.map +0 -1
  345. package/dist/execution/workflow/orchestrator.d.ts +0 -158
  346. package/dist/execution/workflow/orchestrator.d.ts.map +0 -1
  347. package/dist/execution/workflow/orchestrator.js +0 -9
  348. package/dist/execution/workflow/orchestrator.js.map +0 -1
  349. package/dist/execution/workflow/types.d.ts +0 -172
  350. package/dist/execution/workflow/types.d.ts.map +0 -1
  351. package/dist/execution/workflow/types.js +0 -9
  352. package/dist/execution/workflow/types.js.map +0 -1
  353. package/dist/execution/workflow/utils.d.ts +0 -89
  354. package/dist/execution/workflow/utils.d.ts.map +0 -1
  355. package/dist/execution/workflow/utils.js +0 -152
  356. package/dist/execution/workflow/utils.js.map +0 -1
  357. package/dist/public/assets/index-BvlblDHK.js +0 -570
  358. package/dist/public/assets/index-BvlblDHK.js.map +0 -1
  359. package/dist/public/assets/index-BwuKdLgN.css +0 -1
  360. package/dist/public/assets/ui-vendor-CotR6bx9.js +0 -54
  361. package/dist/public/assets/ui-vendor-CotR6bx9.js.map +0 -1
@@ -1,226 +0,0 @@
1
- /**
2
- * Resilience Layer Types
3
- *
4
- * Core types for the Resilience Layer (Layer 3) that adds retry logic,
5
- * circuit breakers, and fault tolerance to task execution.
6
- *
7
- * @module execution/resilience/types
8
- */
9
- import type { ExecutionResult } from '../engine/types.js';
10
- /**
11
- * RetryPolicy - Configuration for retry behavior
12
- */
13
- export interface RetryPolicy {
14
- /**
15
- * Maximum number of retry attempts (0 = no retry)
16
- */
17
- maxAttempts: number;
18
- /**
19
- * Backoff strategy configuration
20
- */
21
- backoff: {
22
- /**
23
- * Type of backoff strategy
24
- * - exponential: delay = baseDelay * 2^(attempt-1)
25
- * - linear: delay = baseDelay * attempt
26
- * - fixed: delay = baseDelay (constant)
27
- */
28
- type: 'exponential' | 'linear' | 'fixed';
29
- /**
30
- * Initial delay in milliseconds
31
- */
32
- baseDelayMs: number;
33
- /**
34
- * Maximum delay cap in milliseconds
35
- */
36
- maxDelayMs: number;
37
- /**
38
- * Add randomness to prevent thundering herd
39
- * Adds ±10% jitter to delay
40
- */
41
- jitter: boolean;
42
- };
43
- /**
44
- * Error types/messages that should trigger a retry
45
- * Examples: 'ECONNREFUSED', 'timeout', 'network'
46
- */
47
- retryableErrors: string[];
48
- /**
49
- * Exit codes that should trigger a retry
50
- * Examples: [1, 137] for generic error and SIGKILL
51
- */
52
- retryableExitCodes: number[];
53
- /**
54
- * Optional callback to determine if circuit breaker should open
55
- */
56
- shouldOpenCircuit?: (error: Error, attempts: number) => boolean;
57
- }
58
- /**
59
- * CircuitState - State of a circuit breaker
60
- */
61
- export type CircuitState = 'closed' | 'open' | 'half-open';
62
- /**
63
- * CircuitBreaker - Circuit breaker for preventing cascading failures
64
- */
65
- export interface CircuitBreaker {
66
- /**
67
- * Unique name for this circuit breaker
68
- * Typically matches the task type (e.g., 'issue', 'spec', 'custom')
69
- */
70
- name: string;
71
- /**
72
- * Current state of the circuit
73
- * - closed: Normal operation, requests pass through
74
- * - open: Too many failures, requests rejected
75
- * - half-open: Testing if service recovered, limited requests allowed
76
- */
77
- state: CircuitState;
78
- /**
79
- * Circuit breaker configuration
80
- */
81
- config: {
82
- /**
83
- * Number of consecutive failures before opening circuit
84
- */
85
- failureThreshold: number;
86
- /**
87
- * Number of consecutive successes in half-open to close circuit
88
- */
89
- successThreshold: number;
90
- /**
91
- * Time to wait before transitioning from open to half-open (ms)
92
- */
93
- timeout: number;
94
- };
95
- /**
96
- * Circuit breaker metrics
97
- */
98
- metrics: {
99
- /**
100
- * Total requests processed
101
- */
102
- totalRequests: number;
103
- /**
104
- * Total failed requests
105
- */
106
- failedRequests: number;
107
- /**
108
- * Total successful requests
109
- */
110
- successfulRequests: number;
111
- /**
112
- * Timestamp of last failure
113
- */
114
- lastFailureTime?: Date;
115
- /**
116
- * Timestamp of last success
117
- */
118
- lastSuccessTime?: Date;
119
- };
120
- }
121
- /**
122
- * ExecutionAttempt - Record of a single execution attempt
123
- */
124
- export interface ExecutionAttempt {
125
- /**
126
- * Attempt number (1-indexed)
127
- */
128
- attemptNumber: number;
129
- /**
130
- * When this attempt started
131
- */
132
- startedAt: Date;
133
- /**
134
- * When this attempt completed (if finished)
135
- */
136
- completedAt?: Date;
137
- /**
138
- * Duration of this attempt in milliseconds
139
- */
140
- duration?: number;
141
- /**
142
- * Whether this attempt succeeded
143
- */
144
- success: boolean;
145
- /**
146
- * Error that occurred during this attempt
147
- */
148
- error?: Error;
149
- /**
150
- * Exit code from this attempt
151
- */
152
- exitCode?: number;
153
- /**
154
- * Whether another retry will be attempted after this
155
- */
156
- willRetry: boolean;
157
- /**
158
- * When the next retry will occur (if willRetry is true)
159
- */
160
- nextRetryAt?: Date;
161
- }
162
- /**
163
- * ResilientExecutionResult - Enhanced execution result with retry information
164
- *
165
- * Extends the base ExecutionResult with detailed retry tracking
166
- */
167
- export interface ResilientExecutionResult extends ExecutionResult {
168
- /**
169
- * All execution attempts made for this task
170
- */
171
- attempts: ExecutionAttempt[];
172
- /**
173
- * Total number of attempts made
174
- */
175
- totalAttempts: number;
176
- /**
177
- * The final attempt (may be success or failure)
178
- */
179
- finalAttempt: ExecutionAttempt;
180
- /**
181
- * Human-readable reason for failure (if failed)
182
- */
183
- failureReason?: string;
184
- /**
185
- * Whether the circuit breaker prevented execution
186
- */
187
- circuitBreakerTriggered?: boolean;
188
- }
189
- /**
190
- * RetryMetrics - Aggregate metrics for retry behavior
191
- */
192
- export interface RetryMetrics {
193
- /**
194
- * Total number of retries attempted across all tasks
195
- */
196
- totalRetries: number;
197
- /**
198
- * Number of retries that eventually succeeded
199
- */
200
- successfulRetries: number;
201
- /**
202
- * Number of retries that ultimately failed
203
- */
204
- failedRetries: number;
205
- /**
206
- * Average number of attempts needed for successful tasks
207
- */
208
- averageAttemptsToSuccess: number;
209
- /**
210
- * Circuit breakers by name
211
- */
212
- circuitBreakers: Map<string, CircuitBreaker>;
213
- }
214
- /**
215
- * RetryAttemptHandler - Callback for retry attempt events
216
- */
217
- export type RetryAttemptHandler = (taskId: string, attempt: ExecutionAttempt) => void;
218
- /**
219
- * CircuitOpenHandler - Callback for circuit breaker open events
220
- */
221
- export type CircuitOpenHandler = (circuitName: string, breaker: CircuitBreaker) => void;
222
- /**
223
- * Default retry policy for resilient execution
224
- */
225
- export declare const DEFAULT_RETRY_POLICY: RetryPolicy;
226
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/execution/resilience/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE;QACP;;;;;WAKG;QACH,IAAI,EAAE,aAAa,GAAG,QAAQ,GAAG,OAAO,CAAC;QAEzC;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;;WAGG;QACH,MAAM,EAAE,OAAO,CAAC;KACjB,CAAC;IAEF;;;OAGG;IACH,eAAe,EAAE,MAAM,EAAE,CAAC;IAE1B;;;OAGG;IACH,kBAAkB,EAAE,MAAM,EAAE,CA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pB;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAyB,SAAQ,eAAe;IAC/D;;OAEG;IACH,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAE7B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,EAAE,gBAAgB,CAAC;IAE/B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,wBAAwB,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAChC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,gBAAgB,KACtB,IAAI,CAAC;AAEV;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAC/B,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,cAAc,KACpB,IAAI,CAAC;AAEV;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,WAiBlC,CAAC"}
@@ -1,30 +0,0 @@
1
- /**
2
- * Resilience Layer Types
3
- *
4
- * Core types for the Resilience Layer (Layer 3) that adds retry logic,
5
- * circuit breakers, and fault tolerance to task execution.
6
- *
7
- * @module execution/resilience/types
8
- */
9
- /**
10
- * Default retry policy for resilient execution
11
- */
12
- export const DEFAULT_RETRY_POLICY = {
13
- maxAttempts: 3,
14
- backoff: {
15
- type: 'exponential',
16
- baseDelayMs: 1000,
17
- maxDelayMs: 30000,
18
- jitter: true,
19
- },
20
- retryableErrors: [
21
- 'ECONNREFUSED',
22
- 'ETIMEDOUT',
23
- 'ENOTFOUND',
24
- 'timeout',
25
- 'network',
26
- 'Process execution timeout',
27
- ],
28
- retryableExitCodes: [1, 137], // Generic error, SIGKILL
29
- };
30
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/execution/resilience/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAsQH;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAgB;IAC/C,WAAW,EAAE,CAAC;IACd,OAAO,EAAE;QACP,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE,IAAI;KACb;IACD,eAAe,EAAE;QACf,cAAc;QACd,WAAW;QACX,WAAW;QACX,SAAS;QACT,SAAS;QACT,2BAA2B;KAC5B;IACD,kBAAkB,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,yBAAyB;CACxD,CAAC"}
@@ -1,13 +0,0 @@
1
- /**
2
- * Workflow Layer Exports
3
- *
4
- * Layer 4: Task Execution Layer - Workflow Orchestration & State Management
5
- *
6
- * @module execution/workflow
7
- */
8
- export type { WorkflowDefinition, WorkflowStep, WorkflowExecution, WorkflowStatus, WorkflowCheckpoint, WorkflowResult, StepStatus, WorkflowStartHandler, WorkflowCompleteHandler, WorkflowFailedHandler, StepStartHandler, StepCompleteHandler, StepFailedHandler, WorkflowCheckpointHandler, WorkflowResumeHandler, WorkflowPauseHandler, WorkflowCancelHandler, } from './types.js';
9
- export type { IWorkflowOrchestrator, IWorkflowStorage } from './orchestrator.js';
10
- export { generateId, renderTemplate, extractValue, mergeContext, evaluateCondition, createContext, } from './utils.js';
11
- export { LinearOrchestrator } from './linear-orchestrator.js';
12
- export { InMemoryWorkflowStorage } from './memory-storage.js';
13
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/execution/workflow/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,YAAY,EACV,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,EACzB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,YAAY,CAAC;AAGpB,YAAY,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAGjF,OAAO,EACL,UAAU,EACV,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,aAAa,GACd,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,13 +0,0 @@
1
- /**
2
- * Workflow Layer Exports
3
- *
4
- * Layer 4: Task Execution Layer - Workflow Orchestration & State Management
5
- *
6
- * @module execution/workflow
7
- */
8
- // Utilities
9
- export { generateId, renderTemplate, extractValue, mergeContext, evaluateCondition, createContext, } from './utils.js';
10
- // Implementation
11
- export { LinearOrchestrator } from './linear-orchestrator.js';
12
- export { InMemoryWorkflowStorage } from './memory-storage.js';
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/execution/workflow/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA0BH,YAAY;AACZ,OAAO,EACL,UAAU,EACV,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,aAAa,GACd,MAAM,YAAY,CAAC;AAEpB,iBAAiB;AACjB,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,216 +0,0 @@
1
- /**
2
- * Linear Workflow Orchestrator Implementation
3
- *
4
- * Executes workflow steps sequentially with state management and checkpointing.
5
- *
6
- * @module execution/workflow/linear-orchestrator
7
- */
8
- import type { IWorkflowOrchestrator, IWorkflowStorage } from "./orchestrator.js";
9
- import type { IResilientExecutor } from "../resilience/executor.js";
10
- import type { WorkflowDefinition, WorkflowExecution, WorkflowCheckpoint, StepStatus, WorkflowStartHandler, WorkflowCompleteHandler, WorkflowFailedHandler, StepStartHandler, StepCompleteHandler, StepFailedHandler, WorkflowCheckpointHandler, WorkflowResumeHandler, WorkflowPauseHandler, WorkflowCancelHandler } from "./types.js";
11
- import type { AgUiEventAdapter } from "../output/ag-ui-adapter.js";
12
- import type { ExecutionLifecycleService } from "../../services/execution-lifecycle.js";
13
- /**
14
- * LinearOrchestrator - Sequential workflow execution with state management
15
- *
16
- * Implements the IWorkflowOrchestrator interface to provide:
17
- * - Sequential step execution
18
- * - State persistence via checkpoints
19
- * - Crash recovery and resumption
20
- * - Event-driven monitoring
21
- */
22
- export declare class LinearOrchestrator implements IWorkflowOrchestrator {
23
- private _executions;
24
- private _cleanedUpExecutions;
25
- private _storage?;
26
- private _executor;
27
- private _agUiAdapter?;
28
- private _lifecycleService?;
29
- private _workflowStartHandlers;
30
- private _workflowCompleteHandlers;
31
- private _workflowFailedHandlers;
32
- private _stepStartHandlers;
33
- private _stepCompleteHandlers;
34
- private _stepFailedHandlers;
35
- private _checkpointHandlers;
36
- private _resumeHandlers;
37
- private _pauseHandlers;
38
- private _cancelHandlers;
39
- /**
40
- * Create a new LinearOrchestrator
41
- *
42
- * @param executor - Resilient executor for running tasks
43
- * @param storage - Optional storage for checkpoints
44
- * @param agUiAdapter - Optional AG-UI event adapter for real-time event streaming
45
- * @param lifecycleService - Optional execution lifecycle service for worktree management
46
- */
47
- constructor(executor: IResilientExecutor, storage?: IWorkflowStorage, agUiAdapter?: AgUiEventAdapter, lifecycleService?: ExecutionLifecycleService);
48
- /**
49
- * Start a new workflow execution
50
- *
51
- * @param workflow - Workflow definition to execute
52
- * @param workDir - Working directory for task execution
53
- * @param options - Execution options (executionId is required)
54
- * @returns Promise resolving to execution ID
55
- */
56
- startWorkflow(workflow: WorkflowDefinition, workDir: string, options: {
57
- executionId: string;
58
- checkpointInterval?: number;
59
- initialContext?: Record<string, any>;
60
- }): Promise<string>;
61
- /**
62
- * Resume a workflow from a checkpoint
63
- *
64
- * @param executionId - Execution ID to resume
65
- * @param options - Resume options
66
- * @returns Promise resolving to execution ID
67
- */
68
- resumeWorkflow(executionId: string, options?: {
69
- checkpointInterval?: number;
70
- }): Promise<string>;
71
- /**
72
- * Pause a running workflow
73
- *
74
- * @param executionId - Execution ID to pause
75
- */
76
- pauseWorkflow(executionId: string): Promise<void>;
77
- /**
78
- * Cancel a running workflow
79
- *
80
- * @param executionId - Execution ID to cancel
81
- */
82
- cancelWorkflow(executionId: string): Promise<void>;
83
- /**
84
- * Get current execution state
85
- *
86
- * @param executionId - Execution ID to query
87
- * @returns Execution state or null if not found
88
- */
89
- getExecution(executionId: string): WorkflowExecution | null;
90
- /**
91
- * Get status of a specific step
92
- *
93
- * @param executionId - Execution ID
94
- * @param stepId - Step ID to query
95
- * @returns Step status or null if not found
96
- */
97
- getStepStatus(executionId: string, stepId: string): StepStatus | null;
98
- /**
99
- * Wait for workflow to complete
100
- *
101
- * @param executionId - Execution ID to wait for
102
- * @returns Promise resolving to workflow execution
103
- */
104
- waitForWorkflow(executionId: string): Promise<WorkflowExecution>;
105
- /**
106
- * List all checkpoints for a workflow
107
- *
108
- * @param workflowId - Optional workflow ID to filter by
109
- * @returns Promise resolving to list of checkpoints
110
- */
111
- listCheckpoints(workflowId?: string): Promise<WorkflowCheckpoint[]>;
112
- /**
113
- * Register handler for workflow start events
114
- */
115
- onWorkflowStart(handler: WorkflowStartHandler): void;
116
- /**
117
- * Register handler for workflow completion events
118
- */
119
- onWorkflowComplete(handler: WorkflowCompleteHandler): void;
120
- /**
121
- * Register handler for workflow failure events
122
- */
123
- onWorkflowFailed(handler: WorkflowFailedHandler): void;
124
- /**
125
- * Register handler for step start events
126
- */
127
- onStepStart(handler: StepStartHandler): void;
128
- /**
129
- * Register handler for step completion events
130
- */
131
- onStepComplete(handler: StepCompleteHandler): void;
132
- /**
133
- * Register handler for step failure events
134
- */
135
- onStepFailed(handler: StepFailedHandler): void;
136
- /**
137
- * Register handler for checkpoint events
138
- */
139
- onCheckpoint(handler: WorkflowCheckpointHandler): void;
140
- /**
141
- * Register handler for resume events
142
- */
143
- onResume(handler: WorkflowResumeHandler): void;
144
- /**
145
- * Register handler for pause events
146
- */
147
- onPause(handler: WorkflowPauseHandler): void;
148
- /**
149
- * Register handler for cancel events
150
- */
151
- onCancel(handler: WorkflowCancelHandler): void;
152
- /**
153
- * Execute workflow (main execution loop)
154
- *
155
- * @param workflow - Workflow definition
156
- * @param execution - Workflow execution state
157
- * @param workDir - Working directory for task execution
158
- * @param checkpointInterval - Optional checkpoint interval (in steps)
159
- * @returns Promise that resolves when workflow completes
160
- * @private
161
- */
162
- private _executeWorkflow;
163
- /**
164
- * Save checkpoint to storage
165
- *
166
- * @param execution - Workflow execution to checkpoint
167
- * @private
168
- */
169
- private _saveCheckpoint;
170
- /**
171
- * Clean up execution resources (worktree)
172
- * Ensures cleanup is called only once per execution
173
- *
174
- * @param execution - Workflow execution to cleanup
175
- * @private
176
- */
177
- private _cleanupExecution;
178
- /**
179
- * Execute a single workflow step
180
- *
181
- * @param step - Workflow step to execute
182
- * @param execution - Current workflow execution state
183
- * @param workDir - Working directory for task execution
184
- * @returns Promise resolving to execution result
185
- * @private
186
- */
187
- private _executeStep;
188
- /**
189
- * Apply output mapping from step result to workflow context
190
- *
191
- * @param step - Workflow step with output mapping
192
- * @param result - Execution result from step
193
- * @param context - Workflow context to update
194
- * @private
195
- */
196
- private _applyOutputMapping;
197
- /**
198
- * Check if all step dependencies are met
199
- *
200
- * @param step - Workflow step to check
201
- * @param execution - Current workflow execution state
202
- * @returns True if all dependencies are met, false otherwise
203
- * @private
204
- */
205
- private _areDependenciesMet;
206
- /**
207
- * Evaluate a step condition
208
- *
209
- * @param step - Workflow step with condition
210
- * @param context - Workflow context
211
- * @returns True if condition evaluates to true or no condition exists
212
- * @private
213
- */
214
- private _shouldExecuteStep;
215
- }
216
- //# sourceMappingURL=linear-orchestrator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"linear-orchestrator.d.ts","sourceRoot":"","sources":["../../../src/execution/workflow/linear-orchestrator.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,OAAO,KAAK,EACV,kBAAkB,EAElB,iBAAiB,EACjB,kBAAkB,EAElB,UAAU,EACV,oBAAoB,EACpB,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,EACzB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,YAAY,CAAC;AAOpB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAEvF;;;;;;;;GAQG;AACH,qBAAa,kBAAmB,YAAW,qBAAqB;IAE9D,OAAO,CAAC,WAAW,CAAwC;IAC3D,OAAO,CAAC,oBAAoB,CAAqB;IACjD,OAAO,CAAC,QAAQ,CAAC,CAAmB;IACpC,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,YAAY,CAAC,CAAmB;IACxC,OAAO,CAAC,iBAAiB,CAAC,CAA4B;IAGtD,OAAO,CAAC,sBAAsB,CAA8B;IAC5D,OAAO,CAAC,yBAAyB,CAAiC;IAClE,OAAO,CAAC,uBAAuB,CAA+B;IAC9D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