@makaio/framework 1.0.0-dev-1789178780636 → 1.0.0-dev-1789238522058

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 (136) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +5 -5
  3. package/dist/artifact-CKz9YQPu.mjs +1 -0
  4. package/dist/authority-state-bootstrap-CvuWPywM.mjs +1 -0
  5. package/dist/bus/index.d.mts +1 -1
  6. package/dist/bus/index.mjs +1 -1
  7. package/dist/bus-DlTN167w.mjs +9 -0
  8. package/dist/contracts/adapter/index.d.mts +2 -2
  9. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  10. package/dist/contracts/artifact/index.d.mts +3 -3
  11. package/dist/contracts/artifact/index.mjs +1 -1
  12. package/dist/contracts/automation-trigger/index.d.mts +1 -1
  13. package/dist/contracts/capabilities/index.d.mts +1 -1
  14. package/dist/contracts/client/index.d.mts +2 -2
  15. package/dist/contracts/extension/index.d.mts +4 -4
  16. package/dist/contracts/extension/index.mjs +1 -1
  17. package/dist/contracts/index.d.mts +36 -36
  18. package/dist/contracts/index.mjs +1 -1
  19. package/dist/contracts/materialization/index.d.mts +2 -2
  20. package/dist/contracts/materialization/index.mjs +1 -1
  21. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  22. package/dist/contracts/reaction/index.d.mts +1 -1
  23. package/dist/contracts/session/index.d.mts +2 -2
  24. package/dist/contracts/skill/index.d.mts +1 -1
  25. package/dist/contracts/variant/index.d.mts +1 -1
  26. package/dist/contracts/worker/index.d.mts +1 -1
  27. package/dist/contracts/worker/index.mjs +1 -1
  28. package/dist/contracts/workflow/index.d.mts +2 -2
  29. package/dist/contracts/workflow/index.mjs +1 -1
  30. package/dist/{contribution-DDbHzCPF.d.mts → contribution-ZhnuhOfc.d.mts} +1 -1
  31. package/dist/drizzle/0038_execution-attempt-repository.sql +73 -0
  32. package/dist/drizzle/0039_m_mtyn7x1q.sql +1 -0
  33. package/dist/drizzle/meta/_journal.json +14 -0
  34. package/dist/{extension-DRwry8GA.mjs → extension-CfrTp3rC.mjs} +1 -1
  35. package/dist/{extension-context-BH31eOMv.d.mts → extension-context-CBzrM1F0.d.mts} +3 -3
  36. package/dist/{framework-packages-CCIReKIe.mjs → framework-packages-Bg4edkkM.mjs} +1 -1
  37. package/dist/{hook-responses-Dq16X3Cb.d.mts → hook-responses-C1fnL4N2.d.mts} +1 -1
  38. package/dist/{index-BDRfiSz8.d.mts → index-B4pPwpKk.d.mts} +1 -1
  39. package/dist/{index-BFS-2kcS.d.mts → index-BDSMRw8q.d.mts} +19 -3
  40. package/dist/{index-KnN2OyWD2.d.mts → index-BJds6o8j2.d.mts} +28 -28
  41. package/dist/{index-CA3Uzki8.d.mts → index-BRIHyYnt.d.mts} +12 -12
  42. package/dist/{index-B6WkHnCQ.d.mts → index-C1nSuiG0.d.mts} +1 -1
  43. package/dist/{index-CdWxSwhQ2.d.mts → index-C6e9cwAl2.d.mts} +4 -4
  44. package/dist/{index-4GaVggnR.d.mts → index-CAuJ4nsk.d.mts} +51 -18
  45. package/dist/{index-DhunnX8V.d.mts → index-CCe0cTiI.d.mts} +161 -86
  46. package/dist/{index-nkix3hP7.d.mts → index-CWlvL7GB.d.mts} +6 -6
  47. package/dist/{index-DtCVHx8-.d.mts → index-CzUUoexw.d.mts} +17 -9
  48. package/dist/{index-GPTSqhvy.d.mts → index-D29N22wH.d.mts} +1 -1
  49. package/dist/{index-DI07GxEW.d.mts → index-DGsmGacL.d.mts} +11 -11
  50. package/dist/{index-GpfGF9AO2.d.mts → index-DKuobpsN2.d.mts} +11 -4
  51. package/dist/{index-DNgrWs5j.d.mts → index-DO-OFkMA.d.mts} +49 -49
  52. package/dist/{index-CsLb9M1M.d.mts → index-Du4wUv9q.d.mts} +7 -7
  53. package/dist/{index-iVisrVdC2.d.mts → index-RiTM6SGs2.d.mts} +5 -5
  54. package/dist/{index-xsaaa85T.d.mts → index-T-aAKybB.d.mts} +8 -8
  55. package/dist/{index-BI8PuDkI.d.mts → index-U--ajOHy.d.mts} +1 -1
  56. package/dist/{index-C87P0WpY2.d.mts → index-f5W_Zqj72.d.mts} +1 -1
  57. package/dist/{index-DVocx__-2.d.mts → index-zmDRR8gv2.d.mts} +11 -11
  58. package/dist/kernel/extension/index.d.mts +1 -1
  59. package/dist/kernel/index.d.mts +2 -2
  60. package/dist/kernel/observability/index.d.mts +1 -1
  61. package/dist/{kind-registration-WrdMzWmV.mjs → kind-registration-Dzfo6kyb.mjs} +1 -1
  62. package/dist/materialization-iFhpbs1s.mjs +1 -0
  63. package/dist/{namespace-DQpBf2CK.d.mts → namespace-B5IFLQc-.d.mts} +6 -6
  64. package/dist/{namespace-Phxf0Lep.d.mts → namespace-CPGTaFqO.d.mts} +2 -2
  65. package/dist/{namespace-BrqkCnyt.d.mts → namespace-DM5vykb7.d.mts} +4 -4
  66. package/dist/{namespace-uCaKZm89.d.mts → namespace-LSHmxtMn.d.mts} +4 -4
  67. package/dist/{namespace-CjvSQYRJ.d.mts → namespace-f6Kz5cwX.d.mts} +12 -12
  68. package/dist/node/transports/index.d.mts +32 -11
  69. package/dist/node/transports/index.mjs +2 -2
  70. package/dist/{package-DdymauE9.d.mts → package-CDj3F-L3.d.mts} +1 -0
  71. package/dist/package-DYScYC0D.mjs +7 -0
  72. package/dist/package.json +1 -1
  73. package/dist/packages-vF9F4M41.mjs +1 -0
  74. package/dist/runtime-node/index.d.mts +1 -1
  75. package/dist/runtime-node/index.mjs +1 -1
  76. package/dist/runtime-node/workflow-execution-bus-access.d.mts +37 -20
  77. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  78. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  79. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  80. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  81. package/dist/{schemas-DlVKv9QC.d.mts → schemas-CEJe8O6P.d.mts} +4 -4
  82. package/dist/{schemas-Dl_3zv9l.mjs → schemas-CHM0wMq4.mjs} +1 -1
  83. package/dist/{schemas-2_D4iVbb.d.mts → schemas-CJKDu4Kt.d.mts} +1 -1
  84. package/dist/{schemas-CKVm28Oy.d.mts → schemas-CRobhM7q.d.mts} +5 -1
  85. package/dist/{schemas-uA8246K9.d.mts → schemas-CeItAAQM.d.mts} +8 -8
  86. package/dist/{schemas-BcynDWi-.d.mts → schemas-Cj6Gbqch.d.mts} +7 -7
  87. package/dist/{schemas-COiUhOce.d.mts → schemas-DnY1EYUr.d.mts} +4 -4
  88. package/dist/services/adapter-runtime/index.d.mts +3 -3
  89. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  90. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  91. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  92. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  93. package/dist/services/context-rules/index.d.mts +3 -3
  94. package/dist/services/execution-target/index.d.mts +3 -3
  95. package/dist/services/execution-target/namespace.d.mts +1 -1
  96. package/dist/services/execution-target/schemas.d.mts +1 -1
  97. package/dist/services/filesystem/namespace.d.mts +12 -12
  98. package/dist/services/filesystem/schemas.d.mts +6 -6
  99. package/dist/services/index.d.mts +37 -37
  100. package/dist/services/index.mjs +1 -1
  101. package/dist/services/materialization/index.mjs +1 -1
  102. package/dist/services/provider-context/index.d.mts +1 -1
  103. package/dist/services/session/handlers/index.d.mts +1 -1
  104. package/dist/services/session/index.d.mts +4 -4
  105. package/dist/services/session/messages/namespace.d.mts +1 -1
  106. package/dist/services/settings/namespace.d.mts +4 -4
  107. package/dist/services/subagent-template/index.d.mts +1 -1
  108. package/dist/services/subagent-template/schemas.d.mts +1 -1
  109. package/dist/services/tools/index.mjs +1 -1
  110. package/dist/services/tray-menu/index.d.mts +2 -2
  111. package/dist/services/tray-menu/namespace.d.mts +1 -1
  112. package/dist/services/tray-menu/schemas.d.mts +1 -1
  113. package/dist/services/workflow-transitions/index.mjs +1 -1
  114. package/dist/{session-lineage-C3myyt5x.d.mts → session-lineage-BQimcKsh.d.mts} +1 -1
  115. package/dist/{tools-Dj_ImUQ8.mjs → tools-C5Gy0IQG.mjs} +1 -1
  116. package/dist/{transition-B-YmSK-s.d.mts → transition-Rp5wD763.d.mts} +1 -1
  117. package/dist/{types-DhbllltK.d.mts → types-CJrhRe5f.d.mts} +3 -3
  118. package/dist/{view-builder-BUZoNyEQ.d.mts → view-builder-CIDqBcRz.d.mts} +15 -2
  119. package/dist/{worker-IIubsEFG.mjs → worker-B72n8bse.mjs} +1 -1
  120. package/dist/workflow-D-X3rPsl.mjs +1 -0
  121. package/dist/workflow-engine/index.d.mts +137 -27
  122. package/dist/workflow-engine/index.mjs +1 -1
  123. package/dist/workflow-engine/package.d.mts +1 -1
  124. package/dist/workflow-engine/package.mjs +1 -1
  125. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  126. package/dist/{workflow-transitions-t6jn_pR_.mjs → workflow-transitions-C0sg3kar.mjs} +1 -1
  127. package/dist/{workflow-worker-C3ZbuhyA.mjs → workflow-worker-COM5U2Rv.mjs} +2 -2
  128. package/package.json +1 -1
  129. package/dist/artifact-CH7yhgti.mjs +0 -1
  130. package/dist/authority-state-bootstrap-CV7HpB4v.mjs +0 -1
  131. package/dist/bus-CPlKKH4v.mjs +0 -9
  132. package/dist/materialization-C_92G2CL.mjs +0 -1
  133. package/dist/package-Bn4iwDm3.mjs +0 -7
  134. package/dist/packages-G3bMStlV.mjs +0 -1
  135. package/dist/workflow-dVr_9gaf.mjs +0 -1
  136. package/dist/{index-Htfr-K5U2.d.mts → index-CCH0Dnty2.d.mts} +6 -6
@@ -159,8 +159,8 @@ type ContainerRuntime = z.infer<typeof ContainerRuntimeSchema>;
159
159
  * Container state.
160
160
  */
161
161
  declare const ContainerStateSchema: z.ZodEnum<{
162
- created: "created";
163
162
  running: "running";
163
+ created: "created";
164
164
  stopped: "stopped";
165
165
  destroyed: "destroyed";
166
166
  }>;
@@ -397,8 +397,8 @@ type StatusRequest = z.infer<typeof StatusRequestSchema>;
397
397
  */
398
398
  declare const StatusResponseSchema: z.ZodObject<{
399
399
  state: z.ZodEnum<{
400
- created: "created";
401
400
  running: "running";
401
+ created: "created";
402
402
  stopped: "stopped";
403
403
  destroyed: "destroyed";
404
404
  }>;
@@ -613,8 +613,8 @@ declare const DockerNamespace: _$_makaio_core0.BusNamespaceDefinition<"docker",
613
613
  }, z.core.$strip>;
614
614
  response: z.ZodObject<{
615
615
  state: z.ZodEnum<{
616
- created: "created";
617
616
  running: "running";
617
+ created: "created";
618
618
  stopped: "stopped";
619
619
  destroyed: "destroyed";
620
620
  }>;
@@ -810,8 +810,8 @@ declare const DockerSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
810
810
  }, z.core.$strip>;
811
811
  response: z.ZodObject<{
812
812
  state: z.ZodEnum<{
813
- created: "created";
814
813
  running: "running";
814
+ created: "created";
815
815
  stopped: "stopped";
816
816
  destroyed: "destroyed";
817
817
  }>;
@@ -998,8 +998,8 @@ declare const ContainerSpawnNamespace: _$_makaio_core0.BusNamespaceDefinition<"d
998
998
  }, _$zod_v4_core0.$strip>;
999
999
  response: _$zod.ZodObject<{
1000
1000
  state: _$zod.ZodEnum<{
1001
- created: "created";
1002
1001
  running: "running";
1002
+ created: "created";
1003
1003
  stopped: "stopped";
1004
1004
  destroyed: "destroyed";
1005
1005
  }>;
@@ -1184,8 +1184,8 @@ declare const ContainerSpawnSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
1184
1184
  }, _$zod_v4_core0.$strip>;
1185
1185
  response: _$zod.ZodObject<{
1186
1186
  state: _$zod.ZodEnum<{
1187
- created: "created";
1188
1187
  running: "running";
1188
+ created: "created";
1189
1189
  stopped: "stopped";
1190
1190
  destroyed: "destroyed";
1191
1191
  }>;
@@ -1766,8 +1766,8 @@ declare class AuthorityRequestDeliveryError extends Error {
1766
1766
  * Optional reconnect callback invoked before each retry when the
1767
1767
  * previous attempt failed with a transport-level error.
1768
1768
  *
1769
- * Implementations should trigger a bus reconnect (e.g.
1770
- * `bus.reconnect()`) and return once the attempt has been initiated.
1769
+ * Implementations should trigger a bus reconnect (e.g. `bus.reconnect()`)
1770
+ * and return once the attempt has been initiated.
1771
1771
  * Failures from the reconnect attempt are non-fatal; the next retry
1772
1772
  * will naturally fail again if the transport is still down.
1773
1773
  */
@@ -1776,6 +1776,11 @@ type OutcomeReconnect = () => Promise<void>;
1776
1776
  interface OutcomeSubmitOptions {
1777
1777
  readonly retry?: OutcomeSubmitRetryConfig;
1778
1778
  readonly reconnect?: OutcomeReconnect;
1779
+ /**
1780
+ * Cancels a pending request, retry delay, or reconnect wait.
1781
+ * The reconnect itself remains owned by its host lifecycle.
1782
+ */
1783
+ readonly signal?: AbortSignal;
1779
1784
  }
1780
1785
  /**
1781
1786
  * Submit a workflow outcome for durable acknowledgement with
@@ -1797,7 +1802,7 @@ interface OutcomeSubmitOptions {
1797
1802
  * bus request; expiry throws a deterministic {@link OutcomeDeliveryError}.
1798
1803
  * @param bus - Worker-local bus connected to the Authority.
1799
1804
  * @param payload - Attempt identity and terminal result.
1800
- * @param options - Optional retry configuration and reconnect callback.
1805
+ * @param options - Optional retry configuration, reconnect callback, and cancellation signal.
1801
1806
  * @returns Durable ACK decision (`accepted` or `duplicate`).
1802
1807
  * @throws {@link OutcomeDeliveryError} On non-transient rejection or deadline expiry.
1803
1808
  */
@@ -1807,7 +1812,7 @@ declare function submitOutcomeWithAck(bus: IMakaioBus, payload: OutcomeSubmitPay
1807
1812
  * as legacy workflow results.
1808
1813
  * @param bus - Runtime bus authenticated as the Attempt peer.
1809
1814
  * @param payload - Fenced Attempt result and optional admitted operation.
1810
- * @param options - Retry and reconnect behavior.
1815
+ * @param options - Retry, reconnect, and cancellation behavior.
1811
1816
  * @returns Durable Authority acknowledgement.
1812
1817
  */
1813
1818
  declare function submitAttemptOutcomeWithAck(bus: IMakaioBus, payload: AttemptOutcomeSubmitPayload, options?: OutcomeSubmitOptions): Promise<OutcomeAckDecision>;
@@ -2906,12 +2911,17 @@ declare function bootstrapWorkerRuntime(options: BootstrapWorkerRuntimeOptions):
2906
2911
  //#endregion
2907
2912
  //#region runtimes/node/src/workflow-worker/attempt-control-client.d.ts
2908
2913
  /** Options for the report transport retried independently of the cancel signal. */
2909
- type AttemptControlReportOptions = OutcomeSubmitOptions;
2914
+ type AttemptControlReportOptions = Omit<OutcomeSubmitOptions, 'signal'>;
2910
2915
  /** Dependencies for the attempt control endpoint installer. */
2911
2916
  interface AttemptControlEndpointDeps {
2912
2917
  /** Retry and reconnect options for the `control.report` retrying transport. */
2913
2918
  readonly reportOptions?: AttemptControlReportOptions;
2914
- /** Outer cancellation signal for endpoint installation only, not for report delivery. */
2919
+ /**
2920
+ * Shutdown signal for `control.report` delivery, independent from the Cancel
2921
+ * signal that stops the workload.
2922
+ */
2923
+ readonly reportSignal?: AbortSignal;
2924
+ /** Outer cancellation signal for endpoint installation only. */
2915
2925
  readonly signal?: AbortSignal;
2916
2926
  /** Wall-clock supplier; defaults to `() => new Date()`. */
2917
2927
  readonly now?: () => Date;
@@ -2975,9 +2985,7 @@ interface InstalledAttemptControlEndpoint {
2975
2985
  * The subject is static and filtered by `{ executionAttemptId, runtimeIncarnationId }`
2976
2986
  * on the runtime bus — the same fenced scaffold the operation delivery endpoint
2977
2987
  * uses. A delivery for another attempt or incarnation is a filter miss, never
2978
- * seen here. See the trust-boundary note on
2979
- * {@link installFencedAttemptEndpoint} for the gap that filter leaves open, and
2980
- * for why it is wider on this subject than on `operation.deliver`.
2988
+ * seen here.
2981
2989
  *
2982
2990
  * The endpoint must exist before the runtime registers so that the authority's
2983
2991
  * `reconcileAttemptCancellation` call can reach it. The scaffold's
@@ -1,5 +1,5 @@
1
1
  import { i as CliContribution } from "./types-QRSc2AUU.mjs";
2
- import { c as ExtensionInfo } from "./index-KnN2OyWD2.mjs";
2
+ import { c as ExtensionInfo } from "./index-BJds6o8j2.mjs";
3
3
  import { r as WindowRegistry } from "./window-registry-DeG37kt8.mjs";
4
4
  import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
5
5
  import { IMakaioBus } from "@makaio/framework/bus";
@@ -1,16 +1,16 @@
1
- import { _r as ArtifactLifecycleHookRegistration$1, ar as AnyArtifactKindDefinition, gr as ArtifactLifecycleHookEvent } from "./index-DhunnX8V.mjs";
1
+ import { sr as AnyArtifactKindDefinition, vr as ArtifactLifecycleHookEvent, yr as ArtifactLifecycleHookRegistration$1 } from "./index-CCe0cTiI.mjs";
2
2
  import { s as AdapterProviderAuth$1 } from "./adapter-binding-BxjUfkOn.mjs";
3
- import { i as ExtensionService$1, n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-BH31eOMv.mjs";
4
- import { t as ExtensionAutomationTriggersContribution } from "./contribution-DDbHzCPF.mjs";
5
- import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, v as WorkflowBlockCollection$1 } from "./transition-B-YmSK-s.mjs";
6
- import { E as ClientDefinition$1, Q as VersionLiteral$1, et as VersionRange, f as ExtensionClientHookResponsesContribution } from "./hook-responses-Dq16X3Cb.mjs";
3
+ import { i as ExtensionService$1, n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-CBzrM1F0.mjs";
4
+ import { t as ExtensionAutomationTriggersContribution } from "./contribution-ZhnuhOfc.mjs";
5
+ import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, v as WorkflowBlockCollection$1 } from "./transition-Rp5wD763.mjs";
6
+ import { E as ClientDefinition$1, Q as VersionLiteral$1, et as VersionRange, f as ExtensionClientHookResponsesContribution } from "./hook-responses-C1fnL4N2.mjs";
7
7
  import { c as ProviderDefinitionInput$1, r as ProtocolId$1 } from "./definition-ClWxAKQ2.mjs";
8
8
  import { t as RequiredTimeoutConfig } from "./index-DM72_93s.mjs";
9
- import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEvent$1 } from "./types-DhbllltK.mjs";
9
+ import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEvent$1 } from "./types-CJrhRe5f.mjs";
10
10
  import { D as EntityUIConfig$1, I as FormFieldProps } from "./index-De_oh9M-2.mjs";
11
11
  import { l as FacetNamespaceDefinition } from "./index-KdlZRuTp.mjs";
12
- import { t as ExtensionReactionsContribution } from "./index-C87P0WpY2.mjs";
13
- import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-BUZoNyEQ.mjs";
12
+ import { t as ExtensionReactionsContribution } from "./index-f5W_Zqj72.mjs";
13
+ import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-CIDqBcRz.mjs";
14
14
  import { z } from "zod";
15
15
  import { MakaioBusLike, PayloadFilter, RegistrableBusNamespaceDefinition, SubjectSchema } from "@makaio/framework/core";
16
16
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
@@ -777,8 +777,8 @@ declare const TrayManifestSchema: z.ZodObject<{
777
777
  label: z.ZodString;
778
778
  section: z.ZodOptional<z.ZodEnum<{
779
779
  tools: "tools";
780
- utilities: "utilities";
781
780
  views: "views";
781
+ utilities: "utilities";
782
782
  }>>;
783
783
  opensWindow: z.ZodOptional<z.ZodString>;
784
784
  action: z.ZodOptional<z.ZodString>;
@@ -1247,8 +1247,8 @@ declare const ExtensionManifestSchema: z.ZodObject<{
1247
1247
  label: z.ZodString;
1248
1248
  section: z.ZodOptional<z.ZodEnum<{
1249
1249
  tools: "tools";
1250
- utilities: "utilities";
1251
1250
  views: "views";
1251
+ utilities: "utilities";
1252
1252
  }>>;
1253
1253
  opensWindow: z.ZodOptional<z.ZodString>;
1254
1254
  action: z.ZodOptional<z.ZodString>;
@@ -3813,8 +3813,8 @@ declare const ExtensionDescriptorSchema: z.ZodObject<{
3813
3813
  label: z.ZodString;
3814
3814
  section: z.ZodOptional<z.ZodEnum<{
3815
3815
  tools: "tools";
3816
- utilities: "utilities";
3817
3816
  views: "views";
3817
+ utilities: "utilities";
3818
3818
  }>>;
3819
3819
  opensWindow: z.ZodOptional<z.ZodString>;
3820
3820
  action: z.ZodOptional<z.ZodString>;
@@ -239,6 +239,7 @@ declare const WorkerDispatchRequestSchema: z.ZodObject<{
239
239
  successFinalizerId: z.ZodOptional<z.ZodString>;
240
240
  }, z.core.$strip>>;
241
241
  executionId: z.ZodString;
242
+ executionAttemptId: z.ZodOptional<z.ZodString>;
242
243
  workflowId: z.ZodString;
243
244
  triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
244
245
  triggerMode: z.ZodOptional<z.ZodEnum<{
@@ -280,8 +281,8 @@ declare const WorkerDispatchRequestSchema: z.ZodObject<{
280
281
  "exit-and-resume": "exit-and-resume";
281
282
  }>>;
282
283
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
283
- worker: "worker";
284
284
  authority: "authority";
285
+ worker: "worker";
285
286
  }>>;
286
287
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
287
288
  kind: z.ZodLiteral<"local-directory">;
@@ -480,6 +481,7 @@ declare const WorkerSchemas$1: {
480
481
  successFinalizerId: z.ZodOptional<z.ZodString>;
481
482
  }, z.core.$strip>>;
482
483
  executionId: z.ZodString;
484
+ executionAttemptId: z.ZodOptional<z.ZodString>;
483
485
  workflowId: z.ZodString;
484
486
  triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
485
487
  triggerMode: z.ZodOptional<z.ZodEnum<{
@@ -521,8 +523,8 @@ declare const WorkerSchemas$1: {
521
523
  "exit-and-resume": "exit-and-resume";
522
524
  }>>;
523
525
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
524
- worker: "worker";
525
526
  authority: "authority";
527
+ worker: "worker";
526
528
  }>>;
527
529
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
528
530
  kind: z.ZodLiteral<"local-directory">;
@@ -627,6 +629,7 @@ declare const WorkerSchemas$1: {
627
629
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
628
630
  relations: z.ZodArray<z.ZodObject<{
629
631
  type: z.ZodString;
632
+ sourceLocalId: z.ZodOptional<z.ZodString>;
630
633
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
631
634
  refClass: z.ZodLiteral<"artifact">;
632
635
  kind: z.ZodString;
@@ -1102,6 +1105,7 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1102
1105
  successFinalizerId: _$zod.ZodOptional<_$zod.ZodString>;
1103
1106
  }, _$zod_v4_core0.$strip>>;
1104
1107
  executionId: _$zod.ZodString;
1108
+ executionAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
1105
1109
  workflowId: _$zod.ZodString;
1106
1110
  triggerPayload: _$zod.ZodDefault<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1107
1111
  triggerMode: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1143,8 +1147,8 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1143
1147
  "exit-and-resume": "exit-and-resume";
1144
1148
  }>>;
1145
1149
  terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
1146
- worker: "worker";
1147
1150
  authority: "authority";
1151
+ worker: "worker";
1148
1152
  }>>;
1149
1153
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1150
1154
  kind: _$zod.ZodLiteral<"local-directory">;
@@ -1229,6 +1233,7 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1229
1233
  data: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1230
1234
  relations: _$zod.ZodArray<_$zod.ZodObject<{
1231
1235
  type: _$zod.ZodString;
1236
+ sourceLocalId: _$zod.ZodOptional<_$zod.ZodString>;
1232
1237
  target: _$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1233
1238
  refClass: _$zod.ZodLiteral<"artifact">;
1234
1239
  kind: _$zod.ZodString;
@@ -1611,6 +1616,7 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1611
1616
  successFinalizerId: _$zod.ZodOptional<_$zod.ZodString>;
1612
1617
  }, _$zod_v4_core0.$strip>>;
1613
1618
  executionId: _$zod.ZodString;
1619
+ executionAttemptId: _$zod.ZodOptional<_$zod.ZodString>;
1614
1620
  workflowId: _$zod.ZodString;
1615
1621
  triggerPayload: _$zod.ZodDefault<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1616
1622
  triggerMode: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1652,8 +1658,8 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1652
1658
  "exit-and-resume": "exit-and-resume";
1653
1659
  }>>;
1654
1660
  terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
1655
- worker: "worker";
1656
1661
  authority: "authority";
1662
+ worker: "worker";
1657
1663
  }>>;
1658
1664
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1659
1665
  kind: _$zod.ZodLiteral<"local-directory">;
@@ -1738,6 +1744,7 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1738
1744
  data: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1739
1745
  relations: _$zod.ZodArray<_$zod.ZodObject<{
1740
1746
  type: _$zod.ZodString;
1747
+ sourceLocalId: _$zod.ZodOptional<_$zod.ZodString>;
1741
1748
  target: _$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1742
1749
  refClass: _$zod.ZodLiteral<"artifact">;
1743
1750
  kind: _$zod.ZodString;