@workflow/core 5.0.0-beta.9 → 5.0.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 (339) hide show
  1. package/README.md +41 -0
  2. package/dist/attribute-changes.d.ts +4 -5
  3. package/dist/attribute-changes.d.ts.map +1 -1
  4. package/dist/attribute-changes.js +12 -4
  5. package/dist/capabilities.d.ts +35 -2
  6. package/dist/capabilities.d.ts.map +1 -1
  7. package/dist/capabilities.js +74 -5
  8. package/dist/capture-stack.d.ts +1 -1
  9. package/dist/capture-stack.js +2 -2
  10. package/dist/class-serialization.d.ts +32 -0
  11. package/dist/class-serialization.d.ts.map +1 -1
  12. package/dist/class-serialization.js +37 -1
  13. package/dist/classify-error.d.ts +15 -0
  14. package/dist/classify-error.d.ts.map +1 -1
  15. package/dist/classify-error.js +72 -4
  16. package/dist/context-violation-error.d.ts +5 -5
  17. package/dist/context-violation-error.d.ts.map +1 -1
  18. package/dist/context-violation-error.js +8 -6
  19. package/dist/create-hook.d.ts +109 -7
  20. package/dist/create-hook.d.ts.map +1 -1
  21. package/dist/create-hook.js +1 -1
  22. package/dist/define-hook.js +2 -2
  23. package/dist/describe-error.d.ts +7 -7
  24. package/dist/describe-error.d.ts.map +1 -1
  25. package/dist/describe-error.js +46 -7
  26. package/dist/encryption.d.ts +32 -4
  27. package/dist/encryption.d.ts.map +1 -1
  28. package/dist/encryption.js +85 -10
  29. package/dist/events-consumer.d.ts +300 -0
  30. package/dist/events-consumer.d.ts.map +1 -1
  31. package/dist/events-consumer.js +672 -42
  32. package/dist/flushable-stream.d.ts +97 -1
  33. package/dist/flushable-stream.d.ts.map +1 -1
  34. package/dist/flushable-stream.js +286 -10
  35. package/dist/global.d.ts +38 -2
  36. package/dist/global.d.ts.map +1 -1
  37. package/dist/global.js +21 -6
  38. package/dist/index.d.ts +2 -2
  39. package/dist/index.d.ts.map +1 -1
  40. package/dist/index.js +3 -3
  41. package/dist/log-format.d.ts +6 -2
  42. package/dist/log-format.d.ts.map +1 -1
  43. package/dist/log-format.js +60 -15
  44. package/dist/logger.d.ts +1 -0
  45. package/dist/logger.d.ts.map +1 -1
  46. package/dist/logger.js +10 -6
  47. package/dist/private.d.ts +258 -9
  48. package/dist/private.d.ts.map +1 -1
  49. package/dist/private.js +640 -7
  50. package/dist/replay-divergence.d.ts +25 -0
  51. package/dist/replay-divergence.d.ts.map +1 -0
  52. package/dist/replay-divergence.js +61 -0
  53. package/dist/replay-payload-cache.d.ts +64 -0
  54. package/dist/replay-payload-cache.d.ts.map +1 -0
  55. package/dist/replay-payload-cache.js +158 -0
  56. package/dist/runtime/compute-instance.d.ts +13 -0
  57. package/dist/runtime/compute-instance.d.ts.map +1 -0
  58. package/dist/runtime/compute-instance.js +14 -0
  59. package/dist/runtime/constants.d.ts +298 -5
  60. package/dist/runtime/constants.d.ts.map +1 -1
  61. package/dist/runtime/constants.js +500 -17
  62. package/dist/runtime/count-step-started-events.d.ts +52 -0
  63. package/dist/runtime/count-step-started-events.d.ts.map +1 -0
  64. package/dist/runtime/count-step-started-events.js +72 -0
  65. package/dist/runtime/deployment-guard.d.ts +100 -0
  66. package/dist/runtime/deployment-guard.d.ts.map +1 -0
  67. package/dist/runtime/deployment-guard.js +159 -0
  68. package/dist/runtime/dynamic-workflow.d.ts +148 -0
  69. package/dist/runtime/dynamic-workflow.d.ts.map +1 -0
  70. package/dist/runtime/dynamic-workflow.js +290 -0
  71. package/dist/runtime/get-port-lazy.d.ts +15 -0
  72. package/dist/runtime/get-port-lazy.d.ts.map +1 -1
  73. package/dist/runtime/get-port-lazy.js +75 -6
  74. package/dist/runtime/get-world-lazy.d.ts +5 -14
  75. package/dist/runtime/get-world-lazy.d.ts.map +1 -1
  76. package/dist/runtime/get-world-lazy.js +19 -29
  77. package/dist/runtime/helpers.d.ts +445 -29
  78. package/dist/runtime/helpers.d.ts.map +1 -1
  79. package/dist/runtime/helpers.js +717 -62
  80. package/dist/runtime/hook-wake.d.ts +122 -0
  81. package/dist/runtime/hook-wake.d.ts.map +1 -0
  82. package/dist/runtime/hook-wake.js +225 -0
  83. package/dist/runtime/invocations.d.ts +35 -0
  84. package/dist/runtime/invocations.d.ts.map +1 -0
  85. package/dist/runtime/invocations.js +172 -0
  86. package/dist/runtime/lifecycle-hooks.d.ts +93 -0
  87. package/dist/runtime/lifecycle-hooks.d.ts.map +1 -0
  88. package/dist/runtime/lifecycle-hooks.js +178 -0
  89. package/dist/runtime/open-hook-wait-state.d.ts +55 -0
  90. package/dist/runtime/open-hook-wait-state.d.ts.map +1 -0
  91. package/dist/runtime/open-hook-wait-state.js +93 -0
  92. package/dist/runtime/quickjs-assets.generated.d.ts +14 -0
  93. package/dist/runtime/quickjs-assets.generated.d.ts.map +1 -0
  94. package/dist/runtime/quickjs-assets.generated.js +30 -0
  95. package/dist/runtime/quickjs-entrypoint.d.ts +158 -0
  96. package/dist/runtime/quickjs-entrypoint.d.ts.map +1 -0
  97. package/dist/runtime/quickjs-entrypoint.js +1939 -0
  98. package/dist/runtime/quickjs-log-view.d.ts +129 -0
  99. package/dist/runtime/quickjs-log-view.d.ts.map +1 -0
  100. package/dist/runtime/quickjs-log-view.js +229 -0
  101. package/dist/runtime/quickjs-runtime.d.ts +247 -0
  102. package/dist/runtime/quickjs-runtime.d.ts.map +1 -0
  103. package/dist/runtime/quickjs-runtime.js +2599 -0
  104. package/dist/runtime/quickjs-serde.d.ts +107 -0
  105. package/dist/runtime/quickjs-serde.d.ts.map +1 -0
  106. package/dist/runtime/quickjs-serde.js +2234 -0
  107. package/dist/runtime/replay-budget.d.ts +17 -18
  108. package/dist/runtime/replay-budget.d.ts.map +1 -1
  109. package/dist/runtime/replay-budget.js +33 -81
  110. package/dist/runtime/replay-recovery-reporter.d.ts +36 -0
  111. package/dist/runtime/replay-recovery-reporter.d.ts.map +1 -0
  112. package/dist/runtime/replay-recovery-reporter.js +64 -0
  113. package/dist/runtime/resume-hook.d.ts +93 -8
  114. package/dist/runtime/resume-hook.d.ts.map +1 -1
  115. package/dist/runtime/resume-hook.js +709 -110
  116. package/dist/runtime/resume-latency.d.ts +150 -0
  117. package/dist/runtime/resume-latency.d.ts.map +1 -0
  118. package/dist/runtime/resume-latency.js +155 -0
  119. package/dist/runtime/run-id-time.d.ts +19 -0
  120. package/dist/runtime/run-id-time.d.ts.map +1 -0
  121. package/dist/runtime/run-id-time.js +42 -0
  122. package/dist/runtime/run-spec-version.d.ts +16 -0
  123. package/dist/runtime/run-spec-version.d.ts.map +1 -0
  124. package/dist/runtime/run-spec-version.js +19 -0
  125. package/dist/runtime/run.d.ts +72 -7
  126. package/dist/runtime/run.d.ts.map +1 -1
  127. package/dist/runtime/run.js +295 -58
  128. package/dist/runtime/runs.d.ts +54 -3
  129. package/dist/runtime/runs.d.ts.map +1 -1
  130. package/dist/runtime/runs.js +148 -21
  131. package/dist/runtime/start.d.ts +164 -3
  132. package/dist/runtime/start.d.ts.map +1 -1
  133. package/dist/runtime/start.js +700 -78
  134. package/dist/runtime/step-executor.d.ts +186 -5
  135. package/dist/runtime/step-executor.d.ts.map +1 -1
  136. package/dist/runtime/step-executor.js +756 -123
  137. package/dist/runtime/step-latency.d.ts +221 -0
  138. package/dist/runtime/step-latency.d.ts.map +1 -0
  139. package/dist/runtime/step-latency.js +215 -0
  140. package/dist/runtime/step-ownership.d.ts +72 -0
  141. package/dist/runtime/step-ownership.d.ts.map +1 -0
  142. package/dist/runtime/step-ownership.js +114 -0
  143. package/dist/runtime/step-single-flight.d.ts +12 -0
  144. package/dist/runtime/step-single-flight.d.ts.map +1 -0
  145. package/dist/runtime/step-single-flight.js +71 -0
  146. package/dist/runtime/suspension-handler.d.ts +279 -10
  147. package/dist/runtime/suspension-handler.d.ts.map +1 -1
  148. package/dist/runtime/suspension-handler.js +1442 -169
  149. package/dist/runtime/unserializable-step.d.ts +34 -0
  150. package/dist/runtime/unserializable-step.d.ts.map +1 -0
  151. package/dist/runtime/unserializable-step.js +52 -0
  152. package/dist/runtime/vm-mode.d.ts +44 -0
  153. package/dist/runtime/vm-mode.d.ts.map +1 -0
  154. package/dist/runtime/vm-mode.js +62 -0
  155. package/dist/runtime/vm-serde-bundle.generated.d.ts +14 -0
  156. package/dist/runtime/vm-serde-bundle.generated.d.ts.map +1 -0
  157. package/dist/runtime/vm-serde-bundle.generated.js +16 -0
  158. package/dist/runtime/wait-continuation.d.ts +106 -0
  159. package/dist/runtime/wait-continuation.d.ts.map +1 -0
  160. package/dist/runtime/wait-continuation.js +136 -0
  161. package/dist/runtime/wait-until.d.ts +18 -0
  162. package/dist/runtime/wait-until.d.ts.map +1 -0
  163. package/dist/runtime/wait-until.js +42 -0
  164. package/dist/runtime/world-compatibility.d.ts +32 -0
  165. package/dist/runtime/world-compatibility.d.ts.map +1 -0
  166. package/dist/runtime/world-compatibility.js +44 -0
  167. package/dist/runtime/world-init.d.ts +17 -42
  168. package/dist/runtime/world-init.d.ts.map +1 -1
  169. package/dist/runtime/world-init.js +18 -43
  170. package/dist/runtime/world.d.ts +14 -2
  171. package/dist/runtime/world.d.ts.map +1 -1
  172. package/dist/runtime/world.js +75 -19
  173. package/dist/runtime.d.ts +11 -7
  174. package/dist/runtime.d.ts.map +1 -1
  175. package/dist/runtime.js +4111 -446
  176. package/dist/schemas.d.ts +1 -1
  177. package/dist/schemas.d.ts.map +1 -1
  178. package/dist/schemas.js +1 -1
  179. package/dist/sealed-box.d.ts +167 -0
  180. package/dist/sealed-box.d.ts.map +1 -0
  181. package/dist/sealed-box.js +571 -0
  182. package/dist/serialization/client.d.ts +3 -3
  183. package/dist/serialization/client.d.ts.map +1 -1
  184. package/dist/serialization/client.js +8 -4
  185. package/dist/serialization/codec-devalue-vm.d.ts +16 -0
  186. package/dist/serialization/codec-devalue-vm.d.ts.map +1 -0
  187. package/dist/serialization/codec-devalue-vm.js +148 -0
  188. package/dist/serialization/codec-devalue.d.ts +1 -1
  189. package/dist/serialization/codec-devalue.d.ts.map +1 -1
  190. package/dist/serialization/codec-devalue.js +24 -6
  191. package/dist/serialization/codec.d.ts +37 -2
  192. package/dist/serialization/codec.d.ts.map +1 -1
  193. package/dist/serialization/codec.js +2 -2
  194. package/dist/serialization/compression.d.ts +105 -0
  195. package/dist/serialization/compression.d.ts.map +1 -0
  196. package/dist/serialization/compression.js +261 -0
  197. package/dist/serialization/encryption.d.ts +119 -17
  198. package/dist/serialization/encryption.d.ts.map +1 -1
  199. package/dist/serialization/encryption.js +152 -17
  200. package/dist/serialization/errors.d.ts +13 -0
  201. package/dist/serialization/errors.d.ts.map +1 -1
  202. package/dist/serialization/errors.js +20 -2
  203. package/dist/serialization/format.d.ts +6 -6
  204. package/dist/serialization/format.js +7 -7
  205. package/dist/serialization/hardened.d.ts +156 -0
  206. package/dist/serialization/hardened.d.ts.map +1 -0
  207. package/dist/serialization/hardened.js +538 -0
  208. package/dist/serialization/index.d.ts +10 -8
  209. package/dist/serialization/index.d.ts.map +1 -1
  210. package/dist/serialization/index.js +10 -8
  211. package/dist/serialization/reducers/class-vm.d.ts +20 -0
  212. package/dist/serialization/reducers/class-vm.d.ts.map +1 -0
  213. package/dist/serialization/reducers/class-vm.js +77 -0
  214. package/dist/serialization/reducers/class.d.ts.map +1 -1
  215. package/dist/serialization/reducers/class.js +11 -6
  216. package/dist/serialization/reducers/common-vm.d.ts +15 -0
  217. package/dist/serialization/reducers/common-vm.d.ts.map +1 -0
  218. package/dist/serialization/reducers/common-vm.js +661 -0
  219. package/dist/serialization/reducers/common.d.ts +1 -1
  220. package/dist/serialization/reducers/common.d.ts.map +1 -1
  221. package/dist/serialization/reducers/common.js +227 -66
  222. package/dist/serialization/reducers/step-function-vm.d.ts +44 -0
  223. package/dist/serialization/reducers/step-function-vm.d.ts.map +1 -0
  224. package/dist/serialization/reducers/step-function-vm.js +97 -0
  225. package/dist/serialization/reducers/step-function.d.ts.map +1 -1
  226. package/dist/serialization/reducers/step-function.js +25 -9
  227. package/dist/serialization/step.d.ts +4 -4
  228. package/dist/serialization/step.d.ts.map +1 -1
  229. package/dist/serialization/step.js +9 -5
  230. package/dist/serialization/types.d.ts +75 -1
  231. package/dist/serialization/types.d.ts.map +1 -1
  232. package/dist/serialization/types.js +15 -1
  233. package/dist/serialization/workflow-vm.d.ts +29 -0
  234. package/dist/serialization/workflow-vm.d.ts.map +1 -0
  235. package/dist/serialization/workflow-vm.js +74 -0
  236. package/dist/serialization-format.d.ts +64 -8
  237. package/dist/serialization-format.d.ts.map +1 -1
  238. package/dist/serialization-format.js +239 -73
  239. package/dist/serialization.d.ts +319 -34
  240. package/dist/serialization.d.ts.map +1 -1
  241. package/dist/serialization.js +1961 -321
  242. package/dist/set-attributes.d.ts +7 -7
  243. package/dist/set-attributes.d.ts.map +1 -1
  244. package/dist/set-attributes.js +42 -21
  245. package/dist/source-map.d.ts +25 -0
  246. package/dist/source-map.d.ts.map +1 -1
  247. package/dist/source-map.js +113 -7
  248. package/dist/step/context-storage.d.ts +50 -3
  249. package/dist/step/context-storage.d.ts.map +1 -1
  250. package/dist/step/context-storage.js +7 -5
  251. package/dist/step/writable-stream.d.ts +3 -3
  252. package/dist/step/writable-stream.d.ts.map +1 -1
  253. package/dist/step/writable-stream.js +53 -19
  254. package/dist/step.d.ts.map +1 -1
  255. package/dist/step.js +142 -28
  256. package/dist/symbols.d.ts +35 -1
  257. package/dist/symbols.d.ts.map +1 -1
  258. package/dist/symbols.js +36 -2
  259. package/dist/telemetry/semantic-conventions.d.ts +481 -2
  260. package/dist/telemetry/semantic-conventions.d.ts.map +1 -1
  261. package/dist/telemetry/semantic-conventions.js +349 -3
  262. package/dist/telemetry.d.ts +91 -0
  263. package/dist/telemetry.d.ts.map +1 -1
  264. package/dist/telemetry.js +244 -17
  265. package/dist/test-support/orchestrator-context.d.ts +25 -0
  266. package/dist/test-support/orchestrator-context.d.ts.map +1 -0
  267. package/dist/test-support/orchestrator-context.js +107 -0
  268. package/dist/types.d.ts +23 -0
  269. package/dist/types.d.ts.map +1 -1
  270. package/dist/types.js +76 -1
  271. package/dist/util.d.ts +0 -5
  272. package/dist/util.d.ts.map +1 -1
  273. package/dist/util.js +1 -15
  274. package/dist/version.d.ts +1 -1
  275. package/dist/version.d.ts.map +1 -1
  276. package/dist/version.js +2 -2
  277. package/dist/vm/index.d.ts.map +1 -1
  278. package/dist/vm/index.js +84 -14
  279. package/dist/vm/script-cache.d.ts +26 -0
  280. package/dist/vm/script-cache.d.ts.map +1 -0
  281. package/dist/vm/script-cache.js +131 -0
  282. package/dist/vm/uint8array-base64.js +1 -1
  283. package/dist/workflow/abort-controller.d.ts +2 -2
  284. package/dist/workflow/abort-controller.d.ts.map +1 -1
  285. package/dist/workflow/abort-controller.js +75 -21
  286. package/dist/workflow/attribute-dispatcher.d.ts +6 -0
  287. package/dist/workflow/attribute-dispatcher.d.ts.map +1 -0
  288. package/dist/workflow/attribute-dispatcher.js +65 -0
  289. package/dist/workflow/create-hook.d.ts.map +1 -1
  290. package/dist/workflow/create-hook.js +24 -3
  291. package/dist/workflow/get-workflow-metadata.js +2 -2
  292. package/dist/workflow/hook.d.ts.map +1 -1
  293. package/dist/workflow/hook.js +403 -53
  294. package/dist/workflow/index.d.ts +1 -1
  295. package/dist/workflow/index.d.ts.map +1 -1
  296. package/dist/workflow/index.js +2 -2
  297. package/dist/workflow/set-attributes.d.ts +19 -21
  298. package/dist/workflow/set-attributes.d.ts.map +1 -1
  299. package/dist/workflow/set-attributes.js +23 -25
  300. package/dist/workflow/sleep.d.ts.map +1 -1
  301. package/dist/workflow/sleep.js +42 -13
  302. package/dist/workflow/world-init-stub.d.ts +3 -3
  303. package/dist/workflow/world-init-stub.js +4 -4
  304. package/dist/workflow.d.ts +89 -3
  305. package/dist/workflow.d.ts.map +1 -1
  306. package/dist/workflow.js +920 -568
  307. package/docs/api-reference/create-hook.mdx +166 -10
  308. package/docs/api-reference/create-webhook.mdx +16 -15
  309. package/docs/api-reference/define-hook.mdx +37 -33
  310. package/docs/api-reference/fatal-error.mdx +30 -8
  311. package/docs/api-reference/fetch.mdx +14 -10
  312. package/docs/api-reference/get-step-metadata.mdx +2 -2
  313. package/docs/api-reference/get-workflow-metadata.mdx +3 -3
  314. package/docs/api-reference/get-writable.mdx +7 -7
  315. package/docs/api-reference/index.mdx +3 -3
  316. package/docs/api-reference/retryable-error.mdx +1 -1
  317. package/docs/api-reference/set-attributes.mdx +63 -0
  318. package/docs/api-reference/sleep.mdx +4 -4
  319. package/docs/foundations/cancellation.mdx +31 -32
  320. package/docs/foundations/errors-and-retries.mdx +54 -11
  321. package/docs/foundations/hooks.mdx +98 -35
  322. package/docs/foundations/idempotency.mdx +267 -12
  323. package/docs/foundations/index.mdx +1 -26
  324. package/docs/foundations/serialization.mdx +22 -22
  325. package/docs/foundations/starting-workflows.mdx +104 -30
  326. package/docs/foundations/streaming.mdx +108 -60
  327. package/docs/foundations/versioning.mdx +4 -4
  328. package/docs/foundations/workflows-and-steps.mdx +9 -9
  329. package/docs/how-it-works/cancellation.mdx +63 -63
  330. package/docs/how-it-works/code-transform.mdx +82 -66
  331. package/docs/how-it-works/encryption.mdx +30 -26
  332. package/docs/how-it-works/event-sourcing.mdx +132 -35
  333. package/docs/how-it-works/framework-integrations.mdx +96 -337
  334. package/docs/how-it-works/understanding-directives.mdx +22 -22
  335. package/package.json +29 -15
  336. package/dist/runtime/step-handler.d.ts +0 -2
  337. package/dist/runtime/step-handler.d.ts.map +0 -1
  338. package/dist/runtime/step-handler.js +0 -779
  339. package/docs/api-reference/experimental-set-attributes.mdx +0 -63
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * This module provides standardized telemetry attributes following OpenTelemetry semantic conventions
5
5
  * for instrumenting workflow execution, step processing, and related operations. Each exported function
6
- * creates a properly formatted attribute object that can be used with OpenTelemetry spans.
6
+ * creates a properly formatted attribute object for use with OpenTelemetry spans.
7
7
  *
8
8
  * The semantic conventions are organized into several categories:
9
9
  * - **Workflow attributes**: Track workflow lifecycle, status, and metadata
@@ -11,7 +11,7 @@
11
11
  * - **Queue attributes**: Instrument message queue operations
12
12
  * - **Deployment attributes**: Capture deployment environment information
13
13
  *
14
- * All attribute functions are type-safe and leverage existing backend types to ensure
14
+ * All attribute functions are type-safe and use existing backend types to ensure
15
15
  * consistency between telemetry data and actual system state.
16
16
  *
17
17
  * @example
@@ -60,6 +60,61 @@ export declare const WorkflowStartedAt: (value: number) => {
60
60
  export declare const WorkflowEventsCount: (value: number) => {
61
61
  [k: string]: number;
62
62
  };
63
+ /** Whether workflow execution starts with replay or resumes a retained VM */
64
+ export declare const WorkflowExecutionMode: (value: "replay" | "retained") => {
65
+ [k: string]: "replay" | "retained";
66
+ };
67
+ /**
68
+ * Whether the run executes dynamic workflow code stored with the run rather
69
+ * than the deployment's workflow bundle.
70
+ */
71
+ export declare const WorkflowDynamic: (value: boolean) => {
72
+ [k: string]: boolean;
73
+ };
74
+ /** SHA-256 of a dynamic run's source and step bindings. */
75
+ export declare const WorkflowDynamicSourceHash: (value: string) => {
76
+ [k: string]: string;
77
+ };
78
+ /** Size in bytes of a dynamic run's serialized workflow code. */
79
+ export declare const WorkflowDynamicCodeBytes: (value: number) => {
80
+ [k: string]: number;
81
+ };
82
+ /** Whether a dynamic run's code was stored inline or behind a ref. */
83
+ export declare const WorkflowDynamicCodeStorage: (value: "inline" | "ref") => {
84
+ [k: string]: "inline" | "ref";
85
+ };
86
+ /** Whether the compiled application workflow bundle was cached. */
87
+ export declare const WorkflowBundleCompileCacheHit: (value: boolean) => {
88
+ [k: string]: boolean;
89
+ };
90
+ /** Operation that supplied events to the current replay. */
91
+ export type WorkflowReplayLoadSource = 'run_started' | 'hook_preload' | 'events_list' | 'events_list_incremental';
92
+ export declare const WorkflowReplayLoadSource: (value: WorkflowReplayLoadSource) => {
93
+ [k: string]: WorkflowReplayLoadSource;
94
+ };
95
+ /**
96
+ * Events the replay walked past that no consumer claimed, still held when the
97
+ * replay stopped.
98
+ *
99
+ * A non-zero count on a suspension is ordinary: an out-of-band delivery that
100
+ * landed ahead of the code that reads it waits for the replay that gets there.
101
+ * From inside one replay that is indistinguishable from an event no replay will
102
+ * ever claim, because the two differ only in what the next replay does. So the
103
+ * count goes on the span instead of failing the run, and the case worth acting
104
+ * on is a query across a run's spans: the same
105
+ * {@link WorkflowParkedEventId} held on suspension after suspension.
106
+ */
107
+ export declare const WorkflowParkedEventsCount: (value: number) => {
108
+ [k: string]: number;
109
+ };
110
+ /** Oldest event still held unclaimed when the replay stopped. */
111
+ export declare const WorkflowParkedEventId: (value: string) => {
112
+ [k: string]: string;
113
+ };
114
+ /** Type of the oldest event still held unclaimed when the replay stopped. */
115
+ export declare const WorkflowParkedEventType: (value: string) => {
116
+ [k: string]: string;
117
+ };
63
118
  /** Number of arguments passed to the workflow */
64
119
  export declare const WorkflowArgumentsCount: (value: number) => {
65
120
  [k: string]: number;
@@ -72,6 +127,42 @@ export declare const WorkflowResultType: (value: string) => {
72
127
  export declare const WorkflowTracePropagated: (value: boolean) => {
73
128
  [k: string]: boolean;
74
129
  };
130
+ /** The VM engine executing the workflow function for this invocation */
131
+ export declare const WorkflowVm: (value: "node" | "quickjs") => {
132
+ [k: string]: "node" | "quickjs";
133
+ };
134
+ /** Outcome of a QuickJS VM workflow invocation */
135
+ export declare const QuickJSOutcome: (value: "completed" | "failed" | "suspended") => {
136
+ [k: string]: "completed" | "failed" | "suspended";
137
+ };
138
+ /** Whether preloaded events from `events.create('run_started')` were used */
139
+ export declare const QuickJSEventsPreloaded: (value: boolean) => {
140
+ [k: string]: boolean;
141
+ };
142
+ /** Total number of events fetched from the world for this invocation */
143
+ export declare const QuickJSEventsFetchedCount: (value: number) => {
144
+ [k: string]: number;
145
+ };
146
+ /** Number of pages required to fetch all events */
147
+ export declare const QuickJSEventsFetchedPages: (value: number) => {
148
+ [k: string]: number;
149
+ };
150
+ /** Number of pending VM operations captured at suspension */
151
+ export declare const QuickJSPendingOpsCount: (value: number) => {
152
+ [k: string]: number;
153
+ };
154
+ /** Number of steps executed inline (live-VM continuation) this invocation */
155
+ export declare const QuickJSInlineSteps: (value: number) => {
156
+ [k: string]: number;
157
+ };
158
+ /** Active trace-correlation mode for this invocation (linked or continuous) */
159
+ export declare const WorkflowTraceMode: (value: "linked" | "continuous") => {
160
+ [k: string]: "linked" | "continuous";
161
+ };
162
+ /** Whether this workflow invocation is using the turbo first-delivery path */
163
+ export declare const WorkflowTurbo: (value: boolean) => {
164
+ [k: string]: boolean;
165
+ };
75
166
  /** Name of the error that caused workflow failure */
76
167
  export declare const WorkflowErrorName: (value: string) => {
77
168
  [k: string]: string;
@@ -96,6 +187,68 @@ export declare const WorkflowHooksCreated: (value: number) => {
96
187
  export declare const WorkflowWaitsCreated: (value: number) => {
97
188
  [k: string]: number;
98
189
  };
190
+ /**
191
+ * Number of steps this suspension finalized as failed because their
192
+ * arguments refused to serialize (step_created placeholder + step_failed
193
+ * carrying the SerializationError; see finalizeUnserializableStep).
194
+ */
195
+ export declare const WorkflowStepsFailedSerialization: (value: number) => {
196
+ [k: string]: number;
197
+ };
198
+ /**
199
+ * Number of inline-owned steps this invocation re-executed because it is a
200
+ * redelivery of their owning queue message (crash recovery for inline
201
+ * steps; see the inline step ownership changelog, workflow#2780).
202
+ */
203
+ export declare const WorkflowOwnedRecoverySteps: (value: number) => {
204
+ [k: string]: number;
205
+ };
206
+ /**
207
+ * Number of pending steps for which this replay suppressed the immediate
208
+ * requeue (another invocation inline-owns them under a live lease) and
209
+ * ensured a delayed backstop wake instead.
210
+ */
211
+ export declare const WorkflowBackstopWakesArmed: (value: number) => {
212
+ [k: string]: number;
213
+ };
214
+ /**
215
+ * Number of pending steps whose immediate step-execution enqueue this replay
216
+ * pass skipped because THIS invocation already published that step's message
217
+ * on an earlier pass (a fan-out that ran inline steps and replayed again).
218
+ * Invocation-local knowledge only: a fresh delivery never skips.
219
+ */
220
+ export declare const WorkflowDispatchRepublishSkipped: (value: number) => {
221
+ [k: string]: number;
222
+ };
223
+ /** The workflow runtime route being handled */
224
+ export declare const WorkflowRouteType: (value: "flow") => {
225
+ [k: string]: "flow";
226
+ };
227
+ /** Whether this route invocation reused an already-created request handler */
228
+ export declare const WorkflowRouteHandlerCached: (value: boolean) => {
229
+ [k: string]: boolean;
230
+ };
231
+ /** Number of times this in-memory route handler has been invoked */
232
+ export declare const WorkflowRouteInvocationCount: (value: number) => {
233
+ [k: string]: number;
234
+ };
235
+ /** Time since this route entrypoint was constructed, in milliseconds */
236
+ export declare const WorkflowRouteEntrypointAgeMs: (value: number) => {
237
+ [k: string]: number;
238
+ };
239
+ /** Time spent evaluating the generated route module body before creating the entrypoint */
240
+ export declare const WorkflowRouteModuleBodyInitMs: (value: number) => {
241
+ [k: string]: number;
242
+ };
243
+ /**
244
+ * Compute instance handling this route: the synthesized `COMPUTE_INSTANCE_ID`.
245
+ * Uses OTEL `faas.instance` (execution-environment id, reused across
246
+ * invocations to the same function):
247
+ * https://opentelemetry.io/docs/specs/semconv/attributes-registry/faas/
248
+ */
249
+ export declare const FaasInstance: (value: string) => {
250
+ [k: string]: string;
251
+ };
99
252
  /** Name of the step function being executed */
100
253
  export declare const StepName: (value: string) => {
101
254
  [k: string]: string;
@@ -120,6 +273,64 @@ export declare const StepMaxRetries: (value: number) => {
120
273
  export declare const StepTracePropagated: (value: boolean) => {
121
274
  [k: string]: boolean;
122
275
  };
276
+ /**
277
+ * Client-measured time-to-first-step latency in milliseconds: run creation →
278
+ * this step's body beginning to execute, minus pre-step hook-creation time.
279
+ * Only present on the run's first step execution when it qualified for
280
+ * measurement (see runtime/step-latency.ts).
281
+ */
282
+ export declare const StepTtfsMs: (value: number) => {
283
+ [k: string]: number;
284
+ };
285
+ /**
286
+ * Client-measured step-to-step overhead in milliseconds: the previous step's
287
+ * terminal event → this step's body beginning to execute. Only present when
288
+ * the two steps ran back-to-back.
289
+ */
290
+ export declare const StepStsoMs: (value: number) => {
291
+ [k: string]: number;
292
+ };
293
+ /**
294
+ * Client-measured run_started-to-first-step latency in milliseconds: the
295
+ * `run_started` response landing (or, under turbo, the local run synthesis
296
+ * instant) → this step's start POST being issued. A sub-window of ttfs that
297
+ * isolates replay overhead from the run-creation queue hop. Only present on
298
+ * the run's first step execution when it qualified for measurement (see
299
+ * runtime/step-latency.ts).
300
+ */
301
+ export declare const StepRsfsMs: (value: number) => {
302
+ [k: string]: number;
303
+ };
304
+ /**
305
+ * Client-measured synchronous workflow-function replay duration in
306
+ * milliseconds, excluding awaited network I/O, of only the FINAL replay pass
307
+ * within the rsfs window: the pass that reached and scheduled the first
308
+ * step. Not accumulated across earlier pre-first-step passes (e.g. a
309
+ * workflow-body `setAttributes()` detour replays more than once, and a
310
+ * redelivery omits earlier invocations' work entirely), so this must not be
311
+ * read as "the replay portion of rsfs"; step.rsfs_ms covers the whole
312
+ * window. Only present alongside step.rsfs_ms and only for the run's first
313
+ * step (see runtime/step-latency.ts).
314
+ */
315
+ export declare const StepFinalSchedulingReplayMs: (value: number) => {
316
+ [k: string]: number;
317
+ };
318
+ /**
319
+ * Runtime startup-latency optimizations active for the ttfs/stso measurement
320
+ * (e.g. 'turbo', 'lazyStepStart', 'optimisticStart').
321
+ */
322
+ export declare const StepLatencyOptimizations: (value: string[]) => {
323
+ [k: string]: string[];
324
+ };
325
+ /**
326
+ * How the step's initial `step_started` claim was made. Only present for
327
+ * inline create claims; ordinary background starts and owned recovery remain
328
+ * unlabeled.
329
+ */
330
+ export type StepStartStrategy = 'awaited' | 'optimistic' | 'batch_preclaimed';
331
+ export declare const StepStartStrategy: (value: StepStartStrategy) => {
332
+ [k: string]: StepStartStrategy;
333
+ };
123
334
  /** Whether the step was skipped during execution */
124
335
  export declare const StepSkipped: (value: boolean) => {
125
336
  [k: string]: boolean;
@@ -176,6 +387,14 @@ export declare const MessagingMessageId: (value: string & import("zod").$brand<"
176
387
  export declare const MessagingOperationType: (value: "publish" | "receive" | "process") => {
177
388
  [k: string]: "publish" | "receive" | "process";
178
389
  };
390
+ /**
391
+ * Messages carried by one batched publish (standard OTEL:
392
+ * messaging.batch.message_count). Set only on the batch send, so a span
393
+ * without it is a single-message publish.
394
+ */
395
+ export declare const MessagingBatchMessageCount: (value: number) => {
396
+ [k: string]: number;
397
+ };
179
398
  /** Time taken to enqueue the message in milliseconds (workflow-specific) */
180
399
  export declare const QueueOverheadMs: (value: number) => {
181
400
  [k: string]: number;
@@ -184,6 +403,47 @@ export declare const QueueOverheadMs: (value: number) => {
184
403
  export declare const DeploymentId: (value: string) => {
185
404
  [k: string]: string;
186
405
  };
406
+ /** The deployment a run is pinned to, set only on a misrouted delivery. */
407
+ export declare const WorkflowRunPinnedDeploymentId: (value: string) => {
408
+ [k: string]: string;
409
+ };
410
+ /** Re-route attempts for this misrouted delivery, including this one. */
411
+ export declare const WorkflowDeploymentMismatchRetryCount: (value: number) => {
412
+ [k: string]: number;
413
+ };
414
+ /** Whether the misrouted delivery was re-routed instead of failing the run. */
415
+ export declare const WorkflowDeploymentMismatchRecovered: (value: boolean) => {
416
+ [k: string]: boolean;
417
+ };
418
+ /** The spec version `start()` stamped on the new run. */
419
+ export declare const WorkflowRunSpecVersion: (value: number) => {
420
+ [k: string]: number;
421
+ };
422
+ /**
423
+ * Where the stamped spec version came from: the caller's own World
424
+ * (`same-deployment`), the caller (`explicit`), or, for a cross-deployment
425
+ * start, the target's capability probe (`probe`, `probe-unversioned`,
426
+ * `probe-malformed`) or a
427
+ * fallback when it did not answer (`probe-miss`, `no-probe-channel`).
428
+ */
429
+ export declare const WorkflowRunSpecVersionSource: (value: string) => {
430
+ [k: string]: string;
431
+ };
432
+ /** Round-trip time of a cross-deployment capability probe that answered. */
433
+ export declare const WorkflowCapabilityProbeLatencyMs: (value: number) => {
434
+ [k: string]: number;
435
+ };
436
+ /**
437
+ * Whether a cross-deployment start reused an earlier answer from the same
438
+ * target deployment instead of probing it again.
439
+ */
440
+ export declare const WorkflowCapabilityProbeCached: (value: boolean) => {
441
+ [k: string]: boolean;
442
+ };
443
+ /** Why a cross-deployment capability probe failed (e.g. a timeout). */
444
+ export declare const WorkflowCapabilityProbeError: (value: string) => {
445
+ [k: string]: string;
446
+ };
187
447
  /** Token identifying a specific hook */
188
448
  export declare const HookToken: (value: string) => {
189
449
  [k: string]: string;
@@ -196,6 +456,183 @@ export declare const HookId: (value: string) => {
196
456
  export declare const HookFound: (value: boolean) => {
197
457
  [k: string]: boolean;
198
458
  };
459
+ /**
460
+ * Producer-side signal (on the `hook.resume` span) that the direct
461
+ * `hook_received` write failed transiently but the queue dispatch succeeded, so
462
+ * the resume is recovered via the consumer's re-ensure. Corresponds to
463
+ * `ResumedHook.resilientResume === true`.
464
+ *
465
+ * No longer emitted: current producers require the durable event write to
466
+ * succeed. Retained so dashboards and queries built on the attribute keep
467
+ * resolving while older producers are still deployed.
468
+ */
469
+ export declare const HookResilientResume: (value: boolean) => {
470
+ [k: string]: boolean;
471
+ };
472
+ /**
473
+ * Producer-side signal (on the `hook.resume` span) that the durable
474
+ * `hook_received` write COMMITTED. Stamped after the write resolves, so it
475
+ * distinguishes a committed resume from an attempted one — an entry-time
476
+ * attribute cannot, because a span that later records an exception may have
477
+ * failed either before or after the commit.
478
+ */
479
+ export declare const HookResumeCommitted: (value: boolean) => {
480
+ [k: string]: boolean;
481
+ };
482
+ /**
483
+ * Producer-side signal (on the `hook.resume` span) that the workflow wake was
484
+ * ACCEPTED by the queue, stamped after the publish resolves.
485
+ *
486
+ * Together with {@link HookResumeCommitted} this makes stranded resumes
487
+ * queryable: `resume_committed=true` with `wake_published` absent is a resume
488
+ * whose durable event exists but whose wake publish failed (the caller was
489
+ * told, but nothing re-drives it), and `resume_committed=true` +
490
+ * `wake_published=true` with no subsequent workflow execution for the run is
491
+ * a wake the queue accepted but never delivered. Both are detection-only
492
+ * signals — nothing recovers such a run automatically today beyond a later
493
+ * wake from any other source.
494
+ */
495
+ export declare const HookWakePublished: (value: boolean) => {
496
+ [k: string]: boolean;
497
+ };
498
+ /**
499
+ * Consumer-side signal (on the workflow execution span) that this replay
500
+ * materialized the `hook_received` event from the queue message's `hookInput`
501
+ * because no committed event was found, which completes the recovery path
502
+ * {@link HookResilientResume} began.
503
+ *
504
+ * Legacy / non-atomic re-ensure signal only. Legacy atomic lazy resumes
505
+ * (resumeId + digest) go through the hoisted preload write instead, whose
506
+ * response cannot tell whether the producer or the consumer won the
507
+ * `(runId, resumeId)` claim, so this attribute is deliberately NOT emitted
508
+ * for them (emitting `true` unconditionally would count every producer-won
509
+ * resume as a recovery). The producer-begin ({@link HookResilientResume}) /
510
+ * consumer-materialized pairing is therefore no longer complete for atomic
511
+ * lazy resumptions; use {@link HookResumeSetupSource} to observe that path.
512
+ */
513
+ export declare const HookResilientResumeMaterialized: (value: boolean) => {
514
+ [k: string]: boolean;
515
+ };
516
+ /**
517
+ * Consumer-side signal (on the workflow execution span) of how a lazy hook
518
+ * resume initialized its replay state:
519
+ *
520
+ * - `hook_received_stream`: the hoisted `hook_received` write returned a
521
+ * usable replay preload (run + complete event log), so the invocation
522
+ * skipped both the `run_started` write and the initial `events.list`.
523
+ * - `hook_received_fallback`: the hoisted write succeeded but returned no
524
+ * usable preload (a CBOR response from an older server, a World that
525
+ * ignored the opt-in, a bounded `hasMore` page, or a preload that failed
526
+ * validation); the invocation fell back to the `run_started` setup without
527
+ * re-posting the hook.
528
+ *
529
+ * Absent on legacy hook deliveries (no resumeId/digest) and on every other
530
+ * delivery kind, which take the `run_started` setup unconditionally.
531
+ *
532
+ * This is a latency/setup-path signal: it says which requests initialized
533
+ * the invocation, NOT that this consumer created the `hook_received` event
534
+ * (the hoisted write may equally have converged on the producer's, since
535
+ * claim ownership is not observable client-side; cf.
536
+ * {@link HookResilientResumeMaterialized}).
537
+ */
538
+ export declare const HookResumeSetupSource: (value: string) => {
539
+ [k: string]: string;
540
+ };
541
+ /**
542
+ * Producer-side signal (on the suspension span) counting steps whose direct
543
+ * `step_created` write failed transiently while their `stepInput`-carrying
544
+ * queue publish succeeded, so step creation is recovered via the consumer's
545
+ * re-ensure. Mirrors {@link HookResilientResume}.
546
+ */
547
+ export declare const StepResilientDispatchRecovered: (value: number) => {
548
+ [k: string]: number;
549
+ };
550
+ /**
551
+ * Consumer-side signal (on the workflow execution span) that this delivery
552
+ * materialized the `step_created` event from the queue message's `stepInput`
553
+ * because the producer's direct write had not landed, which completes the
554
+ * recovery path {@link StepResilientDispatchRecovered} began.
555
+ */
556
+ export declare const StepResilientDispatchMaterialized: (value: boolean) => {
557
+ [k: string]: boolean;
558
+ };
559
+ /**
560
+ * How the queued-step consumer resolved the run identity for this execution:
561
+ * `run_context` — carried on the dispatch message, no `runs.get` before the
562
+ * step (the fetch-free prologue); `runs_get` — the legacy blocking fetch
563
+ * (message from an older producer). Distinguishes the two paths during
564
+ * version-skew windows and makes the saved round trip directly measurable.
565
+ */
566
+ export declare const StepDispatchPrologue: (value: "run_context" | "runs_get") => {
567
+ [k: string]: "run_context" | "runs_get";
568
+ };
569
+ /** Total TTR: entry into `resumeHook()` → immediately before `stepFn.apply()`. */
570
+ export declare const ResumeTotalMs: (value: number) => {
571
+ [k: string]: number;
572
+ };
573
+ /** Phase: `resumeHook()` entry → the queue publish being requested. */
574
+ export declare const ResumeProducerPrepMs: (value: number) => {
575
+ [k: string]: number;
576
+ };
577
+ /** Phase: queue publish requested → the final consumer's handler being entered. */
578
+ export declare const ResumeQueueDeliveryMs: (value: number) => {
579
+ [k: string]: number;
580
+ };
581
+ /** Phase: consumer entry → replay beginning. */
582
+ export declare const ResumeSetupMs: (value: number) => {
583
+ [k: string]: number;
584
+ };
585
+ /** Phase: replay beginning → the next durable step being encountered. */
586
+ export declare const ResumeReplayMs: (value: number) => {
587
+ [k: string]: number;
588
+ };
589
+ /** Phase: step encountered → the `step_started` request beginning. */
590
+ export declare const ResumeStepDispatchMs: (value: number) => {
591
+ [k: string]: number;
592
+ };
593
+ /**
594
+ * Phase: `step_started` request beginning → its response returning. Omitted
595
+ * under optimistic inline start, where the claim is not awaited before the
596
+ * body runs and therefore has no completion instant at that point; the time
597
+ * is then reported entirely as {@link ResumeStepPrepareMs}.
598
+ */
599
+ export declare const ResumeStepClaimMs: (value: number) => {
600
+ [k: string]: number;
601
+ };
602
+ /**
603
+ * Phase: claim returning → immediately before `stepFn.apply()`. Deliberately
604
+ * includes encryption-key resolution, argument hydration, and step-context
605
+ * setup; `workflow.queue.deserialize_time_ms` still isolates hydration.
606
+ */
607
+ export declare const ResumeStepPrepareMs: (value: number) => {
608
+ [k: string]: number;
609
+ };
610
+ /** What triggered the measured resumption. */
611
+ export declare const ResumeTrigger: (value: "hook") => {
612
+ [k: string]: "hook";
613
+ };
614
+ /**
615
+ * Which `resumeHook()` dispatch path produced this resume. `parallel` only
616
+ * appears for messages published by an older producer, which wrote
617
+ * `hook_received` itself in parallel with the publish.
618
+ */
619
+ export declare const ResumeStrategy: (value: "lazy" | "parallel" | "sequential") => {
620
+ [k: string]: "lazy" | "parallel" | "sequential";
621
+ };
622
+ /**
623
+ * How the consuming invocation initialized replay state. Distinct from the
624
+ * pre-existing {@link HookResumeSetupSource} (`workflow.resume_setup_source`,
625
+ * on the workflow execution span), which reports the finer-grained
626
+ * hoisted-write outcome; this one is the TTR dimension and shares the metric's
627
+ * three-value vocabulary.
628
+ */
629
+ export declare const ResumeSetupSource: (value: "run_started" | "hook_preload" | "event_load") => {
630
+ [k: string]: "run_started" | "hook_preload" | "event_load";
631
+ };
632
+ /** Whether the measured step ran in the resuming invocation or a queued one. */
633
+ export declare const ResumeStepExecution: (value: "inline" | "dispatched") => {
634
+ [k: string]: "inline" | "dispatched";
635
+ };
199
636
  /** Number of webhook handlers triggered */
200
637
  export declare const WebhookHandlersTriggered: (value: number) => {
201
638
  [k: string]: number;
@@ -216,6 +653,10 @@ export declare const WorkflowSuspensionWaitCount: (value: number) => {
216
653
  export declare const HttpRequestMethod: (value: string) => {
217
654
  [k: string]: string;
218
655
  };
656
+ /** Route pattern for the request (standard OTEL: http.route) */
657
+ export declare const HttpRoute: (value: string) => {
658
+ [k: string]: string;
659
+ };
219
660
  /** Full URL of the request (standard OTEL: url.full) */
220
661
  export declare const UrlFull: (value: string) => {
221
662
  [k: string]: string;
@@ -256,6 +697,44 @@ export declare const QueueExecutionTimeMs: (value: number) => {
256
697
  export declare const QueueSerializeTimeMs: (value: number) => {
257
698
  [k: string]: number;
258
699
  };
700
+ /** Whether this serialize/deserialize was a write or read. */
701
+ export declare const SerializationOperation: (value: "serialize" | "deserialize") => {
702
+ [k: string]: "serialize" | "deserialize";
703
+ };
704
+ /** Whether a compression codec was applied (write) / present (read). */
705
+ export declare const SerializationCompressed: (value: boolean) => {
706
+ [k: string]: boolean;
707
+ };
708
+ /** Which compression codec applied / was present (`zstd`, `gzip`, or `none`). */
709
+ export declare const SerializationCodec: (value: "zstd" | "gzip" | "none") => {
710
+ [k: string]: "zstd" | "gzip" | "none";
711
+ };
712
+ /** Logical (uncompressed, devalue-prefixed) payload size in bytes. */
713
+ export declare const SerializationUncompressedBytes: (value: number) => {
714
+ [k: string]: number;
715
+ };
716
+ /** Stored (post-compression, pre-encryption) payload size in bytes. */
717
+ export declare const SerializationStoredBytes: (value: number) => {
718
+ [k: string]: number;
719
+ };
720
+ /** Fraction of bytes saved by compression (0..1); set only when compressed. */
721
+ export declare const SerializationCompressionRatio: (value: number) => {
722
+ [k: string]: number;
723
+ };
724
+ /**
725
+ * Number of workflow (guest) code executions serialization could not avoid
726
+ * (getters, proxies, custom serializers); set only when non-zero.
727
+ */
728
+ export declare const SerializationGuestCodeExecutions: (value: number) => {
729
+ [k: string]: number;
730
+ };
731
+ /**
732
+ * Deduplicated `kind (detail)` descriptions of the guest-code executions;
733
+ * set only when non-zero.
734
+ */
735
+ export declare const SerializationGuestCodeDetails: (value: string[]) => {
736
+ [k: string]: string[];
737
+ };
259
738
  /** The remote service name for Datadog service maps (Datadog-specific: peer.service) */
260
739
  export declare const PeerService: (value: string) => {
261
740
  [k: string]: string;
@@ -1 +1 @@
1
- {"version":3,"file":"semantic-conventions.d.ts","sourceRoot":"","sources":["../../src/telemetry/semantic-conventions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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