@workflow/core 5.0.0-beta.4 → 5.0.0-beta.40

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 (325) hide show
  1. package/dist/attribute-changes.d.ts +7 -0
  2. package/dist/attribute-changes.d.ts.map +1 -0
  3. package/dist/attribute-changes.js +25 -0
  4. package/dist/capabilities.d.ts +33 -1
  5. package/dist/capabilities.d.ts.map +1 -1
  6. package/dist/capabilities.js +71 -4
  7. package/dist/capture-stack.d.ts +16 -0
  8. package/dist/capture-stack.d.ts.map +1 -0
  9. package/dist/capture-stack.js +21 -0
  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 +26 -3
  14. package/dist/classify-error.d.ts.map +1 -1
  15. package/dist/classify-error.js +109 -6
  16. package/dist/context-errors.d.ts +27 -0
  17. package/dist/context-errors.d.ts.map +1 -0
  18. package/dist/context-errors.js +101 -0
  19. package/dist/context-violation-error.d.ts +97 -0
  20. package/dist/context-violation-error.d.ts.map +1 -0
  21. package/dist/context-violation-error.js +149 -0
  22. package/dist/correlation-id.d.ts +109 -0
  23. package/dist/correlation-id.d.ts.map +1 -0
  24. package/dist/correlation-id.js +139 -0
  25. package/dist/create-hook.d.ts +62 -4
  26. package/dist/create-hook.d.ts.map +1 -1
  27. package/dist/create-hook.js +4 -3
  28. package/dist/define-hook.d.ts.map +1 -1
  29. package/dist/define-hook.js +20 -5
  30. package/dist/describe-error.d.ts +70 -0
  31. package/dist/describe-error.d.ts.map +1 -0
  32. package/dist/describe-error.js +189 -0
  33. package/dist/encryption.d.ts +37 -3
  34. package/dist/encryption.d.ts.map +1 -1
  35. package/dist/encryption.js +97 -31
  36. package/dist/events-consumer.d.ts +26 -1
  37. package/dist/events-consumer.d.ts.map +1 -1
  38. package/dist/events-consumer.js +105 -18
  39. package/dist/flushable-stream.d.ts +65 -10
  40. package/dist/flushable-stream.d.ts.map +1 -1
  41. package/dist/flushable-stream.js +131 -18
  42. package/dist/global.d.ts +37 -1
  43. package/dist/global.d.ts.map +1 -1
  44. package/dist/global.js +21 -3
  45. package/dist/index.d.ts +1 -0
  46. package/dist/index.d.ts.map +1 -1
  47. package/dist/index.js +2 -1
  48. package/dist/log-format.d.ts +25 -0
  49. package/dist/log-format.d.ts.map +1 -0
  50. package/dist/log-format.js +250 -0
  51. package/dist/logger.d.ts +29 -30
  52. package/dist/logger.d.ts.map +1 -1
  53. package/dist/logger.js +82 -32
  54. package/dist/private.d.ts +178 -9
  55. package/dist/private.d.ts.map +1 -1
  56. package/dist/private.js +273 -9
  57. package/dist/replay-payload-cache.d.ts +68 -0
  58. package/dist/replay-payload-cache.d.ts.map +1 -0
  59. package/dist/replay-payload-cache.js +160 -0
  60. package/dist/runtime/compute-instance.d.ts +12 -0
  61. package/dist/runtime/compute-instance.d.ts.map +1 -0
  62. package/dist/runtime/compute-instance.js +13 -0
  63. package/dist/runtime/constants.d.ts +237 -0
  64. package/dist/runtime/constants.d.ts.map +1 -1
  65. package/dist/runtime/constants.js +405 -15
  66. package/dist/runtime/count-step-started-events.d.ts +52 -0
  67. package/dist/runtime/count-step-started-events.d.ts.map +1 -0
  68. package/dist/runtime/count-step-started-events.js +72 -0
  69. package/dist/runtime/deployment-guard.d.ts +99 -0
  70. package/dist/runtime/deployment-guard.d.ts.map +1 -0
  71. package/dist/runtime/deployment-guard.js +154 -0
  72. package/dist/runtime/get-port-lazy.d.ts +25 -0
  73. package/dist/runtime/get-port-lazy.d.ts.map +1 -0
  74. package/dist/runtime/get-port-lazy.js +92 -0
  75. package/dist/runtime/get-world-lazy.d.ts +23 -0
  76. package/dist/runtime/get-world-lazy.d.ts.map +1 -0
  77. package/dist/runtime/get-world-lazy.js +46 -0
  78. package/dist/runtime/helpers.d.ts +219 -10
  79. package/dist/runtime/helpers.d.ts.map +1 -1
  80. package/dist/runtime/helpers.js +414 -40
  81. package/dist/runtime/quickjs-assets.generated.d.ts +14 -0
  82. package/dist/runtime/quickjs-assets.generated.d.ts.map +1 -0
  83. package/dist/runtime/quickjs-assets.generated.js +30 -0
  84. package/dist/runtime/quickjs-entrypoint.d.ts +124 -0
  85. package/dist/runtime/quickjs-entrypoint.d.ts.map +1 -0
  86. package/dist/runtime/quickjs-entrypoint.js +1429 -0
  87. package/dist/runtime/quickjs-runtime.d.ts +193 -0
  88. package/dist/runtime/quickjs-runtime.d.ts.map +1 -0
  89. package/dist/runtime/quickjs-runtime.js +1944 -0
  90. package/dist/runtime/replay-budget.d.ts +98 -0
  91. package/dist/runtime/replay-budget.d.ts.map +1 -0
  92. package/dist/runtime/replay-budget.js +192 -0
  93. package/dist/runtime/replay-recovery-reporter.d.ts +36 -0
  94. package/dist/runtime/replay-recovery-reporter.d.ts.map +1 -0
  95. package/dist/runtime/replay-recovery-reporter.js +64 -0
  96. package/dist/runtime/resume-hook.d.ts +27 -4
  97. package/dist/runtime/resume-hook.d.ts.map +1 -1
  98. package/dist/runtime/resume-hook.js +448 -76
  99. package/dist/runtime/run-id-time.d.ts +19 -0
  100. package/dist/runtime/run-id-time.d.ts.map +1 -0
  101. package/dist/runtime/run-id-time.js +42 -0
  102. package/dist/runtime/run.d.ts +8 -2
  103. package/dist/runtime/run.d.ts.map +1 -1
  104. package/dist/runtime/run.js +62 -15
  105. package/dist/runtime/runs.d.ts +54 -3
  106. package/dist/runtime/runs.d.ts.map +1 -1
  107. package/dist/runtime/runs.js +117 -10
  108. package/dist/runtime/start.d.ts +70 -1
  109. package/dist/runtime/start.d.ts.map +1 -1
  110. package/dist/runtime/start.js +312 -54
  111. package/dist/runtime/step-executor.d.ts +177 -0
  112. package/dist/runtime/step-executor.d.ts.map +1 -0
  113. package/dist/runtime/step-executor.js +949 -0
  114. package/dist/runtime/step-latency.d.ts +197 -0
  115. package/dist/runtime/step-latency.d.ts.map +1 -0
  116. package/dist/runtime/step-latency.js +207 -0
  117. package/dist/runtime/step-ownership.d.ts +72 -0
  118. package/dist/runtime/step-ownership.d.ts.map +1 -0
  119. package/dist/runtime/step-ownership.js +114 -0
  120. package/dist/runtime/step-single-flight.d.ts +12 -0
  121. package/dist/runtime/step-single-flight.d.ts.map +1 -0
  122. package/dist/runtime/step-single-flight.js +69 -0
  123. package/dist/runtime/suspension-handler.d.ts +102 -7
  124. package/dist/runtime/suspension-handler.d.ts.map +1 -1
  125. package/dist/runtime/suspension-handler.js +439 -140
  126. package/dist/runtime/vm-mode.d.ts +44 -0
  127. package/dist/runtime/vm-mode.d.ts.map +1 -0
  128. package/dist/runtime/vm-mode.js +62 -0
  129. package/dist/runtime/vm-serde-bundle.generated.d.ts +14 -0
  130. package/dist/runtime/vm-serde-bundle.generated.d.ts.map +1 -0
  131. package/dist/runtime/vm-serde-bundle.generated.js +16 -0
  132. package/dist/runtime/wait-continuation.d.ts +84 -0
  133. package/dist/runtime/wait-continuation.d.ts.map +1 -0
  134. package/dist/runtime/wait-continuation.js +105 -0
  135. package/dist/runtime/wait-until.d.ts +18 -0
  136. package/dist/runtime/wait-until.d.ts.map +1 -0
  137. package/dist/runtime/wait-until.js +42 -0
  138. package/dist/runtime/world-compatibility.d.ts +5 -0
  139. package/dist/runtime/world-compatibility.d.ts.map +1 -0
  140. package/dist/runtime/world-compatibility.js +12 -0
  141. package/dist/runtime/world-init.d.ts +50 -0
  142. package/dist/runtime/world-init.d.ts.map +1 -0
  143. package/dist/runtime/world-init.js +50 -0
  144. package/dist/runtime/world.d.ts +14 -2
  145. package/dist/runtime/world.d.ts.map +1 -1
  146. package/dist/runtime/world.js +101 -26
  147. package/dist/runtime.d.ts +17 -12
  148. package/dist/runtime.d.ts.map +1 -1
  149. package/dist/runtime.js +3078 -327
  150. package/dist/schemas.d.ts +1 -1
  151. package/dist/schemas.d.ts.map +1 -1
  152. package/dist/schemas.js +1 -1
  153. package/dist/sealed-box.d.ts +167 -0
  154. package/dist/sealed-box.d.ts.map +1 -0
  155. package/dist/sealed-box.js +571 -0
  156. package/dist/serialization/client.d.ts +17 -0
  157. package/dist/serialization/client.d.ts.map +1 -0
  158. package/dist/serialization/client.js +48 -0
  159. package/dist/serialization/codec-devalue-vm.d.ts +9 -0
  160. package/dist/serialization/codec-devalue-vm.d.ts.map +1 -0
  161. package/dist/serialization/codec-devalue-vm.js +137 -0
  162. package/dist/serialization/codec-devalue.d.ts +14 -0
  163. package/dist/serialization/codec-devalue.d.ts.map +1 -0
  164. package/dist/serialization/codec-devalue.js +105 -0
  165. package/dist/serialization/codec.d.ts +125 -0
  166. package/dist/serialization/codec.d.ts.map +1 -0
  167. package/dist/serialization/codec.js +17 -0
  168. package/dist/serialization/compression.d.ts +104 -0
  169. package/dist/serialization/compression.d.ts.map +1 -0
  170. package/dist/serialization/compression.js +260 -0
  171. package/dist/serialization/encryption.d.ts +134 -0
  172. package/dist/serialization/encryption.d.ts.map +1 -0
  173. package/dist/serialization/encryption.js +186 -0
  174. package/dist/serialization/errors.d.ts +34 -0
  175. package/dist/serialization/errors.d.ts.map +1 -0
  176. package/dist/serialization/errors.js +59 -0
  177. package/dist/serialization/format.d.ts +60 -0
  178. package/dist/serialization/format.d.ts.map +1 -0
  179. package/dist/serialization/format.js +97 -0
  180. package/dist/serialization/hardened.d.ts +155 -0
  181. package/dist/serialization/hardened.d.ts.map +1 -0
  182. package/dist/serialization/hardened.js +523 -0
  183. package/dist/serialization/index.d.ts +20 -0
  184. package/dist/serialization/index.d.ts.map +1 -0
  185. package/dist/serialization/index.js +22 -0
  186. package/dist/serialization/reducers/class-vm.d.ts +20 -0
  187. package/dist/serialization/reducers/class-vm.d.ts.map +1 -0
  188. package/dist/serialization/reducers/class-vm.js +77 -0
  189. package/dist/serialization/reducers/class.d.ts +11 -0
  190. package/dist/serialization/reducers/class.d.ts.map +1 -0
  191. package/dist/serialization/reducers/class.js +73 -0
  192. package/dist/serialization/reducers/common-vm.d.ts +15 -0
  193. package/dist/serialization/reducers/common-vm.d.ts.map +1 -0
  194. package/dist/serialization/reducers/common-vm.js +579 -0
  195. package/dist/serialization/reducers/common.d.ts +16 -0
  196. package/dist/serialization/reducers/common.d.ts.map +1 -0
  197. package/dist/serialization/reducers/common.js +478 -0
  198. package/dist/serialization/reducers/step-function-vm.d.ts +44 -0
  199. package/dist/serialization/reducers/step-function-vm.d.ts.map +1 -0
  200. package/dist/serialization/reducers/step-function-vm.js +97 -0
  201. package/dist/serialization/reducers/step-function.d.ts +35 -0
  202. package/dist/serialization/reducers/step-function.d.ts.map +1 -0
  203. package/dist/serialization/reducers/step-function.js +104 -0
  204. package/dist/serialization/step.d.ts +17 -0
  205. package/dist/serialization/step.d.ts.map +1 -0
  206. package/dist/serialization/step.js +48 -0
  207. package/dist/serialization/types.d.ts +273 -0
  208. package/dist/serialization/types.d.ts.map +1 -0
  209. package/dist/serialization/types.js +35 -0
  210. package/dist/serialization/vm-bundle-entry.d.ts +12 -0
  211. package/dist/serialization/vm-bundle-entry.d.ts.map +1 -0
  212. package/dist/serialization/vm-bundle-entry.js +58 -0
  213. package/dist/serialization/workflow-vm.d.ts +24 -0
  214. package/dist/serialization/workflow-vm.d.ts.map +1 -0
  215. package/dist/serialization/workflow-vm.js +66 -0
  216. package/dist/serialization/workflow.d.ts +29 -0
  217. package/dist/serialization/workflow.d.ts.map +1 -0
  218. package/dist/serialization/workflow.js +54 -0
  219. package/dist/serialization-format.d.ts +60 -4
  220. package/dist/serialization-format.d.ts.map +1 -1
  221. package/dist/serialization-format.js +276 -56
  222. package/dist/serialization.d.ts +374 -221
  223. package/dist/serialization.d.ts.map +1 -1
  224. package/dist/serialization.js +2300 -783
  225. package/dist/set-attributes.d.ts +13 -0
  226. package/dist/set-attributes.d.ts.map +1 -0
  227. package/dist/set-attributes.js +60 -0
  228. package/dist/sleep.d.ts.map +1 -1
  229. package/dist/sleep.js +3 -2
  230. package/dist/source-map.d.ts +25 -0
  231. package/dist/source-map.d.ts.map +1 -1
  232. package/dist/source-map.js +148 -10
  233. package/dist/step/context-storage.d.ts +61 -2
  234. package/dist/step/context-storage.d.ts.map +1 -1
  235. package/dist/step/context-storage.js +7 -5
  236. package/dist/step/get-closure-vars.d.ts.map +1 -1
  237. package/dist/step/get-closure-vars.js +3 -2
  238. package/dist/step/get-step-metadata.d.ts.map +1 -1
  239. package/dist/step/get-step-metadata.js +3 -2
  240. package/dist/step/get-workflow-metadata.d.ts.map +1 -1
  241. package/dist/step/get-workflow-metadata.js +3 -2
  242. package/dist/step/writable-stream.d.ts.map +1 -1
  243. package/dist/step/writable-stream.js +71 -7
  244. package/dist/step.d.ts.map +1 -1
  245. package/dist/step.js +226 -30
  246. package/dist/symbols.d.ts +54 -0
  247. package/dist/symbols.d.ts.map +1 -1
  248. package/dist/symbols.js +55 -1
  249. package/dist/telemetry/semantic-conventions.d.ts +242 -2
  250. package/dist/telemetry/semantic-conventions.d.ts.map +1 -1
  251. package/dist/telemetry/semantic-conventions.js +173 -1
  252. package/dist/telemetry.d.ts +73 -0
  253. package/dist/telemetry.d.ts.map +1 -1
  254. package/dist/telemetry.js +153 -16
  255. package/dist/types.d.ts +6 -0
  256. package/dist/types.d.ts.map +1 -1
  257. package/dist/types.js +23 -1
  258. package/dist/util.d.ts +16 -6
  259. package/dist/util.d.ts.map +1 -1
  260. package/dist/util.js +25 -16
  261. package/dist/version.d.ts +1 -1
  262. package/dist/version.d.ts.map +1 -1
  263. package/dist/version.js +2 -2
  264. package/dist/vm/index.d.ts.map +1 -1
  265. package/dist/vm/index.js +77 -9
  266. package/dist/vm/script-cache.d.ts +28 -0
  267. package/dist/vm/script-cache.d.ts.map +1 -0
  268. package/dist/vm/script-cache.js +140 -0
  269. package/dist/workflow/abort-controller.d.ts +65 -0
  270. package/dist/workflow/abort-controller.d.ts.map +1 -0
  271. package/dist/workflow/abort-controller.js +314 -0
  272. package/dist/workflow/attribute-dispatcher.d.ts +6 -0
  273. package/dist/workflow/attribute-dispatcher.d.ts.map +1 -0
  274. package/dist/workflow/attribute-dispatcher.js +48 -0
  275. package/dist/workflow/create-hook.d.ts.map +1 -1
  276. package/dist/workflow/create-hook.js +25 -3
  277. package/dist/workflow/define-hook.d.ts +1 -1
  278. package/dist/workflow/define-hook.d.ts.map +1 -1
  279. package/dist/workflow/define-hook.js +8 -4
  280. package/dist/workflow/get-workflow-metadata.d.ts.map +1 -1
  281. package/dist/workflow/get-workflow-metadata.js +14 -3
  282. package/dist/workflow/hook.d.ts.map +1 -1
  283. package/dist/workflow/hook.js +303 -37
  284. package/dist/workflow/index.d.ts +1 -0
  285. package/dist/workflow/index.d.ts.map +1 -1
  286. package/dist/workflow/index.js +5 -3
  287. package/dist/workflow/set-attributes.d.ts +68 -0
  288. package/dist/workflow/set-attributes.d.ts.map +1 -0
  289. package/dist/workflow/set-attributes.js +60 -0
  290. package/dist/workflow/sleep.d.ts.map +1 -1
  291. package/dist/workflow/sleep.js +58 -9
  292. package/dist/workflow/world-init-stub.d.ts +15 -0
  293. package/dist/workflow/world-init-stub.d.ts.map +1 -0
  294. package/dist/workflow/world-init-stub.js +15 -0
  295. package/dist/workflow.d.ts +69 -3
  296. package/dist/workflow.d.ts.map +1 -1
  297. package/dist/workflow.js +791 -554
  298. package/docs/api-reference/create-hook.mdx +79 -0
  299. package/docs/api-reference/create-webhook.mdx +1 -0
  300. package/docs/api-reference/define-hook.mdx +26 -24
  301. package/docs/api-reference/fatal-error.mdx +29 -7
  302. package/docs/api-reference/fetch.mdx +8 -4
  303. package/docs/api-reference/index.mdx +3 -0
  304. package/docs/api-reference/set-attributes.mdx +61 -0
  305. package/docs/api-reference/sleep.mdx +1 -1
  306. package/docs/foundations/cancellation.mdx +459 -0
  307. package/docs/foundations/errors-and-retries.mdx +7 -3
  308. package/docs/foundations/hooks.mdx +29 -0
  309. package/docs/foundations/idempotency.mdx +243 -11
  310. package/docs/foundations/index.mdx +1 -23
  311. package/docs/foundations/meta.json +3 -1
  312. package/docs/foundations/serialization.mdx +77 -41
  313. package/docs/foundations/starting-workflows.mdx +79 -2
  314. package/docs/foundations/streaming.mdx +14 -23
  315. package/docs/foundations/versioning.mdx +263 -0
  316. package/docs/how-it-works/cancellation.mdx +287 -0
  317. package/docs/how-it-works/code-transform.mdx +21 -17
  318. package/docs/how-it-works/encryption.mdx +5 -5
  319. package/docs/how-it-works/event-sourcing.mdx +6 -6
  320. package/docs/how-it-works/framework-integrations.mdx +96 -337
  321. package/docs/how-it-works/meta.json +2 -1
  322. package/package.json +31 -13
  323. package/dist/runtime/step-handler.d.ts +0 -2
  324. package/dist/runtime/step-handler.d.ts.map +0 -1
  325. package/dist/runtime/step-handler.js +0 -678
package/dist/symbols.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export declare const WORKFLOW_USE_STEP: unique symbol;
2
+ export declare const WORKFLOW_SET_ATTRIBUTES: unique symbol;
2
3
  export declare const WORKFLOW_CREATE_HOOK: unique symbol;
3
4
  export declare const WORKFLOW_SLEEP: unique symbol;
4
5
  export declare const WORKFLOW_CONTEXT: unique symbol;
@@ -6,6 +7,55 @@ export declare const WORKFLOW_GET_STREAM_ID: unique symbol;
6
7
  export declare const STABLE_ULID: unique symbol;
7
8
  export declare const STREAM_NAME_SYMBOL: unique symbol;
8
9
  export declare const STREAM_TYPE_SYMBOL: unique symbol;
10
+ export declare const STREAM_FRAMING_SYMBOL: unique symbol;
11
+ /**
12
+ * Stamped on a real `WritableStream` (the user-visible `serialize.writable`
13
+ * returned from a step-side reviver or step-context `getWritable()`) to
14
+ * record the `runId` of the workflow run that owns the underlying server
15
+ * stream. Used together with `STREAM_NAME_SYMBOL`.
16
+ *
17
+ * When `getExternalReducers.WritableStream` (the dehydration path used by
18
+ * `start()`) sees both symbols on a writable, it includes the `runId` in
19
+ * the descriptor it emits. The child run's step-side reviver then opens
20
+ * a server writable against the original `(runId, name)` and resolves
21
+ * that run's encryption key directly — so the child's writes land on
22
+ * the parent's stream as-is, with no client process in the loop. That
23
+ * keeps the forwarding alive for the full lifetime of the child run,
24
+ * not just for the parent step that initiated `start()`.
25
+ */
26
+ export declare const STREAM_SERVER_RUN_ID_SYMBOL: unique symbol;
27
+ /**
28
+ * Stamped alongside `STREAM_SERVER_RUN_ID_SYMBOL` when the deployment that
29
+ * owns a forwarded writable stream is known. Cross-deployment consumers use
30
+ * it to resolve the owning run's encryption key without loading the run first.
31
+ */
32
+ export declare const STREAM_SERVER_DEPLOYMENT_ID_SYMBOL: unique symbol;
33
+ /**
34
+ * Stamped alongside `STREAM_SERVER_RUN_ID_SYMBOL` with the owning run's
35
+ * X25519 public key (base64), when the run has one.
36
+ *
37
+ * This is what lets a forwarded writable be written to across a deployment
38
+ * boundary at zero cost. The owning run derives its own public key locally
39
+ * when it creates the stream, so the key travels inside the serialized
40
+ * descriptor; a child on another deployment can then seal frames immediately.
41
+ * Without it the child would have to either fetch the owning run or fetch its
42
+ * symmetric key from the API — the round trip this whole mechanism exists to
43
+ * avoid.
44
+ */
45
+ export declare const STREAM_SERVER_PUBLIC_KEY_SYMBOL: unique symbol;
46
+ /**
47
+ * Stamped on a `WorkflowServerWritableStream` instance to expose its
48
+ * durability barrier: `() => Promise<void>` that resolves once every accepted
49
+ * chunk has durably reached the server (nothing buffered, nothing in flight)
50
+ * and rejects if any dispatch failed.
51
+ *
52
+ * The sink acks `write()` on buffer entry (group-commit batching), so
53
+ * durability tracking lives here instead: `flushablePipe` feature-detects
54
+ * this and awaits it before resolving its lock-release completion, keeping
55
+ * the invariant that a step cannot complete while stream data is still
56
+ * client-side. Sinks without it are fully durable per `write()` already.
57
+ */
58
+ export declare const STREAM_DRAIN_SYMBOL: unique symbol;
9
59
  export declare const BODY_INIT_SYMBOL: unique symbol;
10
60
  export declare const WEBHOOK_RESPONSE_WRITABLE: unique symbol;
11
61
  /**
@@ -13,4 +63,8 @@ export declare const WEBHOOK_RESPONSE_WRITABLE: unique symbol;
13
63
  * This allows the deserializer to find classes by classId in the VM context.
14
64
  */
15
65
  export declare const WORKFLOW_CLASS_REGISTRY: unique symbol;
66
+ export declare const ABORT_STREAM_NAME: unique symbol;
67
+ export declare const ABORT_HOOK_TOKEN: unique symbol;
68
+ export declare const ABORT_LISTENER_ATTACHED: unique symbol;
69
+ export declare const ABORT_READER_CANCEL: unique symbol;
16
70
  //# sourceMappingURL=symbols.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"symbols.d.ts","sourceRoot":"","sources":["../src/symbols.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,eAAkC,CAAC;AACjE,eAAO,MAAM,oBAAoB,eAAqC,CAAC;AACvE,eAAO,MAAM,cAAc,eAA+B,CAAC;AAC3D,eAAO,MAAM,gBAAgB,eAAiC,CAAC;AAC/D,eAAO,MAAM,sBAAsB,eAAuC,CAAC;AAC3E,eAAO,MAAM,WAAW,eAAqC,CAAC;AAC9D,eAAO,MAAM,kBAAkB,eAAqC,CAAC;AACrE,eAAO,MAAM,kBAAkB,eAAqC,CAAC;AACrE,eAAO,MAAM,gBAAgB,eAA0B,CAAC;AACxD,eAAO,MAAM,yBAAyB,eAErC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,eAAwC,CAAC"}
1
+ {"version":3,"file":"symbols.d.ts","sourceRoot":"","sources":["../src/symbols.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,eAAkC,CAAC;AACjE,eAAO,MAAM,uBAAuB,eAAwC,CAAC;AAC7E,eAAO,MAAM,oBAAoB,eAAqC,CAAC;AACvE,eAAO,MAAM,cAAc,eAA+B,CAAC;AAC3D,eAAO,MAAM,gBAAgB,eAAiC,CAAC;AAC/D,eAAO,MAAM,sBAAsB,eAAuC,CAAC;AAC3E,eAAO,MAAM,WAAW,eAAqC,CAAC;AAC9D,eAAO,MAAM,kBAAkB,eAAqC,CAAC;AACrE,eAAO,MAAM,kBAAkB,eAAqC,CAAC;AACrE,eAAO,MAAM,qBAAqB,eAAwC,CAAC;AAC3E;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,2BAA2B,eAEvC,CAAC;AACF;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,eAE9C,CAAC;AACF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,+BAA+B,eAE3C,CAAC;AACF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,mBAAmB,eAAsC,CAAC;AAEvE,eAAO,MAAM,gBAAgB,eAA0B,CAAC;AACxD,eAAO,MAAM,yBAAyB,eAErC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,eAAwC,CAAC;AAE7E,eAAO,MAAM,iBAAiB,eAA2C,CAAC;AAC1E,eAAO,MAAM,gBAAgB,eAA0C,CAAC;AACxE,eAAO,MAAM,uBAAuB,eAEnC,CAAC;AACF,eAAO,MAAM,mBAAmB,eAA6C,CAAC"}
package/dist/symbols.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export const WORKFLOW_USE_STEP = Symbol.for('WORKFLOW_USE_STEP');
2
+ export const WORKFLOW_SET_ATTRIBUTES = Symbol.for('WORKFLOW_SET_ATTRIBUTES');
2
3
  export const WORKFLOW_CREATE_HOOK = Symbol.for('WORKFLOW_CREATE_HOOK');
3
4
  export const WORKFLOW_SLEEP = Symbol.for('WORKFLOW_SLEEP');
4
5
  export const WORKFLOW_CONTEXT = Symbol.for('WORKFLOW_CONTEXT');
@@ -6,6 +7,55 @@ export const WORKFLOW_GET_STREAM_ID = Symbol.for('WORKFLOW_GET_STREAM_ID');
6
7
  export const STABLE_ULID = Symbol.for('WORKFLOW_STABLE_ULID');
7
8
  export const STREAM_NAME_SYMBOL = Symbol.for('WORKFLOW_STREAM_NAME');
8
9
  export const STREAM_TYPE_SYMBOL = Symbol.for('WORKFLOW_STREAM_TYPE');
10
+ export const STREAM_FRAMING_SYMBOL = Symbol.for('WORKFLOW_STREAM_FRAMING');
11
+ /**
12
+ * Stamped on a real `WritableStream` (the user-visible `serialize.writable`
13
+ * returned from a step-side reviver or step-context `getWritable()`) to
14
+ * record the `runId` of the workflow run that owns the underlying server
15
+ * stream. Used together with `STREAM_NAME_SYMBOL`.
16
+ *
17
+ * When `getExternalReducers.WritableStream` (the dehydration path used by
18
+ * `start()`) sees both symbols on a writable, it includes the `runId` in
19
+ * the descriptor it emits. The child run's step-side reviver then opens
20
+ * a server writable against the original `(runId, name)` and resolves
21
+ * that run's encryption key directly — so the child's writes land on
22
+ * the parent's stream as-is, with no client process in the loop. That
23
+ * keeps the forwarding alive for the full lifetime of the child run,
24
+ * not just for the parent step that initiated `start()`.
25
+ */
26
+ export const STREAM_SERVER_RUN_ID_SYMBOL = Symbol.for('WORKFLOW_STREAM_SERVER_RUN_ID');
27
+ /**
28
+ * Stamped alongside `STREAM_SERVER_RUN_ID_SYMBOL` when the deployment that
29
+ * owns a forwarded writable stream is known. Cross-deployment consumers use
30
+ * it to resolve the owning run's encryption key without loading the run first.
31
+ */
32
+ export const STREAM_SERVER_DEPLOYMENT_ID_SYMBOL = Symbol.for('WORKFLOW_STREAM_SERVER_DEPLOYMENT_ID');
33
+ /**
34
+ * Stamped alongside `STREAM_SERVER_RUN_ID_SYMBOL` with the owning run's
35
+ * X25519 public key (base64), when the run has one.
36
+ *
37
+ * This is what lets a forwarded writable be written to across a deployment
38
+ * boundary at zero cost. The owning run derives its own public key locally
39
+ * when it creates the stream, so the key travels inside the serialized
40
+ * descriptor; a child on another deployment can then seal frames immediately.
41
+ * Without it the child would have to either fetch the owning run or fetch its
42
+ * symmetric key from the API — the round trip this whole mechanism exists to
43
+ * avoid.
44
+ */
45
+ export const STREAM_SERVER_PUBLIC_KEY_SYMBOL = Symbol.for('WORKFLOW_STREAM_SERVER_PUBLIC_KEY');
46
+ /**
47
+ * Stamped on a `WorkflowServerWritableStream` instance to expose its
48
+ * durability barrier: `() => Promise<void>` that resolves once every accepted
49
+ * chunk has durably reached the server (nothing buffered, nothing in flight)
50
+ * and rejects if any dispatch failed.
51
+ *
52
+ * The sink acks `write()` on buffer entry (group-commit batching), so
53
+ * durability tracking lives here instead: `flushablePipe` feature-detects
54
+ * this and awaits it before resolving its lock-release completion, keeping
55
+ * the invariant that a step cannot complete while stream data is still
56
+ * client-side. Sinks without it are fully durable per `write()` already.
57
+ */
58
+ export const STREAM_DRAIN_SYMBOL = Symbol.for('WORKFLOW_STREAM_DRAIN');
9
59
  export const BODY_INIT_SYMBOL = Symbol.for('BODY_INIT');
10
60
  export const WEBHOOK_RESPONSE_WRITABLE = Symbol.for('WEBHOOK_RESPONSE_WRITABLE');
11
61
  /**
@@ -13,4 +63,8 @@ export const WEBHOOK_RESPONSE_WRITABLE = Symbol.for('WEBHOOK_RESPONSE_WRITABLE')
13
63
  * This allows the deserializer to find classes by classId in the VM context.
14
64
  */
15
65
  export const WORKFLOW_CLASS_REGISTRY = Symbol.for('workflow-class-registry');
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ltYm9scy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9zeW1ib2xzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFHLE1BQU0sQ0FBQyxHQUFHLENBQUMsbUJBQW1CLENBQUMsQ0FBQztBQUNqRSxNQUFNLENBQUMsTUFBTSxvQkFBb0IsR0FBRyxNQUFNLENBQUMsR0FBRyxDQUFDLHNCQUFzQixDQUFDLENBQUM7QUFDdkUsTUFBTSxDQUFDLE1BQU0sY0FBYyxHQUFHLE1BQU0sQ0FBQyxHQUFHLENBQUMsZ0JBQWdCLENBQUMsQ0FBQztBQUMzRCxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRyxNQUFNLENBQUMsR0FBRyxDQUFDLGtCQUFrQixDQUFDLENBQUM7QUFDL0QsTUFBTSxDQUFDLE1BQU0sc0JBQXNCLEdBQUcsTUFBTSxDQUFDLEdBQUcsQ0FBQyx3QkFBd0IsQ0FBQyxDQUFDO0FBQzNFLE1BQU0sQ0FBQyxNQUFNLFdBQVcsR0FBRyxNQUFNLENBQ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vbC5mb3IoJ1dPUktGTE9XX1NUQUJMRV9VTElEJyk7XG5leHBvcnQgY29uc3QgU1RSRUFNX05BTUVfU1lNQk9MID0gU3ltYm9sLmZvcignV09SS0ZMT1dfU1RSRUFNX05BTUUnKTtcbmV4cG9ydCBjb25zdCBTVFJFQU1fVFlQRV9TWU1CT0wgPSBTeW1ib2wuZm9yKCdXT1JLRkxPV19TVFJFQU1fVFlQRScpO1xuZXhwb3J0IGNvbnN0IEJPRFlfSU5JVF9TWU1CT0wgPSBTeW1ib2wuZm9yKCdCT0RZX0lOSVQnKTtcbmV4cG9ydCBjb25zdCBXRUJIT09LX1JFU1BPTlNFX1dSSVRBQkxFID0gU3ltYm9sLmZvcihcbiAgJ1dFQkhPT0tfUkVTUE9OU0VfV1JJVEFCTEUnXG4pO1xuXG4vKipcbiAqIFN5bWJvbCB1c2VkIHRvIHN0b3JlIHRoZSBjbGFzcyByZWdpc3RyeSBvbiBnbG9iYWxUaGlzIGluIHdvcmtmbG93IG1vZGUuXG4gKiBUaGlzIGFsbG93cyB0aGUgZGVzZXJpYWxpemVyIHRvIGZpbmQgY2xhc3NlcyBieSBjbGFzc0lkIGluIHRoZSBWTSBjb250ZXh0LlxuICovXG5leHBvcnQgY29uc3QgV09SS0ZMT1dfQ0xBU1NfUkVHSVNUUlkgPSBTeW1ib2wuZm9yKCd3b3JrZmxvdy1jbGFzcy1yZWdpc3RyeScpO1xuIl19
66
+ export const ABORT_STREAM_NAME = Symbol.for('WORKFLOW_ABORT_STREAM_NAME');
67
+ export const ABORT_HOOK_TOKEN = Symbol.for('WORKFLOW_ABORT_HOOK_TOKEN');
68
+ export const ABORT_LISTENER_ATTACHED = Symbol.for('WORKFLOW_ABORT_LISTENER_ATTACHED');
69
+ export const ABORT_READER_CANCEL = Symbol.for('WORKFLOW_ABORT_READER_CANCEL');
70
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ltYm9scy5qcyIsInNvdXJjZVJv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1RSRUFNX05BTUUgPSBTeW1ib2wuZm9yKCdXT1JLRkxPV19BQk9SVF9TVFJFQU1fTkFNRScpO1xuZXhwb3J0IGNvbnN0IEFCT1JUX0hPT0tfVE9LRU4gPSBTeW1ib2wuZm9yKCdXT1JLRkxPV19BQk9SVF9IT09LX1RPS0VOJyk7XG5leHBvcnQgY29uc3QgQUJPUlRfTElTVEVORVJfQVRUQUNIRUQgPSBTeW1ib2wuZm9yKFxuICAnV09SS0ZMT1dfQUJPUlRfTElTVEVORVJfQVRUQUNIRUQnXG4pO1xuZXhwb3J0IGNvbnN0IEFCT1JUX1JFQURFUl9DQU5DRUwgPSBTeW1ib2wuZm9yKCdXT1JLRkxPV19BQk9SVF9SRUFERVJfQ0FOQ0VMJyk7XG4iXX0=
@@ -41,8 +41,8 @@ export declare const WorkflowName: (value: string) => {
41
41
  [k: string]: string;
42
42
  };
43
43
  /** The operation being performed on the workflow */
44
- export declare const WorkflowOperation: (value: "run" | "start" | "execute") => {
45
- [k: string]: "run" | "start" | "execute";
44
+ export declare const WorkflowOperation: (value: "run" | "start" | "execute" | "execute_v2") => {
45
+ [k: string]: "run" | "start" | "execute" | "execute_v2";
46
46
  };
47
47
  /** Unique identifier for a specific workflow run instance */
48
48
  export declare const WorkflowRunId: (value: string) => {
@@ -60,6 +60,10 @@ 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
+ };
63
67
  /** Number of arguments passed to the workflow */
64
68
  export declare const WorkflowArgumentsCount: (value: number) => {
65
69
  [k: string]: number;
@@ -72,6 +76,42 @@ export declare const WorkflowResultType: (value: string) => {
72
76
  export declare const WorkflowTracePropagated: (value: boolean) => {
73
77
  [k: string]: boolean;
74
78
  };
79
+ /** The VM engine executing the workflow function for this invocation */
80
+ export declare const WorkflowVm: (value: "node" | "quickjs") => {
81
+ [k: string]: "node" | "quickjs";
82
+ };
83
+ /** Outcome of a QuickJS VM workflow invocation */
84
+ export declare const QuickJSOutcome: (value: "completed" | "failed" | "suspended") => {
85
+ [k: string]: "completed" | "failed" | "suspended";
86
+ };
87
+ /** Whether preloaded events from `events.create('run_started')` were used */
88
+ export declare const QuickJSEventsPreloaded: (value: boolean) => {
89
+ [k: string]: boolean;
90
+ };
91
+ /** Total number of events fetched from the world for this invocation */
92
+ export declare const QuickJSEventsFetchedCount: (value: number) => {
93
+ [k: string]: number;
94
+ };
95
+ /** Number of pages required to fetch all events */
96
+ export declare const QuickJSEventsFetchedPages: (value: number) => {
97
+ [k: string]: number;
98
+ };
99
+ /** Number of pending VM operations captured at suspension */
100
+ export declare const QuickJSPendingOpsCount: (value: number) => {
101
+ [k: string]: number;
102
+ };
103
+ /** Number of steps executed inline (live-VM continuation) this invocation */
104
+ export declare const QuickJSInlineSteps: (value: number) => {
105
+ [k: string]: number;
106
+ };
107
+ /** Active trace-correlation mode for this invocation (linked or continuous) */
108
+ export declare const WorkflowTraceMode: (value: "linked" | "continuous") => {
109
+ [k: string]: "linked" | "continuous";
110
+ };
111
+ /** Whether this workflow invocation is using the turbo first-delivery path */
112
+ export declare const WorkflowTurbo: (value: boolean) => {
113
+ [k: string]: boolean;
114
+ };
75
115
  /** Name of the error that caused workflow failure */
76
116
  export declare const WorkflowErrorName: (value: string) => {
77
117
  [k: string]: string;
@@ -96,6 +136,51 @@ export declare const WorkflowHooksCreated: (value: number) => {
96
136
  export declare const WorkflowWaitsCreated: (value: number) => {
97
137
  [k: string]: number;
98
138
  };
139
+ /**
140
+ * Number of inline-owned steps this invocation re-executed because it is a
141
+ * redelivery of their owning queue message (crash recovery for inline
142
+ * steps — see the inline step ownership changelog, workflow#2780).
143
+ */
144
+ export declare const WorkflowOwnedRecoverySteps: (value: number) => {
145
+ [k: string]: number;
146
+ };
147
+ /**
148
+ * Number of pending steps for which this replay suppressed the immediate
149
+ * requeue (another invocation inline-owns them under a live lease) and
150
+ * ensured a delayed backstop wake instead.
151
+ */
152
+ export declare const WorkflowBackstopWakesArmed: (value: number) => {
153
+ [k: string]: number;
154
+ };
155
+ /** The workflow runtime route being handled */
156
+ export declare const WorkflowRouteType: (value: "flow") => {
157
+ [k: string]: "flow";
158
+ };
159
+ /** Whether this route invocation reused an already-created request handler */
160
+ export declare const WorkflowRouteHandlerCached: (value: boolean) => {
161
+ [k: string]: boolean;
162
+ };
163
+ /** Number of times this in-memory route handler has been invoked */
164
+ export declare const WorkflowRouteInvocationCount: (value: number) => {
165
+ [k: string]: number;
166
+ };
167
+ /** Time since this route entrypoint was constructed, in milliseconds */
168
+ export declare const WorkflowRouteEntrypointAgeMs: (value: number) => {
169
+ [k: string]: number;
170
+ };
171
+ /** Time spent evaluating the generated route module body before creating the entrypoint */
172
+ export declare const WorkflowRouteModuleBodyInitMs: (value: number) => {
173
+ [k: string]: number;
174
+ };
175
+ /**
176
+ * Compute instance handling this route — the synthesized `COMPUTE_INSTANCE_ID`.
177
+ * Uses OTEL `faas.instance` (execution-environment id, reused across
178
+ * invocations to the same function):
179
+ * https://opentelemetry.io/docs/specs/semconv/attributes-registry/faas/
180
+ */
181
+ export declare const FaasInstance: (value: string) => {
182
+ [k: string]: string;
183
+ };
99
184
  /** Name of the step function being executed */
100
185
  export declare const StepName: (value: string) => {
101
186
  [k: string]: string;
@@ -120,6 +205,55 @@ export declare const StepMaxRetries: (value: number) => {
120
205
  export declare const StepTracePropagated: (value: boolean) => {
121
206
  [k: string]: boolean;
122
207
  };
208
+ /**
209
+ * Client-measured time-to-first-step latency in milliseconds: run creation →
210
+ * this step's body beginning to execute, minus pre-step hook-creation time.
211
+ * Only present on the run's first step execution when it qualified for
212
+ * measurement (see runtime/step-latency.ts).
213
+ */
214
+ export declare const StepTtfsMs: (value: number) => {
215
+ [k: string]: number;
216
+ };
217
+ /**
218
+ * Client-measured step-to-step overhead in milliseconds: the previous step's
219
+ * terminal event → this step's body beginning to execute. Only present when
220
+ * the two steps ran back-to-back.
221
+ */
222
+ export declare const StepStsoMs: (value: number) => {
223
+ [k: string]: number;
224
+ };
225
+ /**
226
+ * Client-measured run_started-to-first-step latency in milliseconds: the
227
+ * `run_started` response landing (or, under turbo, the local run synthesis
228
+ * instant) → this step's start POST being issued. A sub-window of ttfs that
229
+ * isolates replay overhead from the run-creation queue hop. Only present on
230
+ * the run's first step execution when it qualified for measurement (see
231
+ * runtime/step-latency.ts).
232
+ */
233
+ export declare const StepRsfsMs: (value: number) => {
234
+ [k: string]: number;
235
+ };
236
+ /**
237
+ * Client-measured synchronous workflow-function replay duration in
238
+ * milliseconds, excluding awaited network I/O, of only the FINAL replay pass
239
+ * within the rsfs window — the pass that reached and scheduled the first
240
+ * step. Not accumulated across earlier pre-first-step passes (e.g. a
241
+ * workflow-body `setAttributes()` detour replays more than once, and a
242
+ * redelivery omits earlier invocations' work entirely), so this must not be
243
+ * read as "the replay portion of rsfs" — step.rsfs_ms covers the whole
244
+ * window. Only present alongside step.rsfs_ms and only for the run's first
245
+ * step (see runtime/step-latency.ts).
246
+ */
247
+ export declare const StepFinalSchedulingReplayMs: (value: number) => {
248
+ [k: string]: number;
249
+ };
250
+ /**
251
+ * Runtime startup-latency optimizations active for the ttfs/stso measurement
252
+ * (e.g. 'turbo', 'lazyStepStart', 'optimisticStart').
253
+ */
254
+ export declare const StepLatencyOptimizations: (value: string[]) => {
255
+ [k: string]: string[];
256
+ };
123
257
  /** Whether the step was skipped during execution */
124
258
  export declare const StepSkipped: (value: boolean) => {
125
259
  [k: string]: boolean;
@@ -184,6 +318,18 @@ export declare const QueueOverheadMs: (value: number) => {
184
318
  export declare const DeploymentId: (value: string) => {
185
319
  [k: string]: string;
186
320
  };
321
+ /** The deployment a run is pinned to, set only on a misrouted delivery. */
322
+ export declare const WorkflowRunPinnedDeploymentId: (value: string) => {
323
+ [k: string]: string;
324
+ };
325
+ /** Re-route attempts for this misrouted delivery, including this one. */
326
+ export declare const WorkflowDeploymentMismatchRetryCount: (value: number) => {
327
+ [k: string]: number;
328
+ };
329
+ /** Whether the misrouted delivery was re-routed instead of failing the run. */
330
+ export declare const WorkflowDeploymentMismatchRecovered: (value: boolean) => {
331
+ [k: string]: boolean;
332
+ };
187
333
  /** Token identifying a specific hook */
188
334
  export declare const HookToken: (value: string) => {
189
335
  [k: string]: string;
@@ -196,6 +342,58 @@ export declare const HookId: (value: string) => {
196
342
  export declare const HookFound: (value: boolean) => {
197
343
  [k: string]: boolean;
198
344
  };
345
+ /**
346
+ * Producer-side signal (on the `hook.resume` span) that the direct
347
+ * `hook_received` write failed transiently but the queue dispatch succeeded, so
348
+ * the resume is recovered via the consumer's re-ensure. Corresponds to
349
+ * `ResumedHook.resilientResume === true`.
350
+ */
351
+ export declare const HookResilientResume: (value: boolean) => {
352
+ [k: string]: boolean;
353
+ };
354
+ /**
355
+ * Consumer-side signal (on the workflow execution span) that this replay
356
+ * materialized the `hook_received` event from the queue message's `hookInput`
357
+ * because the producer's direct write had not landed — the completion of the
358
+ * recovery path {@link HookResilientResume} began.
359
+ *
360
+ * Legacy / non-atomic re-ensure signal only. Atomic lazy resumes
361
+ * (resumeId + digest) go through the hoisted preload write instead, whose
362
+ * response cannot tell whether the producer or the consumer won the
363
+ * `(runId, resumeId)` claim — so this attribute is deliberately NOT emitted
364
+ * for them (emitting `true` unconditionally would count every producer-won
365
+ * resume as a recovery). The producer-begin ({@link HookResilientResume}) /
366
+ * consumer-materialized pairing is therefore no longer complete for atomic
367
+ * lazy resumptions; use {@link HookResumeSetupSource} to observe that path.
368
+ */
369
+ export declare const HookResilientResumeMaterialized: (value: boolean) => {
370
+ [k: string]: boolean;
371
+ };
372
+ /**
373
+ * Consumer-side signal (on the workflow execution span) of how a lazy hook
374
+ * resume initialized its replay state:
375
+ *
376
+ * - `hook_received_stream` — the hoisted `hook_received` write returned a
377
+ * usable replay preload (run + complete event log), so the invocation
378
+ * skipped both the `run_started` write and the initial `events.list`.
379
+ * - `hook_received_fallback` — the hoisted write succeeded but returned no
380
+ * usable preload (a CBOR response from an older server, a World that
381
+ * ignored the opt-in, a bounded `hasMore` page, or a preload that failed
382
+ * validation); the invocation fell back to the `run_started` setup without
383
+ * re-posting the hook.
384
+ *
385
+ * Absent on legacy hook deliveries (no resumeId/digest) and on every other
386
+ * delivery kind, which take the `run_started` setup unconditionally.
387
+ *
388
+ * This is a latency/setup-path signal: it says which requests initialized
389
+ * the invocation, NOT that this consumer created the `hook_received` event
390
+ * (the hoisted write may equally have converged on the producer's — claim
391
+ * ownership is not observable client-side; cf.
392
+ * {@link HookResilientResumeMaterialized}).
393
+ */
394
+ export declare const HookResumeSetupSource: (value: string) => {
395
+ [k: string]: string;
396
+ };
199
397
  /** Number of webhook handlers triggered */
200
398
  export declare const WebhookHandlersTriggered: (value: number) => {
201
399
  [k: string]: number;
@@ -216,6 +414,10 @@ export declare const WorkflowSuspensionWaitCount: (value: number) => {
216
414
  export declare const HttpRequestMethod: (value: string) => {
217
415
  [k: string]: string;
218
416
  };
417
+ /** Route pattern for the request (standard OTEL: http.route) */
418
+ export declare const HttpRoute: (value: string) => {
419
+ [k: string]: string;
420
+ };
219
421
  /** Full URL of the request (standard OTEL: url.full) */
220
422
  export declare const UrlFull: (value: string) => {
221
423
  [k: string]: string;
@@ -256,6 +458,44 @@ export declare const QueueExecutionTimeMs: (value: number) => {
256
458
  export declare const QueueSerializeTimeMs: (value: number) => {
257
459
  [k: string]: number;
258
460
  };
461
+ /** Whether this serialize/deserialize was a write or read. */
462
+ export declare const SerializationOperation: (value: "serialize" | "deserialize") => {
463
+ [k: string]: "serialize" | "deserialize";
464
+ };
465
+ /** Whether a compression codec was applied (write) / present (read). */
466
+ export declare const SerializationCompressed: (value: boolean) => {
467
+ [k: string]: boolean;
468
+ };
469
+ /** Which compression codec applied / was present (`zstd`, `gzip`, or `none`). */
470
+ export declare const SerializationCodec: (value: "zstd" | "gzip" | "none") => {
471
+ [k: string]: "zstd" | "gzip" | "none";
472
+ };
473
+ /** Logical (uncompressed, devalue-prefixed) payload size in bytes. */
474
+ export declare const SerializationUncompressedBytes: (value: number) => {
475
+ [k: string]: number;
476
+ };
477
+ /** Stored (post-compression, pre-encryption) payload size in bytes. */
478
+ export declare const SerializationStoredBytes: (value: number) => {
479
+ [k: string]: number;
480
+ };
481
+ /** Fraction of bytes saved by compression (0..1); set only when compressed. */
482
+ export declare const SerializationCompressionRatio: (value: number) => {
483
+ [k: string]: number;
484
+ };
485
+ /**
486
+ * Number of workflow (guest) code executions serialization could not avoid
487
+ * (getters, proxies, custom serializers); set only when non-zero.
488
+ */
489
+ export declare const SerializationGuestCodeExecutions: (value: number) => {
490
+ [k: string]: number;
491
+ };
492
+ /**
493
+ * Deduplicated `kind (detail)` descriptions of the guest-code executions;
494
+ * set only when non-zero.
495
+ */
496
+ export declare const SerializationGuestCodeDetails: (value: string[]) => {
497
+ [k: string]: string[];
498
+ };
259
499
  /** The remote service name for Datadog service maps (Datadog-specific: peer.service) */
260
500
  export declare const PeerService: (value: string) => {
261
501
  [k: string]: string;
@@ -1 +1 @@
1
- {"version":3,"file":"semantic-conventions.d.ts","sourceRoot":"","sources":["../../src/telemetry/semantic-conventions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAgBH,8CAA8C;AAC9C,eAAO,MAAM,YAAY;;CAA8C,CAAC;AAExE,oDAAoD;AACpD,eAAO,MAAM,iBAAiB;;CAEP,CAAC;AAExB,6DAA6D;AAC7D,eAAO,MAAM,aAAa;;CAAgD,CAAC;AAE3E,yCAAyC;AACzC,eAAO,MAAM,iBAAiB;;CAEN,CAAC;AAEzB,qEAAqE;AACrE,eAAO,MAAM,iBAAiB;;CAE7B,CAAC;AAEF,2DAA2D;AAC3D,eAAO,MAAM,mBAAmB;;CAE/B,CAAC;AAEF,iDAAiD;AACjD,eAAO,MAAM,sBAAsB;;CAElC,CAAC;AAEF,kCA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